Commit graph

255 commits

Author SHA1 Message Date
Michael Mayer
a61f2384b3 Initial video support #17
Still need to add a player and index metadata. Work in progress.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-11 18:29:17 +02:00
Michael Mayer
1894b4440f Detect and report photos without primary file, e.g. after purging #234
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-08 12:01:28 +02:00
Michael Mayer
3ccad67622 Index and import subdirectories #258
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-06 15:53:47 +02:00
Michael Mayer
9b643c830f Add template settings; remove twitter config value
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-05 18:26:44 +02:00
Michael Mayer
f9b2ff326b Refactor feature flags and settings
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-04 18:28:23 +02:00
Michael Mayer
fe28c7d284 Backend: Add support for .ppignore files #233 #287
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-03 14:40:59 +02:00
Michael Mayer
0e9a90fd6b Config: Change TiDB port to 2343 in example config
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-29 00:10:03 +02:00
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
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
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
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
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
b31508e4f3 Refactor & improve editing of photo labels
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-19 01:13:55 +02:00
Michael Mayer
20a5912210 Rename, remove and re-activate labels
Still need to fix label names when re-indexing so that custom names are used, if changed by the user.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-17 21:20:38 +02:00
Michael Mayer
96ec67f868 Group related files #283
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-14 14:28:47 +02:00
Michael Mayer
855781658b Add library settings #283
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-14 13:13:45 +02:00
Michael Mayer
c2fa3a7246 Add common feature flags incl upload #284
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-13 18:08:21 +02:00
Michael Mayer
a8c48ab40e Initial API and entities for link sharing
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-08 13:24:06 +02:00
Michael Mayer
b020b4e415 Sync: Ignore unsupported file types #225
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-07 10:42:42 +02:00
Michael Mayer
a393a25e01 Backend: Remove export path to avoid confusion #276
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-06 23:04:52 +02:00
Michael Mayer
c882b56f82 Sync: Download remote files #225
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-04 17:19:34 +02:00
Michael Mayer
2e5840f3b0 Implement share worker #225
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-03 18:08:49 +02:00
Michael Mayer
5bea7d2a59 Maps: Add style to settings
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-31 21:03:13 +02:00
Michael Mayer
09e2385c67 Maps: Add animation duration to settings
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-31 18:56:52 +02:00
Michael Mayer
7f2cfc8446 Backend: Create settings.yml if not exists
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-28 21:44:30 +01:00
Michael Mayer
29c3880aeb Accounts: Rename "push" to "share" #225
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-28 19:46:09 +01:00
Michael Mayer
9f4a5e7170 Backend: Add account API test #225
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-28 18:01:50 +01:00
Theresa Gresch
c647908d3d Test: Add test for api/album 2020-02-02 18:41:03 +01:00
Theresa Gresch
14f7702d4f Test: Add test for api/album 2020-02-02 15:50:33 +01:00
Theresa Gresch
4b2259740b Test: Add test for query/geo 2020-01-28 22:16:59 +01:00
Theresa Gresch
0b89a642c6 Test: Add test fixtures 2020-01-28 20:58:22 +01:00
Theresa Gresch
dc240cae8f Add fixtures for categories test 2020-01-27 17:19:47 +01:00
Theresa Gresch
98c63755b2 Add test fixtures 2020-01-27 16:52:47 +01:00
Theresa Gresch
495a86e69e Add bmp test file 2020-01-27 15:31:25 +01:00
Theresa Gresch
f7efaeb104 Add png test file 2020-01-27 15:31:07 +01:00
Theresa Gresch
feb37eeff9 Add yml test file 2020-01-27 15:30:52 +01:00
Theresa Gresch
bd02c7afbc Add xml test file 2020-01-27 15:30:35 +01:00
Theresa Gresch
8f5d5ea4f8 Add txt test file 2020-01-27 15:30:18 +01:00
Theresa Gresch
b034ed4b53 Add mpd test file 2020-01-27 15:30:03 +01:00
Theresa Gresch
72bb1bfb79 Add tiff test file 2020-01-27 15:29:48 +01:00
Theresa Gresch
d1ec3021c8 Add gif test file 2020-01-27 15:29:31 +01:00
Theresa Gresch
a72a21c46a Add mp4 test file 2020-01-27 15:29:12 +01:00
Michael Mayer
e9874d6e0c Backend: Compile labels into source #160
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-09 01:21:09 +01:00
Michael Mayer
21451e8263 Backend: Code refactoring and clean-up #172
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-08 09:27:39 +01:00
Theresa Gresch
4cf7cd98b1 Add test for country.go 2020-01-06 20:16:31 +01:00
Michael Mayer
582113fed4 Backend: Add write mutex to entities and improve test fixtures #164
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-06 04:24:49 +01:00
Michael Mayer
01ca94d536 Backend: Initialize test db with fixtures #84 #129
Fixtures can be found in assets/resources/examples/fixtures.sql and must be maintained manually for now

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-06 02:14:17 +01:00
Theresa Gresch
daff6d22af Add jpg with created date before 1970 #164 2020-01-05 19:07:05 +01:00
Michael Mayer
a2ceda0106 Backend: Update labels.yml 2020-01-04 19:05:53 +01:00
Michael Mayer
83c532be9a Backend: Update labels.yml 2020-01-04 19:05:11 +01:00
Michael Mayer
d869c12dd4 Backend: Update labels.yml 2020-01-04 18:32:08 +01:00
Michael Mayer
2c7e8ef32d Backend: Update labels.yml 2020-01-04 18:13:51 +01:00
Michael Mayer
7efbfd31c5 Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-04 18:01:54 +01:00
Michael Mayer
07efa1e769 Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-04 18:00:31 +01:00
Michael Mayer
b2184fdfc6 Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-04 17:55:04 +01:00
Michael Mayer
cdc15f61fb Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-04 17:44:06 +01:00
Michael Mayer
49bd1379ca Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-04 17:26:21 +01:00
Michael Mayer
639a5e97ba Backend: Update labels.yml 2020-01-04 17:07:59 +01:00
Michael Mayer
3b6ffdf8bc Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-04 12:43:04 +01:00
Michael Mayer
26d0e80379 Backend: Update labels.yml 2020-01-04 11:43:57 +01:00
Michael Mayer
d03b85c408 Backend: Update labels.yml 2020-01-04 10:10:21 +01:00
Michael Mayer
f543562553 Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-04 10:08:25 +01:00
Michael Mayer
1ef1efe628 Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-04 07:54:35 +01:00
Michael Mayer
3673d3de61 Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-04 06:17:56 +01:00
Michael Mayer
cb40883a82 Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-04 06:16:56 +01:00
Michael Mayer
637f795963 Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-04 06:05:24 +01:00
Michael Mayer
9865219476 Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-04 06:03:48 +01:00
Michael Mayer
5a9b3fbc98 Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-04 05:49:40 +01:00
Michael Mayer
597f86659d Backend: Update labels.yml 2020-01-03 23:45:53 +01:00
Michael Mayer
f1afe897f5 Docs: Fix typo in README.md
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-03 23:39:23 +01:00
Michael Mayer
16a782ff2c Backend: Update labels.yml 2020-01-03 18:43:02 +01:00
Michael Mayer
72dc982196 Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-02 06:10:39 +01:00
Michael Mayer
517ea44dd6 Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-01 22:25:04 +01:00
Michael Mayer
1dfcfd8a13 Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-01 20:04:33 +01:00
Michael Mayer
ac00c3a0e3 Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-01 19:55:50 +01:00
Michael Mayer
d3921e94e6 Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-01 15:06:21 +01:00
Michael Mayer
6da8bd098a Backend: Add support for new Places API #173
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-31 07:16:11 +01:00
Michael Mayer
7d5bc0619e Add "experimental" feature flag #152 #153 #154
Use this flag to test new features before they are stable.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-30 12:38:11 +01:00
Michael Mayer
0e4f8ee800 Backend: Fix typo in labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-29 01:42:24 +01:00
Michael Mayer
1c3ae82792 Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-29 00:27:39 +01:00
Michael Mayer
a66d0887bd Add lens, category, color and year search filters
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 23:06:44 +01:00
Michael Mayer
e040af36e7 Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 20:40:24 +01:00
Michael Mayer
e36d569652 Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 11:54:38 +01:00
Michael Mayer
1d76f74061 Backend: Improve labels for vehicles
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 11:52:16 +01:00
Michael Mayer
bc8ce48bcf Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 11:45:34 +01:00
Michael Mayer
de3a003740 Backend: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 11:21:37 +01:00
Michael Mayer
669429f1c4 Backend: Improve labels for beverages
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 11:01:38 +01:00
Michael Mayer
f3cf300590 Backend: Refactor location entity and indexer
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-20 20:23:16 +01:00
Michael Mayer
d4fc692984 Labels: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-19 13:33:53 +01:00
Michael Mayer
d0104560de Labels: Update labels.yml and location.go
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-19 12:31:13 +01:00
Michael Mayer
2555460404 Labels: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-19 12:25:54 +01:00
Michael Mayer
cd90e24de5 Labels: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-19 12:11:21 +01:00
Michael Mayer
fbaf1d062e Labels: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-19 11:41:17 +01:00
Michael Mayer
2d3937f3eb Labels: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-19 11:39:40 +01:00
Michael Mayer
49f22c0d96 Labels: Update labels.yml
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-19 11:08:07 +01:00
Michael Mayer
cf28656547 Labels: Update categories
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-19 10:02:00 +01:00
Michael Mayer
fc5d327494 Photo: DATETIME instead of TIMESTAMP for TakenAt #162
Error logging and labels were also improved along the way.

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-19 09:37:10 +01:00
Michael Mayer
eddecd98dd Labels: Add flowers to category flower
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-17 07:29:24 +01:00
Michael Mayer
1cc8cefc92 Labels: Add cache, fix bugs & improve SQL queries
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-16 23:33:52 +01:00