Michael Mayer
86dc89c4b9
Config: Show error if originals and storage path seem identical #1642
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-21 14:22:16 +01:00
Michael Mayer
89ca0d8899
Index: Ignore nested storage folder in the originals path #1642
...
This creates a .ppstorage file in the storage folder so that it can be
automatically ignored if found in the originals path while indexing.
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-20 17:32:10 +01:00
Michael Mayer
01da5bdec7
CRC32: Move checksum generation to a dedicated package
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-20 14:56:07 +01:00
Michael Mayer
abfea6354c
Config: Allow CORS for fonts and CSS when using a CDN #3931
...
see https://www.w3.org/TR/css-fonts-3/#font-fetching-requirements
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-16 20:04:36 +01:00
Michael Mayer
239708f00f
Config: Add options to configure CORS origin, headers and methods #3931
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-16 12:14:06 +01:00
Michael Mayer
e44262d4ea
Config: Ignore configured CDN URL if the same as the Site URL #3931
...
see https://docs.photoprism.app/getting-started/using-a-cdn/#cloudflare
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-15 10:54:03 +01:00
Michael Mayer
481c207897
Cache: Refactor internal/ttl package
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2024-01-10 10:26:38 +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
Michael Mayer
b7bbc59fca
Upgrade: Improve error handling and messages #3813
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-10-13 12:43:20 +02:00
Michael Mayer
a287830d1f
Videos: Allow setting a lower TTL for caching video content #3631
...
Adds the new "--http-video-maxage SECONDS" config option.
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-15 11:06:43 +02:00
Michael Mayer
3cf1c699df
Video: Refactor FFmpeg Transcoding Size Limit #3466 #3498 #3549
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-07-18 15:15:04 +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
8e43186454
Config: Generate default HTTPS/TLS certificate on first startup #3509
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-28 16:50:04 +02:00
Michael Mayer
a7c8f0102f
Config: Refactor directory initialization and improve inline docs
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-14 16:44:45 +02:00
Michael Mayer
59bf7cb9bd
Config: Update CSP header to allow loading content from a CDN #3454
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-07 09:22:10 +02:00
Michael Mayer
0e415fec1c
Config: Make options available to all users
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-05-13 16:02:49 +02:00
Michael Mayer
7a7ffbced2
CLI: Reduce logging output in production environments #3370
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-05-05 09:55:00 +02:00
Michael Mayer
6805aea115
About: Update footer and info page
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-29 10:55:21 +02:00
Michael Mayer
d74a9c097e
Config: Add option to stream videos over the specified CDN #2875
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-14 11:47:27 +02:00
Michael Mayer
f033fed01c
Config: Set default theme and locale
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-05 12:21:05 +02:00
Michael Mayer
9a3d61c99f
Config: Update membership sign up info
...
see https://twitter.com/photoprism_app/status/1641105072292605954
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-01 12:07:17 +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
84d1e7de1d
CLI: Add photoprism connect command
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-24 19:35:29 +01:00
Michael Mayer
f63ac04956
Config: Rename HttpCacheTTL to HttpCacheMaxAge #3297
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-20 20:37:07 +01:00
Michael Mayer
286f06d894
Config: Add options for HTTP cache control #3297
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-20 11:40:46 +01:00
Michael Mayer
ff3f9b8537
Config: Improve Wallpaper URI caching and tests
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-20 10:28:01 +01: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
a67cb10055
Config: Allow to increase the resolution limit at your own risk
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2023-02-27 15:29:03 +01:00
Michael Mayer
668395909d
Index: Skip updates if there are no changes #3227
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-23 03:45:58 +01:00
Michael Mayer
ac3e1a3f4c
Albums: Add experimental private album flag to edit dialog #480
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-21 00:02:44 +01: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
16a153bfa1
PWA: Load manifest.json with version parameter to limit caching #3181
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-10 16:23:36 +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
2e7268f834
Config: Remove slash from social preview image file path #3160
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-02 17:13:12 +01:00
Michael Mayer
9684edb681
Config: Use dynamic social preview image based on app name #3160
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-02 12:08:54 +01:00
Michael Mayer
6dd55170fe
Config: Add option to set a proxy for outgoing connections #3132
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-19 20:46:27 +01:00
Michael Mayer
ca4705eee2
CLI: Add username argument to the "photoprism passwd" command #98
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-12-29 23:41:43 +01:00
Michael Mayer
53232b53c0
Frontend: Add upgrade page and update about page
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-27 18:00:55 +01:00
Michael Mayer
cc38922cbe
Auth: Add dummy LDAP service #98
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-22 22:14:34 +01:00
Michael Mayer
2f6e57527b
MariaDB: Allow unsupported versions in "unsafe" mode #2878
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-10 07:21:45 +01:00
Michael Mayer
91774c4068
Security: Create new files without execution permission #2809
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-31 15:01:48 +01:00
Michael Mayer
1b27a80ada
Config: Rename "imprint" option to "legal-info" #2797
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-24 12:33:03 +02:00
Michael Mayer
a579620a2e
Security: Change default site URLs to HTTP and add HTTPS init target
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-20 16:19:28 +02:00
Michael Mayer
ebb5646571
Security: Update default config values to use HTTPS for the site URL
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-19 20:26:36 +02:00
Michael Mayer
884dea17de
Security: Use individual preview tokens for each user account #98
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-13 22:11:02 +02:00
Michael Mayer
6abbc39017
Security: Add http rate limiter and auto tls mode #98
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-11 22:44: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
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
810914a578
Config: Increase default resolution limit from 100 to 150 MP #2677
...
By default, a limit is set to avoid support-intensive crashes of our
Community Edition and to protect the hosted service from
denial-of-service attacks.
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-18 14:06:13 +02:00
Michael Mayer
85561547cc
Auth: Add "PHOTOPRISM_ADMIN_USER" option and refactor user table #98
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-02 21:30:50 +02:00