Drew Short
66dacfa710
Removed unused config reference
* Removed unused imports
7 years ago
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.
7 years ago
Drew Short
0c1e6c8507
POC work for updating domain record automatically
7 years ago
Drew Short
7e69b9f29e
Trying to standardize errors
7 years ago
Drew Short
9466cae494
Adding initial cloudflare client interaction
* address lookup for defined zone
7 years ago
Drew Short
00e11e760e
Cleaning up the endpoint auth middleware
7 years ago
Drew Short
449b27747e
import cleanup
7 years ago
Drew Short
b68cdce121
Simple username+token authentication
7 years ago
Drew Short
076c11535c
refactor following code from https://github.com/actix/examples/blob/master/simple-auth-server/ for app state
7 years ago
Drew Short
7fea659c6e
Update config to mirror the api concept of root and zone
7 years ago
Drew Short
6e92cabcbe
Cargo Clippy linting suggestions
7 years ago
Drew Short
3745d56e5a
Ran cargo fix --edition and updated to use the rust 2018 parser
7 years ago
Drew Short
0d2599fac7
ignoring the reported port for the moment
7 years ago
Drew Short
f2a0b0520c
Added support for parsing IP Addresses
7 years ago
Drew Short
9cad1dfc91
Ran code formatting and cleaned imports.
7 years ago
Drew Short
a9c0050ce6
Added address endpoint to print requester address
7 years ago
Drew Short
cf605b4641
Code cleanup
* Moved router into the server module
* Added host and worker configuration arguments
7 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.
7 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
7 years ago