Commit graph

8537 commits

Author SHA1 Message Date
Michael Mayer
0849371685 Settings: Update frontend/src/locales/translations.json #782 #808
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-30 00:11:19 +01:00
Weblate
1be218282b Weblate: Update frontend translations 2024-01-30 00:09:50 +01:00
Michael Mayer
60cc4cbf8f Frontend: Update deps in package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-30 00:07:44 +01:00
Michael Mayer
fc996ba65a Settings: Add buttons for configuring 2FA and App Passwords #782 #808
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-30 00:05:55 +01:00
Michael Mayer
6ff747c396 Colors: Enforce thumbnail size limit of 3x3 pixels #3976
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-29 22:31:04 +01:00
Michael Mayer
97f4d828a4 Prometheus: Update "client add" command example #213 #3730 #3943
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-29 21:26:41 +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
fd0006928e OAuth2: Remove sessions when client is deleted or disabled #213 #3943
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-29 18:10:32 +01:00
Michael Mayer
33c7ede302 OAuth2: Update command example in docker-compose.yml #213 #3730 #3943
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-29 17:37:28 +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
802bb87980 WebDAV: Improve authorization checks and rate limit enforcement #808
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-29 16:20:46 +01:00
Michael Mayer
75e52a6bf5 WebDAV: Refactor internal/server/webdav_auth.go #782 #808
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-29 15:11:23 +01:00
Michael Mayer
70f8c3be6c WebDAV: Re-enable authentication with account password #782 #808
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-29 14:48:15 +01:00
Michael Mayer
2243f92fd6 Prometheus: Fix "GET /api/v1/metrics" API endpoint #213 #3730 #3943
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-29 14:18:17 +01:00
Michael Mayer
affff063cb Prometheus: Add client credentials command example #213 #3730 #3943
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-29 14:06:14 +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
daca63f94e Config: Update error message if .ppstorage file is in originals #1642
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-29 08:41:46 +01:00
Michael Mayer
f4f86baa21 WebDAV: Upgrade github.com/emersion/go-webdav in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-29 08:28:37 +01:00
Michael Mayer
020a55ee13 Frontend: Update deps in package.json and package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-29 08:25:51 +01:00
Michael Mayer
e734ee8596 Backend: Update github.com/google/uuid in go.mod and go.sum
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-29 08:01:29 +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
89ca0d8899 Index: Ignore nested storage folder in the originals path #1642
This creates a .ppstorage file in the storage folder so that it can be
automatically ignored if found in the originals path while indexing.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-20 17:32:10 +01:00
Michael Mayer
db9b33ddea Backend: Change alias name for map[string]interface{} from Value to Map
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-20 15:01:40 +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
2df0b6e4b1 Server: Exclude .mp4 and .zip from compression and refactor vary #4018
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-20 12:48:42 +01:00
Michael Mayer
58bb52022f Server: Refactor middleware registration #4018
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-20 11:47:39 +01:00
Michael Mayer
2a73c1941f Frontend: Update translations.json #782 #808
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-19 23:01:37 +01:00
Weblate
9f8e14fd71 Weblate: Update frontend translations 2024-01-19 23:00:26 +01:00
Michael Mayer
d98a1cb2ab GZIP: Enable compression before API routes are registered #4018
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-19 22:46:31 +01:00
Michael Mayer
526867347a Frontend: Update translations.pot and translations.json #782 #808
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-19 18:14:21 +01:00
Weblate
5b0e8a48e5 Weblate: Update frontend translations 2024-01-19 18:12:23 +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
e5cf00e050 Frontend: Update deps in package.json and package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-19 15:16:01 +01:00
Michael Mayer
966c421cd4 Auth: Update internal/form/client_test.go #782 #808 #3943
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-19 15:12:47 +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
57d95b5a3c 2FA: Add github.com/pquerna/otp to go.mod and go.sum #808
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-19 13:12:53 +01:00
Michael Mayer
5a50239361 Frontend: Update deps in package.json and package-lock.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-19 13:06:57 +01:00
Michael Mayer
5a0d659adc Frontend: Add totp and client_credentials to options/auth.js #808 #3943
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-19 13:06:23 +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
392bb1d5cf Docker Compose: Improve port mapping docs in the config examples #4017
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-18 11:56:50 +01:00