Commit Graph

50 Commits

Author SHA1 Message Date
bakito 9802bf2f37 add tests #272 2024-01-14 16:38:58 +01:00
bakito 843433e35d extend dhcp checks #272 2024-01-14 16:13:45 +01:00
bakito 15c651ca96 #272 do not sync dhcp if empty IP 2024-01-14 14:03:04 +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
Marc Brugger bb969a0005 upgrade agh schema to v0.107.43 (#257) 2023-12-20 07:57:41 +01:00
Marc Brugger 012350a8fd #239 do not sync incomplete profile (#240) 2023-11-23 08:11:32 +01:00
Marc Brugger da289017a5 Generate types from openapi (#201)
* generate model from openAPI schema
* implement replica status #231
* Sync "Pause service blocking schedule" #234
* Sync "Safe Search Provider" #200
2023-11-13 21:09:08 +01:00
David Johnson 5043f157fa Add support for using cookie for auth (#205) 2023-08-05 08:38:21 +03:00
Marc Brugger 009715ccea handle new install page redirect location (#183) 2023-04-12 19:33:15 +02:00
bakito 6d08d42626 log post body #149 2023-02-07 21:27:17 +01:00
bakito 425dfc5e50 force content type json #121 2022-11-07 18:37:55 +01:00
bakito 6436dd9998 log content type #121 2022-11-07 18:05:59 +01:00
Marc Brugger ff104f543d Fix API change and block inconsistent version v0.107.14 (#100)
* fix api content change from string to json #99

* block incompatible version #99

* fix tests #99

* add mote tests #99
2022-10-04 19:55:00 +02:00
bakito 389cf12c1f improved error feedback #97 2022-09-12 18:40:44 +02:00
bakito 113070b14e replace deprecated ioutils 2022-08-12 09:31:24 +02:00
bakito 08f8a9970e extract to constant - fixes #59 2022-02-14 18:40:17 +01:00
bakito 93e735306e add option to change redirect policy #59 2022-02-03 19:36:30 +01:00
bakito afde0d7f3a support ui dark mode 2022-01-30 19:03:09 +01:00
bakito 5cd27f4684 convert interval to double, fixes #49
Requires min AdGuard Home v0.107.0
2022-01-09 18:44:29 +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
Marc Brugger 9fc886e151 Replace deprecated SetHostURL 2021-11-08 07:15:56 +01:00
bakito 5fe0e24839 apply gosec findings 2021-08-19 07:50:50 +02:00
bakito 8a6f73f9c2 correct lint findings 2021-08-19 07:45:03 +02:00
bakito a7d15ce655 add debug logs on client error 2021-08-18 21:36:34 +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
Marc Brugger 3edb5222d6 Initial setup (#11)
automatically setup new AdGuardHome instances #9
2021-04-18 22:03:57 +02:00
bakito d58c8f115e log status 2021-04-18 19:32:03 +02:00
bakito 9fd3694237 add support debug messages 2021-04-18 18:28:35 +02:00
bakito da3b037009 add sync tests 2021-04-11 18:35:03 +02:00
bakito 4921af09a5 add client tests 2021-04-11 16:13:37 +02:00
bakito e7a2604268 prepare sync and client tests 2021-04-11 11:56:55 +02:00
bakito cb624ea52b extend tests 2021-04-11 10:51:24 +02:00
bakito 57612bae1f log enable for filters 2021-04-10 14:48:02 +02:00
bakito 97fc7be19a update changed filters #5 2021-04-10 13:15:56 +02:00
bakito 59a55db582 use helper methods for error handling 2021-04-10 11:44:12 +02:00
bakito d984d66883 abort on http status code != 200 2021-04-10 00:18:29 +02:00
bakito 5e591e04c3 simplifiy
cleanup code
skip arm for darwin and windows
2021-04-03 20:19:34 +02:00
bakito aa95031136 sync stats and query log config 2021-04-03 17:52:08 +02:00
bakito 6fb2dd12a8 move log attribute to message 2021-03-31 02:34:26 +02:00
bakito 8db9c98644 synch toggles 2021-03-31 02:28:18 +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
bakito 785c23a51a log start and end 2021-03-28 11:32:41 +02:00
bakito 0c17b13f96 handle clients 2021-03-28 10:08:21 +02:00
bakito b4c5380738 services 2021-03-28 09:19:44 +02:00
bakito ee670346f2 toggle filtering 2021-03-28 08:59:18 +02:00
bakito 0d2abbe050 first commit 2021-03-27 23:40:59 +01:00