886 Commits

Author SHA1 Message Date
Quentin McGaw
658fe5be2a chore: fix data .gitignore path 2024-01-15 09:12:59 +00:00
3deep5me
679a1d1b70 docs: add Kubernetes examples & documentation (#402)
Fix #396
2024-01-14 22:28:31 +01:00
varner-owl
ee495bbfea fix(gandi): personal access token support (#568)
- `"token"` replaced with `"personal_access_token"` (retro-compatible)
2024-01-14 20:44:45 +01:00
dependabot[bot]
ba2e77798a chore(deps): bump google.golang.org/grpc from 1.53.0 to 1.56.3 (#552) 2023-11-17 15:05:19 +01:00
Lieblinger
301e4d6cc4 feat(provider): support Hetzner (#503) 2023-11-17 15:04:05 +01:00
Quentin McGaw
496781ac34 fix(dnsomatic): allow email aliases for username 2023-11-17 14:02:04 +00:00
dependabot[bot]
e7558b7e2b chore(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 (#540) 2023-11-17 14:52:56 +01:00
Quentin McGaw
daa5edb56f hotfix(dynv6): fix lint error for nested if 2023-11-17 13:51:11 +00:00
Profiles
6669b39d45 fix(dynv6): set url ip field as 'auto' when provider_ip is true (#549) 2023-11-17 14:04:57 +01:00
michelwi
e635b19af6 fix(duckdns): support for ipv6 (#542)
* fix `ip6` -> `ipv6` url parameter key name
* fix ipv6 response handling
2023-10-14 11:52:53 +02:00
guangwu
c7c5468e5f docs: fix typos (#532) 2023-09-28 16:42:06 +02:00
Artur Pragacz
13ccb4ffd9 fix(ui): fix current ip ipinfo.io href link (#529) 2023-09-13 21:43:53 +02:00
Felix Wirth
7fac178b7d fix(ipv6): mask IPv6 address fetched (#515) 2023-08-08 09:07:39 +02:00
Felix Wirth
5c0b2012b7 fix(ui): include ip version for all providers (#512) 2023-08-08 09:06:08 +02:00
dependabot[bot]
a20cc6e1c2 chore(deps): bump google.golang.org/grpc from 1.50.1 to 1.53.0 (#500) 2023-08-04 16:27:44 +02:00
CyberAustin
5c3e407272 feat(providers): support now-dns (#504) 2023-08-04 16:26:56 +02:00
Felix Wirth
b92274347a fix(log): IPv4 and IPv6 only debug logging (#513) 2023-08-04 15:56:18 +02:00
biochron
7b3b6609fd feat(provider): support deSEC (#496) 2023-06-30 09:09:44 +02:00
Quentin McGaw
6f75aa1457 feat(ci): tagged Docker images without v prefix 2023-06-19 06:35:23 +00:00
Quentin McGaw
27456b628d fix(inwx): fix success codes detection 2023-06-17 14:08:18 +00:00
Quentin McGaw
0c98229588 hotfix(publicip/dns): fix error for unsupported any answer 2023-06-17 13:57:41 +00:00
Quentin McGaw
320d91d8e3 change(publicip/dns): use DNS over TLS only
- Fix critical issue #492
- Remove `google` dns provider since it does not support DNS over TLS
2023-06-17 13:57:41 +00:00
nils måsén
828373da7f docs(readme): pin shoutrrr link to go.mod shoutrrr version (#491) 2023-06-17 10:37:24 +02:00
Quentin McGaw
336bf057ab chore(update): rename run.go to service.go 2023-06-16 09:18:38 +00:00
Quentin McGaw
5a353c1b66 chore(models): remove unneeded HTML string alias type 2023-06-16 09:14:43 +00:00
Quentin McGaw
a5e49eb866 fix(server/ui): favicon href link fixed 2023-06-16 06:34:43 +00:00
Quentin McGaw
e4bb82d316 feat(shoutrrr): add SHOUTRRR_DEFAULT_TITLE
- Disable `SHOUTRRR_PARAMS` and log a warning if used
- Only add `&title=` parameter to shoutrrr address if it's not set
2023-06-16 06:31:33 +00:00
Quentin McGaw
3fdda01509 hotfix(sources/env): UPDATE_PERIOD back to PERIOD 2023-06-16 05:57:07 +00:00
Quentin McGaw
330fae1469 chore(ovh): remove unneeded sentinel errors 2023-06-15 07:13:19 +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
f2b56afda7 chore(providers): review error wrappings for client.Do
- Do not wrap with sentinel error ErrUnsuccesfulResponse
- Wrap with text `doing http request`
2023-06-15 06:42:38 +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
Quentin McGaw
05473044a6 fix(providers): review all http headers
- Add missing header(s) for some providers
- Remove provider receiver on `setHeaders` function when not needed
- Inline `setHeaders` function body when used only once for provider
- Remove unneeded headers such as content-type for GET requests
2023-06-15 06:14:13 +00:00
Quentin McGaw
e5188906bf fix(duckdns): send ip address when provider_ip is false 2023-06-15 06:04:46 +00:00
Quentin McGaw
6e65c4f3a5 chore(providers): use errors.BadRequest for badrequest responses only
- Replace HTTP request creation error wrappings with string
- Add missing HTTP request creation error wrappings
2023-06-15 05:48:07 +00:00
Joseph Diekhoff
06b6288e58 feat(providers): support name.com (#474) 2023-06-15 07:29:36 +02:00
Quentin McGaw
4ac2bd7933 docs(zoneedit): warn about minimum update period 2023-06-14 07:07:30 +00:00
Quentin McGaw
31374c3634 chore(deps): run go mod tidy 2023-06-14 07:01:55 +00:00
Quentin McGaw
c98f8d6052 feat(providers): support zoneedit.com (#482) 2023-06-14 09:01:16 +02:00
Quentin McGaw
07cdce1fa2 hotfix(sources/env): leave HTTPIPProviders as nil if not value is found
- Bug introduced in feaac82c11 due to retro-compatibility
2023-06-14 06:32:07 +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
Azorimor
09eb9e706d feat(provider): support netcup.de (#361) 2023-06-14 08:16:40 +02:00
Quentin McGaw
5455207852 docs(readme): undocument SHOUTRRR_PARAMS 2023-06-13 14:59:46 +00:00
Quentin McGaw
feaac82c11 docs(publicip): remove outdated ddnss http option 2023-06-13 14:41:40 +00:00
Quentin McGaw
baacd052ce fix(publicip/http): remove opendns option 2023-06-13 14:41:37 +00:00
Quentin McGaw
c12b7e50d7 feat(pkg/publicip/dns): add opendns option 2023-06-13 14:41:35 +00:00
Quentin McGaw
954dffd3a7 fix(ipv6): replace bad regex with custom IPv6 extract function
- Fix HTTP IPv6 fetching invalid extraction result
- Affects IPv6 comparison for allinkl, dnsomatic, google, he and noip
2023-06-13 07:16:55 +00:00
Quentin McGaw
204be2072e fix(ci): write creation date correctly 2023-06-13 05:43:43 +00:00