photoprism/internal/config
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
..
testdata Config: Update testdata/settings.yml 2021-02-08 14:10:35 +01:00
auth.go API: Refactor response headers #822 #846 2021-01-08 09:02:30 +01:00
auth_test.go UX: Add global server config options tab to Settings UI 2020-12-18 20:42:12 +01:00
client.go Labels: Improve photo count accuracy for MariaDB / MySQL users #584 2021-10-01 19:23:08 +02:00
client_test.go Tests: Add unit tests for internal/config 2021-02-18 11:41:51 +01:00
config.go Enable module graph pruning and deprecate io/ioutil (#1600) 2021-10-06 07:10:50 +02:00
config_test.go People: Store detected face embeddings in markers table #22 #1406 2021-07-16 14:34:05 +02:00
db.go Enable module graph pruning and deprecate io/ioutil (#1600) 2021-10-06 07:10:50 +02:00
db_test.go Config: Fix db tests 2021-02-20 13:13:59 +01:00
disable.go CLI: Update help texts for commands and flags 2021-10-05 22:33:29 +02:00
disable_test.go Config: Add options to disable classification and/or facial recognition 2021-09-24 01:53:42 +02:00
doc.go Update copyright after year change 2021-01-01 22:37:25 +01:00
errors.go Backend: Refactor config tests 2020-04-30 16:09:05 +02:00
face.go People: Add additional face cluster config options #22 2021-10-05 10:12:48 +02:00
face_test.go People: Add additional face cluster config options #22 2021-10-05 10:12:48 +02:00
ffmpeg.go Config: Add options to disable specific image / video converters #1245 2021-04-30 14:24:01 +02:00
ffmpeg_test.go Tests: Add tests for internal/config 2021-08-24 19:09:09 +02:00
flags.go Update flags.go 2021-10-06 01:44:58 +02:00
fs.go Restore: Find album backups in originals folder as well 2021-02-21 15:48:46 +01:00
fs_test.go Tests: Disable TestConfig_CreateDirectories2 2021-08-29 16:32:22 +02:00
options.go Enable module graph pruning and deprecate io/ioutil (#1600) 2021-10-06 07:10:50 +02:00
options_test.go UX: Add global server config options tab to Settings UI 2020-12-18 20:42:12 +01:00
raw.go RAW: Add File Extension Blacklists for Darktable and RawTherapee #1362 2021-09-21 15:33:46 +02:00
raw_test.go RAW: Add File Extension Blacklists for Darktable and RawTherapee #1362 2021-09-21 15:33:46 +02:00
resample.go People: Refactor thumb package and variable names #22 2021-09-05 12:32:08 +02:00
resample_test.go People: Refactor thumb package and variable names #22 2021-09-05 12:32:08 +02:00
runtime.go Config: Limit workers and disable transcoding if < 3 GB of memory 2021-08-05 15:15:33 +02:00
runtime_test.go Config: Limit workers and disable transcoding if < 3 GB of memory 2021-08-05 15:15:33 +02:00
server.go HTTP: Add optional gzip compression 2021-01-10 15:30:21 +01:00
server_test.go Tests: Update config tests 2021-02-22 11:07:00 +01:00
settings.go Enable module graph pruning and deprecate io/ioutil (#1600) 2021-10-06 07:10:50 +02:00
settings_test.go Tests: Add unit tests for internal/config 2021-02-18 11:41:51 +01:00
tensorflow.go People: Store detected face embeddings in markers table #22 #1406 2021-07-16 14:34:05 +02:00
test.go RAW: Add File Extension Blacklists for Darktable and RawTherapee #1362 2021-09-21 15:33:46 +02:00
test_test.go UX: Add global server config options tab to Settings UI 2020-12-18 20:42:12 +01:00
thumbs.go People: Refactor thumb package and variable names #22 2021-09-05 12:32:08 +02:00