Commit graph

2629 commits

Author SHA1 Message Date
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
Michael Mayer
9e85a366c9 Index: Don't use ImageMagick to convert RAW images #1177 #2207 #3197
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-14 15:39:24 +01:00
Michael Mayer
b720578f7c Migrations: Reduce number of log messages
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-14 14:44:17 +01:00
Michael Mayer
527fc0319e Index: Add experimental support for JPEG XL and APNG files #668 #3197
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-14 14:43:49 +01:00
Michael Mayer
d4cbb60b92 Migrations: Improve debug log messages
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-14 11:38:00 +01:00
Michael Mayer
0c4aa86f85 CLI: Create thumbs and convert files in deterministic order #3194
This also adds support for specifying a path to the thumbs command.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-14 11:37:22 +01:00
Michael Mayer
e533aa7beb Adobe: Add support for PDF, AI, and PSD file formats #1177 #2207
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-13 20:02:26 +01:00
Michael Mayer
3e767d6b3c Improve: Shorten file support warning message #2207
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-13 15:24:59 +01:00
Michael Mayer
524b5c7f3f Config: Improve file conversion feature support detection #2207
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-13 14:41:33 +01:00
Michael Mayer
97c9962053 Index: Add experimental EPS and SVG vector graphics support #1177 #2207
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-11 20:18:04 +01:00
Michael Mayer
16a153bfa1 PWA: Load manifest.json with version parameter to limit caching #3181
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-10 16:23:36 +01:00
Michael Mayer
826addb4c1 PWA: Create manifest.json in code without using a template #3181
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-10 15:53:01 +01:00
Michael Mayer
77b97f78f7 i18n: Update i18n_test.go and response_test.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-09 14:17:16 +01:00
Michael Mayer
cef88e5564 API: Update albums_test.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-09 14:06:01 +01:00
Michael Mayer
902f9a40f6 Backend: Update translations.go and translations.pot
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-09 13:52:29 +01:00
Michael Mayer
ed784d2850 Backend: Update translations.go and translations.pot
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-09 13:21:44 +01:00
Michael Mayer
a7b1c1b11e WebDAV: Allow read access in read-only mode and improve logs #3177 #3183
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-09 13:14:56 +01:00
Michael Mayer
ef6e3d3f9d Metadata: Ensure the altitude is not out of range and fix logs #3182
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-09 11:51:26 +01:00
Michael Mayer
ce830ea6b0 Server: Handle HEAD requests #2965
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-09 10:16:25 +01:00
Michael Mayer
a5a538a67e Links: Change https://photoprism.app/ to https://www.photoprism.app/
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-08 09:07:42 +01:00
Michael Mayer
97d095c2a6 UX: Update expected counts in backend test #3164
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-03 13:18:30 +01:00
Michael Mayer
52a220044d UX: Show total number of pictures without images in overview #3164
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-03 08:23:46 +01:00
Michael Mayer
2e7268f834 Config: Remove slash from social preview image file path #3160
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-02 17:13:12 +01:00
Michael Mayer
a3ee21897d Auth: Improve display of username #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-02 17:11:35 +01:00
Michael Mayer
ee8e0b0f14 Config: Change order of options when reporting current values
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-02 12:09:46 +01:00
Michael Mayer
9684edb681 Config: Use dynamic social preview image based on app name #3160
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-02 12:08:54 +01:00
Michael Mayer
8593da5b78 ACL: Add RoleStrings type to specify role names
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-30 16:15:01 +01:00
Michael Mayer
1dee168e52 Config: Load initial settings from default file, if exists
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-30 14:56:31 +01:00
Michael Mayer
47defc861c API: Add sort order "random" to find a random set of photos #153
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-30 12:27:34 +01:00
Michael Mayer
2cab5f7534 Config: Update CLI "photoprism show" sub-command names
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-25 11:41:39 +01:00
Michael Mayer
adc91fcf6e Auth: Refactor WebDAV login and increase maximum length of username
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-24 06:05:31 +01:00
Michael Mayer
c49c5e3b8b Config: Improve CLI flag command help #3132
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-20 00:37:51 +01:00
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
Michael Mayer
69d14997f4 Config: Rename edition to about in client config values
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-31 12:23:48 +01:00
Michael Mayer
fb4bfe1b2f Auth: Prevent unauthorized users from accessing the file browser #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-31 12:18:10 +01:00
Michael Mayer
564ebae162 Albums: Ignore labels with zero probability when adding all labels #2821
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-31 09:58:50 +01:00
Michael Mayer
6a33ae2e93 Import: Allow directory names with dots #2807
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-27 15:47:32 +02:00
Michael Mayer
52af69ae21 API: Change required permissions for searching files and folders
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-27 15:27:03 +02:00
Michael Mayer
7723e6b32f Convert: Set explicit LD_LIBRARY_PATH for external tools #2726
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-26 18:51:28 +02:00
Michael Mayer
81b398d77d TLS: Update info message when not enabled
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-26 18:05:21 +02:00
Michael Mayer
3b9890e345 Config: Update options report, parameter names and tests
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-25 06:19:56 +02:00
Michael Mayer
ac84dce3aa Search: Add sort by "File Size" #2620
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-24 12:56:17 +02:00
Michael Mayer
1b27a80ada Config: Rename "imprint" option to "legal-info" #2797
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-24 12:33:03 +02:00
Michael Mayer
a02ecf12de Auth: Use "username" instead of "name" in the session API #98 #2796
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-24 09:21:39 +02:00
Michael Mayer
ac47a0a647 Config: Update config_tls_test.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-22 22:56:15 +02:00
Michael Mayer
9de5662c75 Security: Add "disable-tls" config option to always disable HTTPS
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-22 22:54:24 +02:00
Michael Mayer
e8d11deb49
Update mariadb.mmd 2022-10-22 13:29:47 +02:00
Michael Mayer
a579620a2e Security: Change default site URLs to HTTP and add HTTPS init target
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-20 16:19:28 +02:00
Michael Mayer
72e5af3078 Backend: Code clean-up
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-19 22:23:12 +02:00
Michael Mayer
2bca8b696b Settings: Clear session cache after changing global options #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-19 21:19:55 +02:00
Michael Mayer
ebb5646571 Security: Update default config values to use HTTPS for the site URL
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-19 20:26:36 +02:00
Michael Mayer
f94ff54cc1 Auth: Improve account management page and config options #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-19 05:09:09 +02:00
Michael Mayer
59da5037e6 Server: Add Error 404 Not Found template and change ext to .gohtml #840
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-18 22:19:41 +02:00
Michael Mayer
fc45f6d9db UX: Change avatar placeholder icon and background color #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-17 20:29:15 +02:00
Michael Mayer
bab572dd76 Import: Add non-blocking mode for uploads #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-17 19:53:15 +02:00
Michael Mayer
837669f796 Auth: Extend account settings with user details and avatar upload #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-17 19:07:38 +02:00
Michael Mayer
79faca4f67 Sharing: Prefix album redirect URLs #840 #2466
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-15 23:08:26 +02:00
Michael Mayer
e3bb8b19dd Routing: Prefix frontend UI routes with /library #840 #2466
Also improves migrations and updates the db schema docs.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-15 21:54:11 +02:00
Michael Mayer
04475e5c3c Backend: Fix accidental change in config options and update deps
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-14 12:07:08 +02:00
Michael Mayer
6b8b3bf3c2 Auth: Improve legacy user search command and add tests #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-14 02:48:23 +02:00
Michael Mayer
bd74d9d5c2 Config: Set CliTestContext
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-14 00:20:24 +02:00
Michael Mayer
f98aa619ec Security: Disable HTTPS redirect by default #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-13 23:44:51 +02:00
Michael Mayer
884dea17de Security: Use individual preview tokens for each user account #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-13 22:11:02 +02:00
Michael Mayer
38722e72c8 Config: Use mutex when resolving the path of external binaries
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-12 18:39:30 +02:00
Michael Mayer
0297006876 API: Refactor authentication tests to use conf.SetAuthMode() #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-12 18:11:20 +02:00
Michael Mayer
952f7e1793 API: Skip authentication if app is running in public mode #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-12 16:34:48 +02:00
Michael Mayer
265fdd0dd3 Security: Refactor certs path config #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-12 15:33:35 +02:00
Michael Mayer
d198a1d23f Security: Improve rate limit and HTTP proxy configuration #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-12 14:57:33 +02:00
Michael Mayer
6abbc39017 Security: Add http rate limiter and auto tls mode #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-11 22:44:11 +02:00
Michael Mayer
20904041f9 Session: Remove unnecessary go-cache package from imports
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-11 10:57:04 +02:00
Michael Mayer
3c4cc40882 Security: Refactor log levels and events #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-10 16:34:07 +02:00
Michael Mayer
dc39fc44d2 Security: Add "header" package for setting common response headers #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-09 17:16:49 +02:00
Michael Mayer
075756c421 WebDAV: Refactor basic authentication handler #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-08 23:34:43 +02:00
Michael Mayer
d815123bfb CLI: Add "photoprism users reset" command #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-08 20:48:58 +02:00
Michael Mayer
3512c7be4f Reactions: Ignore error, should a test fixture already exist
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-08 19:13:39 +02:00
Michael Mayer
ff8bc9f5da MariaDB: Show error if an unsupported server version is used #2381
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-08 18:50:49 +02:00
Michael Mayer
3d3b1f10c4 Sharing: Allow to search for photos in shared albums
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-07 21:35:01 +02:00
Michael Mayer
945d602e17 Places: Refactor backend service request
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-07 19:32:08 +02:00
Michael Mayer
929e5ebe50 CLI: Migrate database before adding or deleting users
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-07 19:30:30 +02:00
Michael Mayer
1b89915cc4 HEIF/AVIF/DNG: Improve conversion to JPEG #1246 #2726 #2291 #2593
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-07 16:45:49 +02:00
Michael Mayer
dc33ff690a HEIF: Remove support for deprecated convert script #2726
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-06 22:11:41 +02:00
Michael Mayer
07816bfb77 HEIF: Use heif-convert.sh as wrapper if exists #2726
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-06 21:55:31 +02:00
Michael Mayer
16268216bd Places: Add support for alternate geocoding request retry URLs
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-06 18:17:19 +02:00
Michael Mayer
c7be7c43eb CLI: Refactor tests and config initialization
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-04 12:27:40 +02:00
Michael Mayer
1473df3c58 Search: Hide results needing review if the user is not an admin #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-04 02:57:15 +02:00
Michael Mayer
693108fd53 Sharing: Refactor UserShare entity #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-04 00:54:39 +02:00
Michael Mayer
b390e34b78 Sessions: Clean up auth_session_cache.go #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-03 23:46:20 +02:00
Michael Mayer
05cdcbaf9d Sessions: Cache pointers to improve performance #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-03 23:39:36 +02:00
Michael Mayer
bac6ae0cbd Sessions: Add max age and timeout config options #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-03 22:59:29 +02:00
Michael Mayer
4c516cac38 Auth: Rename database tables and delete temporary tables #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-02 22:09:02 +02:00
Michael Mayer
6e74f16a77 Auth: Open album share links in the regular user interface #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-02 11:38:30 +02:00
Michael Mayer
65e9a58979 Backend: Refactor gorm.DB connection provider in entity package
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-01 15:17:04 +02:00
Michael Mayer
4f425790ab Auth: Remember ownership of uploaded photos and albums #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-30 19:15:10 +02:00