photoprism/internal/entity
Michael Mayer 1507525ba4 People: Fix merging and renaming in connection with deleted names #3414
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-21 15:04:14 +02:00
..
legacy Links: Change https://photoprism.app/ to https://www.photoprism.app/ 2023-02-08 09:07:42 +01:00
schema Config: Make PhotoPrism compatible with MariaDB 11 #3443 2023-06-02 17:07:10 +02:00
testdata/album Backup and restore albums from YAML files #567 2020-12-17 18:24:55 +01:00
album.go Backend: Run "make fmt" #3566 2023-07-25 19:15:09 +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 Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
album_fixtures.go Albums: Improve parameter validation for database queries #3320 2023-04-01 14:25:05 +02:00
album_fixtures_test.go Tests: Adapt tests to fixture changes 2021-07-22 13:53:28 +02:00
album_test.go Backend: Run "make fmt" #3566 2023-07-25 19:15:09 +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 Security: Create new files without execution permission #2809 2022-10-31 15:01:48 +01:00
album_yaml_test.go Auth: Session and ACL enhancements #98 #1746 2022-09-28 09:01:17 +02:00
auth_session.go Help & Support: Improve about.vue and connect.vue pages 2023-03-29 12:53:51 +02:00
auth_session_cache.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
auth_session_cache_test.go Tests: Add unit tests 2023-08-07 16:27:45 +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 Tests: Add unit tests 2023-08-07 16:27:45 +02:00
auth_session_fixtures.go Tests: Add RefID to session fixtures 2023-08-02 16:42:17 +02:00
auth_session_fixtures_test.go Tests: Add unit tests 2023-08-07 16:27:45 +02:00
auth_session_login.go Auth: Refactor user roles and auth providers in entity model #98 2023-03-13 16:04:37 +01:00
auth_session_login_test.go Tests: Add unit tests 2023-08-08 13:01:48 +02:00
auth_session_report.go Auth: Refactor user management API and CLI commands #98 2023-03-08 23:30:39 +01:00
auth_session_report_test.go Tests: Add unit tests 2023-08-09 15:56:16 +02:00
auth_session_test.go Tests: Add unit tests 2023-08-07 14:46:32 +02:00
auth_tokens.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
auth_tokens_test.go Tests: Add unit tests 2023-08-09 15:56:16 +02:00
auth_user.go Auth: Improve privilege level change detection #3512 2023-07-18 23:35:10 +02:00
auth_user_add.go CLI: Improve length check in "photoprism passwd" command #3482 2023-06-19 17:24:02 +02:00
auth_user_cli.go Auth: Ensure clipboard is cleared on logout and privilege change #3512 2023-07-14 09:14:57 +02:00
auth_user_default.go Auth: Refactor user roles and auth providers in entity model #98 2023-03-13 16:04:37 +01:00
auth_user_details.go User Details: Increase size of bio field, add about to UI #98 2023-03-10 10:21:46 +01:00
auth_user_details_test.go Tests: Add unit tests 2023-08-09 15:56:16 +02:00
auth_user_fixtures.go Auth: Refactor user management API and CLI commands #98 2023-03-09 15:12:10 +01:00
auth_user_fixtures_test.go Auth: Refactor user management API and CLI commands #98 2023-03-08 23:30:39 +01:00
auth_user_legacy.go Auth: Improve legacy user search command and add tests #98 2022-10-14 02:48:23 +02:00
auth_user_legacy_test.go Auth: Improve legacy user search command and add tests #98 2022-10-14 02:48:23 +02:00
auth_user_report.go Auth: Refactor user management API and CLI commands #98 2023-03-08 23:30:39 +01:00
auth_user_report_test.go Tests: Add unit tests 2023-08-11 14:48:28 +02:00
auth_user_settings.go Settings: Move download settings to general tab #449 2023-03-11 15:34:59 +01:00
auth_user_settings_test.go Tests: Add unit tests 2023-08-11 14:48:28 +02:00
auth_user_share.go Albums: Improve database error handling #3320 2023-04-02 10:27:57 +02:00
auth_user_share_fixtures.go Sharing: Refactor UserShare entity #98 #782 2022-10-04 00:54:39 +02:00
auth_user_share_fixtures_test.go Tests: Add unit tests 2023-08-18 17:48:14 +02:00
auth_user_share_test.go Tests: Add unit tests 2023-08-18 17:48:14 +02:00
auth_user_test.go Tests: Add unit tests 2023-07-26 16:38:48 +02:00
camera.go Metadata: Automatically detect scans based on metadata #322 2023-02-22 16:21:26 +01: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 Metadata: Automatically detect scans based on metadata #322 2023-02-22 16:21:26 +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 Video: Add transcoding libs and improve error handling #3466 2023-07-15 15:17:41 +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 Entity: Check if dbConn is nil before trying to return the connection 2023-01-17 15:40:55 +01:00
db_conn.go Tests: Change SQLite Memory DSN to ":memory:?cache=shared" 2023-02-14 21:47:31 +01: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 Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +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 Links: Change https://photoprism.app/ to https://www.photoprism.app/ 2023-02-08 09:07:42 +01:00
entity_const.go Auth: Refactor user management API and CLI commands #98 2023-03-08 23:30:39 +01: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 Config: Always initialize fixtures, even when skipping migrations #3215 2023-02-21 04:44:08 +01:00
entity_init.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +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 Config: Skip migrations if version has already been initialized #3215 2023-02-21 01:48:42 +01: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 Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
entity_update.go Video: Add transcoding libs and improve error handling #3466 2023-07-15 15:17:41 +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 Faces: Run background worker only when data has been updated #3124 2023-03-08 12:42:57 +01: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 Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
file.go Videos: Refactor File.UpdateVideoInfos() method #926 #3588 #3559 2023-08-18 09:12:38 +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 Edit: Change image orientation through the user interface #464 2023-03-20 16:18:27 +01:00
file_json_test.go People: Add SubjectNames() to file entity #22 2021-09-02 11:12:42 +02:00
file_metadata.go Videos: Refactor File.UpdateVideoInfos() method #926 #3588 #3559 2023-08-18 09:12:38 +02:00
file_share.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_share_fixtures.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_share_fixtures_test.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_share_test.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_sync.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_sync_fixtures.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_sync_fixtures_test.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_sync_test.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_test.go Entities: Update file_test.go #3559 2023-08-15 15:17:09 +02:00
fixtures.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
folder.go API: Add sort order "random" to find a random set of photos #153 2023-01-30 12:27:34 +01:00
folder_fixtures.go People: Improve face clustering and indexing #22 2021-08-19 21:12:38 +02:00
folder_test.go API: Add sort order "random" to find a random set of photos #153 2023-01-30 12:27:34 +01: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 Auth: Only allow setting a password hash for the initial account #1987 2023-04-13 19:46:00 +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 Video: Add transcoding libs and improve error handling #3466 2023-07-15 15:17:41 +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 Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
mysql8_test.go Config: Always initialize fixtures, even when skipping migrations #3215 2023-02-21 04:44:08 +01:00
password.go CLI: Improve length check in "photoprism passwd" command #3482 2023-06-19 17:24:02 +02:00
password_fixtures.go Auth: Only allow setting a password hash for the initial account #1987 2023-04-13 19:46:00 +02:00
password_fixtures_test.go Run "make fmt" 2021-08-28 13:55:37 +02:00
password_test.go Tests: Add unit tests for internal/entity 2023-06-26 15:55:05 +02:00
photo.go Video: Add transcoding libs and improve error handling #3466 2023-07-15 15:17:41 +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 Metadata: Accept switch back to local time if current zone is UTC #2876 2022-11-15 17:54:16 +01:00
photo_datetime_test.go Metadata: Accept switch back to local time if current zone is UTC #2876 2022-11-15 17:54:16 +01:00
photo_estimate.go Fix Duration Compare in photos estimate 2023-03-03 16:21:21 +01:00
photo_estimate_test.go Fix Duration Compare in photos estimate 2023-03-03 16:21:21 +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 Video: Add transcoding libs and improve error handling #3466 2023-07-15 15:17:41 +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 Metadata: Ensure the altitude is not out of range and fix logs #3182 2023-02-09 11:51:26 +01: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 Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +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 Security: Create new files without execution permission #2809 2022-10-31 15:01:48 +01:00
photo_yaml_test.go People: Add SubjectNames() to file entity #22 2021-09-02 11:12:42 +02:00
place.go Albums: Improve database error handling #3320 2023-04-02 10:27:57 +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 Albums: Improve database error handling #3320 2023-04-02 10:27:57 +02:00
reaction_fixtures.go Reactions: Ignore error, should a test fixture already exist 2022-10-08 19:13:39 +02:00
reaction_test.go Auth: Rename database tables and delete temporary tables #98 #782 2022-10-02 22:09:02 +02:00
service.go WebDAV: Replace studio-b12/gowebdav client with emersion/go-webdav #3310 2023-03-28 20:37:42 +02:00
service_fixtures.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
service_test.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
src.go Auth: Refactor user management API and CLI commands #98 2023-03-08 23:30:39 +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 Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
string_map_test.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +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 People: Fix merging and renaming in connection with deleted names #3414 2023-08-21 15:04:14 +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 Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +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 Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00