Commit graph

59 commits

Author SHA1 Message Date
Michael Mayer a92653d4f2 Places: Refactor cluster view overlay and backend API #1187 #3657
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-19 22:03:40 +02:00
Michael Mayer 7197d6b651 Search: Group stacked files with same diff when sorting by similarity.
Diff is a perceptual differential hash. Grouping by photo ID should
prevent stacks of related files from being split in search results.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-04 12:28:41 +02:00
Michael Mayer 20d20c7fa9 Search: Allow searching for favorite:false to find other pictures
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-09-01 20:30:54 +02:00
Michael Mayer be0fdc1774 Search: Add "scan:false" filter to find photos that are not scans #3589
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-08-16 10:34:55 +02:00
Heiko Mathes 60d280430e
Places: Add Cluster View (#2596)
* enable clustering on all zoom levels

* add latmin, latmax, lngmin and lngmax to search api

* open prefiltered search when clicking a cluster on the map

* start moving places pictures to overlay

* update scrollbar hide todo comment

* add todo comments for cluster view

* start implementing possitbility to close cluster view via back button

* move selected cluster to single query param

* improve back-navigation of cluster-view

* remove outdated comment

* start showing preview-images in clusters

* cleanup some cluster-code in places

* use rounded squares instead of circles so more from the image can be seen

* try improving map visibility by adding borders

* add counter bubble to places view

* remove obsolete comment

* remove console.log

* add todo comment to fix search on cluster-view open

* fix closing a cluster resetting the places-filter

* prevent old cluster markers from being visible while zooming

* prevent cluster-previews from being smaller than single-image-previews

* make cluster-preview-images fill the whole available area and scale them to their bounding box

* increase clusterRadius to reduce likelyhood of clusters colliding on the map

* update obsolete todo comment

* try making cluster view look less broken for small clusters. elements in photo-view use block-relative percentages based on viewport-relative media queries

* remove seemingly unrequired code

* fix cluster view after "pages"-components moved to "page" (singular)
2023-07-24 10:12:22 +02:00
Michael Mayer 5041b7f211 Search: Enhance "geo" filter to find pictures without coordinates #3493
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-06-29 18:35:02 +02:00
Michael Mayer eaff0abb6d Videos: Index and display durations of less than one second #3224
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-22 16:33:33 +01:00
Michael Mayer 7af3e41118 Search: Ignore sepia pictures when using the "mono" filter #596 #2657
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-21 10:47:15 +01:00
Michael Mayer 43d6a5e193 Auth: Improve user entity model and add unit tests #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-20 15:54:33 +01:00
Michael Mayer 97c9962053 Index: Add experimental EPS and SVG vector graphics support #1177 #2207
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-02-11 20:18:04 +01:00
Michael Mayer 47defc861c API: Add sort order "random" to find a random set of photos #153
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-30 12:27:34 +01:00
Michael Mayer 449f9f8b83 Search: Ignore deleted albums when using the "unsorted" filter #3051
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-01-02 18:43:18 +01:00
Michael Mayer b38dac8e8c Search: Find pictures by Exif UID, XMP Document ID or Instance ID #3035
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-12-28 17:50:08 +01:00
Michael Mayer ac84dce3aa Search: Add sort by "File Size" #2620
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-24 12:56:17 +02:00
Michael Mayer 3d3b1f10c4 Sharing: Allow to search for photos in shared albums
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-07 21:35:01 +02:00
Michael Mayer 4c516cac38 Auth: Rename database tables and delete temporary tables #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-02 22:09:02 +02:00
Michael Mayer 6e74f16a77 Auth: Open album share links in the regular user interface #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-10-02 11:38:30 +02:00
Michael Mayer 4f425790ab Auth: Remember ownership of uploaded photos and albums #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-30 19:15:10 +02:00
Michael Mayer 323d495840 Auth: Apply user rights and permissions in the search API #98 #782
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-30 00:42:19 +02:00
Michael Mayer f5a8c5a45d Auth: Session and ACL enhancements #98 #1746
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-09-28 09:01:17 +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 #2570
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
Michael Mayer 4f8e7c131a WebDAV: Upload of videos, RAWs, moments, months, and states #2293 2022-05-16 23:59:28 +02:00
Michael Mayer 92e6c4fe1e Download: Add Disabled, Originals, MediaRaw & MediaSidecar Flags #2234
Extends DownloadSettings with 4 additional options:
- Name: File name pattern for downloaded files (existed)
- Disabled: Disables downloads
- Originals: Only download files stored in "originals" folder
- MediaRaw: Include RAW image files
- MediaSidecar: Include metadata sidecar files (JSON, XMP, YAML)
2022-04-15 09:42:07 +02:00
Michael Mayer ea3e7f179e UX: Improve Search Navigation and Components, add GIF Symbol #590 #1438 2022-04-14 14:13:54 +02:00
Michael Mayer b3113e006f Search: Add vector, animated, svg, and gif filters #590 #2207 2022-04-14 08:39:52 +02:00
Michael Mayer 82d61d1f93 File Types: Add experimental support for animated GIFs #590 #2207
Animated GIFs are transcoded to AVC because it is much smaller and
thus also suitable for long/large animations. In addition, this commit
adds support for more metadata fields such as frame rate, number of
frames, file capture timestamp (unix milliseconds), media type,
and software version. Support for SVG files can later be implemented in
a similar way.
2022-04-13 22:17:59 +02:00
Michael Mayer 7291c1d703 Search: Add landscape/square filters, and "show filters" command #2169 2022-04-13 09:48:51 +02:00
Michael Mayer 0838a71e6e Search: Rename source code file names in search package #1994
Improves readability and maintainability.
2022-04-03 09:45:05 +02:00
Michael Mayer a5f948d68a Search: Improve filter value parsing and update tests #1994 2022-04-02 22:23:38 +02:00
Michael Mayer 9eda12ac20 Performance: Refactor database schema and UI components #995 #1438 #1811 2022-03-30 20:36:25 +02:00
Michael Mayer 686a8ab9b4 Search: Refactor photo search, fix test data and unit tests #1994 2022-03-29 00:21:50 +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 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 c5301a681d Search: Do not exclude stopwords when "keywords:" filter is used #1859 2022-01-05 18:51:18 +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 9a8144c046 Log4j: Sanitize user input in logs like filenames and album titles #1814 2021-12-14 17:07:38 +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 3e6c7052bb Places: Refactor GeoJSON API endpoint 2021-11-26 13:59:10 +01: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 39dc5cb777 Search: Strip file path and extension when filtering by name 2021-10-01 17:26: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
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