Drew Short
a0f86b4435
Allow addresses to be parsed without ports
6 years ago
Drew Short
66dacfa710
Removed unused config reference
* Removed unused imports
6 years ago
Drew Short
da1a8e9e58
Fixing config values not being preferred over defaults.
6 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.
6 years ago
Drew Short
580376f21b
Making sure that the deployment only happens for master
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
71a12ccf22
Simplify the root/zone lookup
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
bc6c72d136
Bumping the expected rust build containers to Rust 2018 (1.31)
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
ae1fbd1d16
Added some windows scripts for building and deploying a docker container
6 years ago
Drew Short
52b9fcd5d7
Args update
6 years ago
Drew Short
a4e2c2b46b
Configuration file is not optional
6 years ago
Drew Short
e44388501d
Changed order of the default logging environment variable
6 years ago
Drew Short
17644a44bf
Moved args into a separate module
6 years ago
Drew Short
a6185c5d18
Resolved compilation and borrowing errors
6 years ago
Drew Short
f95872126d
Moved argument parsing into module
* Port was redefined as i16 as that is the valid range for ports
* argument parsing is cleaned up and moved into args module
* correctly prefer arguments over config if present
6 years ago
Drew Short
31cc0eb64e
Missing assignment
6 years ago
Drew Short
69ca0b14dc
Added some startup safety by not unwrapping actix_server directly
6 years ago
Drew Short
9cad1dfc91
Ran code formatting and cleaned imports.
6 years ago
Drew Short
97e273cb72
Moved config into a module
6 years ago
Drew Short
2acf50a700
Added user info to configuration file
6 years ago
Drew Short
e3c106e438
Removed needless error passing from missing file error
6 years ago
Drew Short
a9c0050ce6
Added address endpoint to print requester address
6 years ago
Drew Short
822311397d
Additional logging for ConfigError
6 years ago
Drew Short
e4f1c09ada
Additional logging by default
* made the rsddns namespace log at info by default
* Added messages to the configuration errors
* made configuration error cause logging
6 years ago
Drew Short
99af21f322
Changed the updated cloudflare API to an open endpoint
6 years ago
Drew Short
85bd3b539b
Dynamic defaults for workers and config setup from file or commandline
6 years ago
Drew Short
8b371675a5
Moved to serde_yaml for loading the config file
6 years ago
Drew Short
9dc05c9561
No reason to list patch numbers
6 years ago
Drew Short
739a28358b
Updated dependencies
6 years ago
Drew Short
667e713a18
Working on loading from config file
6 years ago
Drew Short
6f49da35d6
Added the paths to the wrong build
6 years ago
Drew Short
5e07839454
Added the hash sums to the artifacts
6 years ago
Drew Short
3423df0c44
Adding md5 and sha1 hashes to the upload
6 years ago
Drew Short
54ae8e7e4f
Bumping to latest rust version
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
5c04a3c5b3
Only make release builds for master
* Upload those release builds to nexus
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
Drew Short
ceab25642d
adding gitlab ci configuration
6 years ago