27 Commits

Author SHA1 Message Date
Quentin McGaw
de2e675ed2 chore(all): prefer using ghcr.io images 2026-01-13 17:16:04 +00:00
Quentin McGaw
3e638326ed feat(config): LISTENING_ADDRESS configuration key (#590) 2024-01-18 08:18:15 +01:00
Quentin McGaw (desktop)
fe00994522 Feat: PUBLICIP_DNS_TIMEOUT variable 2021-06-29 20:37:56 +00:00
Quentin McGaw (desktop)
4133dbfdc7 Feat: Support Shoutrrr addresses 2021-06-29 20:05:06 +00:00
Quentin McGaw
8b2e83a69e Feature: HTTP and DNS Public IP fetching options, fixes #136 (#187) 2021-03-22 17:49:58 -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
a10fb64ffd Maintenance: golibs logger update (#170) 2021-03-01 20:51:22 -05:00
Quentin McGaw
5ab1607f97 Feature: UPDATE_COOLDOWN_PERIOD refers to #140 2021-01-16 20:30:21 +00:00
Quentin McGaw
701ae125bf Upgrade dependencies, refers to #119 2020-11-25 14:27:04 +00:00
Quentin McGaw
a5afca15d1 Fix #62 CONFIG env variable 2020-05-30 18:41:31 +00:00
Quentin McGaw
c23998bd09 Refactoring (#63)
- Only calls DNS API(s) once the public IP address changes
- Only one ip method per ip version (ipv4, ipv6, ipv4/v6)
- Gets the ip address once every period for all records
- More object oriented coding instead of functional
- Support to update ipv4 and ipv6 records separately, for supported DNS providers
2020-05-29 20:38:01 -04:00
Quentin McGaw
af68f9ba0f Fix #54 periodic backup to zip files 2020-05-11 23:11:48 +00:00
Quentin McGaw (desktop)
ce907455d3 Fix #42 thanks craigkc! 2020-03-18 01:40:51 +00:00
Quentin McGaw
bdb0c2bf2e Refactor entire Go codebase (#32)
- Small UI adjustments
- Only show last 2 previous IP addresses in notifications and UI
- Database uses interfaces to be modular/pluggable in order to move away from sqlite
- Less dependencies, it even uses a switch statement instead of httprouter
- Updated golibs
- Changed default logging format to `console` (zap)
- Better code overall, modular updater and trigger system
- Refactored readme
- CI script improved
2020-02-22 17:21:32 -05:00
Quentin McGaw (desktop)
4c860889ac Force docker-compose to 3.7 by default 2019-10-27 01:11:54 +00:00
Quentin McGaw
6f5e422f4b Added missing LOGLEVEL environment variable 2019-05-20 23:07:04 +02:00
Quentin McGaw
105ea76ce5 Small text rework 2019-05-09 18:36:52 +02:00
Quentin McGaw
9377c7eec7 All in /updater/data directory for simpler setup 2019-05-01 18:13:57 +02:00
Quentin McGaw
89cd9c7185 BIg code restructuring to accommodate more user parameters
- Move from settings in environment variables `RECORDi` to a configuration file *config.json*
- Each entry can has its own delay optionally
- Proper cleanup on exit (close channels etc.)
- Fan out channels architecture for force and quit channels to all updates goroutines
- Each entry has its own set of fields explained in the readme
- Retrocompatibility for environment variables entries for now
- More enum types to avoid problems
2019-05-01 17:58:15 +02:00
Quentin McGaw
ed1823d244 Complete code refactoring
- `LOGGING` environment variable `json` or `human`
- `NODEID` environment variable (integer)
- Much cleaner go code
- Listener for exit of program to do cleanup
- All code is in packages except main.go
- Custom logger package added
- Connectivity checks reworked
- Healthcheck server on localhost only, so not exposed to outside world
- Updated `go.mod` and `go.sum`
2019-04-26 02:04:39 +02:00
Quentin McGaw
ce88c48459 Upgraded to Go 1.12.4 and updated readme 2019-04-19 22:52:12 +02:00
Quentin McGaw
b23152bdda http.Client is now in env variable; docker-compose updated to 3.1 2019-03-08 20:30:15 +01:00
Quentin McGaw
2cfcfe635a Rework of main code and added sqlite database 2019-03-08 13:55:38 +01:00
Quentin McGaw
c5baf17836 Default port is 8000 and now runs as non root for real
Plus some more checks for environment variables with more X emojis.
2018-11-07 15:42:29 +01:00
Quentin McGaw
8a9f8bff2c Run as non root user and other changes
- index.html can be placed with updater app in separate directory
-
2018-11-07 11:45:08 +01:00
Quentin McGaw
3131523e8e Dockerfile and readme rework 2018-11-06 13:57:54 +01:00
Quentin McGaw
7f1aacd0ba Initial commit
Pretty much done with the project for now. Ask for more content ;)
2018-10-15 19:41:59 +02:00