Commit graph

24 commits

Author SHA1 Message Date
e104767f13 drone-ci: also generate sha512 checksum for releases
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-16 22:30:00 +02:00
88445ed062 add gitignore
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-10-16 22:16:34 +02:00
776c9c8310 update go.mod and go.sum
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-16 22:09:31 +02:00
435be076fe nameserver.go: add TODO for enhancing executeQuery 2021-10-16 22:07:40 +02:00
1cfe465cf9 nameserver.go: refactor requiresRRUpdate and add basic tests 2021-10-16 22:06:51 +02:00
204d5eacf6 nameserver.go: use custom resolver to avoid update delays caused by dns caching
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2021-09-12 02:08:53 +02:00
8e86f5992e add various tests for web.go 2021-09-12 01:19:51 +02:00
de9cc37738 web.go: adjust order of functions to match call order in RequestHandler 2021-09-12 01:11:45 +02:00
8479da58bc web.go: return badauth when authenticated user does not own record in question 2021-09-12 01:00:38 +02:00
76286b6388 config.go: iterate slices via indices to get pointers instead of copies
All checks were successful
continuous-integration/drone/push Build is passing
Iterating over a slice returns a copy of the respective member instead
of a reference to the original slice member. Thus, any modification are
discarded and the pointers saved inside cfg.users and cfg.rrconfigs are
incorrect, too.
2021-09-11 22:14:39 +02:00
e15da33296 config.go: improve config validation
Also check whether there are no users/records and if records have an
actual user associated with them.
2021-09-11 22:14:39 +02:00
4cb237a05b add various tests for prepareConfig and update go dependencies 2021-09-11 22:14:39 +02:00
41107cdc2e config.go: externalize config preparation for more convenient testing 2021-09-11 22:14:39 +02:00
2f2ef5b7c7 nameserver.go: delete old record before adding new one 2021-09-11 22:14:39 +02:00
835229c495 use drone-ci instead of gitlab-ci and add release 2021-09-11 22:14:28 +02:00
3682eb626e rename go module 2021-09-10 11:11:59 +02:00
451776bde0 restructure config to allow user credentials to update multiple records
This commit separates user credentials from resource record configs to
allow user credentials to be used for multiple records instead of one.
2021-09-10 11:11:56 +02:00
7f1500d53d add basic gitlab-ci.yml
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2021-07-16 23:57:16 +02:00
ef22e29cef rewrite most code; removes database to solely rely on config file 2021-07-13 13:36:37 +02:00
32bf03dc07 auth.go: use hashed/salted passwords instead of plaintext 2018-09-22 14:59:15 +02:00
892c4b27ac main.go: add argument parsing for config path 2018-09-22 14:00:26 +02:00
94770ef25c add example config.toml 2018-09-22 01:40:58 +02:00
fb43d8da3a add support for toml configuration file 2018-09-22 01:38:40 +02:00
2e90d32ce2 intial import 2018-09-09 21:38:37 +02:00