Commit graph

94 commits

Author SHA1 Message Date
Jan Christian Grünhage
1193a1967d
chore: make clippy happy 2023-01-01 22:29:36 +01:00
Jan Christian Grünhage
5f25f85a5e chore: fork and rename
I'm forking this, with the following changes:
 - daemon instead of CLI tool run via cron
 - mandatory config file
 - use cloudflare crate instead of home grown API client
 - IPv6 support
 - CNPLv6+ licensed instead of MIT licensed
2021-05-23 15:33:28 +02:00
Rostislav Raykov
7cf8502fb9 Merge branch 'release/0.3.0' 2020-04-21 10:05:04 +02:00
Rostislav Raykov
d88bb93cfe chore: Bump up version number to 0.3.0 2020-04-21 10:04:56 +02:00
Rostislav Raykov
33565185da docs: Update readme with 0.3.0 API changes 2020-04-21 10:03:17 +02:00
Rostislav Raykov
eaee82bf5e Merge branch 'master' into develop 2020-04-21 09:58:45 +02:00
Rostislav
4cf30631b6
Merge pull request #3 from jcgruenhage/various-updates
Some features/fixes/updates
2020-04-21 09:53:45 +02:00
Jan Christian Grünhage
b3bdf965e7 chores: Update crates to latest versions 2020-04-20 23:37:28 +02:00
Jan Christian Grünhage
0c6eb9a9eb feat: use log crate instead of println
To make debugging easier, this switches to env_logger and the log crate.
This helps with getting to the output of the underlying crates this
builds on.

BREAKING CHANGE: this changes the output, so if you parse the output in
your scripts, then this might break it.
2020-04-20 23:21:01 +02:00
Jan Christian Grünhage
37bd9b1f24 fix: only write IP cache after API call
previously, when the API call would fail (for whatever reason),
the cached IP had already been written, so following executions
wouldn't attempt to update the IP, even though the previous
attempt had failed.
2020-04-20 23:13:42 +02:00
Jan Christian Grünhage
ec8b893f6a feat: migrate to api tokens
Cloudflare's v4 API provides three ways of authenticating,
with the API tokens being the new, standard conform, recommended
way. This patch removes the use of the old auth_key + email combo
and replaces it with API tokens.

BREAKING CHANGE: auth keys can't be used anymore, switch to api tokens
2020-04-20 23:04:31 +02:00
Rostislav Raykov
aefd5344f0 Merge branch 'release/0.2.1' into develop 2020-03-22 23:32:01 +01:00
Rostislav Raykov
2920328093 Merge branch 'release/0.2.1' 2020-03-22 23:31:53 +01:00
Rostislav Raykov
0dbfa23ef8 chore: Bump up version number to 0.2.1 2020-03-22 23:31:50 +01:00
Rostislav Raykov
143bbb7a33 feat: Better report different HTTP status responses 2020-03-22 23:30:42 +01:00
Rostislav Raykov
7ceb5c3c50 feat: Update type of cloudflare response
Turns out that the results field can be null
2020-03-22 23:30:10 +01:00
Rostislav Raykov
ed57b709ec fix: Use proper vscode launch.json format for env vars 2020-03-22 22:25:51 +01:00
Rostislav Raykov
6aa2458cb2 chore: Add required cli args to debug config 2020-03-22 22:18:52 +01:00
Rostislav Raykov
cfd5cb9da9 feat: Use anyhow for error handling 2020-03-22 22:10:50 +01:00
Rostislav Raykov
601445e973 chore: Add simple vscode debug config 2020-03-22 20:58:37 +01:00
Rostislav Raykov
56032b81bc chore: Update cargo.toml to use anyhow for errors 2020-03-22 20:58:18 +01:00
Rostislav Raykov
536b184693 feat: Update usage to work with new versions of libs 2020-03-21 22:43:04 +01:00
Rostislav Raykov
93f896f194 chore: Update crates to latest versions 2020-03-21 22:42:04 +01:00
Rostislav Raykov
46b9cd79a6 chore: Add envrc to gitignore 2020-03-21 22:41:41 +01:00
Rostislav Raykov
4a12f3676f chore: Update human-panic to show crash reports
Update to the latest point release of human panic
so we can see properly the crash reports.
2020-03-21 20:52:12 +01:00
Rostislav Raykov
933b49f368 Merge branch 'release/0.2.0' into develop 2019-09-23 12:01:48 +02:00
Rostislav Raykov
1658a432cf Merge branch 'release/0.2.0' 2019-09-23 12:01:42 +02:00
Rostislav Raykov
3803843ba2 chore: Bump up version number to 0.2.0 2019-09-23 12:01:25 +02:00
Rostislav Raykov
44d2279271 docs: Update README with info on new config option 2019-09-23 11:03:00 +02:00
Rostislav Raykov
8cbad9d7f1 feat: Add option to pass a config file 2019-09-23 10:58:41 +02:00
Rostislav Raykov
8ed08c5fa0 style: Remove comment from Cargo.toml 2019-09-23 10:58:17 +02:00
Rostislav Raykov
b654f4523e fix: Check the response object before trying to extract a dns record id from it 2019-09-23 10:58:04 +02:00
Rostislav Raykov
403ec58e21 chore: Add toml as a dependency
This is gonna be used for the config file parsing
2019-09-22 22:27:58 +02:00
Rostislav Raykov
afaf2918c6 refactor: Use quicli convenience functions for fs stuff 2019-09-22 22:27:28 +02:00
Rostislav Raykov
48a9832a7a fix: Correct release artifact downloaded file names 2019-09-21 23:34:52 +02:00
Rostislav Raykov
73c93cfbd2 Merge branch 'release/0.1.8' into develop 2019-09-21 23:19:53 +02:00
Rostislav Raykov
a822d34c5a Merge branch 'release/0.1.8' 2019-09-21 23:19:47 +02:00
Rostislav Raykov
8dd21dbd94 chore: Bump up version number to 0.1.8 2019-09-21 23:19:44 +02:00
Rostislav Raykov
53608879b9 chore: Attempt to figure out why one workflow is not triggering 2019-09-21 23:18:47 +02:00
Rostislav Raykov
a6102da286 Merge branch 'release/0.1.7' into develop 2019-09-19 11:44:10 +02:00
Rostislav Raykov
5df01f1aea Merge branch 'release/0.1.7' 2019-09-19 11:44:05 +02:00
Rostislav Raykov
867aad941e chore: Bump up version number to 0.1.7 2019-09-19 11:44:01 +02:00
Rostislav Raykov
00a8fc1f61 fix: Adds the README to the cargo manifest
Addresses the pressing issue of #2
2019-09-19 11:43:07 +02:00
Rostislav Raykov
e2ec6bbcdc feat: Refactor the GH actions
Have a matrix to build both macOS and Linux binaries.
Fix the version fetching and putting it in the release
archive's name
2019-09-19 11:41:23 +02:00
Rostislav Raykov
aecbf89cf2 Merge branch 'release/0.1.6' into develop 2019-09-18 14:38:29 +02:00
Rostislav Raykov
024476cc6f Merge branch 'release/0.1.6' 2019-09-18 14:38:25 +02:00
Rostislav Raykov
80bece6f68 chore: Bump up version number to 0.1.6 2019-09-18 14:38:22 +02:00
Rostislav Raykov
f3db0cb559 fix: Crates.io doesn't support git repo links without http/s 2019-09-18 14:38:00 +02:00
Rostislav Raykov
a3102f45b4 Merge branch 'release/0.1.5' into develop 2019-09-18 14:31:55 +02:00
Rostislav Raykov
ef66652a13 Merge branch 'release/0.1.5' 2019-09-18 14:31:48 +02:00