Michael Mayer
d06a182ac0
JPEG: Reduce log level for reporting invalid color metadata #3843
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-11-09 10:38:05 +01:00
Michael Mayer
d0ea838b37
Thumbnails: Add panic handler for unexpected image encoding errors #3858
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-31 14:37:47 +01:00
Michael Mayer
86f16790ea
JPEG: Read files with invalid color data from the beginning #3843
...
Using a ReadSeeker is necessary to read images with invalid color
metadata from the beginning in order to avoid decoding errors.
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-31 14:24:31 +01:00
Michael Mayer
a287830d1f
Videos: Allow setting a lower TTL for caching video content #3631
...
Adds the new "--http-video-maxage SECONDS" config option.
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-15 11:06:43 +02:00
graciousgrey
33b08f15e5
Tests: Add unit tests
2023-07-24 14:02:18 +02:00
graciousgrey
b5b13b0fbb
Tests: Add unit tests
2023-07-20 20:06:27 +02:00
Michael Mayer
3cf1c699df
Video: Refactor FFmpeg Transcoding Size Limit #3466 #3498 #3549
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-18 15:15:04 +02:00
Michael Mayer
11e7d3f0d1
JPEG: Refactor error correction for broken files #2463 #2721 #3363
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-29 19:28:56 +02:00
Daniel Albers
da61515c4a
JPEG: Automatically fix files with missing EOI marker ( #2721 )
2023-06-29 10:34:51 +02:00
Michael Mayer
f63ac04956
Config: Rename HttpCacheTTL to HttpCacheMaxAge #3297
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-20 20:37:07 +01:00
Michael Mayer
010d243d14
Config: Change cache TTL default from 2630000 to 2592000 #3297
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-20 13:13:56 +01:00
Michael Mayer
286f06d894
Config: Add options for HTTP cache control #3297
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-20 11:40:46 +01:00
Michael Mayer
053a67f1e4
TIFF: Convert unsupported files with ImageMagick #1310 #1612 #1747
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-21 11:39:49 +01:00
Michael Mayer
a5a538a67e
Links: Change https://photoprism.app/ to https://www.photoprism.app/
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-08 09:07:42 +01:00
Michael Mayer
4066cd7ad1
Update year in copyright notices
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-11 16:43:01 +01:00
Michael Mayer
91774c4068
Security: Create new files without execution permission #2809
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-31 15:01:48 +01:00
Michael Mayer
13d32f3294
Translations: Fuzzy merge of .pot files with .po files #2083
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-31 13:25:02 +01:00
Michael Mayer
e3bb8b19dd
Routing: Prefix frontend UI routes with /library #840 #2466
...
Also improves migrations and updates the db schema docs.
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-15 21:54:11 +02:00
Michael Mayer
f5a8c5a45d
Auth: Session and ACL enhancements #98 #1746
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-28 09:01:17 +02:00
Michael Mayer
b072a18a17
Backend: Run "make fmt" with Go v1.19
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-08-10 16:09:21 +02:00
Michael Mayer
5ec90a5fff
Index: Skip redundant thumbs and support symbolic file links #1049 #1874
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-06 23:01:54 +02:00
Michael Mayer
2125f1ae0a
JPEG: Call Seek(0, 0) before opening image #2462 #2463
...
Found this here, although I'm really not sure how this should fix it:
- https://github.com/golang/go/issues/45902#issuecomment-1007953723
According to the tests I added, the error "unexpected EOF" remains!
At least this change shouldn't break anything either.... Help is more
than welcome if someone has more time to read through all the issue
comments.
2022-06-25 02:16:42 +02:00
Michael Mayer
92e6c4fe1e
Download: Add Disabled, Originals, MediaRaw & MediaSidecar Flags #2234
...
Extends DownloadSettings with 4 additional options:
- Name: File name pattern for downloaded files (existed)
- Disabled: Disables downloads
- Originals: Only download files stored in "originals" folder
- MediaRaw: Include RAW image files
- MediaSidecar: Include metadata sidecar files (JSON, XMP, YAML)
2022-04-15 09:42:07 +02:00
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
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
a604e9a9c6
Index: Improve file size/resolution checks, add WebP support #1017 #1226
...
Renames the config flag to from "megapixel-limit" to "resolution-limit".
Adds native support for the WebP image file format.
2022-04-02 18:04:11 +02:00
Michael Mayer
728cb2144c
Config: Add option to limit originals size in megapixels #1017
...
Adds the `megapixel-limit` and `thumb-colorspace` config options.
2022-04-01 21:14:22 +02:00
Michael Mayer
ca4c2ae199
Thumbnails: Rename QualityMedium to QualityDefault #2215
...
Seems easier to read and understand in context.
2022-04-01 13:30:20 +02:00
Michael Mayer
44efdd232a
Config: Improve flag descriptions of JPEG and thumbnail parameters #2215
2022-04-01 13:25:25 +02:00
Michael Mayer
3d9cb51641
Darktable: Set explicit cache and config path, log exact commands #2076
2022-03-02 12:20:02 +01:00
Michael Mayer
c256664a1b
WebDAV: Fix upload of complete albums #1376
2022-02-27 17:32:54 +01:00
Michael Mayer
c853b3cd2d
Backend: Shorten source file headers and normalize email addresses
2022-02-21 15:30:18 +01:00
Michael Mayer
6c4fc42415
API: Add Explicit Cache Header for Existing Thumbs #822
2022-02-20 17:36:51 +01:00
Michael Mayer
58a5f94069
Backups: Rename album backups to exports and improve command help #1887
2022-01-05 11:40:44 +01:00
Michael Mayer
1cde378a76
Index: Improve stacking of related files #926 #1823
2022-01-03 17:29:43 +01:00
Michael Mayer
8efe473d30
Copyright: Update year in source files and footer.vue
2022-01-03 13:46:52 +01:00
Michael Mayer
0f0c0aaa0b
API: Improve path and filename parameter sanitation #1814
2021-12-14 20:01:39 +01:00
Michael Mayer
9a8144c046
Log4j: Sanitize user input in logs like filenames and album titles #1814
2021-12-14 17:07:38 +01:00
Michael Mayer
35ac1e730c
Docs: Update URL
2021-12-12 20:48:05 +01:00
Michael Mayer
5be456a09f
JPEG: Convert Apple "Display P3" colors to standard sRGB #1474
...
Other color profiles and file formats are not supported yet. Should
be easy to add though. Main difficulty will be profile name comparison:
For example "Adobe RGB (1998)" vs just "Adobe RGB".
2021-12-09 07:00:39 +01:00
Michael Mayer
2d350c190f
Places: Only show nearby photos in viewer if > 50 results on map
2021-11-26 21:10:52 +01:00
Michael Mayer
e4fd294689
Places: Normalize US & CA state names #1664
2021-11-09 11:42:10 +01:00
theresa
2f19cbcf6a
Tests: Add unit test
2021-10-25 13:20:30 +02:00
Michael Mayer
f7153cdd21
People: Improve logging, command help, and handling of broken files #22
2021-10-05 18:42:39 +02:00
Michael Mayer
6d1179dc03
People: Refactor face cropping #22
2021-09-05 17:10:52 +02:00
Michael Mayer
b9d1c7afb3
People: Improve thumb size config and flag descriptions #22
2021-09-05 13:48:53 +02:00
Michael Mayer
d21dc3457c
People: Refactor thumb package and variable names #22
2021-09-05 12:32:08 +02:00
Michael Mayer
34c8f9d7b1
People: Implement crop thumbnail API #22
2021-09-03 17:42:37 +02:00
Michael Mayer
c179a790b8
People: Improve face crop caching #22
2021-09-02 23:47:37 +02:00
Michael Mayer
2e85b3cccd
People: Split facial recognition into smaller functions #22
...
Clustering and matching have been improved along the way. This opens
the door for further optimizations while keeping the code readable.
2021-08-22 16:14:34 +02:00