Commit graph

1982 commits

Author SHA1 Message Date
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
Michael Mayer
466909908e Frontend: Update dependencies
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-22 17:04:40 +02:00
Michael Mayer
c772ac756c Set timeout for "photoprism status" command
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-22 16:51:33 +02:00
Michael Mayer
f43154be93 Convert: Case-insensitive related file search
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-22 16:39:45 +02:00
Michael Mayer
606e416e2a Upgrade dsoprea/go-jpeg-image-structure
See https://github.com/dsoprea/go-jpeg-image-structure/issues/6

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-22 14:47:45 +02:00
Michael Mayer
3fd1261c0e Frontend: Shorten hint text
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-22 13:00:02 +02:00
Michael Mayer
78f37d8d6b Fix config test after upgrading TensorFlow
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-22 10:33:47 +02:00
Michael Mayer
ae3b5a7978 Add "photoprism status" command to check server health
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-22 10:27:48 +02:00