Michael Mayer
d0239ba209
UX: Improve quota calculation and checks in config and api #4266
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2025-03-17 16:12:47 +01:00
Michael Mayer
eb9371d089
WebDAV: Skip download sync if storage is full or quota is exceeded #4266
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2025-03-11 23:45:41 +01:00
Michael Mayer
a66d3278ab
API: Prevent file imports/uploads if there is no free storage #4266
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2025-03-11 20:35:07 +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
076a400868
API: Add Swagger annotations #2132
2024-11-19 16:58:41 +01: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
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
06ee2bc684
Download: Do not compress pictures added to zip archives #4298
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-25 12:05:50 +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
37c3c9d624
Account: Add auth-related error messages to pkg/authn #808 #4114
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-03-29 12:16:26 +01:00
Michael Mayer
1912cd54ca
Account: Add GET /api/v1/users/:uid/sessions endpoint #808 #4114
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-03-28 13:24:12 +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
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
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
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
addc5e8251
Auth: Refactor users path configuration and base path default
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-03-14 21:47:14 +01:00
Michael Mayer
dcffa2848a
API: Add action and user context to indexing events #98
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-03-11 14:09:00 +01:00
Michael Mayer
43d6a5e193
Auth: Improve user entity model and add unit tests #98
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-02-20 15:54:33 +01:00
Michael Mayer
0c4aa86f85
CLI: Create thumbs and convert files in deterministic order #3194
...
This also adds support for specifying a path to the thumbs command.
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-02-14 11:37:22 +01:00
Michael Mayer
6a33ae2e93
Import: Allow directory names with dots #2807
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2022-10-27 15:47:32 +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
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
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
323d495840
Auth: Apply user rights and permissions in the search API #98 #782
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2022-09-30 00:42:19 +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
eba9fd701b
Index: Check if the originals folder is empty before indexing #2299
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2022-08-01 17:08:46 +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
0f0c0aaa0b
API: Improve path and filename parameter sanitation #1814
2021-12-14 20:01:39 +01:00
Michael Mayer
4e94919030
API: Improve request parameter sanitation #1814
2021-12-14 18:34:52 +01:00
Michael Mayer
9a8144c046
Log4j: Sanitize user input in logs like filenames and album titles #1814
2021-12-14 17:07:38 +01:00
Michael Mayer
f7153cdd21
People: Improve logging, command help, and handling of broken files #22
2021-10-05 18:42:39 +02:00
Michael Mayer
9a88d7fc6a
Logs: Tweak messages and log levels for improved readability
2021-10-02 14:24:44 +02:00
Michael Mayer
74233809b9
Covers: Rename "preview images" to "cover thumbs" for consistency #383
2021-10-01 16:44:50 +02:00
Michael Mayer
72b517d7c7
API: Add code comments
2021-08-31 13:33:27 +02:00
Michael Mayer
bc3036599b
People: Refactor album, subject, and label previews #22
2021-08-30 18:58:27 +02:00
Michael Mayer
6811a07e8a
Backend: Remove allegro/bigcache in favor of patrickmn/go-cache #807
2021-01-08 13:29:01 +01:00
Michael Mayer
cfa369cf17
Backend: Clear folder cache after indexing #623
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2020-11-22 01:30:48 +01:00
Michael Mayer
28ff51d5cf
Backend: Adjust log levels and messages
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2020-07-18 13:21:43 +02:00
Michael Mayer
b1b6e438f7
Backend: Improve log messages
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2020-07-15 11:28:54 +02:00
Michael Mayer
d1db3d04f7
Logs: Improve event log and messages in i18n package
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2020-07-07 10:51:55 +02:00
Michael Mayer
68843a626d
Backend: Add translations for API messages
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2020-07-04 12:54:35 +02:00
Michael Mayer
5d59b50912
Sharing: ACL authorization for REST API #18
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2020-06-25 14:54:04 +02:00
Michael Mayer
20d0a88bf6
Add setting to remove Library from navigation
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2020-06-09 08:37:43 +02:00
Michael Mayer
3542bc5d61
Backend: Run moments after import
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2020-06-03 10:26:29 +02:00
Theresa Gresch
ad9167360d
Feature/246 ( #345 )
...
* Import: Implement "add to album" in backend #246
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
* Import: Implement "add to album" in frontend #246
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
* Add OriginalName to photo search result
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
* Add json tags to PhotoName and PhotoPath
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
* Photo: Use EstimateCountry() in UpdateLocation()
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
* Photo: Set OriginalName earlier while indexing
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
* Ignore whitespace when stripping sequence from filename #335
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
* Fix labels count for SQLite
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
* Import: Show name of new albums #246
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
* Frontend: Add acceptance test files
Co-authored-by: Michael Mayer <michael@liquidbytes.net >
2020-06-01 09:45:24 +02:00
Michael Mayer
6f6e3799dc
Refactor download urls and client config
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2020-05-27 19:38:40 +02:00
Michael Mayer
a7122ff4e1
Add /folders API to get directory lists for browsing #260
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net >
2020-05-22 16:29:12 +02:00