Commit Graph

5624 Commits

Author SHA1 Message Date
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
Michael Mayer
dda464f28d Backend: Upgrade Go dependencies in go.mod and go.sum 2022-03-27 11:36:44 +02:00
Michael Mayer
8a8646991b Docs: Update wording in README.md and SPONSORS.md 2022-03-26 17:30:25 +01:00
Michael Mayer
3992f6cd68 Docs: Update wording in README.md and SPONSORS.md 2022-03-26 17:26:09 +01:00
Michael Mayer
397131525d Docs: Update sponsorship options in SPONSORS.md 2022-03-26 17:20:42 +01:00
Michael Mayer
8ed7efc70f Docs: Update question.md GitHub Issue template 2022-03-26 15:11:39 +01:00
Michael Mayer
b13799d9ec Docs: Update title in bug_report.md and feature-request.md templates 2022-03-26 15:07:19 +01:00
Michael Mayer
eb0027e7e5 Docs: Update GitHub Issue templates (bug_report.md, question.md, ...) 2022-03-26 15:05:38 +01:00
Michael Mayer
16bf6dd72b Docs: Update CONTRIBUTING.md and README.md 2022-03-26 14:22:03 +01:00
Michael Mayer
31b0df9e55 Docs: Update CONTRIBUTING.md and README.md 2022-03-26 14:20:19 +01:00
Michael Mayer
103a0fd415 Docs: Update CONTRIBUTING.md and README.md 2022-03-26 14:07:15 +01:00