Commit graph

27 commits

Author SHA1 Message Date
Michael Mayer
be0fdc1774 Search: Add "scan:false" filter to find photos that are not scans
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-16 10:34:55 +02:00
graciousgrey
098255c741 Tests: Add unit tests 2023-07-27 16:09:23 +02:00
Michael Mayer
5041b7f211 Search: Enhance "geo" filter to find pictures without coordinates
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-29 18:35:02 +02:00
Michael Mayer
47defc861c API: Add sort order "random" to find a random set of photos
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-30 12:27:34 +01:00
Michael Mayer
4c516cac38 Auth: Rename database tables and delete temporary tables
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-02 22:09:02 +02:00
Michael Mayer
323d495840 Auth: Apply user rights and permissions in the search API
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-30 00:42:19 +02:00
Krassimir Valev
3badce1bc8 Photos: Search by city 2022-09-01 09:20:40 +03:00
Michael Mayer
d8e0364dbb Search: Ignore public album filter if "Private" feat is disabled
This needs to be very well tested and discussed, as these changes can
lead to private photos being accidentally published. Thank you!

Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-08-01 15:57:19 +02:00
theresa
e693fad8dc Tests: Add unit tests for camera and lens filter 2022-03-28 16:25:40 +02:00
theresa
50ae86aeb5 Tests: Refactor unit tests 2022-03-28 14:42:13 +02:00
theresa
5ebf9fd583 Tests: Add unit tests for photo search 2022-03-28 14:25:39 +02:00
Michael Mayer
9e640a7dc8 Search: Restore commented out test assertions
Adds comment "Needs review, variable number of results." instead.
2022-03-28 12:14:05 +02:00
Theresa Gresch
ca0c771826 Tests: Add unit tests for photo search 2022-03-28 11:28:42 +02:00
Michael Mayer
9d110e8b80 Search: Improve album, albums, lens, and camera filters
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
2636255c95 Search: Add uid:... search filter 2021-12-16 11:42:57 +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
3e6c7052bb Places: Refactor GeoJSON API endpoint 2021-11-26 13:59:10 +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
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
theresa
895d41cd61 People: Add unit tests 2021-09-20 14:05:44 +02:00
Michael Mayer
ed22f245db People: Add faces API endpoint & JS model 2021-09-18 15:32:39 +02:00
Renamed from internal/query/photo_search_test.go (Browse further)