Commit graph

2598 commits

Author SHA1 Message Date
Michael Mayer
3e4121cc78 Server: Add "restart required" flag and button to restart the server
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-27 19:27:19 +02:00
Michael Mayer
84d1e7de1d CLI: Add photoprism connect command
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-24 19:35:29 +01:00
Michael Mayer
5ea8e20a10 MediaFile: Add ChangeOrientation test for JPEG and PNG files #464
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-22 17:49:14 +01:00
Michael Mayer
e9d96e8849 Photos: Update file mod time when changing image orientation #464
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-22 17:41:07 +01:00
Michael Mayer
bad817f40e API: Code clean-up #3297
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-20 20:42:13 +01: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
824e2accef Files: Update new file form test #464
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-20 16:41:23 +01:00
Michael Mayer
9ad86ac017 Edit: Change image orientation through the user interface #464
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-20 16:18:27 +01:00
Michael Mayer
d18e5d3ad3 Config: Default to cache TTL defined in thumbs package #3297
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-20 13:15:54 +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
ff3f9b8537 Config: Improve Wallpaper URI caching and tests
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-20 10:28:01 +01:00
Michael Mayer
cc12f3f457 Auth: Improve sanitization of usernames and handles
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-15 22:41:59 +01:00
Michael Mayer
9161144c03 i18n: Add Lower() function and add code comments
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-15 18:19:03 +01:00
Michael Mayer
ef70992657 Config: Code clean-up
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-15 17:05:05 +01:00
Michael Mayer
cad0ecaa6a Config: Use fixed users folder name in the storage path
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-14 23:17:12 +01:00
Michael Mayer
fb1744b820 Config: Fix UserStoragePath()
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-14 22:19:16 +01:00
Michael Mayer
addc5e8251 Auth: Refactor users path configuration and base path default
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-14 21:47:14 +01:00
Michael Mayer
3755421945 FFmpeg: Update AVC convert command test #3284
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-14 18:30:48 +01:00
Michael Mayer
157c6c723a FFmpeg: Allow selection of specific video and audio streams #3284
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-14 18:00:55 +01:00
Michael Mayer
9ab833c2ec Auth: Improve username validation and parsing
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-14 16:36:30 +01:00
ghostwheel
9762150da6 Changed audio conversion to only use one stream
0:a means take all audio streams of first file. 0🅰️0 means first stream of first file. 0🅰️0? means first audio stream of first file if available.
2023-03-14 15:32:37 +01:00
ghostwheel
7e843808ca Added map for audio stream, too
It seems that if -map is used for video (-map 0✌️0) then a map is also needed for audio, otherwise no audio is produced.
2023-03-14 07:15:59 +01:00
Michael Mayer
cc97759806 Moments: Change default sort order in the overview to "newest" #3280
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-13 22:17:23 +01:00
Michael Mayer
88367b4ff7 Auth: Refactor user model and path validation #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-13 17:52:48 +01:00
Michael Mayer
36d62b5506 Auth: Refactor user model and improve validation #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-13 17:36:56 +01:00
Michael Mayer
5b73101442 Auth: Refactor user roles and auth providers in entity model #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-13 16:04:37 +01:00
Michael Mayer
c1efe61b92 Settings: Move download settings to general tab #449
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-11 15:34:59 +01:00
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