Commit graph

1739 commits

Author SHA1 Message Date
Michael Mayer
d5490c0364 Albums: Use most recent photo with best quality as cover
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-27 14:25:04 +02:00
Michael Mayer
95cc4ec43f Backend: Code clean-up
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-26 17:15:17 +02:00
Michael Mayer
404682b730 Backend: Set PlaceID and PhotoCountry for unknown locations
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-26 17:06:40 +02:00
Theresa Gresch
65f47a5db4 Merge remote-tracking branch 'origin/develop' into develop 2020-04-26 16:35:40 +02:00
Theresa Gresch
b5648f7b66 Backend: Update labels 2020-04-26 16:25:21 +02:00
Michael Mayer
3630a49df0 Backend: Improve metadata indexing
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-26 16:22:29 +02:00
Theresa Gresch
478b9291ce Merge remote-tracking branch 'origin/develop' into develop 2020-04-26 15:50:11 +02:00
Michael Mayer
882340a14c Refactor string clipping in frontend & backend
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-26 14:31:33 +02:00
Theresa Gresch
f5b80ae395 Merge remote-tracking branch 'origin/develop' into develop 2020-04-26 13:48:11 +02:00
Michael Mayer
b9a82d098e Frontend: Update dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-26 12:24:28 +02:00
Michael Mayer
4a6f1700c1 Exif: Shorten exposure time #227
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-26 12:17:49 +02:00
Michael Mayer
3edf30ab3a Reduce location precision to float32
This is the practical limit of commercial data and should be more than enough for our use case while ideally providing better index performance.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-26 11:41:54 +02:00
Michael Mayer
a551185a98 Frontend: Rename sort order options
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-25 18:47:21 +02:00
Michael Mayer
e9948344c0 Backend: Use type varbinary(2) for country
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-25 16:23:16 +02:00
Michael Mayer
e29897715d Change unknown place ID to "zz"
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-25 16:17:59 +02:00
Michael Mayer
dab8052b76 make fmt
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-25 14:55:26 +02:00
Michael Mayer
237711f9e6 Frontend: Refactor photo views
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-25 14:49:15 +02:00
Michael Mayer
430fb2acb3 Code clean-up
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-25 14:48:08 +02:00
Michael Mayer
e8e0639d78 Backend: Provide unknown camera & lens as default
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-25 14:22:47 +02:00
Michael Mayer
8220f0a443 Frontend: Refactor select buttons
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-25 12:19:16 +02:00
Michael Mayer
015a67d2e6 Frontend: Refactor long click event
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-25 11:43:00 +02:00
Michael Mayer
01c7fd3fd3 Enabled PHOTOPRISM_DETECT_NSFW for our demo
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 21:27:16 +02:00
Michael Mayer
8609ab805f Automatically set private flag if detect-nsfw is enabled
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 20:28:16 +02:00
Michael Mayer
4fb01fe669 Frontend: Fix update handler in album photos view
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 18:23:18 +02:00
Michael Mayer
35bed81ec5 Filter private photos
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 18:19:18 +02:00
Theresa Gresch
68db740d47 Backend: Update labels 2020-04-24 17:52:39 +02:00
Michael Mayer
a57ca79663 Improve settings page #288
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 16:05:57 +02:00
Michael Mayer
6af6129bf1 Backend: Set http client timeouts
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 14:11:17 +02:00
Michael Mayer
67eb71681f Add Quality and Review to geo search form #288
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 13:25:04 +02:00
Michael Mayer
77cea5d719 Implement score to sort photos by quality #288
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 13:21:18 +02:00
Michael Mayer
e55df7ed37 Backend: Add PhotoFavorite to geo json response
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 10:07:13 +02:00
Michael Mayer
e9c9601a22 Frontend: Add like button to photo viewer
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 09:55:14 +02:00
Michael Mayer
89b75a05f1 Frontend: Increase long click delay
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 09:08:23 +02:00
Michael Mayer
c4781ab99d Frontend: Add attribution to settings footer
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 08:36:41 +02:00
Michael Mayer
91d824530c Frontend: Change p-col-primary css
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-24 08:35:56 +02:00
Michael Mayer
74d2cc327a Frontend: Support long click in photo list view
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-23 21:49:19 +02:00
Michael Mayer
a18f2833a6 Frontend: No long click when using select button
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-23 21:30:28 +02:00
Michael Mayer
a88c499b70 Backend: Include categories when creating albums from labels
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-23 19:22:41 +02:00
Michael Mayer
7181adb360 Frontend: Fix photo model and card view
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-23 18:47:19 +02:00
Michael Mayer
724ec41273 Frontend: Add range select for albums and labels
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-23 15:29:08 +02:00
Michael Mayer
75f4cff8d7 Frontend: Improve range select on mobile
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-23 15:29:08 +02:00
Michael Mayer
4e23987c05 Frontend: Long click select for mobile
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-23 15:29:08 +02:00
Michael Mayer
5ba73dd2ce Albums: Fix padding of description input
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-23 15:29:08 +02:00
Michael Mayer
dd9299247a Frontend: Rename "Details" view to "Cards"
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-23 15:29:08 +02:00
Michael Mayer
5a7ff13a4c Frontend: Fix infinite scrolling for grouped photos
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-23 15:29:08 +02:00
Theresa Gresch
f4b4f2a95a Backend: Adapt test to updated labels 2020-04-23 15:26:44 +02:00
Theresa Gresch
e6a81d4cb0 Backend: Update labels 2020-04-23 15:18:56 +02:00
Michael Mayer
b9511fcc2a Update license notice
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-22 18:44:42 +02:00
Michael Mayer
577a30e303 docker-compose.yml: Upgrade MariaDB and add docs / examples
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-22 18:22:25 +02:00
Michael Mayer
03c7d969f6 Sync: Reduce repeated error log level
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-22 18:20:42 +02:00