Dimitri Herzog
72d747c16f
feat: API-first approach for REST interface ( #1129 )
...
* feat: embed OpenAPI definition file
* feat: use OpenAPI generated server and client
* feat: provide OpenAPI interface documentation
* chore(test): add additional tests
2023-09-09 19:30:55 +02:00
ThinkChaos
42db8ec943
fix: parse the API URL using the non-deprecated options
2023-07-07 09:16:20 -04:00
Kwitsch
b73cd3b5ba
Config restructuring ( #771 )
...
To declutter the global top level config options i propose the grouping of ports and logging options as child options of top level options.
New structure:
ports:
dns: 43
http: 4000
https: 4443
tls: 853
log:
level: warn
format: json
privacy: true
timestamp: false
2022-12-02 21:55:40 +01:00
Dimitri Herzog
f78a57a94d
chore(build): add additional linters ( #774 )
...
* chore(build): add nolintlint linter
* chore(build): add usestdlibvars linter
2022-11-29 21:58:26 +01:00
ThinkChaos
f724bda5cd
Enable nosprintfhostport linter
2022-11-04 08:29:16 +01:00
Kwitsch
5bfed0e980
Docker container rework ( #638 )
2022-09-08 22:34:08 +02:00
FileGo
0731ebe18a
Support for multiple configuration files ( #534 )
2022-05-25 15:13:52 +02:00
Dimitri Herzog
a4b89537db
update golangci-lint ( #510 )
...
* update golangci-lint
* enable gomnd linter
* enable asciicheck linter
* enable bidichk linter
* enable durationcheck linter
* enable errchkjson linter
* enable errorlint linter
* enable exhaustive linter
* enable gomoddirectives linter
* enable gomodguard guard
* enable grouper linter
* enable grouper and ifshort linters
* enable importas linter
* enable makezero linter
* enable nestif linter
* enable nilerr linter
* enable nilnil linter
* enable nlreturn linter
* enable nolintlint linter
* enable predeclared linter
* enable sqlclosecheck linter
* enable tenv linter
* enable wastedassign linter
2022-05-10 09:09:50 +02:00
Dimitri Herzog
41febafd41
chore: test cleanup and refactoring ( #509 )
...
test: added additional assertions, introduced channels for bus event tests, refactoring, eliminating race conditions in tests, enable race check in tests
2022-05-06 22:34:08 +02:00
ThinkChaos
62c7816ab3
Support of DoH/DoT as bootstrap DNS ( #485 )
2022-04-22 22:12:35 +02:00
Dimitri Herzog
28789ee7fe
filtering of queries ( #450 ) ( #474 )
2022-04-01 08:58:09 +02:00
ThinkChaos
69dc38308c
Allow configuring multiple listen addresses for each port ( #372 )
2021-12-20 22:13:07 +01:00
Dimitri Herzog
919512959b
use full-qualified name as module
2021-08-27 13:41:36 +02:00
Dimitri Herzog
850baf0e47
bootstrapDNS not used for upstream DNS resolution ( #242 ) ( #246 )
2021-08-21 23:19:30 +02:00
Dimitri Herzog
59ec29be77
fix lint warning
2021-07-16 23:13:32 +02:00
Dimitri Herzog
447821f646
Unable to set IP for http/https port ( #221 ) ( #226 )
...
#221 : Unable to set IP for http/https port
2021-06-28 07:51:46 +02:00
Joseph Harnish
d8903bc9c5
#203 : Added version to web interface. ( #195 )
...
* Added more data to template data, and push the version to server.go in the makefile
* moving version and build time to util package, added build time to the web interface
Co-authored-by: Dimitri Herzog <dimitri.herzog@gmail.com>
2021-05-05 22:38:22 +02:00
Joseph Harnish
1ea60579a7
#182 - added config option for logTimestamp ( #184 )
...
* added config option for logTimestamp
* set default to be true
2021-04-17 22:23:51 +02:00
Dimitri Herzog
efb5ac37af
#147 : Blocky commands do not run without local ./config.yml file
2021-02-26 22:42:00 +01:00
donald-art
7ee2e7db64
public API documentation ( #146 )
...
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
* added doc comments
2021-02-26 13:45:57 +01:00
Dimitri Herzog
8f23f47a6d
Renamed function, replaced global variable with function call, Initialize global logger only once, minor refactorings, fixed failing tests
2021-02-25 23:36:39 +01:00
nicolas-martin
3b0bbc5f6b
use package logger instead of global
2021-02-22 17:28:48 -05:00
Dimitri Herzog
b043849159
command package refactoring
2021-02-08 22:00:11 +01:00
Kristian Antonsen
c7ba2f68ab
Log output to stdout instead of stderr ( #115 )
2020-12-10 10:10:17 +01:00
Dimitri Herzog
3ffcda9f4d
#75 : json log output mode
2020-06-21 23:07:05 +02:00
Dimitri Herzog
0766c6480a
#27 : CLI tool
2020-04-08 23:03:07 +02:00