photoprism/internal/entity
Michael Mayer 693108fd53 Sharing: Refactor UserShare entity #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-04 00:54:39 +02:00
..
schema Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
testdata/album Backup and restore albums from YAML files #567 2020-12-17 18:24:55 +01:00
account.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
account_fixtures.go Docker: Rename and update dummy-webdav service 2021-11-09 16:55:16 +01:00
account_test.go Backend: Run "make fmt" with Go v1.19 2022-08-10 16:09:21 +02:00
album.go Auth: Rename database tables and delete temporary tables #98 #782 2022-10-02 22:09:02 +02:00
album_cache.go Auth: Apply user rights and permissions in the search API #98 #782 2022-09-30 00:42:19 +02:00
album_cache_test.go Search: Ignore public album filter if "Private" feat is disabled #2570 2022-08-01 15:57:19 +02:00
album_fixtures.go Search: Refactor photo search, fix test data and unit tests #1994 2022-03-29 00:21:50 +02:00
album_fixtures_test.go Tests: Adapt tests to fixture changes 2021-07-22 13:53:28 +02:00
album_test.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
album_user.go Auth: Rename database tables and delete temporary tables #98 #782 2022-10-02 22:09:02 +02:00
album_yaml.go Download: Add Disabled, Originals, MediaRaw & MediaSidecar Flags #2234 2022-04-15 09:42:07 +02:00
album_yaml_test.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
auth_session.go Sessions: Cache pointers to improve performance #98 #782 2022-10-03 23:39:36 +02:00
auth_session_cache.go Sessions: Clean up auth_session_cache.go #98 #782 2022-10-03 23:46:20 +02:00
auth_session_cache_test.go Sessions: Cache pointers to improve performance #98 #782 2022-10-03 23:39:36 +02:00
auth_session_data.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
auth_session_data_test.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
auth_session_fixtures.go Sessions: Add max age and timeout config options #98 #782 2022-10-03 22:59:29 +02:00
auth_session_report.go Sessions: Add max age and timeout config options #98 #782 2022-10-03 22:59:29 +02:00
auth_session_signin.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
auth_session_test.go Sessions: Add max age and timeout config options #98 #782 2022-10-03 22:59:29 +02:00
auth_user.go Sharing: Refactor UserShare entity #98 #782 2022-10-04 00:54:39 +02:00
auth_user_add.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
auth_user_cli.go Auth: Apply user rights and permissions in the search API #98 #782 2022-09-30 00:42:19 +02:00
auth_user_default.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
auth_user_details.go Auth: Rename database tables and delete temporary tables #98 #782 2022-10-02 22:09:02 +02:00
auth_user_fixtures.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
auth_user_fixtures_test.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
auth_user_report.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
auth_user_settings.go Auth: Rename database tables and delete temporary tables #98 #782 2022-10-02 22:09:02 +02:00
auth_user_share.go Sharing: Refactor UserShare entity #98 #782 2022-10-04 00:54:39 +02:00
auth_user_share_fixtures.go Sharing: Refactor UserShare entity #98 #782 2022-10-04 00:54:39 +02:00
auth_user_share_test.go Sharing: Refactor UserShare entity #98 #782 2022-10-04 00:54:39 +02:00
auth_user_test.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
camera.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
camera_cache.go Index: Improve save / update functions, remove orphans 2021-02-06 16:30:30 +01:00
camera_fixtures.go Tests: Add unit tests for camera and lens filter #2079 2022-03-28 16:25:40 +02:00
camera_fixtures_test.go Backend: Format go imports 2020-11-21 18:08:41 +01:00
camera_makes.go Index: Improve save / update functions, remove orphans 2021-02-06 16:30:30 +01:00
camera_test.go Log4j: Sanitize user input in logs like filenames and album titles #1814 2021-12-14 17:07:38 +01:00
category.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
category_fixtures.go Backend: Update label photo count and refactor entity fixtures 2020-05-10 19:43:49 +02:00
category_test.go Code clean-up (make fmt) 2019-12-21 17:24:29 +01:00
cell.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
cell_fixtures.go People: Improve face matching performance and accuracy #22 2021-08-29 13:26:05 +02:00
cell_fixtures_test.go People: Improve face clustering and indexing #22 2021-08-19 21:12:38 +02:00
cell_test.go Places: Improve handling of unknown S2 cell ids 2021-12-09 01:10:15 +01:00
country.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
country_cache.go Index: Improve save / update functions, remove orphans 2021-02-06 16:30:30 +01:00
country_fixtures.go Backend: Refactor test fixtures 2020-05-11 14:49:53 +02:00
country_test.go Backend: Format go imports 2020-11-21 18:08:41 +01:00
db.go Sessions: Add max age and timeout config options #98 #782 2022-10-03 22:59:29 +02:00
db_conn.go Backend: Refactor gorm.DB connection provider in entity package 2022-10-01 15:17:04 +02:00
db_conn_test.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
deprecated.go Auth: Rename database tables and delete temporary tables #98 #782 2022-10-02 22:09:02 +02:00
details.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
details_fixtures.go People: Improve face matching performance and accuracy #22 2021-08-29 13:26:05 +02:00
details_fixtures_test.go Backend: Format go imports 2020-11-21 18:08:41 +01:00
details_test.go Backend: Run "make fmt" with Go v1.19 2022-08-10 16:09:21 +02:00
duplicate.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
duplicate_test.go Backup: Improve command flags and usage docs #1190 #1193 2021-04-19 13:48:46 +02:00
entity.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
entity_const.go Auth: Rename database tables and delete temporary tables #98 #782 2022-10-02 22:09:02 +02:00
entity_count.go Index: Improve handling of archived photos, skip when possible #2257 2022-04-16 12:39:47 +02:00
entity_count_test.go Download: Add Disabled, Originals, MediaRaw & MediaSidecar Flags #2234 2022-04-15 09:42:07 +02:00
entity_counts.go Download: Add Disabled, Originals, MediaRaw & MediaSidecar Flags #2234 2022-04-15 09:42:07 +02:00
entity_counts_test.go Download: Add Disabled, Originals, MediaRaw & MediaSidecar Flags #2234 2022-04-15 09:42:07 +02:00
entity_fixtures.go Auth: Add "PHOTOPRISM_ADMIN_USER" option and refactor user table #98 2022-09-02 21:30:50 +02:00
entity_init.go Backend: Refactor gorm.DB connection provider in entity package 2022-10-01 15:17:04 +02:00
entity_save.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
entity_save_test.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
entity_tables.go Sharing: Refactor UserShare entity #98 #782 2022-10-04 00:54:39 +02:00
entity_test.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
entity_time.go Sessions: Add max age and timeout config options #98 #782 2022-10-03 22:59:29 +02:00
entity_time_test.go Sessions: Add max age and timeout config options #98 #782 2022-10-03 22:59:29 +02:00
entity_update.go Index: Improve handling of archived photos, skip when possible #2257 2022-04-16 12:39:47 +02:00
entity_update_test.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
entity_values.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
entity_values_test.go Index: Add tests and refactor database record updates #1438 2022-04-05 11:40:53 +02:00
error.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
face.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
face_fixtures.go People: Add overview page with search and context menu #22 2021-09-17 14:26:12 +02:00
face_fixtures_test.go People: Add overview page with search and context menu #22 2021-09-17 14:26:12 +02:00
face_test.go People: Improve face matching, audit command, and logging #2182 2022-04-13 01:59:32 +02:00
faces.go People: Add embeddings blacklist to reduce false positives #22 2021-09-30 13:44:23 +02:00
faces_test.go Search: Default to photo names and keywords #1517 #1560 2021-09-29 20:09:34 +02:00
file.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
file_fixtures.go Tests: Correct portrait value for file fixtures 2022-04-22 10:20:15 +02:00
file_fixtures_test.go Run "make fmt" 2021-08-28 13:55:37 +02:00
file_json.go Colors: Use int16 instead of int8 to avoid (de)serialization issues 2022-06-16 06:30:59 +02:00
file_json_test.go People: Add SubjectNames() to file entity #22 2021-09-02 11:12:42 +02:00
file_share.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
file_share_fixtures.go Tests: Update fixtures 2021-07-22 15:05:23 +02:00
file_share_fixtures_test.go Tests: Update fixtures 2021-07-22 15:05:23 +02:00
file_share_test.go Backend: Format go imports 2020-11-21 18:08:41 +01:00
file_sync.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
file_sync_fixtures.go Tests: Update fixtures 2021-07-22 15:05:23 +02:00
file_sync_fixtures_test.go Tests: Update fixtures 2021-07-22 15:05:23 +02:00
file_sync_test.go Backend: Format go imports 2020-11-21 18:08:41 +01:00
file_test.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
fixtures.go Sharing: Refactor UserShare entity #98 #782 2022-10-04 00:54:39 +02:00
folder.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
folder_fixtures.go People: Improve face clustering and indexing #22 2021-08-19 21:12:38 +02:00
folder_test.go People: Improve face clustering and indexing #22 2021-08-19 21:12:38 +02:00
keyword.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
keyword_fixtures.go Tests: Add fixtures 2022-03-30 18:21:14 +02:00
keyword_fixtures_test.go Backend: Format go imports 2020-11-21 18:08:41 +01:00
keyword_test.go Backend: Add unit tests for internal/entity 2020-07-09 15:37:30 +02:00
label.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
label_fixtures.go Tests: Add fixtures 2022-03-30 18:21:14 +02:00
label_fixtures_test.go Backend: Format go imports 2020-11-21 18:08:41 +01:00
label_test.go Tests: Add tests for internal/entity 2021-02-24 15:31:10 +01:00
lens.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
lens_cache.go Index: Improve save / update functions, remove orphans 2021-02-06 16:30:30 +01:00
lens_fixtures.go Tests: Add fixtures 2022-04-02 20:13:56 +02:00
lens_fixtures_test.go Backend: Format go imports 2020-11-21 18:08:41 +01:00
lens_test.go Log4j: Sanitize user input in logs like filenames and album titles #1814 2021-12-14 17:07:38 +01:00
link.go Sharing: Refactor UserShare entity #98 #782 2022-10-04 00:54:39 +02:00
link_fixtures.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
link_test.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
marker.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
marker_fixtures.go Search: Default to photo names and keywords #1517 #1560 2021-09-29 20:09:34 +02:00
marker_fixtures_test.go People: Refactor faces worker and related entities #22 2021-08-16 00:29:36 +02:00
marker_json.go People: Add face dist to marker API JSON #22 2021-09-23 14:03:35 +02:00
marker_json_test.go People: Add SubjectNames() to file entity #22 2021-09-02 11:12:42 +02:00
marker_test.go Backend: Run "make fmt" with Go v1.19 2022-08-10 16:09:21 +02:00
markers.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
markers_test.go People: Add embeddings blacklist to reduce false positives #22 2021-09-30 13:44:23 +02:00
mysql8_test.go People: Show real name instead of uid in logs #1438 #2182 2022-04-04 14:21:43 +02:00
password.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
password_fixtures.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
password_fixtures_test.go Run "make fmt" 2021-08-28 13:55:37 +02:00
password_test.go Backend: Run "make fmt" with Go v1.19 2022-08-10 16:09:21 +02:00
photo.go Auth: Rename database tables and delete temporary tables #98 #782 2022-10-02 22:09:02 +02:00
photo_album.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
photo_album_fixtures.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
photo_album_fixtures_test.go Backend: Format go imports 2020-11-21 18:08:41 +01:00
photo_album_test.go Backend: Run "make fmt" with Go v1.19 2022-08-10 16:09:21 +02:00
photo_datetime.go Index: Truncate mod time to full seconds #2257 2022-05-17 01:04:26 +02:00
photo_datetime_test.go Stacks: Only merge photos with trusted time and location #1668 2021-11-24 14:32:40 +01:00
photo_estimate.go Download: Add Disabled, Originals, MediaRaw & MediaSidecar Flags #2234 2022-04-15 09:42:07 +02:00
photo_estimate_test.go Metadata: Don't estimate position of non-photographic images #1668 2021-11-24 21:06:30 +01:00
photo_fixtures.go Auth: Rename database tables and delete temporary tables #98 #782 2022-10-02 22:09:02 +02:00
photo_fixtures_test.go Tests: Adapt tests to fixture changes 2021-08-05 12:33:52 +02:00
photo_keyword.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
photo_keyword_fixtures.go Tests: Add fixtures 2022-04-02 16:52:38 +02:00
photo_keyword_test.go Entities: Refactor FirstOrCreate 2020-05-26 11:00:39 +02:00
photo_label.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
photo_label_test.go Tests: Add to dos to run tests on mariadb 2022-05-03 15:05:45 +02:00
photo_location.go Download: Add Disabled, Originals, MediaRaw & MediaSidecar Flags #2234 2022-04-15 09:42:07 +02:00
photo_location_test.go Metadata: Remove location labels when photo doesn't have a location 2021-11-25 14:52:26 +01:00
photo_merge.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
photo_merge_test.go Stacks: Only merge photos with trusted time and location #1668 2021-11-24 14:32:40 +01:00
photo_optimize.go Backups: Rename album backups to exports and improve command help #1887 2022-01-05 11:40:44 +01:00
photo_optimize_test.go Metadata: Add --force flag to optimize command #1736 2021-11-18 03:47:25 +01:00
photo_quality.go File Types: Add experimental support for animated GIFs #590 #2207 2022-04-13 22:17:59 +02:00
photo_quality_test.go Metadata: Estimate latitude and longitude if possible #1668 2021-11-22 18:18:41 +01:00
photo_test.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
photo_title.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
photo_title_test.go People: Shorten names in titles #22 2021-09-18 21:40:57 +02:00
photo_user.go Auth: Rename database tables and delete temporary tables #98 #782 2022-10-02 22:09:02 +02:00
photo_yaml.go Download: Add Disabled, Originals, MediaRaw & MediaSidecar Flags #2234 2022-04-15 09:42:07 +02:00
photo_yaml_test.go People: Add SubjectNames() to file entity #22 2021-09-02 11:12:42 +02:00
place.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
place_fixtures.go Places: Sort States by Country Name and Title #1608 #1740 2021-11-20 16:36:34 +01:00
place_fixtures_test.go Backend: Format go imports 2020-11-21 18:08:41 +01:00
place_test.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
reaction.go Auth: Rename database tables and delete temporary tables #98 #782 2022-10-02 22:09:02 +02:00
reaction_fixtures.go Auth: Rename database tables and delete temporary tables #98 #782 2022-10-02 22:09:02 +02:00
reaction_test.go Auth: Rename database tables and delete temporary tables #98 #782 2022-10-02 22:09:02 +02:00
src.go Metadata: Never estimate when place was set otherwise #1668 2021-11-21 21:25:11 +01:00
string.go People: Show real name instead of uid in logs #1438 #2182 2022-04-04 14:21:43 +02:00
string_keyvalue.go People: Show real name instead of uid in logs #1438 #2182 2022-04-04 14:21:43 +02:00
string_map.go Download: Add Disabled, Originals, MediaRaw & MediaSidecar Flags #2234 2022-04-15 09:42:07 +02:00
string_map_test.go People: Show real name instead of uid in logs #1438 #2182 2022-04-04 14:21:43 +02:00
string_test.go People: Show real name instead of uid in logs #1438 #2182 2022-04-04 14:21:43 +02:00
subject.go Auth: Open album share links in the regular user interface #98 #782 2022-10-02 11:38:30 +02:00
subject_fixtures.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
subject_fixtures_test.go People: Add overview page with search and context menu #22 2021-09-17 14:26:12 +02:00
subject_names.go People: Show real name instead of uid in logs #1438 #2182 2022-04-04 14:21:43 +02:00
subject_person.go People: Show real name instead of uid in logs #1438 #2182 2022-04-04 14:21:43 +02:00
subject_person_test.go People: Improve face thumbnails on overview page #22 2021-09-17 18:51:24 +02:00
subject_test.go Backend: Run "make fmt" with Go v1.19 2022-08-10 16:09:21 +02:00
subjects.go Revert "People: Add subject cache and show real name in logs #1438 #2182" 2022-04-04 08:54:03 +02:00
subjects_test.go Search: Default to photo names and keywords #1517 #1560 2021-09-29 20:09:34 +02:00