Quentin McGaw
1c80aaa3ec
chore(ci): rename created -> date versioning variable
...
- to match goreleaser default ldflags `main.date`
- rename Dockerfile ldflag from created to date
- remove goreleaser custom ldflags and use defaults ones
2024-02-03 07:55:33 +00:00
Quentin McGaw
e3ed94ff43
feat(update): more accurate time of events
...
- update call may take some time
- event time should be AFTER update is finished
- new ban time should be set to time AFTER update is finished
2024-02-01 16:36:17 +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
3e638326ed
feat(config): LISTENING_ADDRESS configuration key ( #590 )
2024-01-18 08:18:15 +01:00
Quentin McGaw
0a41ff5b3b
feat(config): read config from flags then environment variables
2024-01-16 10:15:22 +00:00
Quentin McGaw
ab6908b8cc
chore(config): upgrade to qdm12/gosettings v0.4.0-rc6
2024-01-16 10:13:28 +00:00
Quentin McGaw
91741a5aad
feat(health): HEALTH_HEALTHCHECKSIO_UUID for healthchecks.io
2024-01-15 13:56:56 +00:00
Felix Wirth
7ed63a036e
fix(internal/persistence/json): get events by IP version ( #514 )
2024-01-15 10:46:06 +01:00
Quentin McGaw
45881d137b
chore(main): rename s -> provider in providers for loop
2024-01-15 09:38:57 +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
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
204be2072e
fix(ci): write creation date correctly
2023-06-13 05:43:43 +00:00
Quentin McGaw
81b336fe07
hotfix(main): fix bad HTTP -> DNS public ip enable flag
2023-06-12 20:26:16 +00:00
Quentin McGaw
6d9568c7e5
chore(shoutrrr): create internal/shoutrrr package
2023-06-12 14:13:34 +00:00
Quentin McGaw
a9cb4ec63b
feat(settings): log out tree of settings
2023-06-12 12:22:05 +00:00
Quentin McGaw
3e4d359140
chore(settings): default root url to / (cannot be empty)
2023-06-12 12:19:30 +00:00
Quentin McGaw
aebe5988f1
feat(shoutrrr): add debug logs
2023-06-12 11:10:44 +00:00
Quentin McGaw
9a4a268926
chore(all): migrate from net.IP* to net/netip
2023-06-12 09:48:43 +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
57a928df92
chore(main): replace golibs/connectivity with health.CheckHTTP
2023-06-08 12:57:08 +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
2165b69137
chore(log): use github.com/qdm12/log
2022-12-07 10:10:18 +00:00
Quentin McGaw
e197478638
chore(health): remove unneeded logger argument
2022-12-07 10:08:43 +00:00
Quentin McGaw
3b0fae84e5
feat(dns): specify resolver address and timeout
...
- `RESOLVER_ADDRESS`
- `RESOLVER_TIMEOUT`
2022-12-07 10:08:39 +00:00
Quentin McGaw
1561babd76
chore(lint): add ireturn linter
...
- Return concrete structs
- Accept interfaces
- Define narrow interfaces locally where needed
2022-08-28 19:50:02 +00:00
Quentin McGaw (desktop)
7fccf2c979
Feat: additional logging about config read
2021-10-21 03:19:47 +00:00
Quentin McGaw (desktop)
9e73f99ee1
Maint: upgrade qdm12/goshutdown to v0.3.0
2021-09-27 13:43:27 +00:00
Quentin McGaw (desktop)
8b327f81c7
Feat: add destination to notification errors
2021-09-10 22:07:18 +00:00
Quentin McGaw (desktop)
335c82b4be
Maint: upgrade qdm12/golibs
...
- Fix logging settings inheritance
- Fix debug logging for HTTP client
2021-08-25 00:24:57 +00:00
Quentin McGaw (desktop)
28e2d00198
Fix: shoutrrr validation error wrapping, fix #233
2021-08-24 18:52:34 +00:00
Quentin McGaw (desktop)
51dd14cb66
Fix: gosplash title, fix #232
2021-08-16 12:37:10 +00:00
Quentin McGaw (desktop)
9252bca505
Maint: http client logger middleware
2021-08-10 20:47:36 +00:00
Quentin McGaw (desktop)
8f8d187a32
Maint: upgrade qdm12/golibs
...
- Wrap errors in config package with environment variable name
- Update logger calls to use a single string
2021-08-10 19:34:47 +00:00
Quentin McGaw (desktop)
e608a016db
Hotfix: use breml/rootcerts for TLS certs
2021-08-10 12:24:29 +00:00
Quentin McGaw (desktop)
050b34a9bd
Maint: use qdm12/gosplash
2021-08-10 11:44:52 +00:00
Quentin McGaw (desktop)
76b1f5f0df
Maint: local scoped buildInfo
2021-06-29 20:28:02 +00:00
Quentin McGaw (desktop)
4133dbfdc7
Feat: Support Shoutrrr addresses
2021-06-29 20:05:06 +00:00
Quentin McGaw (desktop)
c4f50992c2
Maint: use qdm12/goshutdown
2021-06-29 19:15:55 +00:00
Quentin McGaw (desktop)
1b154df8aa
Maint: move setupGotify inline in _main function
2021-06-29 18:49:32 +00:00
Quentin McGaw (desktop)
f9edf75540
Maint: more robust main logic
...
- Encapsulating main() handling OS signals
- _main returns an error instead of an exit code
2021-06-29 18:49:20 +00:00
Quentin McGaw (desktop)
ae748fb80d
Maint: use health server port for client query
2021-06-29 18:39:23 +00:00
Quentin McGaw (desktop)
edb6c491bf
Maint: use signal.NotifyContext
2021-06-29 18:35:22 +00:00
Quentin McGaw (desktop)
2f196b4886
Maint: pass default parent logger as arg to _main
2021-06-29 18:29:58 +00:00
Quentin McGaw (desktop)
2d7d016650
Maint: pass os.Args as argument to _main
2021-06-29 18:26:28 +00:00
Quentin McGaw (desktop)
1da19b3d6d
Maint: pass env as argument to _main
2021-06-29 18:25:44 +00:00
Quentin McGaw (desktop)
4cdc71b45c
Maint: server listens on all interfaces
2021-06-29 16:16:07 +00:00
Quentin McGaw (desktop)
36a6275bd2
Maint: config package for environment variables
2021-06-29 16:12:28 +00:00
Quentin McGaw (desktop)
e04c1f83df
Maintenance: use time/tzdata instead of Alpine's
2021-06-08 01:43:06 +00:00
Quentin McGaw (desktop)
9b8ec3298b
Maintenance: simplify file paths logic
2021-06-07 13:51:45 +00:00