Brandon Richardson
3d962e2382
Backend: Expose prometheus-style metrics endpoint
...
Expose a new API which can be scraped by prometheus to gather useful
metrics from an instance. The new endpoint exposes photoprism build
version information, golang version, edition and various count metrics.
2023-12-06 08:13:24 +01:00
graciousgrey
59456c57be
Tests: Add unit test #3885
2023-11-21 17:47:29 +01:00
graciousgrey
292eaf6ee0
Tests: Add unit tests #3896
2023-11-21 17:08:18 +01:00
graciousgrey
5d06770ab6
Tests: Update photo fixtures
2023-11-21 17:07:39 +01:00
Michael Mayer
eb19a4a893
Search: Add filter to find pictures by resolution range in MP #3896
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-11-20 11:47:23 +01:00
Michael Mayer
717e616700
Vectors: Use RSVG instead of imagemagick to convert SVG to PNG #3885
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-11-20 11:43:54 +01:00
Alex Spurling
d32bc4cc6c
FFmpeg: Seek input not output video ( #3893 )
...
This improves performance when converting video to images as we no longer
have to decode and then discard the first x seconds of video.
2023-11-19 15:55:33 +01:00
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
78e6dd88d8
JPEG: Fix regression when handling files with EOF error #3855
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-31 13:13:18 +01:00
Michael Mayer
b07609c213
HEIC: Add iPhone 15 Pro file samples and update related tests #3852
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-31 12:39:36 +01:00
graciousgrey
46642b3ac0
Tests: Add unit tests for search
2023-10-26 12:52:39 +02:00
graciousgrey
313948b103
Tests: Add altitude to photo fixtures
2023-10-26 12:28:41 +02:00
Michael Mayer
19efee9b6d
Config: Change position of "http-cache-public" command flag
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-26 09:04:34 +02:00
Carlos Abraham Pérez Marrero
50d6d6d44e
PWA: Fix app manifest logo icon sizes ( #3838 )
...
Logo icon 77.png does not exists so a warning is shown on Chrome Dev Tools when inspecting the PWA manifest
2023-10-23 11:29:39 +02:00
Michael Mayer
9abea5b55f
Metadata: Ignore "SubSecModifyDate" in Exiftool JSON files #3780
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-21 17:32:42 +02:00
Michael Mayer
c2b56346b6
Search: Remove obsolete "fmin" and "fmax" filters #3818
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-21 16:33:00 +02:00
Michael Mayer
09f8a58404
Library: Stack sidecar files with vendor specific naming schemes #2983
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-21 15:02:16 +02:00
Michael Mayer
15377b1e98
Metadata: Update json_motion_test.go after upgrading photoprism/go-tz.v2
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-21 11:54:08 +02:00
Michael Mayer
67bd054f7b
Metadata: Improve handling of local time values #3780
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-21 02:31:27 +02:00
Michael Mayer
60efc86649
Metadata: Use UTC offset if actual time zone is unknown #3780
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-21 00:11:11 +02:00
Michael Mayer
54f281a425
FS: Improve matching of related media files #2983
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-20 16:02:52 +02:00
Michael Mayer
cca124e093
Search: Refactor GPS altitude range filter #3800
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-20 12:54:55 +02:00
Gilbert32
132237e47b
Search: Add altitude range filter ( #3800 )
...
* Add Altitude filters using IntRange
* Rename Altitude test
2023-10-20 12:23:20 +02:00
Lukas
8524fcc149
Adds Galaxy S10 to cameraModels ( #3828 )
2023-10-17 13:28:44 +02:00
Michael Mayer
2fed4b549c
Index: Refactor optimization worker logs and queries #3124 #3742
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-15 11:02:15 +02:00
Michael Mayer
05e29170bf
Backend: Refactor SQL batch size limit #3124 #3742
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-15 09:46:04 +02:00
Michael Mayer
b67043955d
Config: Add trace log for performance measurement #3810
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-15 09:31:57 +02:00
Michael Mayer
c8287e462f
Backend: Refactor queries for compatibility with SQLite #3124 #3742
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-15 09:31:10 +02:00
Michael Mayer
0a03071982
SQL: Refactor client config count queries #3742 #3810
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-15 08:42:24 +02:00
graciousgrey
17b473d867
Tests: Add unit tests #3818
2023-10-13 14:02:20 +02:00
graciousgrey
170c6bb3dc
Tests: Update fixtures
2023-10-13 14:00:08 +02:00
Michael Mayer
b7bbc59fca
Upgrade: Improve error handling and messages #3813
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-13 12:43:20 +02:00
Michael Mayer
09ad17d10a
Cards View: Improve camera and lens information #2040 #3077 #3816
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-13 11:35:43 +02:00
Michael Mayer
6a452bcf43
Search: Add Filters for ISO, FNumber and Focal Length Range #3818
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-12 14:53:40 +02:00
Michael Mayer
bac10302da
Cards View: Add ISO, FNumber, Exposure and Focal Length #3816
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-12 11:46:03 +02:00
Michael Mayer
f087658ed0
Docs: Fix section header starts in options.yml #3812
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-11 10:10:30 +02:00
Michael Mayer
2f9792e541
PWA: Set orientation to any in generated manifest.json #3413
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-10 20:43:44 +02:00
Michael Mayer
0470899016
Metadata: Add additional camera make and model mappings #3802
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-10 16:52:00 +02:00
Michael Mayer
3d1f93f94e
Albums: Redirect to matching collection if access was denied
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-10 15:16:35 +02:00
Michael Mayer
4d8bf12c0b
Commands: Remove unstable assertion from index_test.go
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-10 14:39:04 +02:00
Michael Mayer
3c0f1f37ad
Share: Ensure that shares are always loaded in the user entity model
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-10 14:32:04 +02:00
Michael Mayer
e6b1a28bcf
Metadata: Hide irrelevant values from supported data fields report
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-10 13:38:09 +02:00
Michael Mayer
fb419e26b7
Settings: Enable delete feature by default #3801
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-08 15:42:23 +02:00
Michael Mayer
80dd926f2d
Share: Improve query validation in the search and albums API
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-07 17:33:04 +02:00
Michael Mayer
0f321b10bc
Logs: Update log levels and messages
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-07 16:00:23 +02:00
Michael Mayer
ede4b3b897
Config: Refactor authentication settings #782
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-07 11:09:27 +02:00
Michael Mayer
10a58f2097
Metadata: Improve camera make and model string normalization #2040
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-06 09:51:40 +02:00
Michael Mayer
61e7de69a4
Metadata: Improve camera make and model string normalization #2040
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-06 09:24:12 +02:00