graciousgrey
afe2190797
Tests: Add unit tests
2023-08-30 16:30:06 +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
Michael Mayer
c82a4b2287
HTTP: Refactor Unix socket support #2337 #3595
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-14 10:43:05 +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
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
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
Michael Mayer
03f92bc0db
Config: Fix expected return value in config_ffmpeg_test.go #3510
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-29 10:17:04 +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
Michael Mayer
a6d3eee331
Config: Fix FFmpegResolution() func and related test #3498
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-28 16:45:53 +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
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
bff649469d
Config: Make PhotoPrism compatible with MariaDB 11 #3443
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-02 17:07:10 +02:00
Michael Mayer
7c0af33b73
Backend: Update Go dependencies
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-01 16:35:07 +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
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
b9181bee6f
Config: Update cli_flags_test.go
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-05-03 12:57:41 +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
958766ba79
Config: Change wording from sponsors to members
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-29 13:52:42 +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
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
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
99858cb8d8
API: Skip sending token headers in public mode to allow caching #2875
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-14 18:06:57 +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
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
c426a184c5
Backup & Restore: Refactor commands not to run into size limits #3140
...
See also #3301 , #3311 , and #3298 .
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-01 16:23:25 +02:00
Michael Mayer
b6378a5c1f
Albums: Improve parameter validation for database queries #3320
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-04-01 14:25: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
d18e5d3ad3
Config: Default to cache TTL defined in thumbs package #3297
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-20 13:15:54 +01:00
Michael Mayer
010d243d14
Config: Change cache TTL default from 2630000 to 2592000 #3297
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-20 13:13:56 +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
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
Michael Mayer
fb1744b820
Config: Fix UserStoragePath()
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-14 22:19:16 +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
157c6c723a
FFmpeg: Allow selection of specific video and audio streams #3284
...
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-14 18:00:55 +01:00
Dan Kasak
add976881a
Fix only_full_group_by compilation error in SQL - #3216
2023-03-04 16:02:00 +01:00
Michael Mayer
6e144fe13a
Config: Allow everyone to set their own login wallpaper
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2023-03-02 16:52:05 +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