Commit graph

2570 commits

Author SHA1 Message Date
Michael Mayer
dcffa2848a API: Add action and user context to indexing events #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-11 14:09:00 +01:00
Michael Mayer
0e3fb7dc75 Auth: Fix password API handler if uid does not match #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-10 17:16:43 +01:00
Michael Mayer
a425027a9b Auth: Prevent unauthorized users from using the application #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-10 13:20:16 +01:00
Michael Mayer
8df444dfd7 Auth: Refactor session API #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-10 12:15:10 +01:00
Michael Mayer
ad5e9b2e21 User Details: Increase size of bio field, add about to UI #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-10 10:21:46 +01:00
Michael Mayer
654b41afe5 Auth: Prevent duplicate usernames when renaming accounts #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-09 19:56:07 +01:00
Michael Mayer
0a5dce5aeb Auth: Refactor sessions API and model #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-09 18:45:04 +01:00
Michael Mayer
50913e301c Auth: Prevent duplicate super admin accounts from being created #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-09 15:59:08 +01:00
Michael Mayer
d8ab9616a5 Auth: Refactor user management API and CLI commands #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-09 15:12:10 +01:00
Michael Mayer
60162b3fc5 Auth: Refactor user management API and CLI commands #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-08 23:30:39 +01:00
Michael Mayer
0fbb4043c6 Faces: Run background worker only when data has been updated #3124
This may reduce server load and prevent disks from spinning up.
We welcome tests reports!

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-08 12:42:57 +01:00
Dan Kasak
add976881a Fix only_full_group_by compilation error in SQL - #3216 2023-03-04 16:02:00 +01:00
connr
189fae6daf Fix Duration Compare in photos estimate
Remove the conversion to hours which provides incorrect duration comapre result
2023-03-03 16:21:21 +01:00
Michael Mayer
6e144fe13a Config: Allow everyone to set their own login wallpaper
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2023-03-02 16:52:05 +01:00
Micah
240393d8b6 Update convert.go
When I upgraded my phone to the Google Pixel 7, I noticed that the videos it takes have an extra video stream in them for their compressed HVC1 implementation. This means that all software transcoding of that format would fail, as it was transcoding the wrong video stream. This alteration fixed the issue for me, and will likely avoid video files with multiple video streams causing issues in the future.
2023-03-02 14:14:31 +01:00
Michael Mayer
a67cb10055 Config: Allow to increase the resolution limit at your own risk
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2023-02-27 15:29:03 +01:00
Michael Mayer
2bf6b2a7f6 Faces: Add embeddings test cases #3124
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-24 14:03:13 +01:00
Michael Mayer
65c287a598 Purge: Improve logging and return number of index updates #3227
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-23 18:33:50 +01:00
Michael Mayer
3c9b309ea9 Purge: Reduce wait times #3227
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-23 05:21:22 +01:00
Michael Mayer
2aabeb863e Index: Refactor related file handling and logs #3227
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-23 05:10:59 +01:00
Michael Mayer
9362604853 Index: Refactor file size check #3227
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-23 04:31:24 +01:00
Michael Mayer
5b727dd86a Index: Improve limit checks and logging #3227
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-23 04:11:09 +01:00
Michael Mayer
668395909d Index: Skip updates if there are no changes #3227
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-23 03:45:58 +01:00
Michael Mayer
242c8c54b8 Index: Skip updates if there are no changes #3227
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-23 01:06:52 +01:00
Michael Mayer
16f081444b Download as Zip: Include hidden files e.g. in review or broken
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-22 23:14:43 +01:00
Michael Mayer
1cc64cc5e6 WebDAV: Fix upload with updated client library #2267
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-22 21:39:40 +01:00
Michael Mayer
e1b955a35d WebP: Improve video API logging #3197 #668
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-22 21:38:25 +01:00
Michael Mayer
b44b8d52c1 WebP: Add support for indexing and playing animations #3197 #668
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-22 20:58:21 +01:00
Michael Mayer
eaff0abb6d Videos: Index and display durations of less than one second #3224
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-22 16:33:33 +01:00
Michael Mayer
4451447bdd Metadata: Automatically detect scans based on metadata #322
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-22 16:21:26 +01:00
Michael Mayer
4bd632881b JPEG: Try to fix all files with "invalid JPEG format" error #1673 #2463
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-21 17:45:35 +01:00
Michael Mayer
b855922283 JPEG: Automatically re-encode broken image files #1673 #2463 #2557
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-21 13:31:30 +01:00
Michael Mayer
7652fbd598 Convert: Update test function name #1310 #1612 #1747
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-21 11:41:24 +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
7af3e41118 Search: Ignore sepia pictures when using the "mono" filter #596 #2657
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-21 10:47:15 +01:00
Michael Mayer
906e29db56 Faces: Improve warning log for almost identical faces #1497 #3124
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-21 04:52:39 +01:00
Michael Mayer
01d5156568 Faces: Skip ambiguous embeddings when matching #1497 #3124
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-21 04:49:06 +01:00
Michael Mayer
74772aea97 Config: Always initialize fixtures, even when skipping migrations #3215
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-21 04:44:08 +01:00
Michael Mayer
9054d8cf0f Config: Don't skip individually selected migrations #3215
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-21 02:08:23 +01:00
Michael Mayer
cec2b8f000 Config: Skip migrations if version has already been initialized #3215
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-21 01:48:42 +01:00
Michael Mayer
ac3e1a3f4c Albums: Add experimental private album flag to edit dialog #480
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-21 00:02:44 +01:00
Michael Mayer
7c63a86f80 CLI: Restore user accounts on demand #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-20 20:24:04 +01:00
Michael Mayer
5f808cddb4 Library: Hide private files in "Originals" if user has no permission #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-20 18:50:28 +01:00
Michael Mayer
43d6a5e193 Auth: Improve user entity model and add unit tests #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-20 15:54:33 +01:00
Michael Mayer
0e032295db Advanced Settings: Add ImageMagick, PNG, and vectors options #2207
This also improves the help texts of existing config options.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-19 16:42:19 +01:00
theresa
1aa79831c3 Tests: Fix unit test 2023-02-16 15:32:08 +01:00
Michael Mayer
95f6df6fe0 Tests: Change SQLite Memory DSN to ":memory:?cache=shared"
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-14 21:47:31 +01:00
Michael Mayer
f54512e334 Auth: Refactor user management commands #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-14 20:28:58 +01:00
theresa
b7b811b125 Tests: Add unit tests for wildcard search #2050 2023-02-14 19:51:44 +01:00
theresa
d3fb420185 Tests: Add unit tests for new search filter #3035 2023-02-14 19:14:03 +01:00