Commit graph

157 commits

Author SHA1 Message Date
Michael Mayer 7c688f5ea2 Frontend: Update translations and navigation title 2022-05-01 18:05:41 +02:00
Michael Mayer 74b2b03d94 Config: Improve Config.WakeupInterval() and add tests 2022-04-22 18:24:59 +02:00
Michael Mayer b545c92be9 Config: Prevent background worker from running more than once per minute 2022-04-22 18:06:45 +02:00
Michael Mayer 8638929d84 Config: Automatically generate command-flag docs #1017 #2195 #2227 #2250 2022-04-22 17:38:40 +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 8f2155711f Config/CLI: Rename --config-file flag and improve command help #2250 2022-04-13 22:43:49 +02:00
Michael Mayer e42b870c09 CLI: Update and display the list of supported file formats #2247 2022-04-12 19:14:21 +02:00
Michael Mayer 4ec7dbc90f Config: Add thumb-color option to set a standard color profile #1474
You can leave this blank to disable the conversion from Display P3
to sRGB. We will add more options at a later time.
2022-04-06 18:41:15 +02:00
Michael Mayer 9134c79f4c Config: Add option to skip all RAW images when indexing #2227 2022-04-06 17:46:41 +02:00
Michael Mayer 4c583f7f1d People: Disable updates if the worker does not run often enough #2182 2022-04-03 14:51:58 +02:00
Michael Mayer a604e9a9c6 Index: Improve file size/resolution checks, add WebP support #1017 #1226
Renames the config flag to from "megapixel-limit" to "resolution-limit".
Adds native support for the WebP image file format.
2022-04-02 18:04:11 +02:00
Michael Mayer 728cb2144c Config: Add option to limit originals size in megapixels #1017
Adds the `megapixel-limit` and `thumb-colorspace` config options.
2022-04-01 21:14:22 +02:00
Michael Mayer 2f5d1fea50 Config: Refactor initSettings() and initHub()
This prevents redundant initialization when called repeatedly.
2022-03-28 16:13:41 +02:00
Michael Mayer 9301a4bb10 Config: Add test and demo flags 2022-03-16 17:34:09 +01:00
Michael Mayer 6bebf9043b Config: Add Docker env string to backend requests (develop, prod)
For easier debugging so that development environments can be identified.
2022-03-02 14:16:49 +01:00
Michael Mayer 4247066c1b Docker: Reduce image layers and improve build scripts 2022-02-19 15:32:52 +01:00
Michael Mayer 7c4241fbea Config: Add "imprint" option to display legal info in the footer #1990 2022-02-08 14:41:03 +01:00
Michael Mayer 01274d6953 Backend: Update sponsor message in config.go 2022-01-29 13:43:47 +01:00
Michael Mayer 28e3b37944 Config: Reduce RecommendedMem from 5 to 3 GB #1921
This allows servers with 4 GB to run more than one worker if needed.
2022-01-20 11:03:27 +01:00
Michael Mayer 62ca7f1e1f Logout: Redirect to base URI instead of "/" #1901 2022-01-17 18:52:35 +01:00
Michael Mayer d67e325854 Config: Improve initialization, migrations, and debug logs 2022-01-05 18:15:39 +01:00
Michael Mayer 0f0c0aaa0b API: Improve path and filename parameter sanitation #1814 2021-12-14 20:01:39 +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 ccfa99543d Config: Add ClientConfig.SiteDomain info based on SiteUrl 2021-12-14 15:47:30 +01:00
Michael Mayer 35ac1e730c Docs: Update URL 2021-12-12 20:48:05 +01:00
Michael Mayer 3ae3fe29bc SQLite: Rename dialect constant to SQLite3 for consistency #319 #1791 2021-12-09 07:47:23 +01:00
Michael Mayer 1b583e071e People: Add mutex so changes don't get processed concurrently 2021-12-09 02:33:41 +01:00
Michael Mayer 34e1773595 PWA: Add square and glow app icons 2021-11-25 17:24:53 +01:00
Michael Mayer 6ce109153b PWA: Add alternative prism app icon 2021-11-22 11:26:10 +01:00
Michael Mayer 67b7c3d84d PWA: Add config options for app name, mode, and icon 2021-11-21 16:36:42 +01:00
Michael Mayer 06c23b0cb3 Places: Sort States by Country Name and Title #1608 #1740 2021-11-20 16:36:34 +01:00
Michael Mayer 5493540ec6 UX: Reduce logo size on slash screen 2021-11-18 13:06:26 +01:00
Michael Mayer 73ffa53397 Metadata: Perform less frequent estimates to reduce server load #1736 2021-11-18 02:23:25 +01:00
Michael Mayer c48310f077 Albums: Improve state geodata and sort by country #1608 #1664 2021-11-18 00:46:34 +01:00
Michael Mayer bf8de9be22 Config: Reduce minimum memory requirement from 2 to 1 GB 2021-10-21 18:50:33 +02:00
Michael Mayer 85b0ee5b61 Config: Allow disabling background workers in unsafe mode #1359 #1618 2021-10-17 14:25:29 +02:00
Michael Mayer 09f50fc486 Config: Allow bypassing low memory suggestion #1611 2021-10-09 14:09:05 +02:00
Eng Zer Jun 44f7700c0c
Enable module graph pruning and deprecate io/ioutil (#1600)
* Backend: Enable Go module graph pruning and lazy module loading

This commit applies the changes by running `go mod tidy -go=1.17` to
enable module graph pruning and lazy module loading supported by Go 1.17
or higher.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>

* Backend: Move from io/ioutil to io and os package

The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-10-06 07:10:50 +02:00
Michael Mayer de63227767 CLI: Update help texts for commands and flags 2021-10-05 22:33:29 +02: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 57aa8811fc People: Add additional face cluster config options #22 2021-10-05 10:12:48 +02:00
Michael Mayer ee2b49ef4b People: Add config options for face detection and clustering #22 2021-09-23 13:16:05 +02:00
Michael Mayer b83625a653 RAW: Improve JPEG converter logging #1362 2021-09-21 16:29:03 +02:00
Michael Mayer b9d1c7afb3 People: Improve thumb size config and flag descriptions #22 2021-09-05 13:48:53 +02:00
Michael Mayer d21dc3457c People: Refactor thumb package and variable names #22 2021-09-05 12:32:08 +02:00
Michael Mayer 5f07b8bb10 Config: Refactor client data types 2021-09-02 14:45:26 +02:00
Timo Volkmann 177367e78d Auth: add change password tests #98 2021-08-11 12:58:38 +02:00
Michael Mayer b458a32994 Config: Update info message
see #1135, #1390, and #1397
2021-08-05 21:57:01 +02:00
Michael Mayer c8b82d2ba4 Config: Reduce minimum memory requirement to 2 GB
see #1135, #1390, and #1397
2021-08-05 21:54:57 +02:00
Michael Mayer 6dee522472 Config: Improve warning message shown when server has < 3 GB memory
see #1135, #1390, and #1397
2021-08-05 19:10:53 +02:00