Commit Graph

18 Commits

Author SHA1 Message Date
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
8be12117d9 CLI: Add command flags to show account login and creation time #4570
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-10-12 11:47:19 +02:00
Michael Mayer
51bc0f1f5a CLI: Add command flag to show deleted user accounts #4570
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-10-11 11:37:11 +02: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
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
13255695e5 Albums: Remove photo from review when adding it to an album #4229
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-05-09 16:00:53 +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
713593da4e Auth: Add CLI command to create access tokens for apps #782 #808 #3943
You can now run "photoprism auth add" to create new client access tokens
that allow external applications to use the built-in REST API.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-05 16:31:07 +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
d8ab9616a5 Auth: Refactor user management API and CLI commands #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-09 15:12:10 +01: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
f54512e334 Auth: Refactor user management commands #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-14 20:28:58 +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
6b8b3bf3c2 Auth: Improve legacy user search command and add tests #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-14 02:48:23 +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
3c4cc40882 Security: Refactor log levels and events #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-10 16:34:07 +02: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