172076eaad
feat(webnsupdate): parse IPv6 prefixes
...
This allows us to better support IPv6 from fritzbox updates in the
future.
2025-02-05 23:17:49 +01:00
b775f8e811
refactor(nsupdate): send all commands at once
...
This ensures `nsupdate` is only called once per IP update (even for both
IPv4 and IPv6 in a single call).
2025-02-05 22:47:13 +01:00
48c2e5be4d
chore(deps): lock file maintenance
2025-02-04 23:00:40 +01:00
d56af9ecfe
chore(deps): lock file maintenance
2025-02-04 00:00:46 +01:00
72aa4f365e
fix(deps): update rust crate clap to v4.5.28
...
| datasource | package | from | to |
| ---------- | ------- | ------ | ------ |
| crate | clap | 4.5.27 | 4.5.28 |
2025-02-03 23:50:29 +01:00
d8630aa8cb
chore(deps): lock file maintenance
2025-02-01 23:00:21 +01:00
5655d7de67
fix(deps): update rust crate miette to v7.5.0
...
| datasource | package | from | to |
| ---------- | ------- | ----- | ----- |
| crate | miette | 7.4.0 | 7.5.0 |
2025-02-01 04:20:25 +01:00
d2f6c3cd66
chore(deps): lock file maintenance
2025-01-31 22:00:20 +01:00
13c9c544a7
fix(webnsupdate): updating IPv6 in ipv4-only mode
...
Dumb logic error T-T.
2025-01-31 21:46:27 +01:00
70ed898f1d
fix(tests): add case for when query has empty string
...
This is produced by the FRITZ!Box DDNS client.
2025-01-31 21:25:41 +01:00
2f97008475
fix(webnsupdate): make IP none when query is empty
...
This happens when one of the IPs hasn't changed (but the other has) in
the FRITZ!Box DDNS client.
2025-01-31 21:25:41 +01:00
09bd450a46
chore(deps): lock file maintenance
2025-01-29 23:00:44 +01:00
a6bb8bf817
chore(deps): lock file maintenance
2025-01-29 00:00:30 +01:00
a39fa354e4
feat(webnsupdate): add support for fritzbox style updates
...
Update now optionally accepts query params (e.g. `/update?ipv4=1.2.3.4`)
if present they will control how the update is made (only ipv4 and ipv6
are implemented right now).
Closes #80
2025-01-28 23:56:52 +01:00
26566fd612
fix(deps): update rust crate serde_json to v1.0.138
...
| datasource | package | from | to |
| ---------- | ---------- | ------- | ------- |
| crate | serde_json | 1.0.137 | 1.0.138 |
2025-01-28 19:00:24 +01:00
09be5627c3
refactor(module): NixOS tests
...
Way easier to extend/maintain.
2025-01-28 00:31:32 +01:00
dff29cab77
chore(deps): lock file maintenance
2025-01-26 23:00:37 +01:00
c8407a8eb4
chore(release): prepare for 0.3.6
...
Generate changelog and bump version.
2025-01-26 22:39:19 +01:00
77cb03576d
feat(flake): add tests for new allowedIPVersion option
...
This ensures we don't accidentally update records.
2025-01-26 22:30:04 +01:00
a47dd0bfac
feat(module): add option for setting --ip-type
...
This makes it easy to set the server to ipv4-only mode.
2025-01-26 22:25:41 +01:00
34ce8a69f6
feat(webnsupdate): allow running in IPv4/6 only mode
...
This fixes issues when the IPv6/IPv4 is not working properly but updates
are still happening (like rn) T-T.
2025-01-26 22:25:41 +01:00
ea428d1aef
chore(deps): lock file maintenance
2025-01-25 19:40:22 +01:00
98aa3c2a97
chore(deps): update rust crate insta to v1.42.1
...
| datasource | package | from | to |
| ---------- | ------- | ------ | ------ |
| crate | insta | 1.42.0 | 1.42.1 |
2025-01-25 19:30:20 +01:00
0fc17d9150
chore(deps): lock file maintenance
2025-01-24 23:00:42 +01:00
e72e3777b8
chore(deps): lock file maintenance
2025-01-23 23:00:21 +01:00
2473e6edbc
chore(release): prepare for 0.3.5 (docs)
...
Generate changelog
2025-01-23 22:49:09 +01:00
989ed2a080
chore(release): prepare for 0.3.5 (rust)
...
Bump version
2025-01-23 22:47:26 +01:00
2e8d20f89d
ci: parallelize checks
...
If I ever get more runners, this will be a great speedup.
2025-01-23 22:32:15 +01:00
ec27e31336
feat(tests): add nginx integration test
...
This ensures we can handle IPv4 and IPv6 simultaneously
2025-01-23 22:24:30 +01:00
e5f7d94f77
feat: tune compilation for size
...
Reduce size by setting `codegen-units = 1` in release mode.
2025-01-23 21:31:27 +01:00
a2735b46b5
feat(webnsupdate): add handling for multiple IPs
...
Specifically, for when both and IPv6 and and IPv4 addr is provided. This
ensures we can forward both addrs to webnsupdate, instead of only
allowing IPv4.
2025-01-23 21:10:21 +01:00
542336867a
fix(module): test both IPv4 and IPv6
...
This ensures both work
2025-01-23 21:06:26 +01:00
70162c83f6
chore(deps): lock file maintenance
2025-01-21 23:00:21 +01:00
0fd9a87907
fix(deps): update rust crate axum to v0.8.2
...
| datasource | package | from | to |
| ---------- | ------- | ----- | ----- |
| crate | axum | 0.8.1 | 0.8.2 |
2025-01-21 14:20:22 +01:00
880d462e80
chore(deps): lock file maintenance
2025-01-20 22:30:26 +01:00
40a9d600c9
fix(deps): update rust crate clap to v4.5.27
...
| datasource | package | from | to |
| ---------- | ------- | ------ | ------ |
| crate | clap | 4.5.26 | 4.5.27 |
2025-01-20 22:20:18 +01:00
8bf62f3ce2
fix(flake): switch overlay to callPackage
...
This ensures it can be built for any architecture (supported by Rust).
2025-01-10 23:42:40 +01:00
883f6e6ae7
fix(deps): update rust crate clap to v4.5.26
...
| datasource | package | from | to |
| ---------- | ------- | ------ | ------ |
| crate | clap | 4.5.25 | 4.5.26 |
2025-01-09 19:30:24 +01:00
4863ebc6df
fix(deps): update rust crate clap to v4.5.25
...
| datasource | package | from | to |
| ---------- | ------- | ------ | ------ |
| crate | clap | 4.5.24 | 4.5.25 |
2025-01-09 16:40:31 +01:00
36b4d55ea8
chore(deps): lock file maintenance
2025-01-08 23:00:22 +01:00
faf1f637ab
fix(deps): update rust crate tokio to v1.43.0
...
| datasource | package | from | to |
| ---------- | ------- | ------ | ------ |
| crate | tokio | 1.42.0 | 1.43.0 |
2025-01-08 17:10:21 +01:00
9b2880c141
chore(deps): lock file maintenance
2025-01-07 18:30:25 +01:00
0685c2601a
fix(deps): update rust crate clap to v4.5.24
...
| datasource | package | from | to |
| ---------- | ------- | ------ | ------ |
| crate | clap | 4.5.23 | 4.5.24 |
2025-01-07 18:20:30 +01:00
5e16700652
chore(deps): lock file maintenance
2025-01-06 23:00:38 +01:00
ccc1ccba97
chore(deps): lock file maintenance
2025-01-05 12:20:24 +01:00
a515c5d8df
fix(renovaterc): invalid cron syntax
...
There was a small mistake in the config.
2025-01-05 12:17:09 +01:00
7fdf322c73
fix(renovate): branch creation before automerge
...
Otherwise renovate might miss the merge window QAQ
2025-01-05 11:11:02 +01:00
5d6fd054ee
chore(deps): update rust crate insta to v1.42.0
...
| datasource | package | from | to |
| ---------- | ------- | ------ | ------ |
| crate | insta | 1.41.1 | 1.42.0 |
2025-01-05 01:40:22 +01:00
2b953c4b75
fix(typos): typos caught more typos :3
...
Some typos where not a typo tho, just a test T-T. This fixes it.
2025-01-04 13:43:53 +01:00
c038b68ecb
chore(deps): lock file maintenance
2025-01-04 13:20:20 +01:00