Commit graph

1767 commits

Author SHA1 Message Date
Michael Mayer
8318ab8983 Config: Rename "sql" / "internal" to "tidb" for more clarity
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-28 22:49:02 +02:00
Michael Mayer
29bbdc7140 Backend: Update places tests
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-28 21:52:15 +02:00
Michael Mayer
47f53fd4b2 Fix Dockerfile for ARM64 2020-04-28 21:30:17 +02:00
Michael Mayer
ba396952a8 Update Dockerfiles and set default SQL port to 2343 2020-04-28 21:10:31 +02:00
Michael Mayer
428d5f34b5 Backend: Remove event entity until we need it
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-28 19:44:27 +02:00
Michael Mayer
96098913ff Places: Add support for new keywords field
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-28 19:41:06 +02:00
Michael Mayer
b33983b566 Backend: Add stopwords
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-28 18:20:33 +02:00
Theresa Gresch
44ce09bb29 Backend: Add tests to pkg/s2 2020-04-28 17:04:52 +02:00
Theresa Gresch
ddc696c650 Backend: Add tests to pkg/pluscode 2020-04-28 17:04:33 +02:00
Theresa Gresch
62a6ede86f Backend: Add tests to pkg/fs 2020-04-28 17:04:03 +02:00
Theresa Gresch
a384235022 Backend: Add tests to pkg/txt 2020-04-28 17:03:37 +02:00
Theresa Gresch
a7c32cd869 Backend: Add testfiles 2020-04-28 17:02:15 +02:00
Theresa Gresch
f51280b541 Backend: Add tests to pkg/colors 2020-04-28 16:00:42 +02:00
Theresa Gresch
0cfb1421ba Merge remote-tracking branch 'origin/develop' into develop 2020-04-28 15:49:07 +02:00
Theresa Gresch
825e629bb9 Backend: Add tests for pkg/colors/luminance.go 2020-04-28 14:51:01 +02:00
Theresa Gresch
c5a371ed18 Backend: Add tests for pkg/colors/lightmap.go 2020-04-28 14:50:39 +02:00
Theresa Gresch
f99542e91e Backend: Add tests for pkg/colors/colors.go 2020-04-28 14:50:18 +02:00
Michael Mayer
655eb0456a Fix .tf_configure.bazelrc for ARM64 2020-04-28 12:42:29 +02:00
Michael Mayer
deaf33ff26 Fix TensorFlow build environment for ARM64 2020-04-28 12:27:19 +02:00
Michael Mayer
4f05fde794 Update build environments 2020-04-28 11:51:42 +02:00
Michael Mayer
c4d7850228 TensorFlow: Set version to 1.15.2 2020-04-27 20:22:55 +02:00
Michael Mayer
fe6d46ea5f Upgrade TensorFlow to 1.15.2 without AVX #289
Custom TensorFlow build without SSE4.1 SSE4.2 AVX AVX2 FMA support.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-27 19:00:15 +02:00
Michael Mayer
783e8ec3af Backend: Don't use private photos as cover for labels or albums
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-27 17:06:36 +02:00
Michael Mayer
da93df1a02 Backend: Update label rules
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-27 17:05:15 +02:00
Theresa Gresch
6598aed7ba Backend: Adapt test to label update 2020-04-27 15:45:43 +02:00
Theresa Gresch
b5c63893a8 Backend: Update labels 2020-04-27 15:33:08 +02:00
Michael Mayer
8cd075cf0f Labels: Sort results by quality and uncertainty
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-27 14:41:22 +02:00
Michael Mayer
d6dc411a88 Labels: Use most probable photo with best quality as cover
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-27 14:32:15 +02:00
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