Commit graph

5834 commits

Author SHA1 Message Date
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
Michael Mayer
ebf3520d28 CI: Use "npm ci" instead of "npm install" in Makefile 2022-03-28 10:45:15 +02:00
Michael Mayer
710c50f895 Frontend: Update translations.json #2083
Thanks to all who contributed! :)
2022-03-28 10:26:18 +02:00
Michael Mayer
ef04e7f1fd Develop: Upgrade Docker base image from 220323 to 220328-bookworm #2190 2022-03-28 10:22:41 +02:00
Michael Mayer
63b4f46ae8
Merge pull request #2191 from photoprismci/weblate-photoprism-frontend
Weblate: Update translations
2022-03-28 10:22:35 +02:00
Weblate
c974f39b68 Translations: Update /frontend/src/locales 2022-03-28 10:15:28 +02:00
Michael Mayer
d565c92d52
Merge pull request #2190 from rickysarraf/rickysarraf-develop
Use deb.debian.org host for CDN redirection
2022-03-28 10:15:22 +02:00
Ritesh Raj Sarraf
61e2a207c2 Use deb.debian.org host for CDN redirection
As per http://deb.debian.org/ this host name mapping maps to geolocation
based hosts.
2022-03-28 13:29:18 +05:30
Michael Mayer
736b03f87f WebDAV: Improve update and reset of remote connection errors #1781 2022-03-27 21:37:11 +02:00
Michael Mayer
45922f8db0 Docs: Update bug_report.md and feature-request.md issue templates 2022-03-27 13:25:14 +02:00
Michael Mayer
1e84d85330 Docs: Update "When to use GitHub Issues" in templates and README.md 2022-03-27 13:20:27 +02:00
Michael Mayer
c6abf5d7f2 UX: Hide misleading hidden file warning while indexing #2189 2022-03-27 12:58:30 +02:00
Michael Mayer
adf949a575 Frontend: Update dependencies in package-lock.json 2022-03-27 12:49:48 +02:00
Michael Mayer
aaaef5712e WebDAV: Prevent two-way file sync, default to download #1785 2022-03-27 12:49:23 +02:00