Commit graph

127 commits

Author SHA1 Message Date
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
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
1e023c5302 QA: Implement test mode 2021-02-06 17:04:00 +01:00
Michael Mayer
91e6a33197 Config: Reduce auto index & import safety delay defaults
New auto indexing safety delay default is 5 min.
New auto import safety delay default is 3 min.
Previous was the same as wakeup interval, which is 15 min by default.
2021-01-26 12:06:33 +01:00
Michael Mayer
75fb5823b0 UX: Add early-access info dialog #700 2021-01-19 21:28:16 +01:00
Michael Mayer
bc0bde4771 UI: Add Greyscale theme #700 2021-01-15 18:30:26 +01:00
Michael Mayer
3fc4336e58 Config: Fix detection of CPU cores to limit number of workers 2021-01-11 13:00:46 +01:00
Michael Mayer
dcaf22b329 Config: Detect physical CPU cores to limit number of workers 2021-01-09 12:18:59 +01:00
Michael Mayer
8627153288 Config: Reduce workers default
CPUs with with hyper-threading can't properly manage the load otherwise.
2021-01-09 04:44:36 +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
51fe6cf526 Config: Improve preview token security 2021-01-02 15:08:39 +01:00
Michael Mayer
bfadc9fd6c Config: Add info log for case-insensitive file systems
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-12-26 18:30:04 +01:00
Michael Mayer
02722ab861 Config: Detect case-insensitive file systems
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-12-26 18:06:54 +01:00
Michael Mayer
30231ccc74 Albums: Remove YAML backup files when running photoprism reset 2020-12-21 14:05:02 +01:00
Michael Mayer
a067fe46ec UX: Add global server config options tab to Settings UI 2020-12-18 20:42:12 +01:00
Michael Mayer
0925d7179c UX: Refactor Settings UI 2020-12-18 10:59:21 +01:00
Michael Mayer
7940786ce9 UX: Refactor config options to be more intuitive
Make sure to update your local config files when upgrading as
the name of some config values has changed. The default
config path has changed from "settings" to "config".
2020-12-18 09:11:42 +01:00
Michael Mayer
c466291405 SQLite: Reduce worker limit to 4 to prevent locking #680 #558 #392 2020-12-07 16:20:35 +01:00
Michael Mayer
5acc02e248 Config: Initialize storage folder with serial
To detect non-permanent storage and configuration issues.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-12-05 06:21:16 +01:00
Michael Mayer
d0f8c577b3 Indexer: Add optimize command & automatically fix location data #546 2020-12-05 00:13:44 +01:00
Michael Mayer
390dc7f7e5 Refactor backend api package 2020-12-04 13:10:32 +01:00
Michael Mayer
3464bf35ed Config: Add backup path parameter 2020-12-04 11:02:19 +01:00
Michael Mayer
28ec2df70f Limit number of default workers when using SQLite #558
Signed-off-by: Michael Mayer <michael@lastzero.net>
2020-10-21 07:33:24 +02:00
Michael Mayer
5fa47652ee Backend: Refactor config initialization
Signed-off-by: Michael Mayer <michael@lastzero.net>
2020-10-08 08:52:03 +02:00
Michael Mayer
13383ac701 Config: Don't error if settings path does not exist #535
Signed-off-by: Michael Mayer <michael@lastzero.net>
2020-10-07 12:22:45 +02:00
Michael Mayer
b87e860444 Add feedback form
Signed-off-by: Michael Mayer <michael@lastzero.net>
2020-10-04 22:22:53 +02:00
Michael Mayer
78f2470421 Backend: Refresh api keys and send to frontend
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-10-04 04:47:54 +02:00
Michael Mayer
46b9239026 Backend: Refactor user entity and add pro package
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-10-03 13:50:30 +02:00
Michael Mayer
33888fd231 Backend: Add credentials and extend person entity #98 #144
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-09-06 14:18:40 +02:00
Michael Mayer
ee8d9ad919 Show max cached thumbnail size if uncached is disabled #413
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-18 17:33:02 +02:00