Commit graph

2598 commits

Author SHA1 Message Date
Theresa Gresch
dcc43ed45d Backend: Add unit tests for internal/entity 2020-07-10 17:27:06 +02:00
Michael Mayer
174e6d53c9 Backend: Use FirstOrCreate() instead of Create() when adding new photos
Not perfect as metadata should rather be merged. Ideally some kind of mutex avoids database conflicts / locks / errors in the future. Right now, we're (intentionally) using the database as "mutex" so that the application code needs less complexity. This is especially problematic on powerful servers with many CPUs and index workers. See also issue #392.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-10 17:09:39 +02:00
Michael Mayer
b3531845dd Frontend: Add "Connect via WebDAV" info dialog
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-10 16:47:07 +02:00
Michael Mayer
6465ffa5ce Frontend: Re-add favicon.png to avoid 404 errors when using old templates
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-10 16:47:07 +02:00
Theresa Gresch
dad0ba9d27 Backend: Add unit tests for internal/entity 2020-07-10 15:15:56 +02:00
Theresa Gresch
d6c910c16b Backend: Add unit tests for internal/entity 2020-07-10 15:06:37 +02:00
Theresa Gresch
4196420dc7 Backend: Add unit tests for internal/entity 2020-07-10 13:57:51 +02:00
Theresa Gresch
560849ec52 Backend: Add unit tests for internal/entity 2020-07-10 11:44:51 +02:00
Theresa Gresch
1f9528562f Backend: Add unit tests for internal/entity 2020-07-10 10:58:06 +02:00
Theresa Gresch
b480bbefcc Backend: Add unit tests for internal/entity 2020-07-10 10:29:56 +02:00
Michael Mayer
62c8830a89 Frontend: Optimize photo details form for small devices
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-09 20:39:03 +02:00
Michael Mayer
d5faee56e3 Frontend: Improve wording and German translation
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-09 20:16:25 +02:00
Michael Mayer
3f9454876d Concurrency fix for photo details #357
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-09 17:45:56 +02:00
Theresa Gresch
f857198178 Backend: Add unit tests for internal/entity 2020-07-09 16:46:13 +02:00
Michael Mayer
eeeff27ba5 Frontend: Update favicons
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-09 16:06:58 +02:00
Theresa Gresch
6212c8d63d Backend: Add unit tests for internal/entity 2020-07-09 15:37:30 +02:00
Michael Mayer
7cd88e411a Frontend: Improve loading animation and logo
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-09 15:01:36 +02:00
Theresa Gresch
dd7b5b3a1b Backend: Add unit tests for internal/entity 2020-07-09 12:24:44 +02:00
Theresa Gresch
131e822a58 Backend: Add unit tests for internal/entity 2020-07-09 11:50:58 +02:00
Theresa Gresch
15d66fc304 Backend: Add unit tests for internal/entity 2020-07-09 11:27:44 +02:00
Theresa Gresch
006e833249 Backend: Fix unit test 2020-07-08 18:36:37 +02:00
Theresa Gresch
226eafec7b Backend: Add unit tests for internal/entity 2020-07-08 18:09:18 +02:00
Theresa Gresch
e1487238e6 Backend: Add unit tests for internal/entity 2020-07-08 17:36:06 +02:00
Theresa Gresch
3e6c21a566 Backend: Add unit tests for internal/entity 2020-07-08 17:06:23 +02:00
Theresa Gresch
380aa0ba4b Backend: Add unit tests for internal/entity 2020-07-08 15:25:33 +02:00
Theresa Gresch
a0d858e56f Backend: Add unit tests for internal/mutex 2020-07-08 13:18:19 +02:00
Theresa Gresch
b3487fa3b3 Backend: Add unit tests for internal/meta 2020-07-08 10:13:11 +02:00
Theresa Gresch
985da3530f Backend: Add unit tests for internal/maps 2020-07-08 10:13:11 +02:00
Theresa Gresch
724953e432 Backend: Add unit tests for internal/i18n 2020-07-08 10:13:11 +02:00
Michael Mayer
053af81de1 Frontend: Update German translation
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-08 10:04:14 +02:00
Michael Mayer
8c372e81ef Frontend: Faster slideshow transition #381
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-08 10:03:21 +02:00
Michael Mayer
f55dcc0670 Frontend: Add Polish translation
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-08 09:25:56 +02:00
Michael Mayer
ee5ba31737 Frontend: Don't skip current photo when starting slideshow
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-08 08:55:19 +02:00
Michael Mayer
6d6ed29f21 Frontend: Don't display loading bar in event viewer when loading more
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-08 08:48:42 +02:00
Theresa Gresch
db2819821b Backend: Add unit tests for internal/form 2020-07-08 08:45:31 +02:00
Michael Mayer
d93ed7faa9 Frontend: Only use transition when slideshow is running #381
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-08 08:42:20 +02:00
Michael Mayer
68fac9e8a8 Translations: Add Spanish, French and Polish
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-08 08:19:29 +02:00
Michael Mayer
def9d3a80f Frontend: Use CSS transition for photo viewer #381
After testing, this seems more compatible than animations. Might revisit this later.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-08 08:16:35 +02:00
rakesh-saride
2d72dc7c47
Added animation for slide show. (#381)
* Added animation for slide show.
2020-07-08 07:30:53 +02:00
François d'Yvoire
97f9bd2f20
Add basic french translation (#389) 2020-07-08 07:17:59 +02:00
Michael Mayer
08d976534b Frontend: Improve wording and translations
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-07 21:09:35 +02:00
Michael Mayer
e2845981c1 Concurrency fixes for cameras, lenss, folders, keywords, and labels #357
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-07 20:44:33 +02:00
Michael Mayer
46c29dbb10 Frontend: Improve German translations
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-07 20:41:08 +02:00
Michael Mayer
5c780c99db Backend: Add words to stopwords.txt
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-07 20:28:17 +02:00
Theresa Gresch
f58ca6dcda Backend: Add unit tests for internal/form 2020-07-07 18:03:20 +02:00
Theresa Gresch
c71c232107 Backend: Add unit tests for internal/api 2020-07-07 17:18:41 +02:00
Michael Mayer
cbcd9e5cea Metadata: Normalize exif date strings to fix broken files
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-07 17:11:36 +02:00
Michael Mayer
4b7551fb99 Try fetching country again if create fails #357
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-07 16:56:02 +02:00
Michael Mayer
14420b02a9 Try fetching places and location again if create fails #357
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-07 16:40:29 +02:00
Theresa Gresch
0faf7dbb7f Backend: Add unit tests for pkg 2020-07-07 16:29:55 +02:00