Commit graph

426 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 35ac1e730c Docs: Update URL 2021-12-12 20:48:05 +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 9f3ebf671f SQLite: Reduce routine index maintenance log levels #1791 2021-12-09 07:41:07 +01:00
Michael Mayer 1b583e071e People: Add mutex so changes don't get processed concurrently 2021-12-09 02:33:41 +01:00
Michael Mayer 3e6c7052bb Places: Refactor GeoJSON API endpoint 2021-11-26 13:59:10 +01:00
Michael Mayer a0c70941de Albums: Return error when removing duplicate moments fails 2021-11-24 17:58:08 +01:00
Michael Mayer eafa00c54f Albums: Remove duplicate moments 2021-11-24 17:51:39 +01:00
Michael Mayer cdd7df8e62 Database: Add manual schema migrations #319 2021-11-21 14:05:07 +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 73ffa53397 Metadata: Perform less frequent estimates to reduce server load #1736 2021-11-18 02:23:25 +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 bb9442e6c4 People: Add "photoprism places update" CLI command #1664 2021-11-12 05:09:17 +01:00
Michael Mayer 6c02ee2512 Places: Improve state name normalization #1664 2021-11-11 16:00:42 +01:00
Michael Mayer e4fd294689 Places: Normalize US & CA state names #1664 2021-11-09 11:42:10 +01:00
theresa 370305cbeb Tests: Add unit tests 2021-10-22 16:03:50 +02:00
Michael Mayer 767e3ca492 People: Hide person from people and new faces overviews #1554 2021-10-06 15:27:17 +02:00
Michael Mayer 07ae9b83f4 Backend: Add index update mutex to reduce database locking 2021-10-06 11:50:48 +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 de63227767 CLI: Update help texts for commands and flags 2021-10-05 22:33:29 +02:00
Michael Mayer ee017cc841 Index: Remove debug log from query.ResetPhotoQuality() 2021-10-05 20:30:52 +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
Michael Mayer 2e6c907987 Logs: Improve purge log messages 2021-10-02 16:46:53 +02:00
Michael Mayer 9a88d7fc6a Logs: Tweak messages and log levels for improved readability 2021-10-02 14:24:44 +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 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 9056aad27d Covers: Improve update queries #383 2021-10-01 15:25:16 +02:00
Michael Mayer e50ede6368 Covers: Improve performance of update queries #383 2021-10-01 00:05:49 +02:00
Michael Mayer 0199cab12d Index: Improve comments and log messages #1559 2021-09-30 16:11:45 +02:00
Michael Mayer 0d772c4dc3 Index: Purge orphan file entries #1559 2021-09-30 15:50:10 +02:00
Michael Mayer 582a330837 People: Add embeddings blacklist to reduce false positives #22 2021-09-30 13:44:23 +02:00
Michael Mayer 24eff21aa4 Search: Default to photo names and keywords #1517 #1560
Default to photo name when search term is too short or on the stop list.
Search full text index otherwise, which now include names of people
(requires reindexing).
2021-09-29 20:09:34 +02:00
Michael Mayer 771bcb1582 MariaDB: Improve queries and logs for MDEV-25362 bug #1544 2021-09-24 22:46:03 +02:00
Michael Mayer f23d288380 Index: Replace changed file hashes and remove orphan markers 2021-09-24 13:13:59 +02:00
Michael Mayer eb8bc7b709 Backend: Improve resilience #1544 2021-09-23 23:46:17 +02:00
Michael Mayer 7767d0c892 People: Update photo and file counts after faces have been updated #22 2021-09-23 16:06:59 +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 8882cf0c61 People: Tweak face detection thresholds #22 2021-09-21 11:03:07 +02:00
Michael Mayer 11f7e76ca3 People: Remove orphan face crop thumbnails #22 2021-09-21 08:56:35 +02:00
Michael Mayer 8e5a97ed4a People: Simplify thumbnail API for face crops #22 2021-09-20 16:17:10 +02:00
Michael Mayer 6c555457a0 People: Improve face thumbnail selection #22 2021-09-19 15:59:29 +02:00
Michael Mayer e82533cdf0 People: Add unknown faces overview page #22 2021-09-18 20:41:30 +02:00
Michael Mayer ed22f245db People: Add faces API endpoint & JS model #22 2021-09-18 15:32:39 +02:00
Michael Mayer 8492efebcf People: Improve face thumbnails on overview page #22 2021-09-17 18:51:24 +02:00
Michael Mayer 6bcfb29fa2 Labels: Show photo count #584 #1444 2021-09-17 16:13:47 +02:00
Michael Mayer 0f90258ef9 Search: Omit full text index if query is too short #1517 2021-09-17 15:52:25 +02:00
Michael Mayer ece15c6ade People: Add overview page with search and context menu #22 2021-09-17 14:26:12 +02:00
Michael Mayer 6d30419b35 Search: Add "at" as an alias for "and" #22 2021-09-06 16:07:29 +02:00
Michael Mayer d51aa86f0d Search: Add "in" as an alias for "and" #22 2021-09-06 15:59:38 +02:00
Michael Mayer 4a6b0baacf Search: Add "with" as an alias for "and" #22 2021-09-06 15:54:38 +02:00
Michael Mayer ed89552631 People: Add "people" search alias for "faces" #22 2021-09-06 15:42:30 +02:00
Michael Mayer 960fce2933 People: Improve searching for names #22 2021-09-06 14:16:46 +02:00
Michael Mayer afcf78efe2 Calendar: Update albums_test.go #1456 2021-09-06 11:22:44 +02:00
Michael Mayer 92748180c1 Calendar: Improve hiding empty months #1456 2021-09-06 11:19:18 +02:00
Michael Mayer b853317cdf People: Tweak face clustering parameters #22 2021-09-06 03:24:11 +02:00
Michael Mayer 29ed7168d1 People: Sort subject names by file count and add new to the top #22 2021-09-05 22:32:24 +02:00
Michael Mayer bd8f8b1ddb People: Remove review flag from markers with recognized faces #22 2021-09-05 21:34:51 +02:00
Michael Mayer 9ba396e50f Search: Detect and set filters based on search terms
Reduces the amount of typing necessary to search for faces, videos,
favorites, stacks, panoramas, scans, and monochrome pictures.
2021-09-03 20:14:11 +02:00
Michael Mayer 6ad1fffd77 People: Fix typo in previews.go #22 2021-09-03 16:15:43 +02:00
Michael Mayer c520cb4ee4 People: Add autocomplete for selecting a person #22 2021-09-03 16:14:09 +02:00
theresa c61a0f7d0e Tests: Add unit tests 2021-09-02 17:44:27 +02:00
Michael Mayer 97af133763 People: Add subjects API #22 2021-09-02 16:12:31 +02:00
Michael Mayer 69014e8216 People: Switch to UIDs for marker API and entity #22 2021-09-01 20:46:15 +02:00
Michael Mayer fd785faf68 People: Automatically resolve face cluster collisions #22 2021-09-01 12:48:17 +02:00
Michael Mayer a2ff0477c9 People: Fix face cluster optimization #22 2021-08-31 20:08:53 +02:00
theresa e5bfa6d78e Tests: Add unit tests 2021-08-31 17:18:48 +02:00
theresa bf2d4ceb43 Tests: Add unit tests 2021-08-31 16:33:55 +02:00
Michael Mayer 86f8bf58a7 People: Improve MergeFaces() resilience and logging #22 2021-08-31 15:33:42 +02:00
Michael Mayer bc3036599b People: Refactor album, subject, and label previews #22 2021-08-30 18:58:27 +02:00
theresa 052ff011ac People: Add unit tests #22 2021-08-30 17:20:39 +02:00
theresa fb5cf1b9c0 People: Add unit tests #22 2021-08-30 13:40:14 +02:00
Michael Mayer 38eadb095e People: Default to AND search for subject names #22 #882 2021-08-30 11:56:34 +02:00
Michael Mayer c0a21045fb People: Improve search query parser #22 #882 2021-08-30 11:26:57 +02:00
Michael Mayer f5fc97be27 Calendar: Automatically toggle visibility of months #1456 2021-08-29 19:54:50 +02:00
Michael Mayer cbf604b477 People: Lower wildcard threshold for subject and keyword search #22 #882 2021-08-29 19:19:54 +02:00
Michael Mayer 11d1034752 People: Add keywords, subjects, and albums search filters #22 #882 2021-08-29 16:16:49 +02:00
Michael Mayer d198a056a7 People: Improve face matching performance and accuracy #22
By default, matching is now limited to unmatched faces and markers.
2021-08-29 13:26:05 +02:00
Michael Mayer ee7fbef4b5 People: Improve "faces audit" command #22 2021-08-28 17:27:37 +02:00
Michael Mayer 0503011f87 People: Add "faces audit" command #22 2021-08-28 15:26:26 +02:00
theresa 3bdabdedef People: Add fixtures unit tests #22 2021-08-27 15:33:06 +02:00
Michael Mayer 06835a3c5c People: Optimize face clustering and matching #22 2021-08-24 20:15:36 +02:00
Michael Mayer 3fc7b1b523 People: Match faces less often by default #22 2021-08-24 15:20:05 +02:00
Michael Mayer 03cdc8bb7d People: Improve edit UI and stability #22 2021-08-24 14:27:34 +02:00
Michael Mayer fefe70f9a4 People: Improve face clustering and matching #22 2021-08-23 16:22:01 +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 d88d9b3781 People: Add API endpoint for removing marker subject associations #22 2021-08-21 16:36:00 +02:00
Michael Mayer 4d915af2b5 Auth: Remove DeleteUserByName() #98 2021-08-20 00:13:49 +02:00
Michael Mayer fa8e02b430 Auth: Refactor user management commands #98 2021-08-20 00:10:26 +02:00
Michael Mayer 5cec098524 People: Improve face matching #22 2021-08-19 23:12:51 +02:00
Michael Mayer 885024d592 People: Improve face clustering and indexing #22 2021-08-19 21:12:38 +02:00
Timo Volkmann da7e4fbc97 Auth: Refactor user entity functions #98 2021-08-18 20:18:39 +02:00
Michael Mayer 6a450c463e People: Add PhotoUID to Subject entity #22 2021-08-18 11:33:23 +02:00
theresa 48c1bd5e43 Tests: Adapt test to fixture updates 2021-08-17 17:26:47 +02:00
theresa 41f0e08ba6 Tests: Adapt tests to updated fixtures 2021-08-16 17:15:06 +02:00