Commit graph

2791 commits

Author SHA1 Message Date
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
Michael Mayer
b0ef310b96 Metadata: Improve camera make string normalization #2040
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-06 03:33:03 +02:00
Michael Mayer
c78d12b56d Search: Limit result file types when sorting by similarity #2040
This also attempts to improve the (undocumented) randomly sorted
search results.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-06 02:57:07 +02:00
Michael Mayer
9b3efe6872 Search: Update number of expected results in filter tests #2040
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-06 02:34:21 +02:00
Michael Mayer
604849e92c Search: Include RAW files in results by default #2040
With these changes the size and type of the RAW file as well as other
details can be displayed in the Cards View. This also improves the
indexing of camera and lens metadata.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-06 02:22:48 +02:00
Michael Mayer
cfe1ff3299 Config: Change "web server" to "Web server" in the docs for consistency
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-24 18:05:49 +02:00
Michael Mayer
26ca084699 Videos: Cache embedded media to allow streaming and transcoding #3764
This is a follow-up improvement for the following feature requests that
have already shipped with our stable release:

- Live Photos: Add support for Samsung Motion Photos #439
- Live Photos: Add support for Google Camera Motion Photos #1739

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-24 17:13:06 +02:00
Michael Mayer
20407452f0 UX: Prefer original media files for cards view details #2040
This also adds camera lens information to the cards view details.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-24 14:11:52 +02:00
Michael Mayer
50abd9b632 Index: Improve detection of embedded videos #439 #1739 #2788
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-23 13:37:42 +02:00
Michael Mayer
2339197311 Live Photos: Add support for playing videos embedded in HEIC images #439
Related Issues:
- Samsung: Initial support for Motion Photos (#439)
- Google: Initial support for Motion Photos (#1739)
- Metadata: Flag Samsung/Google Motion Photos as Live Photos (#2788)

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-23 11:27:20 +02:00
Michael Mayer
529103462c Index: Add native support for MP4 and Samsung/Google Motion Photos #439
Related Issues:
- Samsung: Initial support for Motion Photos (#439)
- Google: Initial support for Motion Photos (#1739)
- Metadata: Flag Samsung/Google Motion Photos as Live Photos (#2788)

Related Pull Requests:
- Live Photos: Add Support for Samsung Motion Photos (#3588)
- Samsung: Improved support for Motion Photos (#3660)
- Google: Initial support for Motion Photos (#3709)
- Google: Add support for Motion Photos (#3722)

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-22 23:59:56 +02:00
graciousgrey
3788a82d91 Docs: Update search form docs 2023-09-21 18:37:33 +02:00
Michael Mayer
a865300666 Places: Add support for "label" and "category" search filters #1187
This also improves the documentation of existing search filters.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-20 22:07:30 +02:00
Michael Mayer
2843342d00 Logs: Reduce severity from error to warning when indexer is busy
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-20 21:11:51 +02:00
Michael Mayer
267430bf78 Places: Update assertion in search_photos_test.go #3558
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-20 18:39:39 +02:00
Michael Mayer
33bf0cede6 Places: Support sub-km distances when searching for locations #3558
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-20 18:37:41 +02:00
Michael Mayer
295fe0e6fa Search: improve radius approximation for "lat" and "lng" filters #3558
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-20 17:42:38 +02:00
Michael Mayer
4d1003846c Search: Refactor "lat", "lng", and "dist" filters #1187 #3558
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-20 16:56:38 +02:00
Michael Mayer
06d8816a7f Search: Improve location search filters and related docs #1187 #3558
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-20 12:10:49 +02:00
Michael Mayer
85506f9373 Places: Improve parsing and querying of GPS boundaries #1187 #3657
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-20 03:18:30 +02:00
Michael Mayer
43655ba591 Index: Update photos in batches to be compatible with SQLite #3742
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-19 23:24:50 +02:00
Michael Mayer
a92653d4f2 Places: Refactor cluster view overlay and backend API #1187 #3657
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-19 22:03:40 +02:00
Michael Mayer
5bc504491a SQLite: Improve inline code comments #3742
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-19 10:32:09 +02:00
Michael Mayer
139562e393 SQLite: Improve logging to confirm where the error is triggered #3742
see also https://github.com/photoprism/photoprism/discussions/3665

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-19 09:12:15 +02:00
graciousgrey
e737083822 Tests: Add unit tests 2023-09-15 16:26:16 +02:00
graciousgrey
59207846bd Tests: Add unit test #3414 2023-09-12 14:35:51 +02:00
graciousgrey
f12c558f67 Tests: Refactor unit tests 2023-09-12 14:04:52 +02:00
Michael Mayer
096b306420 Auth: Reduce bcrypt cost for faster login on small devices #3718
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-12 09:36:23 +02:00
graciousgrey
311288312e Tests: Add unit tests #3658 2023-09-11 17:09:54 +02:00