Michael Mayer
96dbb5ccbc
Config: Refactor command flags, reports, and client options
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2025-04-15 15:42:03 +02:00
Michael Mayer
45e0504dab
Config: Read OIDC client secret from file #2302
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2025-03-28 21:29:14 +01:00
Michael Mayer
ad5baf2823
Config: Read admin and database password from file #2302
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2025-03-28 21:00:56 +01:00
Michael Mayer
4a6d3a9bd8
UX: Redirect users accessing /library/ to the default route #577
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2025-03-15 15:44:20 +01:00
Michael Mayer
7f02d4efdb
Config: Serve "robots.txt" file to control how site is indexed #4574
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-11-07 19:09:43 +01:00
Michael Mayer
0134c68d2c
Config: Add option to change default session cache duration #808 #3943
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-04-17 08:26:35 +02:00
Michael Mayer
59f20faecd
Sessions: Update usage descriptions of related config flags #808 #3943
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-04-10 12:50:05 +02:00
Michael Mayer
37c3c9d624
Account: Add auth-related error messages to pkg/authn #808 #4114
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-03-29 12:16:26 +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
ede4b3b897
Config: Refactor authentication settings #782
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-10-07 11:09:27 +02:00
Michael Mayer
99858cb8d8
API: Skip sending token headers in public mode to allow caching #2875
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-04-14 18:06:57 +02: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
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
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
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
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
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
85561547cc
Auth: Add "PHOTOPRISM_ADMIN_USER" option and refactor user table #98
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2022-09-02 21:30:50 +02:00
Michael Mayer
0e1222c830
Auth: Activate public mode via PHOTOPRISM_AUTH_MODE="public" #2565
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2022-07-30 12:34:57 +02:00
Michael Mayer
0852e659c2
API: Improve logs and add /api/v1/connect endpoint for auth callbacks
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2022-07-19 16:58:43 +02:00
Michael Mayer
20a82efda4
Auth: Shorten passwd mode option (password still works) #98 #782
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2022-07-11 05:08:15 +02:00
Michael Mayer
591a656270
Auth: Add PHOTOPRISM_AUTH_MODE config option #98 #782
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2022-07-07 19:12:28 +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