Commit graph

60 commits

Author SHA1 Message Date
Michael Mayer
6c4fc42415 API: Add Explicit Cache Header for Existing Thumbs 2022-02-20 17:36:51 +01:00
Michael Mayer
ff41a94051 Search: Fix query string substitutions and sanitation 2022-01-17 16:07:31 +01:00
Michael Mayer
c5301a681d Search: Do not exclude stopwords when "keywords:" filter is used 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 2022-01-03 13:30:34 +01:00
Michael Mayer
5f229ecb53 Albums: Exclude private pictures from downloads 2022-01-03 12:51:59 +01:00
Michael Mayer
e8a1e85f14 Search: Improve query string normalization and sanitation 2021-12-16 15:26:54 +01:00
Michael Mayer
2636255c95 Search: Add uid:... search filter 2021-12-16 11:42:57 +01:00
Michael Mayer
2dedbb83dc Sanitize: Add name, query, state, and username filters 2021-12-15 12:24:05 +01:00
Michael Mayer
0f0c0aaa0b API: Improve path and filename parameter sanitation 2021-12-14 20:01:39 +01:00
Michael Mayer
9a8144c046 Log4j: Sanitize user input in logs like filenames and album titles 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
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 2021-11-30 12:37:43 +01:00
Michael Mayer
4e8b9e79e2 Albums: Code clean-up 2021-11-29 15:04:13 +01:00
Michael Mayer
981379c2e7 Albums: Update albums_test.go 2021-11-29 14:55:06 +01:00
Michael Mayer
f71aa17047 Albums: Sort regular albums by name on overview page 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 2021-11-20 16:36:34 +01:00
Michael Mayer
fdd658687b Folders: Include Path in Search 2021-11-18 12:54:26 +01:00
Michael Mayer
c48310f077 Albums: Improve state geodata and sort by country 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 2021-10-13 16:12:56 +02:00
Michael Mayer
1e73eedd7c Search: Apply same search filter for "faces:new" and "face:new" 2021-10-12 14:31:27 +02:00
Michael Mayer
2a119380a7 Folders: Ignore names listed in .ppignore 2021-10-09 13:57:28 +02:00
Michael Mayer
f3e8d379b4 People: Remove query length threshold when searching for names 2021-10-09 11:35:36 +02:00
Michael Mayer
767e3ca492 People: Hide person from people and new faces overviews 2021-10-06 15:27:17 +02:00
Michael Mayer
444c94bf9e People: Improve performance & add counter to new faces page 2021-10-06 11:19:07 +02:00
Michael Mayer
3c118d8354 People: Sort recognized faces by photo count
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 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
Also fixes issues with older versions of MariaDB, see 
2021-10-01 16:34:29 +02:00
Michael Mayer
e50ede6368 Covers: Improve performance of update queries 2021-10-01 00:05:49 +02:00
Michael Mayer
a3e8457ad5 Search: Use photo title as fallback 2021-09-29 22:57:26 +02:00
Michael Mayer
24eff21aa4 Search: Default to photo names and keywords
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
eb8bc7b709 Backend: Improve resilience 2021-09-23 23:46:17 +02:00
Michael Mayer
3c3b19aa8e People: Add search filter for finding unclustered faces 2021-09-23 14:23:00 +02:00
theresa
562f74ac21 Tests: Add unit tests 2021-09-21 11:04:48 +02:00
Michael Mayer
070efcbc66 Search: Improve "year", "month", and "day" filters 2021-09-20 23:32:35 +02:00
Michael Mayer
a66de2e822 Search: Improve "album" and "albums" filter 2021-09-20 22:58:11 +02:00
Michael Mayer
b5964ffd38 Search: Improve "keywords" filter 2021-09-20 22:39:29 +02:00