Quentin McGaw
106bcae966
Maintenance: simplify top level publicip package API ( #186 )
2021-03-21 21:49:47 -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
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
cc0397912f
Fixes #18
2019-09-10 10:48:01 -04: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
9ca6087cf4
Removed support for opendns ( fixes #14 )
2019-08-24 13:55:16 -04:00
王文慧
b650a46fd8
update dnspod setting ( #13 )
2019-08-21 08:04:03 -04:00
王文慧
309f76a87b
add dnspod provider ( #12 )
2019-08-16 11:25:11 -04:00
Fero
5797810ae4
Correcting repeating prefix length for GoDaddy key ( #11 )
...
- Operating Test Environment (OTE) key prefixes are 14 characters
- Production key prefixes are 10 characters
2019-07-20 17:33:33 -04:00
Quentin McGaw
e4201d292b
Small error treatment fix
2019-06-25 20:26:14 +02:00
Quentin McGaw
e2cd08a1d9
Fixes #8
2019-06-08 09:59:29 +02:00
Quentin McGaw
206e9a50ba
Fix #8
2019-05-23 17:14:29 +02:00
Quentin McGaw
1f3e6cb141
Fixing #8 with base64 encoding of email:password for noip
2019-05-23 15:45:20 +02:00
Quentin McGaw
b4e47ecc6c
Added support for NoIP
2019-05-23 10:42:17 +02:00
Quentin McGaw
9e4d229dbc
Reworked error messages
2019-05-23 10:39:42 +02:00
Quentin McGaw
1218d4ffaf
Removed legacy support for environment variables RECORDi settings
2019-05-21 09:31:50 +02:00
Quentin McGaw
9607df42e9
Finer grain mutexes hidden with getters and setters
...
- Allows to see when the program updates in the UI notably.
- More extensible
- Better encapsulation
2019-05-20 23:09:48 +02:00
Quentin McGaw
5ad452b44b
Added proxied parameter for Cloudflare and reworked readme
2019-05-07 10:25:52 +02:00
Quentin McGaw
8b3c9199e2
Renamed regex functions and added regex tests
2019-05-07 09:58:05 +02:00
Quentin McGaw
fa382bc74c
Added "no_dns_lookup" json parameter
2019-05-04 00:42:45 +02:00
Quentin McGaw
01c671d380
Fixed Cloudflare and other bugs; added Cloudflare doc to readme
...
- Readme instructions, thanks to @Starttoaster
- Clarified parameters for Cloudflare
- Cloudflare must have a host parameter in the end
- Fixed healthcheck (bad indexes in for loops)
- Mutex for recordConfig is now a pointer to a mutex
- Removed irrelevant check for listening port to not be 9999
2019-05-04 00:31:47 +02:00
Quentin McGaw
894ba28e18
Key verification for Cloudflare fixed and warnings printed before fatal
2019-05-03 23:37:44 +02:00
Quentin McGaw
026d074c15
Added support for Cloudflare
2019-05-01 20:40:26 +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
625985054e
Fixed bad argument type for URL for GoDaddy
2019-04-30 20:38:35 +02:00
Quentin McGaw
f53a9c4b07
Ran fmt on Go code
2019-04-30 20:23:41 +02:00
Quentin McGaw
47c5404664
Fixed requests.go for Godaddy
2019-04-30 20:19:11 +02:00
Quentin McGaw
4241b1186f
Added missing env variables bindings in Viper
2019-04-30 19:57:10 +02:00
Quentin McGaw
04a8e00377
Small rework of code
2019-04-30 19:54:02 +02:00
Quentin McGaw
06ff1fa3b8
Logging rework
2019-04-30 10:50:09 +02:00
Quentin McGaw
a783decb02
Set healthcheck logger mode to user defined logger mode
2019-04-30 10:48:54 +02:00
Quentin McGaw
ab5a20e292
Fixed connectivity check channel error
2019-04-30 10:48:31 +02:00
Quentin McGaw
f032869553
Healthcheck moved to main server with client IP check
2019-04-29 13:23:10 +02:00
Quentin McGaw
54e3af8515
Fixed rootURL in params
2019-04-29 13:22:50 +02:00
Quentin McGaw
9accbb5aa8
client IP manipulation added to network package
2019-04-29 13:22:02 +02:00
Quentin McGaw
e8aae13a0f
update.go rework and mutex for sqlite connection
2019-04-27 21:48:09 +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