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
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
beef2e0c63
API: Add "@Accept json" Swagger doc annotations where applicable
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2025-01-19 15:26:18 +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
graciousgrey
70d5cb2339
API: Add Swagger annotations #2132
2024-09-10 10:48:23 +02:00
Michael Mayer
16f02e41fd
API: Move swagger.json to /internal/api and embed it in build #2132
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-07-19 22:08:56 +02:00
Michael Mayer
1eaaab9aa6
API: Reformat Swagger annotations #2132
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-07-16 12:37:54 +02:00
Michael Mayer
428d57e71e
API: Add Swagger annotations #2132
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-07-16 12:05:55 +02:00
Michael Mayer
227e9a26fe
API: Generate Go and HTML from swagger.json #2132
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-07-15 09:10:28 +02:00
Michael Mayer
0617736e75
API: Add proof-of-concept for generating Swagger API docs #2132
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-07-14 14:35:24 +02:00
Michael Mayer
e5bbff4020
Backend: Move get package to /internal/photoprism/get
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-07-02 08:03:30 +02:00
Michael Mayer
7f60af3e3f
Backend: Move customize, pwa, ttl, query, classify and nsfw packages
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-07-02 07:36:52 +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
4e7a3c70af
Backups: Update YAML file backups when albums are deleted #4243
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-14 13:55:13 +02:00
Michael Mayer
9527082a03
Backups: Improved saving of photo and album YAML files #4243
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-14 08:45:18 +02:00
Michael Mayer
52b181b6b0
API: Improve log message when writing metadata to sidecar file #4243
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-13 16:10:34 +02:00
Michael Mayer
f00d88dfca
Backups: Improve log messages for photo and album metadata exports #3284
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-13 15:36:32 +02:00
Michael Mayer
0396e86f4e
Backups: Refactor config and add "sidecar-yaml" config option #4243
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-13 09:21:34 +02:00
Michael Mayer
13255695e5
Albums: Remove photo from review when adding it to an album #4229
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-09 16:00:53 +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
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
271e7243db
Logs: Shorten the names of error log helper functions
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-18 11:23:59 +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
f8e0615cc8
Auth: Ensure backwards compatibility for existing API clients #808 #3943
...
These changes ensure that the new (SHA256) session ID is returned in the
"session_id" field, so that developers have time to update their client
implementations to use the new "access_token" field.
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-07 12:25:56 +01: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
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
6e74f16a77
Auth: Open album share links in the regular user interface #98 #782
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2022-10-02 11:38:30 +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
2281c0c675
Backend: Refactor API source structure
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2019-12-16 11:04:49 +01:00
Michael Mayer
845cc5a77d
Backend: API stub for editing photo metadata
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2019-12-11 19:11:44 +01:00
Michael Mayer
d4b3e456f7
Backend: Move SQL queries to repo package
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2019-12-11 07:37:39 +01:00
Michael Mayer
27ca260942
Indexing: Add "convert to jpeg" and "create thumbnails" options
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2019-12-11 04:12:54 +01:00
Michael Mayer
6d4e42c79e
Added option to skip indexing existing files
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2019-12-09 08:04:41 +01:00
Michael Mayer
84bf4700ec
Fix search query parser (unicode)
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2019-12-08 22:45:45 +01:00
Michael Mayer
47450cad91
Albums: Download single file #15
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2019-12-05 21:06:53 +01:00
Michael Mayer
25d0e92036
Albums: Zip download #15
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2019-12-05 19:21:35 +01:00
Michael Mayer
fc3d319dfd
Backend: Fix API after switching to UUIDs
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2019-12-04 16:47:47 +01:00
Michael Mayer
f88c574f3f
Improve HTTP header auth
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2019-11-12 05:49:10 +01:00
Michael Mayer
56c97ec057
Basic login for admin #16
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2019-11-08 06:53:40 +01:00
Michael Mayer
a6131eeddd
Move all config files to assets/config and resources to assets/resources
2019-06-05 18:25:20 +02:00
Michael Mayer
8124a8cde1
Use label rules to optimize image classification
2019-05-16 08:41:16 +02:00
Michael Mayer
0ddef3a02d
Rename context package to config and fsutil to util
2019-05-06 23:18:10 +02:00
Michael Mayer
71adb35cff
Remove test and frontend packages; app and test context refactoring
2019-05-03 18:57:28 +02:00
Michael Mayer
3315b87305
Use logrus for logging
2019-05-02 14:10:05 +02:00
Michael Mayer
2e418d6e1e
Fix API photo like / unlike test (failed existing photos), see #79
2019-04-26 04:25:00 +02:00
Vedhavyas Singareddi
4edfc4fa4c
error chacks and minor api refactoring ( #92 )
...
* error chacks and minor api refactoring
* consistant naming
2019-01-15 14:00:42 +01:00
Michael Mayer
c1219799da
Rename Config.GetOriginalsPath() to OriginalsPath(), see #50
2018-12-21 03:21:21 +01:00
Michael Mayer
0f12aac73b
Rename Config.GetDb() to Db(), see #50
2018-12-21 02:37:16 +01:00
Joey Zou
c5ff44692f
HTTP status code change ( #78 )
...
DislikePhoto and LikePhoto should return http.StatusOK (200) instead of http.StatusAccepted (202)
2018-12-07 13:48:15 +01:00
Michael Mayer
fb91ce9a06
Move utils and test config to separate packages #58
2018-11-17 06:21:39 +01:00