Commit graph

276 commits

Author SHA1 Message Date
Michael Mayer c74fcbf282 People: Show real name instead of uid in logs #1438 #2182
Since caching all subject data proved too complex in the time available,
this implementation uses a simple key/value lookup table to cache
subject names and perform backward searches by uid.
2022-04-04 14:21:43 +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 4be948c774 Convert: Add --force flag to replace JPEGs in the sidecar folder #2214 2022-04-03 12:26:07 +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 a61470dfc7 Migrations: Implement "photoprism migrations ls" command #2216
Lists the status of migrations. Changed "migrate" to "migrations run".
2022-04-01 16:02:58 +02:00
Michael Mayer 9eda12ac20 Performance: Refactor database schema and UI components #995 #1438 #1811 2022-03-30 20:36:25 +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 736b03f87f WebDAV: Improve update and reset of remote connection errors #1781 2022-03-27 21:37:11 +02:00
Michael Mayer 3d9cb51641 Darktable: Set explicit cache and config path, log exact commands #2076 2022-03-02 12:20:02 +01: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 006b5bb704 Code Quality: Add "gofmt -w -s pkg internal cmd" to "make fmt-go"
gofmt formats Go source code, where -s stands for "simplify"
2022-01-08 12:12:00 +01:00
Michael Mayer f5b7ef834e Index: Prevent two primary files in photo stacks #1823 2022-01-06 14:33:49 +01:00
Michael Mayer d03e28d88e Backups: Rename YAML "backup" files to just YAML files #1887 2022-01-06 13:21:42 +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 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
Michael Mayer 3ae3fe29bc SQLite: Rename dialect constant to SQLite3 for consistency #319 #1791 2021-12-09 07:47:23 +01:00
Michael Mayer e7e1f0d3a6 CLI: Ask to delete cache folder when running reset command #1787 2021-12-02 14:30:50 +01:00
Michael Mayer d0a291a679 CLI: Remove "(optional)" from command argument help #1735
Should be clear enough like that.
2021-12-02 13:57:32 +01:00
Michael Mayer 333825f973 CLI: Replace [path] with [originals subfolder (optional)] in help #1735 2021-12-02 13:30:47 +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 7e8974fd20 MySQL 8: Improve migrate command, ignore errors when dropping indexes 2021-11-28 13:52:27 +01:00
Michael Mayer 9df31e2592 CLI: Update command descriptions, log messages and levels 2021-11-27 18:41:10 +01:00
Michael Mayer 34e1773595 PWA: Add square and glow app icons 2021-11-25 17:24:53 +01:00
Michael Mayer 62257dec5d Places: Refactor places update CLI command #1664 2021-11-22 11:27: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 cdd7df8e62 Database: Add manual schema migrations #319 2021-11-21 14:05:07 +01:00
Michael Mayer 0097da0b21 CLI: Improve "photoprism optimize" command help #1668 2021-11-20 19:25:57 +01:00
Michael Mayer 403eb0d71d Places: Remove unique label index and purge unused location infos #1664 2021-11-20 19:14:00 +01:00
Michael Mayer f29e675efa Albums: Toggle states and show country as location #1608 #1664 #1725 2021-11-18 13:13:48 +01:00
Michael Mayer 92ea5982d1 Places: Improve command description #1664 2021-11-18 04:02:10 +01:00
Michael Mayer 04cde0f392 Metadata: Add --force flag to optimize command #1736 2021-11-18 03:47:25 +01:00
Michael Mayer 9da2e92fb6 Metadata: Improve CLI command descriptions #1736 2021-11-18 03:02:10 +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 a354a17041 Auth: Normalize Username (trim space, lowercase) #1103 #1309 #1546 #1610 2021-11-12 09:10:15 +01:00
Michael Mayer c058c01770 People: Improve "photoprism places update" CLI command #1664 2021-11-12 06:32:58 +01:00
Michael Mayer bb9442e6c4 People: Add "photoprism places update" CLI command #1664 2021-11-12 05:09:17 +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
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
Michael Mayer b195b7e4f8 CLI: Improve moments / thumbs commands and flag descriptions 2021-10-06 08:31:35 +02:00
Michael Mayer a8213b8e68
Update thumbs.go 2021-10-06 07:16:06 +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