Michael Mayer
6f6e3799dc
Refactor download urls and client config
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-27 19:38:40 +02:00
Michael Mayer
e703a54586
Backend: Close db connection after running tests
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-08 18:35:19 +02:00
Michael Mayer
14fc9cd374
Revert and improve naming of thumbnail config values #294
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-05-05 17:04:13 +02:00
Michael Mayer
953ca55483
Backend: Refactor config tests
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-30 16:09:05 +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
ba396952a8
Update Dockerfiles and set default SQL port to 2343
2020-04-28 21:10:31 +02:00
Michael Mayer
b33983b566
Backend: Add stopwords
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-28 18:20:33 +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
47814e2fde
Initial stub for feature flags in settings #284
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-12 18:00:31 +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
a836dd1497
Backend: Upgrade dependencies
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-04-02 14:13:41 +02:00
Michael Mayer
a1706a5922
Backend: Upgrade & improve Dockerfiles #263
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-03-23 20:29:31 +01:00
Michael Mayer
a4e2867c86
Split import command into copy and move
...
Upgraded JS dependencies and did some refactoring along the way...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-31 15:29:06 +01:00
Theresa Gresch
6b1babe0ba
Improve test coverage ( #206 )
...
* #83 Add NewLocation() function
* #83 Add NewPlace() function
* #83 Add tests for maps/places/location
* #83 Add tests for maps/location
* #83 Add tests for internal/config
* #83 Add test for meta/exif
* #83 Add testfiles
2020-01-19 13:27:15 +01:00
Michael Mayer
b5424d3b22
Backend: Disable NSFW detection by default to boost performance
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-13 16:48:32 +01:00
Michael Mayer
f8a45b14d9
Backend: Move reusable packages to pkg/
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-12 14:00:56 +01:00
Michael Mayer
e43983d579
Backend: Refactor thumbnail package #157
...
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-01-06 14:32:15 +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
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
Theresa Gresch
228682400b
Add tests for config.go
2019-12-22 19:21:30 +01: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
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
Michael Mayer
0ddef3a02d
Rename context package to config and fsutil to util
2019-05-06 23:18:10 +02:00