Commit graph

2181 commits

Author SHA1 Message Date
Michael Mayer a1870067ca SQLite: Improve database migration UPDATE statements #2216 2022-04-02 18:33:57 +02:00
Michael Mayer a604e9a9c6 Index: Improve file size/resolution checks, add WebP support #1017 #1226
Renames the config flag to from "megapixel-limit" to "resolution-limit".
Adds native support for the WebP image file format.
2022-04-02 18:04:11 +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 968062d2fc Tests: Add fixtures 2022-04-02 16:52:38 +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
Michael Mayer 728cb2144c Config: Add option to limit originals size in megapixels #1017
Adds the `megapixel-limit` and `thumb-colorspace` config options.
2022-04-01 21:14:22 +02:00
Michael Mayer 0d5af690cc Migrations: Improve SQLite schema migration statements #2216 2022-04-01 16:49:26 +02:00
theresa b07ec6429a Tests: Add unit tests for search 2022-04-01 16:25:37 +02:00
theresa 5d16c5b530 Tests: Add fixtures 2022-04-01 16:24:45 +02:00
Michael Mayer a61470dfc7 Migrations: Implement "photoprism migrations ls" command #2216
Lists the status of migrations. Changed "migrate" to "migrations run".
2022-04-01 16:02:58 +02:00
Michael Mayer ca4c2ae199 Thumbnails: Rename QualityMedium to QualityDefault #2215
Seems easier to read and understand in context.
2022-04-01 13:30:20 +02:00
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