Commit graph

67 commits

Author SHA1 Message Date
Theresa Gresch
ca0c771826 Tests: Add unit tests for photo search 2022-03-28 11:28:42 +02:00
Michael Mayer
e77a029f13 Search: Improve input sanitation and filter queries #1994 #2079 #2181 2022-03-25 18:01:34 +01:00
Michael Mayer
0e7fec1cec Albums: Shorten title and slug to avoid "data too long" error #2181
Related GitHub Discussions:
 - https://github.com/photoprism/photoprism/discussions/2151
 - https://github.com/photoprism/photoprism/discussions/2179
2022-03-24 21:46:25 +01:00
Michael Mayer
9d110e8b80 Search: Improve album, albums, lens, and camera filters #1994 #2079
Camera and lens can now also be searched by name. Escaping and parsing
of albums has been improved so that albums whose names start with and/or
contain numbers will be found.
2022-03-24 18:30:59 +01: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
c256664a1b WebDAV: Fix upload of complete albums #1376 2022-02-27 17:32:54 +01:00
Michael Mayer
c853b3cd2d Backend: Shorten source file headers and normalize email addresses 2022-02-21 15:30:18 +01:00
Michael Mayer
6c4fc42415 API: Add Explicit Cache Header for Existing Thumbs #822 2022-02-20 17:36:51 +01:00
Michael Mayer
ff41a94051 Search: Fix query string substitutions and sanitation #1930 2022-01-17 16:07:31 +01:00
Michael Mayer
c5301a681d Search: Do not exclude stopwords when "keywords:" filter is used #1859 2022-01-05 18:51:18 +01:00
Michael Mayer
39df843751 Search: Increase query result limit from 10000 to 25000 2022-01-05 16:48:32 +01:00
Michael Mayer
8efe473d30 Copyright: Update year in source files and footer.vue 2022-01-03 13:46:52 +01:00
Michael Mayer
e858a34f3e Search: Return empty result if keywords contain stopwords only #1859 2022-01-03 13:30:34 +01:00
Michael Mayer
5f229ecb53 Albums: Exclude private pictures from downloads #1836 2022-01-03 12:51:59 +01:00
Michael Mayer
e8a1e85f14 Search: Improve query string normalization and sanitation #1814 #1820 2021-12-16 15:26:54 +01:00
Michael Mayer
2636255c95 Search: Add uid:... search filter #1820 2021-12-16 11:42:57 +01:00
Michael Mayer
2dedbb83dc Sanitize: Add name, query, state, and username filters #1814 2021-12-15 12:24:05 +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
35ac1e730c Docs: Update URL 2021-12-12 20:48:05 +01:00
Michael Mayer
8c7037175a Videos: Move Live Photos page to "Videos" sub-navigation #1761
As requested, live photos are not included in video search
results anymore until we find a better solution.
2021-11-30 15:38:24 +01:00
Michael Mayer
19bb0aa21e Videos: Include Live Photos in Search Results #1761 2021-11-30 12:37:43 +01:00
Michael Mayer
4e8b9e79e2 Albums: Code clean-up #1777 2021-11-29 15:04:13 +01:00
Michael Mayer
981379c2e7 Albums: Update albums_test.go #1777 2021-11-29 14:55:06 +01:00
Michael Mayer
f71aa17047 Albums: Sort regular albums by name on overview page #1777 2021-11-29 14:48:42 +01:00
Michael Mayer
f8d64daf00 Places: Reduce GeoJON response size 2021-11-27 09:30:29 +01:00
Michael Mayer
1eca490f74 Places: Fix sort order when searching for nearby pictures 2021-11-27 00:16:19 +01:00
Michael Mayer
9e5861bef5 Places: Always load viewer contents from API and format ISO date 2021-11-26 22:32:13 +01:00
Michael Mayer
1652f0b033 Places: Reduce viewer JSON response size 2021-11-26 21:26:44 +01:00
Michael Mayer
6c51049bf7 Places: Change sort order for showing nearby photos in viewer 2021-11-26 21:24:12 +01:00
Michael Mayer
2d350c190f Places: Only show nearby photos in viewer if > 50 results on map 2021-11-26 21:10:52 +01:00
Michael Mayer
650817a9e0 API: Add prefix to the source filename of search request handlers
Finding the right code is easier when the name matches related
functionality in other packages.
2021-11-26 14:28:50 +01:00
Michael Mayer
3e6c7052bb Places: Refactor GeoJSON API endpoint 2021-11-26 13:59:10 +01:00
Michael Mayer
06c23b0cb3 Places: Sort States by Country Name and Title #1608 #1740 2021-11-20 16:36:34 +01:00
Michael Mayer
fdd658687b Folders: Include Path in Search #1737 2021-11-18 12:54:26 +01:00
Michael Mayer
c48310f077 Albums: Improve state geodata and sort by country #1608 #1664 2021-11-18 00:46:34 +01:00
theresa
244aaaa3e7 Tests: Add unit tests 2021-10-22 18:00:09 +02:00
theresa
370305cbeb Tests: Add unit tests 2021-10-22 16:03:50 +02:00
Michael Mayer
25a954d568 Search: Add live and raw search filters, improve faces filter #22 2021-10-13 16:12:56 +02:00
Michael Mayer
1e73eedd7c Search: Apply same search filter for "faces:new" and "face:new" #22 2021-10-12 14:31:27 +02:00
Michael Mayer
2a119380a7 Folders: Ignore names listed in .ppignore #1609 2021-10-09 13:57:28 +02:00
Michael Mayer
f3e8d379b4 People: Remove query length threshold when searching for names #22 2021-10-09 11:35:36 +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
444c94bf9e People: Improve performance & add counter to new faces page #1576 #1594 2021-10-06 11:19:07 +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
4556250b49 People: Omit new faces without marker in search results #1576 2021-10-05 20:28:08 +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
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
e50ede6368 Covers: Improve performance of update queries #383 2021-10-01 00:05:49 +02:00
Michael Mayer
a3e8457ad5 Search: Use photo title as fallback #1517 #1560 2021-09-29 22:57:26 +02:00