Commit graph

4582 commits

Author SHA1 Message Date
Michael Mayer a8213b8e68
Update thumbs.go 2021-10-06 07:16:06 +02:00
jean-louis67 f0e7ebf2c6
Update French translation for People and Faces (#1585) 2021-10-06 07:12:49 +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 78fe4ff67b People: Use face ID as key #1576 #1594
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2021-10-06 03:20:24 +02:00
Michael Mayer 8f11410c5c People: Disable infinite scrolling on new faces page #1576 #1594
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2021-10-06 03:15:40 +02:00
Michael Mayer 3c118d8354 People: Sort recognized faces by photo count #22
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2021-10-06 03:01:57 +02:00
Michael Mayer 03bfd39b71 Index: Remove primary file flag from broken or missing files
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2021-10-06 02:59:27 +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 734b01bc34
Update flags.go 2021-10-06 01:44:58 +02:00
Michael Mayer 5c89b3f16a
Update flags.go 2021-10-06 01:36:14 +02:00
Michael Mayer 22f9d653fc CLI: Improve config flag help and change command order 2021-10-05 23:34:21 +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 a141665a6d Index: Reset file error when hash changes 2021-10-05 20:51:18 +02:00
Michael Mayer ee017cc841 Index: Remove debug log from query.ResetPhotoQuality() 2021-10-05 20:30:52 +02:00
Michael Mayer 7caf1fd549 Frontend: Remove warn log from file model 2021-10-05 20:30:11 +02:00
Michael Mayer 481f409601 Index: Ignore primary files with errors 2021-10-05 20:29:48 +02:00
Michael Mayer 4556250b49 People: Omit new faces without marker in search results #1576 2021-10-05 20:28:08 +02:00
theresa 08cca09f22 Frontend: Add unit tests 2021-10-05 19:20:03 +02:00
Michael Mayer 4f1ecb6ced People: Improve log messages #22 2021-10-05 19:06:05 +02:00
Michael Mayer 709c59d7d9 People: Improve faces audit report #22 2021-10-05 18:59:35 +02:00
Michael Mayer 7a7bb20fd1 Covers: Omit files with errors #383 2021-10-05 18:58:52 +02:00
Michael Mayer f7153cdd21 People: Improve logging, command help, and handling of broken files #22 2021-10-05 18:42:39 +02:00
theresa 00ced8137b Frontend: Fix bug in classes function in faces.js 2021-10-05 18:35:56 +02:00
theresa dcbfe39303 Frontend: Add unit tests 2021-10-05 18:35:20 +02:00
theresa 428491c537 Frontend: Remove unused function from album.js 2021-10-05 17:33:55 +02:00
theresa 9a374650d1 Tests: Add unit tests for frontend models 2021-10-05 17:33:12 +02:00
theresa 0208194aa7 Tests: Add unit tests for frontend 2021-10-05 16:36:44 +02:00
Michael Mayer 57aa8811fc People: Add additional face cluster config options #22 2021-10-05 10:12:48 +02:00
theresa 38cabca0ed Tests: Adapt tests to ux changes 2021-10-05 09:40:16 +02:00
Michael Mayer dae9ed9bb4 People: Improve config flag descriptions #22 2021-10-03 11:43:33 +02:00
Michael Mayer 2e6c907987 Logs: Improve purge log messages 2021-10-02 16:46:53 +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 8ebedf2f7d
Update README.md 2021-10-02 12:37:41 +02:00
Michael Mayer ac70e0f324 Labels: Improve photo count accuracy for MariaDB / MySQL users #584 2021-10-01 19:23:08 +02:00
Michael Mayer 98320235cb Backend: Update go.mod and go.sum 2021-10-01 17:32:40 +02:00
Michael Mayer 85e415858c Frontend: Update package-lock.json 2021-10-01 17:31:57 +02:00
Michael Mayer 39dc5cb777 Search: Strip file path and extension when filtering by name 2021-10-01 17:26:29 +02:00
Michael Mayer 74233809b9 Covers: Rename "preview images" to "cover thumbs" for consistency #383 2021-10-01 16:44:50 +02:00
Michael Mayer f6c18f7767 People: Count the number of photos for each subject #22
Also fixes issues with older versions of MariaDB, see #1544
2021-10-01 16:34:29 +02:00
Michael Mayer df038a1a3c Frontend: Update translations.pot #1579 2021-10-01 15:31:54 +02:00
jean-louis67 54f682e6d9
Additional french translations for People/Visage feature (#1579) 2021-10-01 15:28:18 +02:00
Michael Mayer 9056aad27d Covers: Improve update queries #383 2021-10-01 15:25:16 +02:00
Michael Mayer 6269632752 People: Merge French translation #22 2021-10-01 14:15:26 +02:00
jean-louis67 da9c08209d
French traduction for People and face detection (#1489) 2021-10-01 14:10:59 +02:00