Commit graph

2489 commits

Author SHA1 Message Date
Michael Mayer
e331fcf43f API: Improve file operation logs
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-19 21:11:17 +01:00
Michael Mayer
6dd55170fe Config: Add option to set a proxy for outgoing connections #3132
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-19 20:46:27 +01:00
Michael Mayer
6414a7bee3 Entity: Check if dbConn is nil before trying to return the connection
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-17 15:40:55 +01:00
Michael Mayer
aca929e3c9 Docs: Add command that generates an overview of YAML config values
see https://docs.photoprism.app/getting-started/config-files/

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-15 15:36:20 +01:00
Michael Mayer
251d197063 Update year in copyright info
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-11 16:48:18 +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
843155ef60 Albums: Improve sorting options in extended search form #353
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-04 14:15:07 +01:00
Michael Mayer
449f9f8b83 Search: Ignore deleted albums when using the "unsorted" filter #3051
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-02 18:43:18 +01:00
Michael Mayer
727b3eb552 Videos: Optimize preview thumbnail by duration #1241
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-02 18:11:15 +01:00
Michael Mayer
bc50770684 Folders: Ignore case and use wildcards when searching #2050
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-02 17:59:48 +01:00
Michael Mayer
7036c5fb86 Albums: Fix sorting albums and states by "newest" and "oldest" #353
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-02 16:49:18 +01:00
Michael Mayer
228dc9b36c Albums: Add test for search by year #353
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-02 16:31:32 +01:00
Michael Mayer
e94cf7af2c Albums: Implement year filter work for all types except states #353
States do not have an explicit year, so they cannot be filtered at this
time. If needed, a special query for the contained pictures could be
implemented later on. Select may also need changes to work with SQLite.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-02 16:17:59 +01:00
Michael Mayer
6a1ad2f415 Albums: Add extended search form with sorting options #353 #405
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-02 15:04:50 +01:00
Michael Mayer
15199c4e7f Videos: Improve preview thumbnail generation based on duration #1241
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-12-30 20:27:15 +01:00
Michael Mayer
ca4705eee2 CLI: Add username argument to the "photoprism passwd" command #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-12-29 23:41:43 +01:00
Michael Mayer
84cab27261 CLI: Add file extension flag to "photoprism convert" command #3038
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-12-28 21:14:46 +01:00
Michael Mayer
290617c082 Settings: Prevent success notification from being displayed twice
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-12-28 20:14:35 +01:00
Michael Mayer
3553f84872 Metadata: Ensure GPS lat/lng are within a valid range #2109
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-12-28 20:14:35 +01:00
Michael Mayer
b38dac8e8c Search: Find pictures by Exif UID, XMP Document ID or Instance ID #3035
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-12-28 17:50:08 +01:00
Michael Mayer
78151a78ee Videos: Extract still image after 9 seconds if duration > 1s #1241
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-12-23 09:55:02 +01:00
Michael Mayer
4c3b3cbdc7 Albums: Revert default order back from "newest" to "oldest" #3021
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-12-23 09:21:25 +01:00
Michael Mayer
cab5efba36 Logging: Add output writer wrapper so the default logger can use Logrus
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-12-23 01:35:59 +01:00
Michael Mayer
709683ef59 Videos: Extract still image after 3 seconds if duration > 3100ms #1241
This way, still images of live photos remain unchanged, while other
videos might get better preview images, especially if the first
few frames are only black or white.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-12-23 01:33:35 +01:00
Michael Mayer
487bb13555 Albums: Change default sort order from "oldest" to "newest" #3021
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-12-19 20:05:19 +01:00
Michael Mayer
6806e74f7d Config: Do not search empty template paths for files #2946
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-28 10:22:53 +01:00
Michael Mayer
dd506adce2 Albums: Replace ASCII quotes in titles with Unicode quotes #2891
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-28 09:24:23 +01:00
Michael Mayer
53232b53c0 Frontend: Add upgrade page and update about page
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-27 18:00:55 +01:00
Michael Mayer
bfe7705af6 Config: Change report command output title
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-25 10:23:34 +01:00
Michael Mayer
eb18ae89fe Auth: Fix login URI in public mode #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-23 19:48:39 +01:00
Michael Mayer
cc38922cbe Auth: Add dummy LDAP service #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-22 22:14:34 +01:00
Michael Mayer
72fffc92fc Index: Improve the query performance when flagging hidden files #2928
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-21 12:20:28 +01:00
Michael Mayer
441812fd7b MariaDB: Make version check compatible with 10.10 #2913
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-18 12:49:17 +01:00
Michael Mayer
18f1d5a6f8 Metadata: Improve data parsing and sanitization #2897
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-17 08:28:30 +01:00
Michael Mayer
6ab04088e2 Metadata: Accept switch back to local time if current zone is UTC #2876
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-15 17:54:16 +01:00
Michael Mayer
75f288d465 Metadata: Add JSON tests for iPhone 6s and 14 Pro #2876
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-15 17:11:32 +01:00
Michael Mayer
29a180f91c Metadata: Don't remove quotes when sanitizing Unicode strings #2897
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-15 15:13:48 +01:00
Michael Mayer
ae130dc500 Metadata: Sanitize bad Unicode strings #2897
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-15 14:45:21 +01:00
Michael Mayer
54bfb167de Config: Reorder imports in config_db.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-12 12:15:55 +01:00
Michael Mayer
830712a41e MariaDB: Return error if connection failed #2878
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-10 09:32:51 +01:00
Michael Mayer
2f6e57527b MariaDB: Allow unsupported versions in "unsafe" mode #2878
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-10 07:21:45 +01:00
Michael Mayer
06744f356c Video: Change FFmpeg params for NVidia hardware transcoding #2613
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-03 16:18:04 +01:00
Michael Mayer
36298b39d7 Auth: Only migrate non-empty legacy user fields #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-03 11:02:36 +01:00
Michael Mayer
ef9b76a54a Config: Fix MariaDB version check #2845
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-03 10:35:56 +01:00
Michael Mayer
c29bc5a8d4 Config: Update trusted proxy command flag help
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-03 07:54:18 +01:00
Michael Mayer
f7becc2fd5 Config: Update reverse proxy https flags
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-02 18:55:30 +01:00
Michael Mayer
b708b963c2 Migrate: Default to UTC when reading time from XMP #636
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-31 16:46:20 +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
d03be0ab21 Maps: Rename "Offline" style to "Basic"
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-31 14:33:26 +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