Commit graph

6151 commits

Author SHA1 Message Date
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
Michael Mayer 4253045b14 Docker/CI: Upgrade Go to v1.18.1 in scripts/dist/install-go.sh 2022-04-13 18:26:11 +02:00
Michael Mayer adc3f58437 Backend: Update Go dependencies in go.mod and go.sum 2022-04-13 18:25:00 +02:00
Michael Mayer 7291c1d703 Search: Add landscape/square filters, and "show filters" command #2169 2022-04-13 09:48:51 +02:00
Michael Mayer 0427163295 People: Improve face matching, audit command, and logging #2182 2022-04-13 01:59:32 +02:00
Michael Mayer 68a441ecdf Docs: Update license badge link in README.md #2245 2022-04-12 21:02:33 +02:00
Michael Mayer 20c8d73b26 Metadata: Preserve manual local time changes when reindexing #2239 2022-04-12 20:11:26 +02:00
Michael Mayer d81591fd65 CLI: Update app description text 2022-04-12 20:05:22 +02:00
Michael Mayer 04609d536d CLI: Show --admin-password flag at the top in command help #2195 #2248
Short name was changed from -a to --pw after the --auth flag was added.
2022-04-12 20:00:06 +02:00
Michael Mayer 915ff42133 Auth: Add --auth flag, increase min password length to 8 chars #98 #2248 2022-04-12 19:44:43 +02:00
Michael Mayer e42b870c09 CLI: Update and display the list of supported file formats #2247 2022-04-12 19:14:21 +02:00
Michael Mayer 68ba289d6c CLI: Add "photoprism show config/formats" subcommands
Replaces "photoprism config", which could only display
current configuration values. Codecs and file formats
have been refactored along the way.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-12 13:28:28 +02:00
Michael Mayer ad345805d9 UX: Skip RAW files by default when downloading albums #2234
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-11 11:53:21 +02:00
Michael Mayer 75e38b584e
Update README.md 2022-04-10 22:46:08 +02:00
Michael Mayer 32e3277959
Update README.md 2022-04-10 22:41:58 +02:00
Michael Mayer cd62be325c
Update README.md 2022-04-10 20:03:33 +02:00
Michael Mayer f927c68c4f UX: Skip RAW files by default when clicking Download All #2234
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-10 17:02:09 +02:00
Michael Mayer b97e0e9c3b Albums: Prevent accidental creation of duplicate albums #2233
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-10 14:38:51 +02:00
Michael Mayer f6def1ca2b Exif: Replace if with switch in exif_parser.go #2231
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-10 12:02:55 +02:00
Michael Mayer e1996f80b3 Exif: Ignore IFD1 tags with existing IFD0 values #2231
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-09 19:56:38 +02:00
Michael Mayer 9085f729d2 CLI: Update thumb flag short names #2195
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-09 14:38:56 +02:00
Michael Mayer d9cc0c5a83 CLI: Improve flag order, names, and descriptions #2195
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-08 14:45:03 +02:00
Michael Mayer 30da260a11 Config: Refactor options and flags source files #2195
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-08 14:22:07 +02:00
Michael Mayer 67fdecfbef CLI: Improve parameter aliases, order, and descriptions #2195
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-07 11:56:44 +02:00
Michael Mayer b9ab3befe5 CLI: Add -a alias for --admin-password #2195
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-07 01:23:15 +02:00
Michael Mayer bda4dbabfa CI: Make build.sh script compatible with macOS
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-07 01:18:39 +02:00
Michael Mayer 4ec7dbc90f Config: Add thumb-color option to set a standard color profile #1474
You can leave this blank to disable the conversion from Display P3
to sRGB. We will add more options at a later time.
2022-04-06 18:41:15 +02:00
Michael Mayer 9134c79f4c Config: Add option to skip all RAW images when indexing #2227 2022-04-06 17:46:41 +02:00
Michael Mayer 038a78c828 Docker: Change default Ubuntu base image from Impish to Jammy 22.04 LTS 2022-04-05 17:33:15 +02:00
Michael Mayer b32d9bf30c Videos: Improve FFmpeg parameters for Intel QSV #2222
This commit also removes PHOTOPRISM_FFMPEG_BUFFERS as it is only
used/required by Video4Linux. 64 seems to be a good value, so we pass
it statically as for the other encoders. Examples have been updated.
2022-04-05 16:48:53 +02:00
Michael Mayer a57c21febd Video Transcoding: Update docker-compose.yml config examples #2125 2022-04-05 16:17:26 +02:00
Michael Mayer 7ed186da65 CI: Fix Makefile for Ubuntu 22.04 "Jammy" build 2022-04-05 15:59:44 +02:00
Michael Mayer 2df21a0901 Develop: Upgrade base images in docker-compose.yml and Dockerfile #2178 2022-04-05 15:34:02 +02:00
Michael Mayer 30fe713594 CI: Add Dockerfiles and update Makefile for Ubuntu 22.04 "Jammy" build 2022-04-05 15:31:29 +02:00
Michael Mayer 772da6baba Docker: Add warning to "HOME" and "working_dir" in config examples #2178 2022-04-05 15:13:27 +02:00
Michael Mayer 4afd3f2ca9 Faces: Add Marker and File UID to API error logs #1438 #2201
The file query functions have been refactored and now return pointers.
2022-04-05 13:54:50 +02:00
Michael Mayer 7b508d6ad5 Index: Add tests and refactor database record updates #1438 2022-04-05 11:40:53 +02:00
Michael Mayer 9986986f8f People: Add info on the kind of face to improve matching #2182
This commit also fixes of other potential issues and improves logging.
2022-04-04 21:22:31 +02:00
Michael Mayer cfb448e97d Frontend: Update package-lock.json and translations.json 2022-04-04 14:53:07 +02:00
Cathie Integra c4b1ac6db1
Translations: Update frontend/src/locales (#2220)
Co-authored-by: Weblate <noreply@weblate.org>
2022-04-04 14:45:44 +02:00
Cathie Integra 336c158a4f
Translations: Update assets/locales (#2219)
Co-authored-by: Weblate <noreply@weblate.org>
2022-04-04 14:45:31 +02:00
Michael Mayer e87c7fab51 CI: Add "test-mariadb" target to Makefile 2022-04-04 14:41:14 +02:00
Michael Mayer 161309e392 Convert: Show relative file name in error and log messages #2214 2022-04-04 14:24:32 +02:00
Michael Mayer c74fcbf282 People: Show real name instead of uid in logs #1438 #2182
Since caching all subject data proved too complex in the time available,
this implementation uses a simple key/value lookup table to cache
subject names and perform backward searches by uid.
2022-04-04 14:21:43 +02:00
theresa 1431d54af0 Tests: Refactor unit tests 2022-04-04 13:40:56 +02:00
theresa fe639e1ec6 Tests: Refactor unit tests 2022-04-04 11:41:04 +02:00
Michael Mayer 870ec6455e Revert "People: Add subject cache and show real name in logs #1438 #2182"
This reverts commit 686f6bc47c.
2022-04-04 08:54:03 +02:00
Michael Mayer ccea0d01db Metadata: Update specialwords.go for title generation in txt package
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-04 01:22:29 +02:00
Michael Mayer cbcfa63f5f Labels: Fix saving categories in UpdateClassify()
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-04 00:57:13 +02:00
Michael Mayer 686f6bc47c People: Add subject cache and show real name in logs #1438 #2182 2022-04-04 00:02:08 +02:00