Commit graph

49 commits

Author SHA1 Message Date
Michael Mayer b072a18a17 Backend: Run "make fmt" with Go v1.19
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-08-10 16:09:21 +02:00
Michael Mayer 591a656270 Auth: Add PHOTOPRISM_AUTH_MODE config option #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-07 19:12:28 +02:00
Michael Mayer 30da260a11 Config: Refactor options and flags source files #2195
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-08 14:22:07 +02:00
Michael Mayer 67fdecfbef CLI: Improve parameter aliases, order, and descriptions #2195
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2022-04-07 11:56:44 +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 b32d9bf30c Videos: Improve FFmpeg parameters for Intel QSV #2222
This commit also removes PHOTOPRISM_FFMPEG_BUFFERS as it is only
used/required by Video4Linux. 64 seems to be a good value, so we pass
it statically as for the other encoders. Examples have been updated.
2022-04-05 16:48:53 +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 44efdd232a Config: Improve flag descriptions of JPEG and thumbnail parameters #2215 2022-04-01 13:25:25 +02:00
Michael Mayer 686a8ab9b4 Search: Refactor photo search, fix test data and unit tests #1994 2022-03-29 00:21:50 +02:00
Michael Mayer 39b0530313 Metadata: Skip brute-force search if no Exif headers were found #2196 2022-03-28 15:57:29 +02: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 6453d30906 Config: Improve CLI help and docker-compose.yml examples 2022-01-11 14:34:30 +01:00
Michael Mayer d67e325854 Config: Improve initialization, migrations, and debug logs 2022-01-05 18:15:39 +01:00
Michael Mayer 58a5f94069 Backups: Rename album backups to exports and improve command help #1887 2022-01-05 11:40:44 +01:00
Michael Mayer 052d54f3e7 Config: Add PHOTOPRISM_DEFAULT_LOCALE Option 2021-12-12 22:09:22 +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 7fb63e7df7 Config: Change position of global config flags 2021-12-02 16:39:19 +01:00
Michael Mayer 2e1295e304 Config: Update log-filename flag description #1778 2021-12-02 13:21:55 +01:00
Michael Mayer 65e83a9eee UX: Add app icons and use select icon on slash screen 2021-11-29 14:39:21 +01:00
Michael Mayer 34e1773595 PWA: Add square and glow app icons 2021-11-25 17:24:53 +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 85b0ee5b61 Config: Allow disabling background workers in unsafe mode #1359 #1618 2021-10-17 14:25:29 +02:00
Michael Mayer 2eb2e91995 Config: Change position of cache-path command flag 2021-10-11 23:25:49 +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 cb12a1447c People: Increase default min face size to 50px #22 2021-09-24 03:00:37 +02:00
Michael Mayer a1822f9b19 Config: Add options to disable classification and/or facial recognition 2021-09-24 01:53:42 +02:00
Michael Mayer b4bcfe499c People: Add min face size config option #22 2021-09-23 13:47:18 +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 b081f27e17 RAW: Add File Extension Blacklists for Darktable and RawTherapee #1362 2021-09-21 15:33:46 +02:00
Michael Mayer a4289ec9f0 Config: Limit workers and disable transcoding if < 3 GB of memory
see #1135, #1390, and #1397
2021-08-05 15:15:33 +02:00
Michael Mayer c87d5da2e3 Config: Add CDN URL option #425 #1351 2021-07-05 16:41:43 +02:00
Michael Mayer f0b627b8f6 Config: Rename DarktablePresets to RawPresets #1245 2021-05-01 10:25:34 +02:00
Michael Mayer f87c9c01da Config: Add options to disable specific image / video converters #1245 2021-04-30 14:24:01 +02:00
Michael Mayer 4903936839 Video: Add ffmpeg-bitrate config option #703 2021-02-17 18:19:52 +01:00
Michael Mayer 4939e36ac6 Video: Update docker-compose.yml ARM64 example #703
Renamed PHOTOPRISM_FFMPEG_CODEC to PHOTOPRISM_FFMPEG_ENCODER as well.
Log level for errors has been increased to warn.
2021-02-16 11:40:40 +01:00
Michael Mayer 58005012b1 Video: Add config option for FFmpeg num_capture_buffers #703 2021-02-16 08:57:21 +01:00
Michael Mayer 45272cd2f5 Videos: Add ffmpeg-codec config parameter #703 2021-02-11 20:22:00 +01:00
Michael Mayer 1e023c5302 QA: Implement test mode 2021-02-06 17:04:00 +01:00
Michael Mayer bc0bde4771 UI: Add Greyscale theme #700 2021-01-15 18:30:26 +01:00
Michael Mayer b408538f68 HTTP: Add optional gzip compression 2021-01-10 15:30:21 +01:00
Michael Mayer ff758c3ed6 WebDAV: Changes trigger auto indexing / importing #281
The safety delay may be configured individually using
PHOTOPRISM_AUTO_INDEX and PHOTOPRISM_AUTO_IMPORT. A negative value
disables the feature.
2021-01-02 18:56:15 +01:00
Michael Mayer de955f8fc6 UX: Add Downscaling and RAW Conversion options to Advanced Settings tab 2020-12-19 01:11:22 +01:00
Michael Mayer a067fe46ec UX: Add global server config options tab to Settings UI 2020-12-18 20:42:12 +01:00