photoprism/internal/entity
Michael Mayer 82d61d1f93 File Types: Add experimental support for animated GIFs #590 #2207
Animated GIFs are transcoded to AVC because it is much smaller and
thus also suitable for long/large animations. In addition, this commit
adds support for more metadata fields such as frame rate, number of
frames, file capture timestamp (unix milliseconds), media type,
and software version. Support for SVG files can later be implemented in
a similar way.
2022-04-13 22:17:59 +02:00
..
testdata/album Backup and restore albums from YAML files #567 2020-12-17 18:24:55 +01:00
account.go Revert "People: Add subject cache and show real name in logs #1438 #2182" 2022-04-04 08:54:03 +02:00
account_fixtures.go Docker: Rename and update dummy-webdav service 2021-11-09 16:55:16 +01:00
account_test.go WebDAV: Prevent two-way file sync, default to download #1785 2022-03-27 12:49:23 +02:00
address.go Performance: Refactor database schema and UI components #995 #1438 #1811 2022-03-30 20:36:25 +02:00
address_test.go Log4j: Sanitize user input in logs like filenames and album titles #1814 2021-12-14 17:07:38 +01:00
album.go Albums: Prevent accidental creation of duplicate albums #2233 2022-04-10 14:38:51 +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 Albums: Prevent accidental creation of duplicate albums #2233 2022-04-10 14:38:51 +02:00
album_yaml.go Backups: Rename YAML "backup" files to just YAML files #1887 2022-01-06 13:21:42 +01:00
album_yaml_test.go Enable module graph pruning and deprecate io/ioutil (#1600) 2021-10-06 07:10:50 +02:00
camera.go Performance: Refactor database schema and UI components #995 #1438 #1811 2022-03-30 20:36:25 +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 People: Refactor faces worker and related entities #22 2021-08-15 20:57:26 +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 Config: Add option to skip all RAW images when indexing #2227 2022-04-06 17:46: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
const.go File Types: Add experimental support for animated GIFs #590 #2207 2022-04-13 22:17:59 +02:00
country.go Performance: Refactor database schema and UI components #995 #1438 #1811 2022-03-30 20:36:25 +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
deprecated.go MySQL 8: Improve migrate command, ignore errors when dropping indexes 2021-11-28 13:52:27 +01:00
details.go File Types: Add experimental support for animated GIFs #590 #2207 2022-04-13 22:17:59 +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 File Types: Add experimental support for animated GIFs #590 #2207 2022-04-13 22:17:59 +02:00
duplicate.go Index: Improve logging and files table update statements #1438 #2216 2022-04-03 12:43:21 +02:00
duplicate_test.go Backup: Improve command flags and usage docs #1190 #1193 2021-04-19 13:48:46 +02:00
entity.go Metadata: Remove location labels when photo doesn't have a location 2021-11-25 14:52:26 +01:00
entity_count.go Albums: Prevent accidental creation of duplicate albums #2233 2022-04-10 14:38:51 +02:00
entity_count_test.go Albums: Prevent accidental creation of duplicate albums #2233 2022-04-10 14:38:51 +02:00
entity_db.go People: Show real name instead of uid in logs #1438 #2182 2022-04-04 14:21:43 +02:00
entity_db_test.go People: Show real name instead of uid in logs #1438 #2182 2022-04-04 14:21:43 +02:00
entity_fixtures.go People: Show real name instead of uid in logs #1438 #2182 2022-04-04 14:21:43 +02:00
entity_init.go People: Show real name instead of uid in logs #1438 #2182 2022-04-04 14:21:43 +02:00
entity_save.go Albums: Prevent accidental creation of duplicate albums #2233 2022-04-10 14:38:51 +02:00
entity_save_test.go Albums: Prevent accidental creation of duplicate albums #2233 2022-04-10 14:38:51 +02:00
entity_tables.go People: Show real name instead of uid in logs #1438 #2182 2022-04-04 14:21:43 +02:00
entity_test.go Search: Refactor photo search, fix test data and unit tests #1994 2022-03-29 00:21:50 +02:00
entity_update.go Albums: Prevent accidental creation of duplicate albums #2233 2022-04-10 14:38:51 +02:00
entity_update_test.go Albums: Prevent accidental creation of duplicate albums #2233 2022-04-10 14:38:51 +02:00
entity_values.go Index: Add tests and refactor database record updates #1438 2022-04-05 11:40:53 +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 UX: Add button to clear error log history in Library > Errors #1683 2022-04-03 12:37:43 +02:00
face.go People: Improve face matching, audit command, and logging #2182 2022-04-13 01:59:32 +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 File Types: Add experimental support for animated GIFs #590 #2207 2022-04-13 22:17:59 +02:00
file_fixtures.go Search: Add landscape/square filters, and "show filters" command #2169 2022-04-13 09:48:51 +02:00
file_fixtures_test.go Run "make fmt" 2021-08-28 13:55:37 +02:00
file_json.go File Types: Add experimental support for animated GIFs #590 #2207 2022-04-13 22:17: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 Revert "People: Add subject cache and show real name in logs #1438 #2182" 2022-04-04 08:54:03 +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 Revert "People: Add subject cache and show real name in logs #1438 #2182" 2022-04-04 08:54:03 +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 File Types: Add experimental support for animated GIFs #590 #2207 2022-04-13 22:17:59 +02:00
fixtures.go People: Refactor faces worker and related entities #22 2021-08-16 00:29:36 +02:00
folder.go File Types: Add experimental support for animated GIFs #590 #2207 2022-04-13 22:17:59 +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 Revert "People: Add subject cache and show real name in logs #1438 #2182" 2022-04-04 08:54:03 +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 Revert "People: Add subject cache and show real name in logs #1438 #2182" 2022-04-04 08:54:03 +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 Performance: Refactor database schema and UI components #995 #1438 #1811 2022-03-30 20:36:25 +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 Revert "People: Add subject cache and show real name in logs #1438 #2182" 2022-04-04 08:54:03 +02:00
link_fixtures.go Tests: Reformat link_fixtures.go 2021-07-25 23:48:34 +02:00
link_test.go People: Improve face matching performance and accuracy #22 2021-08-29 13:26:05 +02:00
marker.go People: Improve face matching, audit command, and logging #2182 2022-04-13 01:59:32 +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 People: Improve subject and marker entity logs #22 2021-10-06 12:16:52 +02:00
markers.go Performance: Refactor database schema and UI components #995 #1438 #1811 2022-03-30 20:36:25 +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 Backups: Rename album backups to exports and improve command help #1887 2022-01-05 11:40:44 +01:00
password_fixtures.go Auth: adapt tests for recent changes 2021-08-12 20:33:14 +02:00
password_fixtures_test.go Run "make fmt" 2021-08-28 13:55:37 +02:00
password_test.go Auth: Add user and password fixtures #98 2021-08-10 12:30:04 +02:00
photo.go File Types: Add experimental support for animated GIFs #590 #2207 2022-04-13 22:17:59 +02:00
photo_album.go People: Refactor faces worker and related entities #22 2021-08-15 20:57:26 +02:00
photo_album_fixtures.go Tests: Add fixtures 2022-03-29 11:21:45 +02:00
photo_album_fixtures_test.go Backend: Format go imports 2020-11-21 18:08:41 +01:00
photo_album_test.go Backend: Add unit tests for internal/entity 2020-07-10 15:06:37 +02:00
photo_datetime.go File Types: Add experimental support for animated GIFs #590 #2207 2022-04-13 22:17:59 +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 File Types: Add experimental support for animated GIFs #590 #2207 2022-04-13 22:17:59 +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 Tests: Add fixtures 2022-04-02 20:13:56 +02:00
photo_fixtures_test.go Tests: Adapt tests to fixture changes 2021-08-05 12:33:52 +02:00
photo_keyword.go People: Refactor faces worker and related entities #22 2021-08-15 20:57:26 +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 Config: Add option to skip all RAW images when indexing #2227 2022-04-06 17:46:41 +02:00
photo_label_test.go Backend: Add unit tests for internal/entity 2020-07-10 15:15:56 +02:00
photo_location.go API: Improve path and filename parameter sanitation #1814 2021-12-14 20:01:39 +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 Performance: Refactor database schema and UI components #995 #1438 #1811 2022-03-30 20:36:25 +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 Index: Prevent two primary files in photo stacks #1823 2022-01-06 14:33:49 +01:00
photo_title.go Search: Improve input sanitation and filter queries #1994 #2079 #2181 2022-03-25 18:01:34 +01:00
photo_title_test.go People: Shorten names in titles #22 2021-09-18 21:40:57 +02:00
photo_yaml.go Backups: Rename YAML "backup" files to just YAML files #1887 2022-01-06 13:21:42 +01:00
photo_yaml_test.go People: Add SubjectNames() to file entity #22 2021-09-02 11:12:42 +02:00
place.go Places: Fix typo in "not found" log message (#1956) 2022-01-19 16:44:50 +01: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 Places: Sort States by Country Name and Title #1608 #1740 2021-11-20 16:36:34 +01: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 People: Improve face matching, audit command, and logging #2182 2022-04-13 01:59:32 +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 People: Improve face matching, audit command, and logging #2182 2022-04-13 01:59:32 +02:00
subject_fixtures.go People: Count the number of photos for each subject #22 2021-10-01 16:34:29 +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 Revert "People: Add subject cache and show real name in logs #1438 #2182" 2022-04-04 08:54:03 +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
time.go File Types: Add experimental support for animated GIFs #590 #2207 2022-04-13 22:17:59 +02:00
time_test.go File Types: Add experimental support for animated GIFs #590 #2207 2022-04-13 22:17:59 +02:00
user.go Auth: Add --auth flag, increase min password length to 8 chars #98 #2248 2022-04-12 19:44:43 +02:00
user_fixtures.go Tests: Add user fixtures and unit test 2021-08-27 15:33:33 +02:00
user_fixtures_test.go Auth: Normalize Username (trim space, lowercase) #1103 #1309 #1546 #1610 2021-11-12 09:10:15 +01:00
user_test.go Auth: Add --auth flag, increase min password length to 8 chars #98 #2248 2022-04-12 19:44:43 +02:00