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
052d54f3e7
Config: Add PHOTOPRISM_DEFAULT_LOCALE Option
2021-12-12 22:09:22 +01: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
0bcef4726f
Settings: Add feature flag to hide Videos from navigation #996
2021-02-08 09:04:44 +01:00
Michael Mayer
c8322373ca
Config: Add UI.Zoom, Features.Albums & Features.People to Settings #799
2021-01-04 19:08:44 +01:00
Michael Mayer
fd4cf7b598
UX: Move folders next to Library in navigation & fix folder icon
2020-12-30 18:10:20 +01:00
Michael Mayer
29a57fd846
Settings: Add estimate feature flag #622
2020-12-30 11:11:58 +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
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
717da1bd34
Downloads: Configure file name schema #675
...
There is no UI for this setting yet.
2020-12-16 11:59:16 +01:00
Michael Mayer
801dc49dd7
Settings: Add "delete" feature flag and share page title #167
2020-12-13 14:53:26 +01:00
Michael Mayer
04c17fb77b
Indexer: Improve stacking settings and merging
2020-12-11 17:21:13 +01:00
Michael Mayer
63a8dbf4ce
Stacks: Improve advanced indexing options #681 #667 #593
2020-12-07 17:03:06 +01:00
Michael Mayer
ae0af699c6
Stacks: Add advanced indexing options #681 #667 #593
2020-12-07 16:19:03 +01:00
Michael Mayer
902aacece9
Indexer: Merge identical photos (stack files) #576
2020-12-04 19:51:51 +01:00
Michael Mayer
b3abe6840a
Config: Create settings.yml if it doesn't exist
2020-12-04 12:15:59 +01: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
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
db4749a6f8
Config: Show helpful error message when a path is missing #418
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-08-18 19:09:46 +02:00
Michael Mayer
c0f10e2288
Use gettext for backend translations too
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-15 01:26:54 +02:00
Michael Mayer
212857318b
UX: Rename group(ed) to stack(ed) #394
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-13 15:59:54 +02:00
Michael Mayer
68843a626d
Backend: Add translations for API messages
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-04 12:54:35 +02:00
Michael Mayer
20d0a88bf6
Add setting to remove Library from navigation
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-06-09 08:37:43 +02:00
Michael Mayer
d0199598d0
Simplify configuration #66
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-31 02:09:52 +02:00
Michael Mayer
4421e7d203
Add simple file browser to Library #260
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-24 22:16:06 +02:00
Michael Mayer
03ec4b586d
Initial commit for folders and moments #154 #260 #331
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-23 20:58:58 +02:00
Michael Mayer
3ccad67622
Index and import subdirectories #258
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-06 15:53:47 +02:00
Michael Mayer
1479a3ec5b
Refactor indexer so that thumbs and jpegs can be created on demand #258
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-06 10:35:41 +02:00
Michael Mayer
9b643c830f
Add template settings; remove twitter config value
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-05 18:26:44 +02:00
Michael Mayer
f9b2ff326b
Refactor feature flags and settings
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-04 18:28:23 +02:00
Michael Mayer
2032b40f2b
Backend: Code clean-up
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-03 18:00:50 +02:00
Michael Mayer
430fb2acb3
Code clean-up
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-25 14:48:08 +02:00
Michael Mayer
8609ab805f
Automatically set private flag if detect-nsfw is enabled
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 20:28:16 +02:00
Michael Mayer
a57ca79663
Improve settings page #288
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 16:05:57 +02:00
Michael Mayer
b31508e4f3
Refactor & improve editing of photo labels
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-19 01:13:55 +02:00
Michael Mayer
96ec67f868
Group related files #283
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-14 14:28:47 +02:00
Michael Mayer
855781658b
Add library settings #283
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-14 13:13:45 +02:00
Michael Mayer
c2fa3a7246
Add common feature flags incl upload #284
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-13 18:08:21 +02:00
Michael Mayer
47814e2fde
Initial stub for feature flags in settings #284
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-12 18:00:31 +02:00
Michael Mayer
5bea7d2a59
Maps: Add style to settings
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-31 21:03:13 +02:00
Michael Mayer
09e2385c67
Maps: Add animation duration to settings
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-31 18:56:52 +02:00
Michael Mayer
7f2cfc8446
Backend: Create settings.yml if not exists
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-28 21:44:30 +01:00
François d'Yvoire
55693fab35
Some more comment improvements ( #257 )
...
* Improve comment in classify package
* improve comment in config package
* improve entity package comments
* grammar error in comments
2020-02-21 01:14:45 +01:00
Michael Mayer
f8a45b14d9
Backend: Move reusable packages to pkg/
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-12 14:00:56 +01:00
Michael Mayer
e43983d579
Backend: Refactor thumbnail package #157
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-06 14:32:15 +01:00
Michael Mayer
357b557aac
Backend: Refactor config package and add Workers() func
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-02 00:03:07 +01:00
Michael Mayer
dac272468e
Sharing: Render preview image & site info
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-11 14:10:20 +01:00
Michael Mayer
5a85fe9f83
Save and load settings to / from settings.yml
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-17 03:08:13 +01:00
Michael Mayer
0becb8a92d
Stub for settings page & api
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-12 04:34:37 +01:00