photoprism/internal/query
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
..
testdata/directory
account.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
account_test.go People: Add faces API endpoint & JS model #22 2021-09-18 15:32:39 +02:00
account_uploads.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
account_uploads_test.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
albums.go Albums: Replace tabs with spaces in SQL query #3481 2023-06-15 17:01:34 +02:00
albums_test.go Albums: Ignore private pictures only if feature is enabled #2570 2022-08-31 17:42:57 +02:00
categories.go Download: Add Disabled, Originals, MediaRaw & MediaSidecar Flags #2234 2022-04-15 09:42:07 +02:00
categories_test.go
clients.go OAuth2: Add Client Credentials Authentication #213 #782 #808 #3730 #3943 2023-12-12 18:42:50 +01:00
counts.go Backend: Refactor queries for compatibility with SQLite #3124 #3742 2023-10-15 09:31:10 +02:00
counts_test.go
covers.go Index: Refactor optimization worker logs and queries #3124 #3742 2023-10-15 11:02:15 +02:00
covers_test.go Covers: Rename "preview images" to "cover thumbs" for consistency #383 2021-10-01 16:44:50 +02:00
duplicates.go
duplicates_test.go Backend: Run "make fmt" with Go v1.19 2022-08-10 16:09:21 +02:00
errors.go UX: Add button to clear error log history in Library > Errors #1683 2022-04-03 12:37:43 +02:00
errors_test.go Backend: Run "make fmt" with Go v1.19 2022-08-10 16:09:21 +02:00
faces.go Index: Refactor optimization worker logs and queries #3124 #3742 2023-10-15 11:02:15 +02:00
faces_test.go Faces: Skip ambiguous embeddings when matching #1497 #3124 2023-02-21 04:49:06 +01:00
file_selection.go Search: Include RAW files in results by default #2040 2023-10-06 02:22:48 +02:00
file_selection_test.go WebDAV: Update file selection test #2293 2022-05-17 01:10:47 +02:00
file_shares.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_shares_test.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_sync_download.go Backups: Rename album backups to exports and improve command help #1887 2022-01-05 11:40:44 +01:00
file_sync_download_test.go Backups: Rename album backups to exports and improve command help #1887 2022-01-05 11:40:44 +01:00
file_syncs.go Routing: Prefix frontend UI routes with /library #840 #2466 2022-10-15 21:54:11 +02:00
file_syncs_test.go
files.go Backend: Refactor queries for compatibility with SQLite #3124 #3742 2023-10-15 09:31:10 +02:00
files_hashes.go Auth: Extend account settings with user details and avatar upload #98 2022-10-17 19:07:38 +02:00
files_hashes_test.go People: Remove orphan face crop thumbnails #22 2021-09-21 08:56:35 +02:00
files_test.go Library: Hide private files in "Originals" if user has no permission #98 2023-02-20 18:50:28 +01:00
folders.go Backend: Refactor queries for compatibility with SQLite #3124 #3742 2023-10-15 09:31:10 +02:00
folders_test.go
label.go Index: Add experimental EPS and SVG vector graphics support #1177 #2207 2023-02-11 20:18:04 +01:00
label_test.go Tests: Adapt tests to updated fixtures 2021-08-16 17:15:06 +02:00
markers.go Backend: Refactor queries for compatibility with SQLite #3124 #3742 2023-10-15 09:31:10 +02:00
markers_test.go People: Add embeddings blacklist to reduce false positives #22 2021-09-30 13:44:23 +02:00
moments.go Backend: Refactor queries for compatibility with SQLite #3124 #3742 2023-10-15 09:31:10 +02:00
moments_test.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
photo.go Index: Refactor optimization worker logs and queries #3124 #3742 2023-10-15 11:02:15 +02:00
photo_map.go
photo_map_test.go
photo_selection.go Albums: Ignore labels with zero probability when adding all labels #2821 2022-10-31 09:58:50 +01:00
photo_selection_test.go WebDAV: Upload of videos, RAWs, moments, months, and states #2293 2022-05-16 23:59:28 +02:00
photo_test.go UX: Add Delete All button to archive page toolbar #272 2023-07-23 17:57:48 +02:00
places.go Backend: Refactor queries for compatibility with SQLite #3124 #3742 2023-10-15 09:31:10 +02:00
places_test.go Places: Remove unique label index and purge unused location infos #1664 2021-11-20 19:14:00 +01:00
purge.go Backend: Refactor queries for compatibility with SQLite #3124 #3742 2023-10-15 09:31:10 +02:00
purge_test.go Index: Purge orphan file entries #1559 2021-09-30 15:50:10 +02:00
query.go Backend: Refactor SQL batch size limit #3124 #3742 2023-10-15 09:46:04 +02:00
query_test.go Backend: Refactor SQL batch size limit #3124 #3742 2023-10-15 09:46:04 +02:00
sessions.go Auth: Refactor sessions API and model #98 2023-03-09 18:45:04 +01:00
sessions_test.go Sessions: Add max age and timeout config options #98 #782 2022-10-03 22:59:29 +02:00
subjects.go Download: Add Disabled, Originals, MediaRaw & MediaSidecar Flags #2234 2022-04-15 09:42:07 +02:00
subjects_test.go Index: Replace changed file hashes and remove orphan markers 2021-09-24 13:13:59 +02:00
users.go Security: Use individual preview tokens for each user account #98 2022-10-13 22:11:02 +02:00
users_test.go Auth: Refactor user management API and CLI commands #98 2023-03-08 23:30:39 +01:00