Commit graph

5747 commits

Author SHA1 Message Date
Michael Mayer
9eda12ac20 Performance: Refactor database schema and UI components #995 #1438 #1811 2022-03-30 20:36:25 +02:00
Michael Mayer
68094e9b79 Sharing: Fix UI component import paths #2199 2022-03-30 20:25:24 +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
Michael Mayer
00d7bbcf9f Frontend: Update dependencies in docker-lock.json 2022-03-30 14:34:55 +02:00
Michael Mayer
387a740fb2 Docker: Update inline docs in docker-compose.yml examples 2022-03-30 14:29:01 +02:00
Michael Mayer
05d39e8c3c Docker: Rename "PHOTOPRISM_DARKTABLE_PRESETS" in develop config #2206
As @cryptoluks noted, it's named "PHOTOPRISM_RAW_PRESETS" now:
https://github.com/photoprism/photoprism/discussions/2206
2022-03-30 14:27:44 +02:00
Michael Mayer
bfb6ab8bf7 Docker: Rename "PHOTOPRISM_DARKTABLE_PRESETS" in config examples #2206
As @cryptoluks, the variable name now is "PHOTOPRISM_RAW_PRESETS":
https://github.com/photoprism/photoprism/discussions/2206
2022-03-30 13:58:06 +02:00
Michael Mayer
5e6692cba5 Backend: Upgrade Go dependencies in go.mod and go.sum 2022-03-30 13:48:43 +02:00
Michael Mayer
36d84de0c4 Docker: Upgrade MariaDB from 10.6 to 10.7 in config examples #2178 2022-03-30 13:47:49 +02:00
Michael Mayer
a219aa9932 CI: Update Makefile 2022-03-30 13:41:07 +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 Gresch
1c9b70f698
Merge pull request #2205 from photoprismci/weblate-photoprism-backend
Weblate: Update translations
2022-03-30 11:42:06 +02:00
Weblate
b2076228fc Translations: Update assets/locales 2022-03-29 20:44:33 +02:00
Theresa Gresch
209d1e0b0e
Merge pull request #2198 from photoprismci/weblate-photoprism-frontend
Weblate: Update translations
2022-03-29 17:52:58 +02:00
Weblate
0902bfe5ae Translations: Update frontend/src/locales 2022-03-29 17:25:20 +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
Michael Mayer
b8ea17d595 Package txt: Add ascii_table.txt for reference 2022-03-28 19:52:24 +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
Michael Mayer
c87312abef Docker: Add docker-local(-develop)-all Makefile targets #2190 #2193 2022-03-28 11:46:52 +02:00
Michael Mayer
a18a94f640 Docker: Update buster/impish images, add Makefile targets #2190 #2193 2022-03-28 11:36:47 +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
ff170ae7ed
Merge pull request #2193 from rickysarraf/fix-docker-local-target
Fix docker-local make target
2022-03-28 11:15:11 +02:00
Ritesh Raj Sarraf
9685b24648 Fix docker-local make target
With the adaptation to Debian Bullseye/Bookworm based images, the
docker-local make target got broken with below error.

```
rrs@lenovo:~/photoprism-repo (rickysarraf-develop)$ make docker-local
scripts/docker/build.sh photoprism
Usage: build.sh [name] [tag] [/subimage]
make: *** [Makefile:338: docker-local] Error 1
```

This PR fixes it by introducing the 2 new local targets for Bullseye and
Bookworm. And it also aliases the docker-local target to the latest,
which right now is Bookworm

Signed-off-by: Ritesh Raj Sarraf <rrs@researchut.com>
2022-03-28 14:41:32 +05:30
Michael Mayer
66130d320c
Merge pull request #2192 from photoprismci/weblate-photoprism-backend
Weblate: Update translations
2022-03-28 11:04:17 +02:00
Weblate
86f6a0cbdf Translations: Update assets/locales 2022-03-28 10:45:24 +02:00