Commit graph

2167 commits

Author SHA1 Message Date
Michael Mayer
44efdd232a Config: Improve flag descriptions of JPEG and thumbnail parameters #2215 2022-04-01 13:25:25 +02:00
Michael Mayer
3698a860c6 CI: Improve stability when running unit tests in parallel
Adds SQLite memory namespaces to avoid potential conflicts.
2022-03-31 17:55:40 +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
7c58f87c9f Performance: Reduce default JPEG quality from 92 to 85 #1438 2022-03-31 12:23:29 +02:00
Michael Mayer
ab5f1629eb UX: Dynamic infinite-scroll-distance based on window height #1438
In addition, you can now change the batch size in settings.yml.
2022-03-31 10:22:01 +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
32c9186112 Tests: Add fixtures 2022-03-30 18:21:14 +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
f53e2bcdd6 Tests: Add fixtures 2022-03-30 11:43:30 +02:00
theresa
f4e10822f3 Tests: Add unit tests for search 2022-03-29 17:25:11 +02:00
theresa
491390e348 Tests: Add unit tests for search form 2022-03-29 14:45:54 +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
theresa
4d7584a486 Tests: Add fixtures 2022-03-29 11:21:45 +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
Michael Mayer
2f5d1fea50 Config: Refactor initSettings() and initHub()
This prevents redundant initialization when called repeatedly.
2022-03-28 16:13:41 +02:00
Michael Mayer
39b0530313 Metadata: Skip brute-force search if no Exif headers were found #2196 2022-03-28 15:57:29 +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
theresa
2912122747 Tests: Add album fixtures 2022-03-28 14:25:03 +02:00
Michael Mayer
72d6af6674 CLI: Add short names for common command parameters/flags #2195 2022-03-28 13:45:29 +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
Theresa Gresch
3ff00c65c5 Tests: Add album fixtures 2022-03-28 11:21:24 +02:00
Michael Mayer
736b03f87f WebDAV: Improve update and reset of remote connection errors #1781 2022-03-27 21:37:11 +02:00
Michael Mayer
aaaef5712e WebDAV: Prevent two-way file sync, default to download #1785 2022-03-27 12:49:23 +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
680686185f Metadata: Improve parsing of (incomplete) timestamp strings #625 #2133 2022-03-25 16:31:09 +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
fdf3d26277 Darktable: Disable CR3 until fully supported by Debian #445 #1632
Even with the latest Darktable 3.8.1 in Debian 12 "Bookworm" CR3 does
not seem to be supported. Probably this is due to an outdated or
incompatible library that needs to be updated by the Debian team first.
2022-03-23 13:31:23 +01:00
Michael Mayer
8c589e3649 Videos: Improve Nvidia hardware transcoding support #2125
- successfully tested with NVIDIA Quadro P620 and driver v470.103.01
- the host Linux kernel should run the same driver version Make sure to
- driver names in PHOTOPRISM_FFMPEG_ENCODER have been simplified
- share /dev/nvidia* as shown in our new docker-compose.yml example
2022-03-23 13:27:25 +01:00
Michael Mayer
d0beab3f09 Config: Update expected flags in config_test.go and client_test.go 2022-03-16 17:41:50 +01:00
Michael Mayer
9301a4bb10 Config: Add test and demo flags 2022-03-16 17:34:09 +01:00
Michael Mayer
6bebf9043b Config: Add Docker env string to backend requests (develop, prod)
For easier debugging so that development environments can be identified.
2022-03-02 14:16:49 +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
893810f82f Metadata: Read Zulu formatted timestamps from Exiftool JSON #2082 2022-02-28 19:12:54 +01:00