Commit graph

30 commits

Author SHA1 Message Date
Marc Brugger 4c1e56ccce
Fix config issues with new env library (#273)
* correct config issues #271 #272

* rename type tags

* replace env lib

* move to config module

* read flags

* show e2e logs on error

* extract env

* replace deprecated env var

* increment index

* check replica numbers do not start with 0

* remove test suite

* error handling

* refactor flags

* flags test

* file test

* file test

* config tests

* extend tests

* test mixed mode

* simplify

* simplify

* test mask

* correct uniqe replicas

* Update types_test.go

* e2e test with file mode
2024-01-14 13:29:36 +01:00
Marc Brugger 5fca3b1002
better readable env vars (#270)
* better readable env vars
2024-01-08 19:39:47 +01:00
Marc Brugger 3139ad605f
Refactor sync into separate action functions (#268)
* sync-actions

* dns rewrites and filters

* continue on filter error

* servides

* client settings

* dns

* dhcp

* remove deprecated env var

* fix client tests

* tests

* copy replica config

* map continue on error

* map env var with underscore
2024-01-07 22:03:21 +01:00
Marc Brugger 4a8e2aab51
allow definig web URL (#267) 2024-01-07 09:55:21 +01:00
Marc Brugger 749c5f178c
add option to print full config for debugging (#266)
* add option to print full config for debugging

* print link to FAQ in auth errors
2024-01-07 03:05:44 +01:00
David Johnson 5043f157fa
Add support for using cookie for auth (#205) 2023-08-05 08:38:21 +03:00
Minchao faaefd726a
fix type of replica-interface-name flag to string (#166) 2023-03-15 20:57:18 +01:00
Dustin Essington abe38e7a2c
Adjust origin-insecure-skip-verify to a bool (#161) 2023-03-12 08:49:37 +01:00
Marc Brugger 495e0d261d
Allow enabling/disabling target dhcp server (#160)
* Allow enabling/disabling target dhcp server

* add test

* extend tests
2023-03-06 22:07:34 +01:00
Marc Brugger cfcffab9d1
correct interface name env var from REPLICA%s_INTERFACWENAME to REPLICA%s_INTERFACENAME (#159) 2023-03-06 21:13:50 +01:00
bakito 8d85b58ce4
add version option to cli #85 2022-07-24 18:23:17 +02:00
bakito 5038326e36
alow defining replica dhcp interface name - fixes #66 2022-05-05 21:08:52 +02:00
bakito afde0d7f3a
support ui dark mode 2022-01-30 19:03:09 +01:00
bakito 75aaeacbb3
migrate to ginkgo v2 2021-12-09 22:55:38 +01:00
bakito 1a4e0b2a93
apply golangci-lint 2021-11-29 22:29:19 +01:00
bakito f256b5ca81
change env var names 2021-11-02 08:42:54 +01:00
bakito 103d78d0ee
implement other feature flags 2021-11-01 18:21:37 +01:00
bakito ad64fdeda6
add skip flag for dhcp #38 2021-11-01 17:39:09 +01:00
bakito 5fe0e24839
apply gosec findings 2021-08-19 07:50:50 +02:00
Marc Brugger 00f353bac4
Dns dhcpas beta feature (#17)
* add dhcp and dns types

* sync dns #12

* add test #12

* implement dhcp #12

* add beta flags
2021-05-28 20:07:32 +02:00
bakito 2e93920931
run on startup #10 2021-04-18 22:20:08 +02:00
Marc Brugger 3edb5222d6
Initial setup (#11)
automatically setup new AdGuardHome instances #9
2021-04-18 22:03:57 +02:00
bakito 4921af09a5
add client tests 2021-04-11 16:13:37 +02:00
bakito 64463b6842
add multi replica env support #4 2021-04-05 21:07:28 +02:00
bakito 9450c09e2a
add docker build #4 2021-04-05 20:13:13 +02:00
Marc Brugger f8578e85b2
add API server to trigger sync remotely 2021-03-29 08:43:18 +02:00
bakito 44609a93e3
correct logger name 2021-03-28 20:00:22 +02:00
bakito e9853e29e2
enable cron mode #2 2021-03-28 16:33:52 +02:00
bakito 794aa32bd3
allow multiple replicas 2021-03-28 16:13:40 +02:00
bakito 3e25d2c70e
use cobra/viper 2021-03-28 14:09:31 +02:00