Michael Mayer
699ad5b50c
CI: Apply Go linter recommendations to "internal/commands" package #5330
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2025-11-22 17:55:26 +01:00
Michael Mayer
b0c3572432
Backend: Refactor function calls with missing params... after Go update
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2025-09-07 16:02:54 +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
44b94d0f62
Backend: Move report package to /pkg/txt/report
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-07-03 09:29:15 +02:00
Michael Mayer
d0ad3c23fb
OAuth2: Remove client soft delete and fix client add command #213 #3943
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-29 21:08:01 +01:00
Michael Mayer
305e7bac68
OAuth2: Refactor "client add" and "client mod" CLI commands #808 #3943
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-29 13:54:50 +01:00
Michael Mayer
d70e7dd06d
Auth: Improve API authentication subcommand usage information #808
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-18 17:53:53 +01:00
Michael Mayer
7e7ba69982
Auth: Add client_uid and client_name to auth_sessions table #808 #3943
...
This also adds the ability to change the client role if needed and
improves the usage information and output of the CLI commands.
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-18 16:53:05 +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