Michael Mayer
02a1b12edb
Config: Update CORS header defaults and add /api/v1/echo endpoint #3931
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-16 14:36:08 +01:00
Michael Mayer
7ef544fa53
Docs: Improve inline comments of the internal/server package #782 #3943
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-10 12:46:00 +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
0e4d81853c
API: Add .well-known/oauth-authorization-server route handler #808 #3943
...
This commit also adds an /api/v1/oauth/logout endpoint that allows
clients to delete their sessions (access tokens) as needed.
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-08 14:53:39 +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
Brandon Richardson
3d962e2382
Backend: Expose prometheus-style metrics endpoint
...
Expose a new API which can be scraped by prometheus to gather useful
metrics from an instance. The new endpoint exposes photoprism build
version information, golang version, edition and various count metrics.
2023-12-06 08:13:24 +01: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
36bac7ab48
Faces: Add POST REST endpoint to manually create new file markers #1548
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-27 19:13:00 +02:00
Michael Mayer
3e4121cc78
Server: Add "restart required" flag and button to restart the server
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-27 19:27:19 +02:00
Michael Mayer
9ad86ac017
Edit: Change image orientation through the user interface #464
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-20 16:18:27 +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
826addb4c1
PWA: Create manifest.json in code without using a template #3181
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-10 15:53:01 +01:00
Michael Mayer
59da5037e6
Server: Add Error 404 Not Found template and change ext to .gohtml #840
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-18 22:19:41 +02:00
Michael Mayer
837669f796
Auth: Extend account settings with user details and avatar upload #98
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-17 19:07:38 +02:00
Michael Mayer
e3bb8b19dd
Routing: Prefix frontend UI routes with /library #840 #2466
...
Also improves migrations and updates the db schema docs.
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-15 21:54:11 +02:00
Michael Mayer
dc39fc44d2
Security: Add "header" package for setting common response headers #98
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-09 17:16:49 +02:00
Michael Mayer
4f425790ab
Auth: Remember ownership of uploaded photos and albums #98 #782
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-30 19:15:10 +02:00
Michael Mayer
f5a8c5a45d
Auth: Session and ACL enhancements #98 #1746
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-28 09:01:17 +02:00
Michael Mayer
86086753c2
Server: Improve initialization and logging of extensions
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-02 19:09:25 +02:00
Michael Mayer
ca74a76038
Zip: Improve download handler, tests and logging #2532
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-21 15:16:20 +02:00
Michael Mayer
0852e659c2
API: Improve logs and add /api/v1/connect endpoint for auth callbacks
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-19 16:58:43 +02:00
Michael Mayer
e739dd3e89
Auth: Add support for config and routing extensions (WIP) #782 #2478
...
Enables developers to extend the existing config and API. Initial proof
of concept and work in progress. Implementation details may change.
Feedback welcome!
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-05 23:13:34 +02:00
Michael Mayer
61dfd2cf50
UX: Update splash screen, button, and footer styles #2360
2022-05-27 18:15:18 +02:00
Michael Mayer
31e48d2139
UX: Add button to clear error log history in Library > Errors #1683
...
Note this is disabled in public mode (without authentication).
2022-04-03 12:37:43 +02:00
Michael Mayer
58a5f94069
Backups: Rename album backups to exports and improve command help #1887
2022-01-05 11:40:44 +01:00
Michael Mayer
650817a9e0
API: Add prefix to the source filename of search request handlers
...
Finding the right code is easier when the name matches related
functionality in other packages.
2021-11-26 14:28:50 +01:00
Michael Mayer
3e6c7052bb
Places: Refactor GeoJSON API endpoint
2021-11-26 13:59:10 +01:00
Michael Mayer
34e1773595
PWA: Add square and glow app icons
2021-11-25 17:24:53 +01:00
Michael Mayer
8e5a97ed4a
People: Simplify thumbnail API for face crops #22
2021-09-20 16:17:10 +02:00
Michael Mayer
ed22f245db
People: Add faces API endpoint & JS model #22
2021-09-18 15:32:39 +02:00
Michael Mayer
ece15c6ade
People: Add overview page with search and context menu #22
2021-09-17 14:26:12 +02:00
Michael Mayer
b9d1c7afb3
People: Improve thumb size config and flag descriptions #22
2021-09-05 13:48:53 +02:00
Michael Mayer
34c8f9d7b1
People: Implement crop thumbnail API #22
2021-09-03 17:42:37 +02:00
Michael Mayer
97af133763
People: Add subjects API #22
2021-09-02 16:12:31 +02:00
Michael Mayer
d88d9b3781
People: Add API endpoint for removing marker subject associations #22
2021-08-21 16:36:00 +02:00
Michael Mayer
c87d5da2e3
Config: Add CDN URL option #425 #1351
2021-07-05 16:41:43 +02:00
Michael Mayer
49fd531420
People: Implement marker update API #22
2021-06-02 17:25:04 +02:00
Michael Mayer
c7753b87ff
Library: Show folder covers in Originals #1011
2021-02-07 19:04:17 +01:00
Michael Mayer
2c79340bb7
Archive: Permanently Delete Files After Confirmation #167
2021-01-24 15:28:59 +01:00
Michael Mayer
39595ee34d
PWA: Add service worker #374 #852
2021-01-08 19:11:50 +01:00
Michael Mayer
2952728098
API: Clear album cover cache when updating private flag(s) #807 #822
2021-01-08 12:20:41 +01:00
Michael Mayer
ff758c3ed6
WebDAV: Changes trigger auto indexing / importing #281
...
The safety delay may be configured individually using
PHOTOPRISM_AUTO_INDEX and PHOTOPRISM_AUTO_IMPORT. A negative value
disables the feature.
2021-01-02 18:56:15 +01:00
Michael Mayer
651c4f12c1
API: Re-add /api/v1/config endpoint
2020-12-19 01:54:29 +01:00
Michael Mayer
a067fe46ec
UX: Add global server config options tab to Settings UI
2020-12-18 20:42:12 +01:00
Michael Mayer
0925d7179c
UX: Refactor Settings UI
2020-12-18 10:59:21 +01:00
Michael Mayer
ef316c98b7
Implement batch approve #489
2020-11-21 17:36:41 +01:00
Michael Mayer
b87e860444
Add feedback form
...
Signed-off-by: Michael Mayer <michael@lastzero.net>
2020-10-04 22:22:53 +02:00
Michael Mayer
4fc693fb0b
Permanently delete non-primary files #435
...
This is a fix for unstacking issues in certain situations. More general
photo delete functionality will be added later, see #167 .
Signed-off-by: Michael Mayer <michael@lastzero.net>
2020-10-04 14:21:40 +02:00
Michael Mayer
8989c987a2
Unstack all types, except primary and sidecar files #394
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-14 11:00:49 +02:00
Michael Mayer
4d42222caf
Rename "thumbnails" to "thumbs" and group api functions in one file
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-13 17:25:27 +02:00