Commit Graph

17 Commits

Author SHA1 Message Date
Quentin McGaw
c7dbbcbaa0 fix(dondominio): remove unneeded name field 2024-08-21 09:35:34 +00:00
Benjamin Temple
8f456977be fix(errors): 'agend' -> 'agent' typo in user agent banned error (#790) 2024-08-17 13:32:55 +02:00
Quentin McGaw
c345a788e3 hotfix(duckdns): fix behavior for full domain strings 2024-06-27 17:03:05 +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
Marcelo HP Ferreira
d3b689d0ef feat(provider): route53 simple routing (#715) 2024-06-15 17:02:22 +02:00
Quentin McGaw
093e8154f3 feat(gcp): validate credentials JSON object has type field 2024-05-05 10:01:00 +00:00
Quentin McGaw
bfdae74925 docs: add contributing document with example provider
- add example provider in code and docs markdown file
- merge contributing guides together
- add contributing section on adding a new provider
2024-02-29 09:25:54 +00:00
CyberAustin
aa12ccc0b9 feat(provider): goip.de support (#623) 2024-02-03 19:28:46 +01:00
Quentin McGaw
b771b5c9b5 chore(namecheap): make code only IPv4 compatible
- Namecheap does not support IPv6 dynamic updates still
2024-01-29 09:43:01 +00:00
Quentin McGaw
417a26282e feat(dondominio): allow any host values including wildcard 2024-01-28 09:42:39 +00:00
Quentin McGaw
0c561d4378 feat(custom): add custom provider
- Sends HTTP GET request to url given with ip information
- Configurable ipv4 and ipv6 query parameter keys
- Configurable response success detection with a regex
- Treat non status OK 200 responses as failures
2024-01-19 19:54: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
99f83f3f12 chore(providers): review error wrappings for validation errors 2023-06-15 06:23:39 +00:00
Quentin McGaw
9f6e9750c3 chore(provider): remove intermediary errors
- Wrap errors with strings instead of sentinel errors
2023-06-15 06:15:25 +00:00
Joseph Diekhoff
06b6288e58 feat(providers): support name.com (#474) 2023-06-15 07:29:36 +02: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