Commit Graph

358 Commits

Author SHA1 Message Date
Quentin McGaw
3bdb8ba5ac Update devcontainer lint settings 2020-05-08 00:34:00 +00:00
Quentin McGaw
345cc754ff Update golibs 2020-05-08 00:33:51 +00:00
Quentin McGaw
9e05c6164d Update golang to 1.14 2020-05-08 00:30:49 +00:00
Quentin McGaw
ea79ca53ea Update Golangci-lint to 1.26.0 2020-05-08 00:30:42 +00:00
Quentin McGaw
6a3c280f30 Buildx readme badge 2020-04-05 02:36:42 +00:00
Quentin McGaw
01e982a4cd Golangci-lint buildx fix
- Timeout of 10 minutes
- Run golangci-lint after tests and build
- Removed arch armv6 and ppc64le (too slow for golangci-lint)
2020-04-05 01:27:35 +00:00
Quentin McGaw
99d33bbcf9 Golangci lint and fixing lint issues (#48) 2020-04-04 16:38:10 -04:00
Quentin McGaw
e38351e5a4 Remove sqlite (#46)
- Removed support for SQLite based database
- Removed migration from sqlite to json file persistence storage
- Updated announcement
- Scratch based Docker image
- Much faster rebuilds
- ARM v6 and ppc64le CPU architectures added
2020-04-04 14:11:59 -04:00
Quentin McGaw
db2b98ecdc Additional workflows
- Labels
- Docker hub description
- Greetings
- Misspells
- Security analysis
v1
2020-04-04 11:22:51 -04:00
Quentin McGaw
9d2e8e1563 Funding github file 2020-04-04 11:22:01 -04:00
Quentin McGaw
63d41a3664 Development readme section improved 2020-04-04 11:21:49 -04:00
Quentin McGaw
6531824fb1 VSCode workplace settings 2020-04-04 11:21:16 -04:00
Quentin McGaw
b41251b5eb Replaced Travis with Github actions 2020-04-03 22:32:47 -04:00
Quentin McGaw
53530d95e9 Minor readme changes 2020-04-03 17:34:43 -04:00
Quentin McGaw
3d87cc9981 Using username:password format, refers to #44 2020-03-27 02:47:49 +00:00
Quentin McGaw (desktop)
b2e8eaa1b8 Merge branch 'master' of github.com:qdm12/ddns-updater 2020-03-18 01:41:32 +00:00
Quentin McGaw (desktop)
098f5164a8 Fix #43 thanks craigkc 2020-03-18 01:41:25 +00:00
Quentin McGaw (desktop)
ce907455d3 Fix #42 thanks craigkc! 2020-03-18 01:40:51 +00:00
Quentin McGaw
84e345b660 Add missing "ddnss" option for provider 2020-03-07 14:33:05 -05:00
Quentin McGaw
683310d3e4 Support for DDNSS.de (#40) 2020-03-07 13:44:18 -05:00
Quentin McGaw
9034a7f17b Added DDNSS ip methods (#41) 2020-03-01 20:42:22 -05:00
Quentin McGaw (desktop)
374ffc3f71 Added ipify IP method, refers to #38 2020-03-01 02:25:03 +00:00
Quentin McGaw
2859278e32 Specify custom https url to obtain public IP (#39) 2020-02-28 07:35:15 -05:00
Quentin McGaw
e070d9f5d2 Support for IPv6 and AAAA records for Infomaniak (#37) 2020-02-27 19:36:01 -05:00
Quentin McGaw
a45f448454 Added IP methods, tests and removed Google method (#36)
* Added IP methods and cycle IP method + unit tests
* Removed Google from IP methods
2020-02-27 19:10:30 -05:00
Quentin McGaw
900d8dd9db Record new IP for infomaniak (#35) 2020-02-27 19:09:51 -05:00
Quentin McGaw
823bfc54b1 Add support for Infomaniak #31 and fix CI script 2020-02-25 12:01:07 -05:00
Quentin McGaw (desktop)
38494fa360 Improved welcome message 2020-02-24 23:43:45 +00:00
Quentin McGaw (desktop)
b3d6071d82 Not creating empty sqlite database 2020-02-24 23:43:10 +00:00
Quentin McGaw (desktop)
7265406247 Fix start when no record exist in database 2020-02-24 23:42:51 +00:00
Quentin McGaw (desktop)
7edd05070b CI script fix for pull requests 2020-02-24 00:24:43 +00:00
Quentin McGaw
9cf226bc54 JSON database file and migration from sqlite (#33) 2020-02-23 17:27:10 -05:00
Quentin McGaw (desktop)
0a7e38399e GetAllDomainsHosts sqlite query added 2020-02-23 17:09:16 +00:00
Quentin McGaw (desktop)
9307b8efcc Catch database rows close error properly in GetIPs 2020-02-23 17:08:39 +00:00
Quentin McGaw (desktop)
3ea149df25 Simplify & 1 fix for sqlite queries 2020-02-23 16:46:08 +00:00
Quentin McGaw (desktop)
db301af7d5 Apply WhistleMaster's comments 2020-02-22 23:42:05 +00:00
Quentin McGaw (desktop)
44b8abda7d Added missing HTML providers 2020-02-22 23:06:39 +00:00
Quentin McGaw (desktop)
a42d2f4046 Renaming ipmethods and providers constants 2020-02-22 23:03:21 +00:00
Quentin McGaw (desktop)
4bfe07b6da Minor code changes
- Replaced libnetwork by network when possible
- Lowercases only parts needed and not passwords/tokens
- Unexport regex as they are only needed in constants package
2020-02-22 23:02:06 +00:00
Quentin McGaw (desktop)
f94e5c6d40 Readme minor changes 2020-02-22 22:58:39 +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
Matt Bell
a11a85e7a5 Add support for Cloudflare API Tokens (#30) 2020-02-16 19:36:34 -05:00
Raman Gupta
1e8c31b655 Document ttl parameter for cloudflare (#29) 2020-02-15 16:11:44 -05:00
Quentin McGaw (desktop)
ed1453784f TTL parameter added for Cloudflare, fixes #28 2020-01-22 02:05:24 +00:00
qmcgaw
cf7c9732f5 Fixes #27: Gotify is optional 2020-01-06 18:09:48 +00:00
Quentin McGaw (desktop)
24c8a9e971 Fixes #25
- Resolves any.domain.tld for wildcard records
- Healthcheck no longer fails for wildcard records without @ record
2020-01-06 00:59:06 +00:00
Quentin McGaw (desktop)
69df6b5b3a Updated to golibs 20200105 2020-01-06 00:51:21 +00:00
Quentin McGaw (desktop)
4fce3ced04 Re-enabled opendns and added Google IP methods 2019-12-20 13:49:25 +00:00
Quentin McGaw
f85a47e3fb Travis CI cross architecture Docker builds (#21)
- Docker images built by Travis CI
- Using Docker's `buildx` to build and push to Docker Hub for multiple CPU architectures with a manifest
    - amd64 (x86_64)
    - 386 (x86)
    - arm64v8
    - arm32v7
- Readme update
- Fixes #24 
- Might be changed later for faster builds as this one takes 45 minutes because of slow ARM builds
2019-11-30 22:45:33 -05:00
Quentin McGaw
46766b440e Refactor code with golibs (#23)
* Refactored but unstable

* Fixed bad parsing of custom delay
2019-11-28 13:43:55 -05:00