Commit Graph

318 Commits

Author SHA1 Message Date
Michael Mayer
b0eb7aacdd UX: Rename "Videos" to "Media" in navigation and add audio type #4694
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-03-26 12:53:15 +01:00
Michael Mayer
57060844ba Auth: Improve user model and search in backend and frontend
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-03-18 09:00:50 +01:00
Michael Mayer
b4e082f56b UX: Refactor toolbar inputs and buttons with a three-dot menu #4830
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-03-12 20:12:39 +01:00
graciousgrey
a3067a8887 Tests: Add unit tests 2025-03-12 16:34:28 +01:00
Michael Mayer
9936c21aeb Documents: Update search queries and filter documentation #4600
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-03-12 04:48:15 +01:00
Michael Mayer
08b3cabad6 UX: Improve data table and pagination styles
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-03-11 10:45:31 +01:00
Michael Mayer
df09c78ee1 Videos: Add "codec" search filter and auto-enable nvidia encoder #4848
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-03-10 14:30:25 +01:00
Michael Mayer
6a89519e63 Videos: Refactor codec, content and file type specifications #4770
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-02-05 00:30:45 +01:00
Michael Mayer
c60c0ce3a6 API: Ensure slugs are not empty before saving/creating labels #4761
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-02-04 03:35:01 +01:00
Michael Mayer
0766046fa1 Backend: Change test URL in internal/form/service_test.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-01-24 12:21:16 +01:00
Michael Mayer
1cd0ec7c62 Metadata: Add backward compatibility for Description field #4603
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-01-20 19:20:12 +01:00
Michael Mayer
ebeaaf568b Metadata: Set labels based on matching keywords in the caption #4603
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-01-17 06:24:29 +01:00
Michael Mayer
0ada8d1095 API: Add additional fields to label and subject edit forms #383 #3168
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-01-17 02:55:07 +01:00
Michael Mayer
01f15fa406 Backend: Update copyright notices
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-01-09 10:28:17 +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
5cd6e71fdf Backend: Add "document" media type for indexing PDF documents #4600
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-10-31 10:56:06 +01:00
Michael Mayer
735a3a2d13 Places: Use float64 for all coordinates to avoid rounding errors #3953
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-09-15 13:52:31 +02:00
Michael Mayer
fe9caaa83b OIDC: Improve CLI commands and add AuthIssuer to users and sessions #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-07-09 11:01:59 +02:00
Michael Mayer
11e5246e33 OIDC: Ensure subject IDs are unique and super-admins can edit them #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-07-08 18:16:24 +02:00
Michael Mayer
1ee04c3017 Backend: Move unix package to /pkg/time/unix
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-07-03 09:31:27 +02:00
graciousgrey
963aed43fc Tests: Add unit tests #782 2024-07-02 12:54:56 +02:00
Michael Mayer
c096382dbd Backend: Rename /internal/remote package to /internal/service
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-07-02 08:00:27 +02:00
Michael Mayer
a97f8d0795 API: Implement OIDC redirect endpoint #782
Requires further testing and refinement before it can be released.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-07-01 16:50:53 +02:00
Michael Mayer
366b738b94 Search: Update notes in search_photos.go and search_photos_geo.go #4300
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-05-27 09:21:55 +02:00
Michael Mayer
7430adbb33 Search: Change time_format to RFC3339 and add "edited" filter #4300
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-05-27 09:16:21 +02:00
Michael Mayer
b49e66ecf7 Search: Improve added/updated filter annotations #4300
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-05-25 19:41:18 +02:00
Michael Mayer
73e51f1887 Search: Add added/updated search filters and "updated" sort order #4300
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-05-25 18:50:10 +02:00
Michael Mayer
0df3feb4f1 Search: Add link on date to view photos taken on the same day #4273
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-05-20 12:56:45 +02:00
graciousgrey
ca52f0efa5 Tests: Add unit tests 2024-05-07 16:22:25 +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
33fac8f404 API: Implement creation and revocation of app passwords #808 #4114
Note that these changes are not production ready yet and must be tested
well before releasing them.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-04-07 16:44:30 +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
fdc2062d33 Account: Refactor access token API and request forms #808 #4114
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-04-05 14:46:11 +02:00
graciousgrey
5821ab7e2a Tests: Add unit tests #808 #3943 2024-03-27 13:24:09 +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
graciousgrey
dfe7142c8f Tests: Add unit tests 2024-01-31 14:16:13 +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
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
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
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
graciousgrey
c478025513 Tests: Add unit tests #3943 2024-01-16 18:10:59 +01:00
graciousgrey
2bf65737d3 Tests: Add unit tests #3943 2024-01-16 18:10:59 +01:00
Michael Mayer
9586a9ec69 Auth: Refactor API to allow auth secrets to be used as tokens #808 #3943
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-14 12:01:26 +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
7a05c5553b OAuth2: Add "POST /api/v1/oauth/revoke" API endpoint #782 #808 #3943
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-10 12:21:43 +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
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