Commit graph

106 commits

Author SHA1 Message Date
Jan Christian Grünhage
9a7fefc16c
chore: bump version and update changelog 2023-01-14 21:55:23 +01:00
Jan Christian Grünhage
96aa83dbfc
fix: switch to cloudflare fork that actually parses API responses 2023-01-14 21:52:51 +01:00
Jan Christian Grünhage
8cd963ad59
chore: fix clippy lints 2023-01-14 21:48:07 +01:00
Jan Christian Grünhage
3e1152edfe
chore: improve error handling 2023-01-14 21:46:14 +01:00
Jan Christian Grünhage
d715d3d408
chore: bump version and update changelog 2023-01-02 00:49:01 +01:00
Jan Christian Grünhage
276a22e7f6
chore: improve logging granularity 2023-01-02 00:48:07 +01:00
Jan Christian Grünhage
4eb137fed0
fix: make container image actually usable 2023-01-02 00:47:40 +01:00
Jan Christian Grünhage
32b8d8fefb
chore: bump version and update changelog 2023-01-01 23:33:09 +01:00
Jan Christian Grünhage
40ceae42ef
feat: add Dockerfile 2023-01-01 23:26:56 +01:00
Jan Christian Grünhage
6ba565c9de
chore: update license 2023-01-01 23:03:13 +01:00
Jan Christian Grünhage
a2cf322135
fix: don't use XDG spec, because this is a system service 2023-01-01 22:51:26 +01:00
Jan Christian Grünhage
f84046fd13
chore: update dependencies 2023-01-01 22:35:07 +01:00
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