Commit Graph

9 Commits

Author SHA1 Message Date
Michael Mayer
dbf1650c1c CLI: Add cluster operations and management commands #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-09-16 18:09:09 +02:00
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
9de641eb66 Backend: Remove unnecessary usage of fmt.Sprintf() #3846
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-03-27 15:12:03 +01: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
4a988eb88d Auth: Recreate auth_sessions table when running "users reset" cmd #4242
This also adds a more detailed description to the photoprism auth reset
and "photoprism users reset" sub commands to explain what they do.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-05-10 09:10:17 +02:00
Michael Mayer
4425becb3d Auth: Implement 2FA setup and login in the web user interface #808 #3943
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-03-21 14:32:51 +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
d815123bfb CLI: Add "photoprism users reset" command #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-08 20:48:58 +02:00