Commit Graph

109 Commits

Author SHA1 Message Date
Quentin McGaw (desktop)
38494fa360 Improved welcome message 2020-02-24 23:43:45 +00:00
Quentin McGaw (desktop)
3ea149df25 Simplify & 1 fix for sqlite queries 2020-02-23 16:46:08 +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)
69df6b5b3a Updated to golibs 20200105 2020-01-06 00:51:21 +00: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
Quentin McGaw (desktop)
a0f9ab1552 Removed \r new lines 2019-10-26 23:34:26 +00:00
Quentin McGaw
19f275ac03 Gotify support (#17)
* Added Gotify support and notifications

* Readme update for Gotify
2019-09-06 13:33:31 -04:00
Quentin McGaw
3c30ac4264 Added Uber zap for logging instead of custom package 2019-08-28 13:09:55 -04: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