Commit Graph

106 Commits

Author SHA1 Message Date
Michael Mayer
52b4a5f3b9 About: Update copyright notices
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-01-09 10:41:37 +01:00
Michael Mayer
9eef183323 CLI: Upgrade github.com/urfave/cli from v1 to v2 #3168
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-12-05 17:15:59 +01:00
Michael Mayer
e87f32fa5c OIDC: Add "address" to the default userinfo request scopes #782
see https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims

Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-07-09 06:55:06 +02:00
Michael Mayer
7f60af3e3f Backend: Move customize, pwa, ttl, query, classify and nsfw packages
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-07-02 07:36:52 +02:00
Michael Mayer
a97f8d0795 API: Implement OIDC redirect endpoint #782
Requires further testing and refinement before it can be released.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-07-01 16:50:53 +02:00
Michael Mayer
c0ea3c79a3 OIDC: Add additional config options and OAuth2 API endpoints #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-06-26 14:05:58 +02:00
Michael Mayer
fcd551f31f Config: Add options for configuring single sign-on via OIDC #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-06-24 16:53:03 +02:00
Michael Mayer
b2f2823411 Config: Disable use of libvips with PHOTOPRISM_DISABLE_VIPS #3981 #4296
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-05-24 11:25:42 +02:00
Michael Mayer
daa3a159f3 Settings: Update config options and usage descriptions #3981 #4294
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-05-24 09:27:20 +02:00
Michael Mayer
fd853e088f Config: Improve thumbnail generation option parsing and defaults #1474
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-05-18 10:59:37 +02:00
Michael Mayer
0396e86f4e Backups: Refactor config and add "sidecar-yaml" config option #4243
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-05-13 09:21:34 +02:00
Michael Mayer
0e7c91f1b6 Config: Allow scheduling of indexing and backup tasks #2495 #2608 #4243
Note that this is "bleeding edge" functionality and that the newly added
config option PHOTOPRISM_BACKUP_RETAIN can be set, but does not have any
effect yet. Feedback welcome!

Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-05-11 19:11:49 +02:00
Michael Mayer
86dc89c4b9 Config: Show error if originals and storage path seem identical #1642
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-21 14:22:16 +01:00
Michael Mayer
271e7243db Logs: Shorten the names of error log helper functions
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-18 11:23:59 +01:00
Michael Mayer
467f7b1585 OAuth2: Add Client Credentials Authentication #213 #782 #808 #3730 #3943
This adds standard OAuth2 client credentials and bearer token support as
well as scope-based authorization checks for REST API clients. Note that
this initial implementation should not be used in production and that
the access token limit has not been implemented yet.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-12-12 18:42:50 +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
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
bd74d9d5c2 Config: Set CliTestContext
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-14 00:20:24 +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
f5a8c5a45d Auth: Session and ACL enhancements #98 #1746
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-28 09:01:17 +02:00
Michael Mayer
6da0d4244d Config: Update unit tests after changing develop base image
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-02 16:19:18 +02:00
Michael Mayer
e739dd3e89 Auth: Add support for config and routing extensions (WIP) #782 #2478
Enables developers to extend the existing config and API. Initial proof
of concept and work in progress. Implementation details may change.
Feedback welcome!

Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-05 23:13:34 +02:00
Michael Mayer
8638929d84 Config: Automatically generate command-flag docs #1017 #2195 #2227 #2250 2022-04-22 17:38:40 +02:00
Michael Mayer
92e6c4fe1e Download: Add Disabled, Originals, MediaRaw & MediaSidecar Flags #2234
Extends DownloadSettings with 4 additional options:
- Name: File name pattern for downloaded files (existed)
- Disabled: Disables downloads
- Originals: Only download files stored in "originals" folder
- MediaRaw: Include RAW image files
- MediaSidecar: Include metadata sidecar files (JSON, XMP, YAML)
2022-04-15 09:42:07 +02:00
Michael Mayer
8f2155711f Config/CLI: Rename --config-file flag and improve command help #2250 2022-04-13 22:43:49 +02:00
Michael Mayer
04609d536d CLI: Show --admin-password flag at the top in command help #2195 #2248
Short name was changed from -a to --pw after the --auth flag was added.
2022-04-12 20:00:06 +02:00
Michael Mayer
e42b870c09 CLI: Update and display the list of supported file formats #2247 2022-04-12 19:14:21 +02:00
Michael Mayer
4c583f7f1d People: Disable updates if the worker does not run often enough #2182 2022-04-03 14:51:58 +02:00
Michael Mayer
a604e9a9c6 Index: Improve file size/resolution checks, add WebP support #1017 #1226
Renames the config flag to from "megapixel-limit" to "resolution-limit".
Adds native support for the WebP image file format.
2022-04-02 18:04:11 +02:00
Michael Mayer
3698a860c6 CI: Improve stability when running unit tests in parallel
Adds SQLite memory namespaces to avoid potential conflicts.
2022-03-31 17:55:40 +02:00
Michael Mayer
686a8ab9b4 Search: Refactor photo search, fix test data and unit tests #1994 2022-03-29 00:21:50 +02:00
Michael Mayer
39b0530313 Metadata: Skip brute-force search if no Exif headers were found #2196 2022-03-28 15:57:29 +02:00
Michael Mayer
e512dcef67 Tests: Don't trigger fatal error if cache path is not empty 2022-02-23 15:16:45 +01:00
Michael Mayer
3515d9f266 Copyright: Update year in tests 2022-01-03 13:48:44 +01:00
Michael Mayer
052d54f3e7 Config: Add PHOTOPRISM_DEFAULT_LOCALE Option 2021-12-12 22:09:22 +01:00
Michael Mayer
5a939e1bce Downloads: Update URL 2021-12-12 20:15:52 +01:00
Michael Mayer
3ae3fe29bc SQLite: Rename dialect constant to SQLite3 for consistency #319 #1791 2021-12-09 07:47:23 +01:00
Michael Mayer
1b583e071e People: Add mutex so changes don't get processed concurrently 2021-12-09 02:33:41 +01:00
Michael Mayer
bb9442e6c4 People: Add "photoprism places update" CLI command #1664 2021-11-12 05:09:17 +01:00
Michael Mayer
b081f27e17 RAW: Add File Extension Blacklists for Darktable and RawTherapee #1362 2021-09-21 15:33:46 +02:00
Michael Mayer
d21dc3457c People: Refactor thumb package and variable names #22 2021-09-05 12:32:08 +02:00
Michael Mayer
feb0c557c1 Docker: Update multi-arch development image and config #1158
Now comes with Go 1.17 pre-installed. To match production
docker-compose.yml examples, the development database was
renamed from "photoprism-db" to "mariadb".
2021-08-31 18:08:37 +02:00
Michael Mayer
d767e50b37 People: Improve face clustering #22
Work in progress.
2021-08-12 12:05:10 +02:00
Michael Mayer
ff758c3ed6 WebDAV: Changes trigger auto indexing / importing #281
The safety delay may be configured individually using
PHOTOPRISM_AUTO_INDEX and PHOTOPRISM_AUTO_IMPORT. A negative value
disables the feature.
2021-01-02 18:56:15 +01:00
Michael Mayer
7d82f0364d Testdata: Update download URLs
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2021-01-02 04:14:16 +01:00
Michael Mayer
9ec2381307 Update copyright after year change 2021-01-01 22:37:25 +01:00
Michael Mayer
a067fe46ec UX: Add global server config options tab to Settings UI 2020-12-18 20:42:12 +01:00
Michael Mayer
449fb7a2c1 Backup and restore albums from YAML files #567 2020-12-17 18:24:55 +01:00
Michael Mayer
424c0ce616 Indexer: Automatically rename related sidecar files 2020-12-11 19:17:07 +01:00
Michael Mayer
3464bf35ed Config: Add backup path parameter 2020-12-04 11:02:19 +01:00