Michael Mayer
5ec2d9e9a4
Backend: Add config parameters #99 #157 #180
...
This commit adds config parameters for thumbnail quality, max thumbnail size and geocoding api as well as a flag to to disable TensorFlow.
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-06 06:59:35 +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
Michael Mayer
dc0ba7b808
Backend: Fix config_test.go
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-04 08:10:47 +01:00
Michael Mayer
e27835fb21
Backend: Fix import / index bugs
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-04 07:56:56 +01:00
Michael Mayer
32fdb72ac9
Backend: Code clean-up
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-02 04:08:33 +01:00
Michael Mayer
357b557aac
Backend: Refactor config package and add Workers() func
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-02 00:03:07 +01:00
Michael Mayer
cf909e2a4e
Backend: Use S2 tokens for location and place ID #173
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-31 01:34:27 +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
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
ca8cfffc24
Backend: Prepare database for advanced filtering and grouping #154
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 20:24:20 +01:00
Michael Mayer
211ed6acb4
Backend: Fix usage description of NSFW flags #170
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 09:56:35 +01:00
Michael Mayer
bdf0cde8a6
Backend: Add session package #169
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-28 09:48:36 +01:00
Michael Mayer
875245f1d4
Backend: Use uint64 for location IDs
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-27 23:58:51 +01:00
Michael Mayer
e7f757a631
Backend: Refactor position data in client config
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-27 11:17:55 +01:00
Michael Mayer
14617b4387
Backend: Fix country list order
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-27 08:18:10 +01:00
Michael Mayer
366c70d992
Optimize performance and data structures
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-27 05:18:52 +01:00
Theresa Gresch
6a480edba1
Add tests for test.go
2019-12-22 19:21:47 +01:00
Theresa Gresch
228682400b
Add tests for config.go
2019-12-22 19:21:30 +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
Theresa Gresch
10f3c11c61
Add test for settings.go
2019-12-17 19:29:43 +01:00
Michael Mayer
f39d34b43a
Places: Improve UX
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-17 15:28:54 +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
Michael Mayer
a4b475cbd6
Backend: Improve classification labels
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-15 18:26:16 +01:00
Michael Mayer
016d90054e
Backend: Implement NSFW config flags
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-15 17:19:16 +01:00
Michael Mayer
8cce9f7c8c
Backend: Set NSFW flag while indexing
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-14 20:35:14 +01:00
Michael Mayer
f92c21aef9
Indexer: Improve labels
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-13 03:07:26 +01:00
Michael Mayer
4e06deda76
Backend: Rename "models" package to "entity"
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-11 16:55:18 +01:00
Michael Mayer
dac272468e
Sharing: Render preview image & site info
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-11 14:10:20 +01:00
Michael Mayer
27ca260942
Indexing: Add "convert to jpeg" and "create thumbnails" options
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-11 04:12:54 +01:00
Michael Mayer
c796431e1b
Faster keyword search (proof-of-concept)
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-08 15:05:35 +01:00
Michael Mayer
2c95d73520
Albums: Add photos by UUID #15
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-04 15:14:04 +01:00
Michael Mayer
d3cdffb0a0
Albums: Routing & navigation #15
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-03 23:17:55 +01:00
Michael Mayer
a2963e9fc6
Add event hook for sending logs to frontend
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-12-02 00:30:58 +01:00
Michael Mayer
5a85fe9f83
Save and load settings to / from settings.yml
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-17 03:08:13 +01:00
Michael Mayer
f88c574f3f
Improve HTTP header auth
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-12 05:49:10 +01:00
Michael Mayer
0becb8a92d
Stub for settings page & api
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-12 04:34:37 +01:00
Michael Mayer
a14b74dfa6
Config: Add public flag to disable auth #16
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-11 21:10:41 +01:00
Michael Mayer
56c97ec057
Basic login for admin #16
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-08 06:53:40 +01:00
Michael Mayer
49c7fafa87
Upgrade from Mysql 8.0 to MariaDB 10.4
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2019-11-07 20:31:50 +01:00
Theresa Gresch
30013b6ea7
Add NewTestParamsError and NewTestErrorConfig function
2019-07-17 12:00:15 +02:00
Michael Mayer
b628592510
Fix TestConfig_ClientConfig
2019-07-15 21:19:11 +02:00
Michael Mayer
c531c5aec9
Use test config for TestConfig_Db and TestConfig_CloseDb
2019-07-14 19:06:44 +02:00
Theresa Gresch
801097c368
Revert change to Db function
2019-07-10 10:33:16 +02:00
Theresa Gresch
31b29fa42b
Adapt Db function to return nil in case the db is not initialized
2019-07-10 09:10:46 +02:00
Theresa Gresch
73d5871886
Add tests for config.go
2019-07-10 09:10:02 +02:00
Theresa Gresch
9c6c6f2539
Add tests for config.go
2019-07-09 17:43:34 +02:00
Theresa Gresch
3813ee327a
Add tests for config.co
2019-07-09 16:57:37 +02:00
Theresa Gresch
a85805c8e1
Update testdata hash
2019-07-05 13:47:48 +02:00
Michael Mayer
d4526bedd2
Read-only mode: Disable upload & import in frontend and show info #56
2019-07-02 23:01:56 +02:00