Commit graph

310 commits

Author SHA1 Message Date
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
Michael Mayer fc4792d700
Update users.go 2021-10-06 02:04:58 +02:00
Michael Mayer 029e30f6b6
Update faces.go 2021-10-06 02:04:32 +02:00
Michael Mayer 53e7396ebc
Update thumbs.go 2021-10-06 01:58:59 +02:00
Michael Mayer 28268369b5 CLI: Improve help for cp, mv, thumbs, status, and optimize commands 2021-10-05 23:13:06 +02:00
Michael Mayer a5c2794611 CLI: Improve help for purge command 2021-10-05 22:44:27 +02:00
Michael Mayer de63227767 CLI: Update help texts for commands and flags 2021-10-05 22:33:29 +02:00
Michael Mayer 4f1ecb6ced People: Improve log messages #22 2021-10-05 19:06:05 +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 bf0153267d Logs: More consistent log format for commands 2021-10-02 15:34:41 +02:00
Michael Mayer de737a6eef Logs: Always put time in brackets 2021-10-02 15:19:11 +02:00
Michael Mayer 9a88d7fc6a Logs: Tweak messages and log levels for improved readability 2021-10-02 14:24:44 +02:00
Michael Mayer 0fbd44c282 Index: Make command test more resilient 2021-10-01 00:25:31 +02:00
Michael Mayer e50ede6368 Covers: Improve performance of update queries #383 2021-10-01 00:05:49 +02:00
Michael Mayer 0d772c4dc3 Index: Purge orphan file entries #1559 2021-09-30 15:50:10 +02:00
Michael Mayer f23d288380 Index: Replace changed file hashes and remove orphan markers 2021-09-24 13:13:59 +02:00
Michael Mayer a1822f9b19 Config: Add options to disable classification and/or facial recognition 2021-09-24 01:53:42 +02:00
Michael Mayer b4bcfe499c People: Add min face size config option #22 2021-09-23 13:47:18 +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 4dd09f4502 People: Add "photoprism faces index" command for indexing faces only #22 2021-09-22 19:33:41 +02:00
Michael Mayer b081f27e17 RAW: Add File Extension Blacklists for Darktable and RawTherapee #1362 2021-09-21 15:33:46 +02:00
Michael Mayer 6503008cc0
People: Prepare for release #22 (#1541) 2021-09-21 12:11:51 +02:00
Michael Mayer cdde0c5d84 People: Optimize face crop quality by using larger thumbs #22 2021-09-05 19:10:44 +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 c520cb4ee4 People: Add autocomplete for selecting a person #22 2021-09-03 16:14:09 +02:00
Michael Mayer 199d713312 People: Rename "faces audit" command to "faces update" #22 2021-08-28 17:32:26 +02:00
Michael Mayer 0503011f87 People: Add "faces audit" command #22 2021-08-28 15:26:26 +02:00
Timo Volkmann 1bcdd4c6b1 Auth: Improve users update cli description #98 2021-08-24 18:17:03 +02:00
Timo Volkmann 8facd101f6 Auth: Use promptui in user add command #98 2021-08-23 11:05:42 +02:00
Michael Mayer 981c51f977 People: Optimize manually clustered faces #22 2021-08-22 21:06:44 +02:00
Michael Mayer 2e85b3cccd People: Split facial recognition into smaller functions #22
Clustering and matching have been improved along the way. This opens
the door for further optimizations while keeping the code readable.
2021-08-22 16:14:34 +02:00
Michael Mayer fa8e02b430 Auth: Refactor user management commands #98 2021-08-20 00:10:26 +02:00
Timo Volkmann 7fbe1a6614 Auth: Modify users email now works properly #98 2021-08-19 15:53:23 +02:00
Timo Volkmann 80d6fc3d1d Auth: Add CLI commands for user management #98 2021-08-18 20:19:14 +02:00
Michael Mayer da94e9ed0f People: Refactor faces worker and related entities #22 2021-08-16 00:29:36 +02:00
Michael Mayer 494dea4880 People: Add "photoprism faces reset" command #22 2021-08-15 14:14:27 +02:00
Michael Mayer 42027962aa People: Add face clustering and matching to meta worker #22 2021-08-14 14:24:48 +02:00
Michael Mayer 33905d95b9 People: Update faces command help text #22 2021-08-13 21:51:25 +02:00
Michael Mayer a974b3a7ea People: Improve Facial Recognition Accuracy, Command, and UI #22
Work in progress. Performed refactoring along the way.
2021-08-13 20:04:59 +02:00
Michael Mayer 1fc4ef123b People: Add face clustering worker #22
Work in progress. No performance optimizations yet.
2021-08-12 04:54:20 +02:00
Michael Mayer c87d5da2e3 Config: Add CDN URL option #425 #1351 2021-07-05 16:41:43 +02:00
Michael Mayer f0b627b8f6 Config: Rename DarktablePresets to RawPresets #1245 2021-05-01 10:25:34 +02:00
Michael Mayer f87c9c01da Config: Add options to disable specific image / video converters #1245 2021-04-30 14:24:01 +02:00
Michael Mayer 180e46b95f Frontend: Add Yellowstone theme, unlock Grayscale for everyone 2021-04-26 12:37:52 +02:00
Michael Mayer cd63d33bc1 Convert: Pass sub folder as first argument to limit scope #1081
see https://github.com/photoprism/photoprism/discussions/1081
2021-04-20 08:54:44 +02:00
Michael Mayer 55d502bbca Restore: Improve command flags and usage docs #1190 #1193 2021-04-20 08:40:39 +02:00
Michael Mayer fd078fe323 Backup: Improve command usage docs #1190 #1193 2021-04-19 13:54:38 +02:00
Michael Mayer 7de3713024 Backup: Improve command flags and usage docs #1190 #1193 2021-04-19 13:48:46 +02:00
Kyle Roth 17600e5259
docs(backup): add usage text to describe argument (#1193) 2021-04-19 11:25:45 +02:00
Michael Mayer 4903936839 Video: Add ffmpeg-bitrate config option #703 2021-02-17 18:19:52 +01:00
Michael Mayer 4939e36ac6 Video: Update docker-compose.yml ARM64 example #703
Renamed PHOTOPRISM_FFMPEG_CODEC to PHOTOPRISM_FFMPEG_ENCODER as well.
Log level for errors has been increased to warn.
2021-02-16 11:40:40 +01:00
Michael Mayer f77d9062a2 Video: Add ffmpeg-buffers to config command output #703 2021-02-16 09:02:34 +01:00
Michael Mayer 635053346f Backup: Always use TCP connection for MySQL #1034 2021-02-16 08:59:57 +01:00
Michael Mayer aacb524f1e Add video transcoding support to convert command #703 2021-02-11 21:37:44 +01:00
Michael Mayer 45272cd2f5 Videos: Add ffmpeg-codec config parameter #703 2021-02-11 20:22:00 +01:00
Michael Mayer 1bfb2e1774 Index: Improve save / update functions, remove orphans 2021-02-06 16:30:30 +01:00
Michael Mayer e04f0f937f Add cleanup command that removes orphaned thumbnails and index entries 2021-01-24 17:46:18 +01:00
Krassimir Valev 791fbe683c
Remove database DSN from photoprism config (#922) 2021-01-19 21:29:01 +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 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 8cfabe3205 Metadata: Cache ExifTool JSON by original file hash #755 #759 2020-12-30 13:33:47 +01:00
Michael Mayer 51c36e3fe4 Config: Update command flag help 2020-12-21 15:00:18 +01:00
Michael Mayer 30231ccc74 Albums: Remove YAML backup files when running photoprism reset 2020-12-21 14:05:02 +01:00
Michael Mayer 12cb89eca5 Stacks: Use "Stackable" int8 instead of "Unstacked" bool #616 #667 2020-12-19 19:15:32 +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