Michael Mayer
42897bde35
API: Add download package to allow temporary file downloads #127 #1090
...
This is necessary to provide external services with temporary access to
specific media files without giving them permanent access, a regular
download, or an access token.
Signed-off-by: Michael Mayer <michael@photoprism.app >
2025-04-07 23:56:35 +02: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
graciousgrey
46eede2de2
API: Add Swagger annotations #2132
2024-08-01 12:09:45 +02:00
graciousgrey
26e2b3f3d0
API: Update swagger annotations #2132
2024-07-29 15:47:04 +02:00
Michael Mayer
7d10a488d9
API: Add and update Swagger annotations #2132
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-07-16 12:35:27 +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
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
41e7645bac
Backend: Move crop package to /internal/thumb/crop
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-07-02 07:45:16 +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
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
604849e92c
Search: Include RAW files in results by default #2040
...
With these changes the size and type of the RAW file as well as other
details can be displayed in the Cards View. This also improves the
indexing of camera and lens metadata.
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-10-06 02:22:48 +02:00
Michael Mayer
cc5ff21b4a
Video: Add transcoding libs and improve error handling #3466
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-07-15 15:17:41 +02:00
Michael Mayer
ffd307e11d
Videos: Add immutable cache header to API response #2875
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-04-14 14:46:56 +02:00
Michael Mayer
97c9962053
Index: Add experimental EPS and SVG vector graphics support #1177 #2207
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-02-11 20:18:04 +01:00
Michael Mayer
13d32f3294
Translations: Fuzzy merge of .pot files with .po files #2083
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2022-10-31 13:25:02 +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
b072a18a17
Backend: Run "make fmt" with Go v1.19
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2022-08-10 16:09:21 +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
5ec90a5fff
Index: Skip redundant thumbs and support symbolic file links #1049 #1874
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2022-07-06 23:01:54 +02:00
Michael Mayer
27b84365da
Convert: Set virtual home in cache path for external CLI commands #2262
2022-04-18 13:55:17 +02:00
Michael Mayer
92e6c4fe1e
Download: Add Disabled, Originals, MediaRaw & MediaSidecar Flags #2234
...
Extends DownloadSettings with 4 additional options:
- Name: File name pattern for downloaded files (existed)
- Disabled: Disables downloads
- Originals: Only download files stored in "originals" folder
- MediaRaw: Include RAW image files
- MediaSidecar: Include metadata sidecar files (JSON, XMP, YAML)
2022-04-15 09:42:07 +02:00
Michael Mayer
9134c79f4c
Config: Add option to skip all RAW images when indexing #2227
2022-04-06 17:46:41 +02:00
Michael Mayer
4c583f7f1d
People: Disable updates if the worker does not run often enough #2182
2022-04-03 14:51:58 +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
63dab60a5e
Backend: Prepare TensorFlow for NSFW model
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2019-12-13 16:25:47 +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
56c97ec057
Basic login for admin #16
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2019-11-08 06:53:40 +01:00
Michael Mayer
df5aa57e68
Albums: Code clean-up and small fixes #15
2019-06-18 06:37:10 +02:00
Theresa Gresch
5f63f2999c
Implement first album functionality
2019-06-17 21:45:06 +02:00
Michael Mayer
60e9346f08
Proof-of-concept for upload & import
2019-06-13 11:26:01 -07:00
Michael Mayer
8642b6f664
Proof-of-concept for labels and search filters
2019-06-09 04:37:02 +02:00
Michael Mayer
0400b6ec7a
Add download links to thumbnails in photo viewer
2019-05-16 04:03:55 +02:00
Michael Mayer
441922c35e
Add download button to photo viewer
2019-05-14 18:16:35 +02:00
Michael Mayer
dc4536b249
Improve thumbnail rendering and indexing performance
2019-05-13 18:01:50 +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
6cba9d061f
Remove unnecessary getter prefix
...
See https://golang.org/doc/effective_go.html#Getters
2019-05-02 17:26:44 +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
628c598f08
Rename Config.GetThumbnailsPath() to ThumbnailsPath(), see #50
2018-12-21 03:24:22 +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
Michael Mayer
fb91ce9a06
Move utils and test config to separate packages #58
2018-11-17 06:21:39 +01:00
Michael Mayer
dd26ee0dca
Use functions for all config values #50
...
Why? See https://github.com/photoprism/photoprism/issues/50#issuecomment-433856358
2018-11-09 20:48:23 +01:00
Michael Mayer
4a33d430e9
Fixed formatting for api inline docs, see #12
2018-11-06 10:43:59 +01:00
Michael Mayer
e66e9e4f69
Improved REST route docs, see #12
...
Hard to test locally as godoc -http ":80" doesn't seem to work outside the GOPATH
2018-11-06 10:28:44 +01:00
Michael Mayer
5868d4e664
Added REST route as a first step to document API, see #12
2018-11-06 09:56:40 +01:00