Michael Mayer
f5d38978d6
Backups: Improve logging when backup command fails #4237
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-09 10:00:43 +02:00
Michael Mayer
25db3c9b83
Moments: Refactor worker and album backups #4237
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-09 09:59:25 +02:00
Michael Mayer
0bd3349cef
Places: Don't retry fetching missing locations in meta worker #4237
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-09 09:29:30 +02:00
Michael Mayer
6745dde7a3
Docs: Update show_config_options.go and show_config_yaml.go
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-04-20 19:02:06 +02:00
Michael Mayer
d6c50e1c54
Auth: Refactor Cleanup worker that deletes expired sessions #808 #3943
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-04-17 09:06:01 +02:00
Michael Mayer
c9213da4e6
Account: Generate app password from the UI #808 #4114
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-04-08 10:44:43 +02:00
Michael Mayer
b11491c9d6
Auth: Refactor grant, method, and provider types in pkg/authn #808 #4114
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-04-06 15:13:15 +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
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
a5dd49152d
Tests: Run "make fmt"
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-02-14 20:17:58 +01:00
graciousgrey
d6ba514922
Tests: Add unit tests
2024-02-14 19:33:19 +01: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
fe7e342692
OAuth2: Improve authentication logs and commands #213 #3730 #3943
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-29 17:32:53 +01:00
graciousgrey
f5bcef4086
Tests: Add unit tests
2024-01-29 16:47:51 +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
graciousgrey
d478f08718
Tests: Add unit tests
2024-01-25 16:36:38 +01:00
graciousgrey
86d2ce0772
Tests: Add unit tests
2024-01-24 16:15:07 +01:00
graciousgrey
27dda3bc2b
Tests: Add unit tests
2024-01-23 16:13:27 +01:00
Michael Mayer
86dc89c4b9
Config: Show error if originals and storage path seem identical #1642
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-21 14:22:16 +01:00
Michael Mayer
7917482580
Auth: Change "Token Name" to "Client Name" in auth add CLI subcommand
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-20 18:05:58 +01:00
Michael Mayer
01da5bdec7
CRC32: Move checksum generation to a dedicated package
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-20 14:56:07 +01:00
Michael Mayer
a4e2bb33b9
2FA: Rename "Auth Secret" to "App Password" for more clarity #782 #808
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-19 18:10:01 +01:00
graciousgrey
d3a67a6694
Tests: Add unit tests
2024-01-19 15:48:07 +01:00
graciousgrey
62ddac3142
Tests: Add unit tests
2024-01-19 15:29:09 +01:00
Michael Mayer
06a18f5818
Auth: Add "access_token" authentication provider type #782 #808 #3943
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-19 14:41:08 +01:00
Michael Mayer
4ba32a7220
2FA: Add two-factor authentication key model and tests #782 #808 #3943
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-19 13:45:30 +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
f767f6a1d9
Auth: Rename "auth clear" command to "auth reset" for consistency #808
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-18 17:15:22 +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
2ce272d60e
Auth: Add tests for "photoprism auth ls" terminal command #808
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-18 11:13:10 +01:00
Michael Mayer
d7710adce0
Auth: Improve "auth add" and "client add" CLI commands #808 #3943
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-14 09:51:49 +01:00
Michael Mayer
e21e462f00
Auth: Improve "auth add" and "client add" CLI commands #808 #3943
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-13 16:27:05 +01:00
Michael Mayer
7d78ee803a
Use human-friendly secrets & names for personal access tokens #808 #3943
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-10 17:23:08 +01:00
Michael Mayer
0d2f8be522
Auth: Use hashed auth tokens for enhanced security #3943 #808 #782
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-06 17:35:19 +01:00
Michael Mayer
0ca37b2c92
Docs: Update year in backend and frontend package file headers
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-05 16:38:36 +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
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
19efee9b6d
Config: Change position of "http-cache-public" command flag
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-10-26 09:04:34 +02:00
Michael Mayer
b7bbc59fca
Upgrade: Improve error handling and messages #3813
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-10-13 12:43:20 +02:00
Michael Mayer
f087658ed0
Docs: Fix section header starts in options.yml #3812
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-10-11 10:10:30 +02:00
Michael Mayer
4d8bf12c0b
Commands: Remove unstable assertion from index_test.go
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-10-10 14:39:04 +02:00
Michael Mayer
0f321b10bc
Logs: Update log levels and messages
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-10-07 16:00:23 +02:00
Michael Mayer
cfe1ff3299
Config: Change "web server" to "Web server" in the docs for consistency
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-09-24 18:05:49 +02:00
Michael Mayer
0e4ce95ff1
Library: Add option to run index and cache cleanup from the UI #3699
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-09-03 16:02:42 +02:00
Michael Mayer
a287830d1f
Videos: Allow setting a lower TTL for caching video content #3631
...
Adds the new "--http-video-maxage SECONDS" config option.
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-08-15 11:06:43 +02:00
Michael Mayer
c82a4b2287
HTTP: Refactor Unix socket support #2337 #3595
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-08-14 10:43:05 +02:00
Silver Bullet
2bf50082f5
Backend: Support listening on Unix Socket #2337 #3595
...
When HTTP listening address starts with unix: and contains /, listen
at given path instead of a TCP socket.
TLS or AutoTLS will not work since there is no TLS layer when using
the unix domain socket.
2023-08-14 10:00:35 +02:00
graciousgrey
4727f769d2
Tests: Add unit tests
2023-07-20 20:02:02 +02:00
graciousgrey
0817f1876d
Tests: Add unit tests
2023-07-20 20:02:02 +02:00