Drew Short
8abb4b80d5
Updated the client to update a record instead of creating a new record.
* Also cleaned up the methods to find and update records.
* Added functionality to create methods if no record already exists.
6 years ago
Drew Short
0c1e6c8507
POC work for updating domain record automatically
6 years ago
Drew Short
7e69b9f29e
Trying to standardize errors
6 years ago
Drew Short
9466cae494
Adding initial cloudflare client interaction
* address lookup for defined zone
6 years ago
Drew Short
00e11e760e
Cleaning up the endpoint auth middleware
6 years ago
Drew Short
449b27747e
import cleanup
6 years ago
Drew Short
b68cdce121
Simple username+token authentication
6 years ago
Drew Short
076c11535c
refactor following code from https://github.com/actix/examples/blob/master/simple-auth-server/ for app state
6 years ago
Drew Short
7fea659c6e
Update config to mirror the api concept of root and zone
6 years ago
Drew Short
6e92cabcbe
Cargo Clippy linting suggestions
6 years ago
Drew Short
3745d56e5a
Ran cargo fix --edition and updated to use the rust 2018 parser
6 years ago
Drew Short
0d2599fac7
ignoring the reported port for the moment
6 years ago
Drew Short
f2a0b0520c
Added support for parsing IP Addresses
6 years ago
Drew Short
9cad1dfc91
Ran code formatting and cleaned imports.
6 years ago
Drew Short
a9c0050ce6
Added address endpoint to print requester address
6 years ago
Drew Short
cf605b4641
Code cleanup
* Moved router into the server module
* Added host and worker configuration arguments
6 years ago
Drew Short
a7f3901656
Stabalizing api code
* Added logging
* Moved api routing into the api module
* Added method stubs for getting address, updating address, and updating address manually.
6 years ago
Drew Short
21c7b74ce2
Adding health encdpoint
* Reorgnaized to use router for the actix_web::App factory
*Inlined the version from the cargo metadata
* Changed the project name to rsddns
* Added a healthcheck function
* Added dependencies serde and serde_derive
* Added build configuration to the release profile to shrink binary
6 years ago