Michael Mayer
0357bc9abd
CLI: Update usage descriptions for Boolean command flags
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2025-08-28 19:10:36 +02:00
Michael Mayer
cd4e6f1b57
CLI: Add RunWithTestContext function for command tests #3168
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-12-06 09:08:38 +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
1f51d9cfea
Auth: Add --remove flag to "photoprism passwd" command #782
...
see https://docs.photoprism.app/known-issues/#openid-connect-oidc
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-07-09 17:40:26 +02:00
Michael Mayer
910e3becbb
Auth: Refactor existing CLI sub-commands #808 #3943
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-02 17:06:57 +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
87b6d72477
CLI: Improve length check in "photoprism passwd" command #3482
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-06-19 17:24:02 +02:00
Michael Mayer
163398b76c
Passwords: Enforce 72-character limit and improve bcrypt support #1987
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-04-13 17:21:18 +02: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
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
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
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
323d495840
Auth: Apply user rights and permissions in the search API #98 #782
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2022-09-30 00:42:19 +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
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
006b5bb704
Code Quality: Add "gofmt -w -s pkg internal cmd" to "make fmt-go"
...
gofmt formats Go source code, where -s stands for "simplify"
2022-01-08 12:12:00 +01:00
Michael Mayer
0f0c0aaa0b
API: Improve path and filename parameter sanitation #1814
2021-12-14 20:01:39 +01:00
Michael Mayer
9a8144c046
Log4j: Sanitize user input in logs like filenames and album titles #1814
2021-12-14 17:07:38 +01:00
Michael Mayer
a354a17041
Auth: Normalize Username (trim space, lowercase) #1103 #1309 #1546 #1610
2021-11-12 09:10:15 +01:00
Michael Mayer
4dd09f4502
People: Add "photoprism faces index" command for indexing faces only #22
2021-09-22 19:33:41 +02:00
Michael Mayer
5fa47652ee
Backend: Refactor config initialization
...
Signed-off-by: Michael Mayer <michael@lastzero.net >
2020-10-08 08:52:03 +02:00
Michael Mayer
d4f4af313d
Add change password command and improve account page in settings
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2020-07-01 12:38:58 +02:00