Michael Mayer
60851fe8b7
Config: Improve usage descriptions of thumbnail generation options #1474
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-16 16:42:32 +02:00
Michael Mayer
752952d202
Config: Improve usage descriptions of thumbnail generation options #1474
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-16 15:35:21 +02:00
Michael Mayer
7b5169d87c
Config: Improve usage descriptions of thumbnail generation options #1474
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-16 15:33:09 +02:00
Michael Mayer
b2e326b195
Config: Improve usage descriptions of thumbnail generation options #1474
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-16 15:23:26 +02:00
Michael Mayer
456b8306d2
Thumb: Add thumb-generator config option and fix image orientation #1474
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-16 14:40:15 +02:00
Michael Mayer
bb98e7aad7
Config: Update "sidecar-yaml" usage description #4243
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-14 14:14:34 +02:00
Michael Mayer
d5580c116a
Backups: Rename "backup-index" config option to "backup-database" #4243
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-14 11:11:50 +02:00
Michael Mayer
97240331df
Docs: Escape FFMPEG_MAP_VIDEO and FFMPEG_MAP_AUDIO config defaults #3284
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-13 13:42:36 +02:00
Michael Mayer
db5336a7ad
Config: Improve options report and change BackupRetain default #4243
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-13 13:23:50 +02:00
Michael Mayer
b3782fc427
Backups: Improve usage descriptions of config options #4243
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-13 09:41:19 +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
e042b40975
Config: Shorten usage description for "wakeup-interval" flag
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-12 18:42:47 +02:00
Michael Mayer
1fe0bab4c1
Backups: Add config option to limit the number of backups to keep #4243
...
PHOTOPRISM_BACKUP_RETAIN lets to specify the number of index database
dumps to keep (backup filenames are in the format "YYYY-MM-DD.sql").
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-12 17:44:33 +02:00
Michael Mayer
0e7c91f1b6
Config: Allow scheduling of indexing and backup tasks #2495 #2608 #4243
...
Note that this is "bleeding edge" functionality and that the newly added
config option PHOTOPRISM_BACKUP_RETAIN can be set, but does not have any
effect yet. Feedback welcome!
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-11 19:11:49 +02:00
Michael Mayer
9d04275d18
Index: Change type of "*.thm" files from ImageJPEG to ImageThumb #3900
...
These change also add "thm" to the converter ignore lists and should
skip these files when generating thumbnails from (other) media files.
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-05-08 12:34:25 +02:00
Michael Mayer
0134c68d2c
Config: Add option to change default session cache duration #808 #3943
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-04-17 08:26:35 +02:00
Michael Mayer
572d1a5917
Config: Improve usage descriptions of admin-user and password flags #808
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-04-10 13:44:11 +02:00
Michael Mayer
83f09dd213
Sessions: Improve usage descriptions of maxage and timeout flags #808
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-04-10 13:05:05 +02:00
Michael Mayer
59f20faecd
Sessions: Update usage descriptions of related config flags #808 #3943
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-04-10 12:50:05 +02:00
Michael Mayer
7336304828
Config: Set TCP timeout for establishing a database connection #4059
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-03-31 09:58:49 +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
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
c5f6a28448
Config: Add PHOTOPRISM_HTTP_CORS option for CDN users #3931 #3940
...
In addition, the Access-Control-Allow-Origin header is set to the same
URL if an Origin header is found in the request (experimental).
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-15 13:06:27 +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
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
19efee9b6d
Config: Change position of "http-cache-public" command flag
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-10-26 09:04:34 +02:00
Michael Mayer
cfe1ff3299
Config: Change "web server" to "Web server" in the docs for consistency
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-09-24 18:05:49 +02:00
Michael Mayer
4154649c76
FFmpeg: Remove deprecated "-vsync vfr" command flag #3659
...
See issue comments for details. This also introduces a package constant
for the default ffmpeg command name and updates the tests.
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-09-06 11:27:24 +02:00
Michael Mayer
5b4b57e3bf
Config: Improve docs and tests for Unix socket support #2337 #3595
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-08-16 10:14:19 +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
Silver Bullet
2bf50082f5
Backend: Support listening on Unix Socket #2337 #3595
...
When HTTP listening address starts with unix: and contains /, listen
at given path instead of a TCP socket.
TLS or AutoTLS will not work since there is no TLS layer when using
the unix domain socket.
2023-08-14 10:00:35 +02:00
Michael Mayer
44603857fa
Config: Shorten video transcoding flag descriptions #3466 #3498 #3549
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-07-18 16:20:25 +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
651782eb4d
Security: Add PHOTOPRISM_DEFAULT_TLS config option #3509
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-07-15 12:01:06 +02:00
Lukas
19ac83dd20
Config: Downscale videos based on largest dimension ( #3510 )
...
* Adds resolution limit
* Fixes 2 video filters and makes the env variable work
* Adds FFMPEG_RESOLUTION to all the docker-compose files
* Makes the resolution based on the longer side
* Fixes failing test
2023-06-29 10:07:47 +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
Lukas
83d10ea00e
Config: Add video transcoding resolution option ( #3498 )
...
* Adds resolution limit
* Fixes 2 video filters and makes the env variable work
* Adds FFMPEG_RESOLUTION to all the docker-compose files
2023-06-28 15:22:52 +02:00
Michael Mayer
0b780defbb
Config: Update flags.go and cli_flags_test.go
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-05-13 19:38:54 +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
Matthew Roy
7abf5c70cf
Clarify trusted-proxy option env TRUSTED_PROXY
...
Clarify that PHOTOPRISM_TRUSTED_PROXY is passed to Gin per 457fabd7e1/docs/doc.md (dont-trust-all-proxies)
2023-05-07 17:13:42 +02:00
Michael Mayer
c405f6eff2
Config: Tag advanced options for documentation purposes
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-05-01 18:32:37 +02:00
Michael Mayer
cbfd5a957f
Config: Update admin username and password flag descriptions
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-04-29 13:46:35 +02:00
Michael Mayer
48a280b119
Config: Update app icon usage description to include square icon variant
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-04-23 09:53:02 +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
163398b76c
Passwords: Enforce 72-character limit and improve bcrypt support #1987
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-04-13 17:21:18 +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
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
ef70992657
Config: Code clean-up
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-03-15 17:05:05 +01:00
Michael Mayer
cad0ecaa6a
Config: Use fixed users folder name in the storage path
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-03-14 23:17:12 +01:00