Commit graph

17 commits

Author SHA1 Message Date
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 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 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 6806e74f7d Config: Do not search empty template paths for files #2946
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-28 10:22:53 +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 c29bc5a8d4 Config: Update trusted proxy command flag help
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-03 07:54:18 +01:00
Michael Mayer f7becc2fd5 Config: Update reverse proxy https flags
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-11-02 18:55:30 +01:00
Michael Mayer 59da5037e6 Server: Add Error 404 Not Found template and change ext to .gohtml #840
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-18 22:19:41 +02:00
Michael Mayer f98aa619ec Security: Disable HTTPS redirect by default #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-13 23:44:51 +02:00
Michael Mayer d198a1d23f Security: Improve rate limit and HTTP proxy configuration #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-12 14:57:33 +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 e739dd3e89 Auth: Add support for config and routing extensions (WIP) #782 #2478
Enables developers to extend the existing config and API. Initial proof
of concept and work in progress. Implementation details may change.
Feedback welcome!

Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-05 23:13:34 +02:00
Michael Mayer 519f0c49c9 Videos: Stream OGV, VP8, VP9, AV1, WebM, and HEVC if supported #2461 2022-06-24 06:59:22 +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
Renamed from internal/config/server.go (Browse further)