Quentin McGaw
05d566c807
chore(all): format code using gofumpt
2024-10-20 13:12:33 +00:00
Quentin McGaw
dbd2f79760
chore(providers): move domain check to each provider validation
2024-06-27 08:37:04 +00:00
Quentin McGaw
da4791e2db
chore(providers): separate settings validation in its own function
2024-06-27 08:26:36 +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
d009ef3d3e
fix(inwx): allow wildcard hosts
2024-02-12 14:20:11 +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
Felix Wirth
5c0b2012b7
fix(ui): include ip version for all providers ( #512 )
2023-08-08 09:06:08 +02:00
Quentin McGaw
27456b628d
fix(inwx): fix success codes detection
2023-06-17 14:08:18 +00:00
Quentin McGaw
5a353c1b66
chore(models): remove unneeded HTML string alias type
2023-06-16 09:14:43 +00:00
Quentin McGaw
1033711ab4
chore(provider): review update errors and wrappings
...
- `ErrBadHTTPStatus` -> `ErrHTTPStatusNotValid`
- `ErrNumberOfResultsReceived` -> `ErrResultsCountReceived`
- `ErrNoResultReceived` -> `ErrReceivedNoResult`
- `ErrAbuse` -> `ErrBannedAbuse`
- `ErrInvalidSystemParam` -> `ErrSystemParamNotValid`
- `ErrNoIPInResponse` -> `ErrReceivedNoIP`
- `ErrUnsuccessfulResponse` -> `ErrUnsuccessful`
- Remove `ErrRequestEncode` and `ErrRequestMarshal` and wrap errors with string instead
- Remove `ErrUnmarshalResponse` and wrap errors with string instead
- Add `ErrResponseTooShort`
- Remove `ErrNotFound` and replace with more precise not found errors
- Add `ErrRecordResourceSetNotFound` error
- Sort errors list alphabetically
2023-06-15 07:13:14 +00:00
Quentin McGaw
c26b3fc0d3
chore(provider/errors): review error names and text
...
- Move problem part at end of error variable name for better autocompletion
- Move problem part at end of error message to match error variable name
- Change `Empty` -> `NotSet`
- Change `Malformed` -> `NotValid`
- Sort all errors alphabetically
2023-06-15 06:31:29 +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