Commit graph

16 commits

Author SHA1 Message Date
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
3ae3fe29bc SQLite: Rename dialect constant to SQLite3 for consistency #319 #1791 2021-12-09 07:47:23 +01:00
Michael Mayer
7e8974fd20 MySQL 8: Improve migrate command, ignore errors when dropping indexes 2021-11-28 13:52:27 +01:00
Michael Mayer
8f55d6f841 CLI: Improve backup and restore commands 2021-10-07 13:27:49 +02:00
Michael Mayer
a7b6107d5e CLI: Improve backup and restore commands 2021-10-07 13:17:16 +02:00
Michael Mayer
8a063037e0 CLI: Revised descriptions of commands and configuration flags 2021-10-07 13:00:32 +02:00
Michael Mayer
874af1db61 CLI: Revised descriptions of commands and configuration flags 2021-10-07 11:43:43 +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
bf0153267d Logs: More consistent log format for commands 2021-10-02 15:34:41 +02:00
Michael Mayer
9a88d7fc6a Logs: Tweak messages and log levels for improved readability 2021-10-02 14:24:44 +02:00
Michael Mayer
4dd09f4502 People: Add "photoprism faces index" command for indexing faces only #22 2021-09-22 19:33:41 +02:00
Michael Mayer
55d502bbca Restore: Improve command flags and usage docs #1190 #1193 2021-04-20 08:40:39 +02:00
Michael Mayer
635053346f Backup: Always use TCP connection for MySQL #1034 2021-02-16 08:59:57 +01:00
Michael Mayer
449fb7a2c1 Backup and restore albums from YAML files #567 2020-12-17 18:24:55 +01:00
Michael Mayer
28880e682d Database: Improve config and SQL queries 2020-12-15 20:14:06 +01:00
Michael Mayer
8f80026b3e Database: Add restore command 2020-12-11 13:52:34 +01:00