Quentin McGaw
05d566c807
chore(all): format code using gofumpt
2024-10-20 13:12:33 +00:00
Quentin McGaw
c16287e48a
fix(unix): umask behavior for file creation
...
- remove bad calculation of "our own" umask
- remove umask "union effect"
- do not touch system umask unless `UMASK` is set
- set system umask only if `UMASK` is set
2024-09-19 14:21:55 +00:00
Quentin McGaw
3a6262ef2c
feat(files): configurable UMASK defaulting to system umask
2024-09-16 14:33:37 +00:00
Quentin McGaw
918df24488
change(all): deprecate provider_ip config field
...
- change should not affect any existing configurations
- change solves issues with dual stack updates (#767 )
- was unneeded and adds unneeded complexity
2024-07-26 08:06:24 +00:00
Quentin McGaw
07d7645d78
feat(config): read both owner and domain from domain
...
- retro-compatible change: keep using host/owner if set
- otherwise extract owner and eTLD+1 from domain field
- documentation updated to only use the `domain` field
2024-06-27 13:10:16 +00:00
Quentin McGaw
dbd2f79760
chore(providers): move domain check to each provider validation
2024-06-27 08:37:04 +00:00
Quentin McGaw
32fafeca95
chore(all): rename host to owner
...
- Retro-compatible change, `host` field still works
- Documentation updated to use `owner` field
- Code updated to use owner variable name
2024-06-27 06:51:08 +00:00
Quentin McGaw
ae4ab39421
fix(settings): trim spaces from each host value
2024-04-29 14:27:28 +00:00
CyberAustin
b31d848d96
chore(params): validate domain strings for providers using it ( #638 )
2024-04-01 14:35:10 +02:00
Quentin McGaw
b6e8f699a6
hotfix(ipv6): restore compatibility with old IPV6_PREFIX
2024-02-01 09:23:28 +00:00
Quentin McGaw
8d282cd6d9
hotfix(params): only log warning if ipv6 suffix is set for ipv4
2024-02-01 09:07:16 +00:00
Quentin McGaw
bad0d3aeda
fix(ipv6): add JSON IPv6 suffix parameter ( #611 )
...
- Remove `IPV6_PREFIX` environment variable (unneeded) and remove associated code
- Update all documentation for each provider supporting IPv6
- Build IPv6 as prefix:suffix when getting it from a public IP source for each record IPv6 suffix parameter
- Automatically disable provider_ip if public ip is IPv6 and IPv6 suffix is set (they are not compatible with each other)
2024-01-29 17:31:07 +01:00
Quentin McGaw
e665684fa4
fix(google): removed since no longer functional
...
- Logs error if provider google is used
- Documentation updated
- Fixes #605
2024-01-27 21:24:27 +00:00
Quentin McGaw
4a6020558f
chore(all): rename settings package to provider
...
- internal/provider: rename `Settings` interface to `Provider`
- internal/params: rename *Settings* to *Providers*
- internal/records: rename `Settings` to `Provider`
2023-06-14 06:25:56 +00:00
Quentin McGaw
4b51c8b35b
chore(config): rework entire global settings reading
...
- Use qdm12/gosettings
- No functional changes (at least intended)
- Remove qdm12/golibs dependency
chore(params): remove dependency on golibs
2023-06-12 06:17:24 +00:00
Quentin McGaw
15c6ad4b01
chore(all): use string comparisons instead of length for string variables
2023-04-13 16:58:33 +00:00
Quentin McGaw
3339c838fa
chore(all): remove short if error checks
2023-04-13 15:38:05 +00:00
Quentin McGaw
49b779813a
chore(lint): bump from v1.50.1 to v1.52.2
2023-04-13 09:44:27 +00:00
Quentin McGaw
0e3703b8f2
chore(settings): validate using local regexes
2023-04-13 09:25:35 +00:00
Quentin McGaw
bcbf0938c1
chore(lint): add revive linter and fix issues
...
- Export returned struct types
- Do not export interfaces for other packages to use
2022-08-28 22:18:19 +00:00
Quentin McGaw (desktop)
7fccf2c979
Feat: additional logging about config read
2021-10-21 03:19:47 +00:00
Quentin McGaw (desktop)
41e61ddaa6
Fix: better error messages for JSON unmarshal
2021-08-10 22:27:17 +00:00
Quentin McGaw (desktop)
9252bca505
Maint: http client logger middleware
2021-08-10 20:47:36 +00:00
Quentin McGaw (desktop)
1e74dc6179
Fix: write JSON file from CONFIG variable
2021-06-30 01:36:08 +00:00
Quentin McGaw (desktop)
cc670b3939
Feature: request url and body debug logs
2021-06-07 12:58:17 +00:00
Quentin McGaw
381af0cd90
Feature: allow to run without settings
2021-05-23 22:16:50 +00:00
Quentin McGaw
da4341fbba
Maintenance: move settings creation
...
- From params package to settings package
- Remove constructor type
- Remove regex.Matcher arg if not needed for some providers
2021-05-20 14:47:40 +00:00
Quentin McGaw
1705afeada
Maintenance: settings shared code in sub packages
2021-05-20 14:35:52 +00:00
Quentin McGaw
844904aa7b
Maintenance: upgrade linting setup
...
- Update Golangci-lint to v1.40.1
- Add more linters
- Remove rules from .golangci.yml in favor of inline nolint comments
- Fix linting errors
2021-05-19 01:00:42 +00:00
Quentin McGaw
d727feefc4
Feature: Variomedia support ( #208 )
...
- Taken from #174 with added fixes to support IPv6
- Closes #174
2021-05-18 20:28:36 -04:00
Matthew Hill
c0e57c6e1d
Fix: read case sensitive CONFIG variable ( #192 )
...
Converting the string to lowercase breaks case sensitive api keys/secrets
Signed-off-by: Matthew Hill <matthewchill7@gmail.com >
2021-04-04 11:14:38 -04:00
Quentin McGaw
e3472476e2
SPDyn support, fixes #182 ( #179 )
2021-03-23 11:18:02 -04:00
Quentin McGaw
869cf52c7d
Njalla support fixes #180 ( #181 )
2021-03-22 22:15:15 -04:00
Quentin McGaw
0a89666d1d
Feature: public IP package to work over HTTPs and DNS ( #158 )
2021-03-21 17:59:17 -04:00
Quentin McGaw
6e0d48f7c1
Maintenance: remove no_dns_lookup and replace DNSLookup() method with Proxied() ( #160 )
2021-03-02 02:07:52 +00:00
Quentin McGaw
a649f8a4a8
FreeDNS support ( #173 )
2021-02-20 20:30:16 -05:00
Frederic R
d54c334e1c
Gandi support ( #149 )
...
Authored-by: Frederic R. fredericrous
Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com >
2021-01-26 21:54:18 -05:00
Quentin McGaw
180092f47e
Linode support ( #144 )
2021-01-20 18:31:19 -05:00
Quentin McGaw
e83857b3db
Maintenance: rename params getters
2021-01-16 20:33:13 +00:00
Quentin McGaw
18b058f188
Maintenance: fix linting errors
2021-01-14 02:01:22 +00:00
Quentin McGaw
be89e798d2
OpenDNS support, fix #121 ( #126 )
2021-01-13 20:50:53 -05:00
Quentin McGaw
20704eea8c
Dynv6 support, fix #89 ( #133 )
2021-01-13 20:49:01 -05:00
Quentin McGaw
6416c6fed3
OVH support, fix #111 ( #127 )
2021-01-13 20:48:04 -05:00
Quentin McGaw
6c2c2cf7cb
Maintenance: Update golibs and rework params
2021-01-10 23:45:28 +00:00
Quentin McGaw
d8a7fef6bd
LuaDNS support ( #137 ) fix #135
2020-12-30 14:50:41 -05:00
Quentin McGaw
2e069ccf1d
Strato support ( #132 )
2020-12-16 18:48:19 -05:00
Quentin McGaw
82e3d60db5
Digital ocean support, fix #98 ( #110 )
2020-12-12 16:20:26 -05:00
Quentin McGaw
c65c8d63bd
Selfhost.de support, fix #120 ( #122 )
2020-12-10 09:19:23 -05:00
Quentin McGaw
166b0c7095
Fix #115
2020-11-11 22:28:20 +00:00
Quentin McGaw
3047c83ee9
Add linters and fix lint issues
2020-10-25 16:47:27 +00:00