Commit graph

176 commits

Author SHA1 Message Date
Michael Mayer 5ec90a5fff Index: Skip redundant thumbs and support symbolic file links #1049 #1874
Signed-off-by: Michael Mayer <michael@photoprism.app>
2022-07-06 23:01:54 +02:00
Michael Mayer b6d32f828b Search: Increase max number of results from 25k to 100k #2433 2022-06-21 11:50:53 +02:00
Michael Mayer 23fd9ae731 Colors: Use int16 instead of int8 to avoid (de)serialization issues 2022-06-16 06:30:59 +02:00
Michael Mayer 8af69b81f2 Search: Omit files with unknown Chroma when using mono:true filter #2341 2022-05-21 18:12:08 +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 e59041e93f Backend: Update Go package descriptions to improve generated docs
see https://pkg.go.dev/github.com/photoprism/photoprism
2022-04-25 09:53:55 +02:00
Michael Mayer 8638929d84 Config: Automatically generate command-flag docs #1017 #2195 #2227 #2250 2022-04-22 17:38:40 +02:00
theresa 0c345d4426 Tests: Update photo fixtures 2022-04-22 10:48:07 +02:00
theresa 16c2db9872 Tests: Correct portrait value for file fixtures 2022-04-22 10:20:15 +02:00
Michael Mayer 94b4173cf9 Search: Fix files.time_index generation on SQLite #2265 2022-04-21 19:47:16 +02:00
theresa b1216fd174 Tests: Add unit tests for search 2022-04-21 17:08:11 +02:00
theresa 1d3284f1a9 Tests: Add unit tests for geo search 2022-04-21 15:27:59 +02:00
theresa 8b96c0cb2e Tests: Add unit tests for geo search 2022-04-21 13:53:15 +02:00
theresa 1f31723095 Tests: Add unit tests for search 2022-04-20 14:49:18 +02:00
theresa bc838fd92d Tests: Add unit tests for landscape and square search filters #2169 2022-04-20 14:48:55 +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
theresa 1431d54af0 Tests: Refactor unit tests 2022-04-04 13:40:56 +02:00
theresa fe639e1ec6 Tests: Refactor unit tests 2022-04-04 11:41:04 +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 aa8f99bb1a Search: Remove invalid tests from photos_filter_day_test.go #1994 2022-04-02 22:33:18 +02:00
Michael Mayer 85b8ed604b Search: Update photos_filter_name_test.go #1994 2022-04-02 22:28:54 +02:00
Michael Mayer a5f948d68a Search: Improve filter value parsing and update tests #1994 2022-04-02 22:23:38 +02:00
Theresa Gresch bf4005d9ef Tests: Add unit tests 2022-04-02 21:29:51 +02:00
Michael Mayer a2679a0ab9 Search: Update photos_filter_folder_test.go/filename_test.go #1994 2022-04-02 21:16:53 +02:00
Michael Mayer 89c24da88f Search: Fix "or like" condition and update filter tests #1994 2022-04-02 21:07:46 +02:00
Theresa Gresch bfcd0cfde7 Tests: Add unit tests 2022-04-02 20:14:25 +02:00
Theresa Gresch 05a18bf6f2 Tests: Add unit tests 2022-04-02 18:00:44 +02:00
Theresa Gresch 18b76e74a4 Tests: Add unit tests 2022-04-02 16:53:00 +02:00
Theresa Gresch d7f4c46a9b Tests: Add unit tests 2022-04-02 13:31:04 +02:00
Theresa Gresch 946e617808 Tests: Add unit tests 2022-04-02 12:54:00 +02:00
Theresa Gresch 982330effe Tests: Refactor unit test 2022-04-02 11:24:46 +02:00
theresa b07ec6429a Tests: Add unit tests for search 2022-04-01 16:25:37 +02:00
Michael Mayer 16f3c004c9 UX: Refactor photo viewer API and frontend components #1307 #1438 2022-03-31 17:11:43 +02:00
theresa 83d9f7af32 Tests: Add unit tests for search 2022-03-31 16:56:32 +02:00
Michael Mayer 9eda12ac20 Performance: Refactor database schema and UI components #995 #1438 #1811 2022-03-30 20:36:25 +02:00
theresa 07abdd1054 Tests: Add unit tests for search 2022-03-30 18:21:43 +02:00
theresa f0479b5163 Tests: Refactor unit tests 2022-03-30 11:44:25 +02:00
theresa 4798ebb9d8 Tests: Add unit tests for search 2022-03-30 11:43:59 +02:00
theresa f4e10822f3 Tests: Add unit tests for search 2022-03-29 17:25:11 +02:00
theresa 9b84362099 Tests: Add unit tests 2022-03-29 14:01:22 +02:00
theresa 91177e5dfc Tests: Add search tests 2022-03-29 13:35:26 +02:00
theresa e63c2951cf Tests: Add unit tests 2022-03-29 13:08:24 +02:00
theresa 98eed14859 Tests: Add unit tests 2022-03-29 11:33:21 +02:00
theresa 8f122c6a54 Tests: Add test cases for AND and OR search 2022-03-29 11:23:04 +02:00
theresa d92f6d6e43 Tests: Refactor tests 2022-03-29 11:22:36 +02:00
Michael Mayer 686a8ab9b4 Search: Refactor photo search, fix test data and unit tests #1994 2022-03-29 00:21:50 +02:00
theresa 2150771b35 Tests: Add unit tests 2022-03-28 19:04:01 +02:00
Michael Mayer 58d7a535c6 Search: Update photos_filter_albums_test.go and file fixtures #1994 2022-03-28 18:43:35 +02:00
Michael Mayer 9e46a66f24 Search: Make special character escaping compatible with SQLite #1994 2022-03-28 17:36:59 +02:00
theresa e693fad8dc Tests: Add unit tests for camera and lens filter #2079 2022-03-28 16:25:40 +02:00
theresa e6e824c754 Tests: Refactor unit tests 2022-03-28 16:18:47 +02:00
Michael Mayer 8e9406153a make fmt-go 2022-03-28 16:16:18 +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 #1994
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 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