Commit graph

2560 commits

Author SHA1 Message Date
Michael Mayer
e1c45c4d5f Rename "location" to "geo" to have a short, common prefix for geo data
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-11 23:43:29 +02:00
Michael Mayer
8fd381860a Backend: Refactor Google Photos metadata parsing
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-11 20:47:52 +02:00
Michael Mayer
4d93749b06 Backend: Don't index sidecar files without photo
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-11 20:35:41 +02:00
Michael Mayer
5194425765 Frontend: Improve wording and German translations in event log
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-11 16:52:52 +02:00
Michael Mayer
99eaae0816 Backend: Import JSON metadata from Google Photos
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-11 16:46:29 +02:00
Michael Mayer
711522db68 Metadata: Add patterns to unwanted descriptions list
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-11 10:19:06 +02:00
Michael Mayer
2c6552ff73 Backend: Remove log in Photo.Create()
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-11 09:41:35 +02:00
Michael Mayer
f41bca0f20 Docs: Update 3rd party licenses
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-11 09:37:48 +02:00
Michael Mayer
4dceb74574 Frontend: Update dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-10 19:21:27 +02:00
Michael Mayer
32daca9554 Frontend: WebDav dialog code clean-up
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-10 19:19:44 +02:00
Michael Mayer
1689397ddc Frontend: Improve wording and German translation (WebDAV info dialog)
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-10 18:38:31 +02:00
Theresa Gresch
d4935c2d13 Backend: Add unit tests for internal/entity 2020-07-10 17:35:22 +02:00
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