Emanuel Bennici
e1c41966e4
Add implementation of new `Service` Fields in checker.go
...
Add Variable Value changes of `SuccessNOtified`, `UpdateNotify` and
`DownText` to checker.go.
So the Values can be used in other packages.
2019-10-04 17:23:20 +02:00
Emanuel Bennici
d81c525d71
Add new Fields to `Service` Struct
...
Add `UpdateNotify` Field to allow the Notifiers to check if
`UpdateNotify` has been enabled in `CoreApp`.
Add `DownText` Field to have a default Downtime Text which also has the
'Service has been down for n-Seconds' Text.
Add `SuccessNotified` Field to check if a "Success" Message has already
been send.
This is because the `s.Online` Field is always "false" if the
OnSuccess() Function is called of an Notifier.
2019-10-04 17:18:33 +02:00
Emanuel Bennici
786bfe75fc
Update Online Message for Twilio Notifier
2019-10-04 15:40:34 +02:00
Emanuel Bennici
a9b559262a
Update Online Message for Line-Notify Notifier
2019-10-04 15:38:40 +02:00
Emanuel Bennici
df3eb914ed
Add Email, Mobile and Discord Online Messages
2019-10-04 15:36:45 +02:00
Emanuel Bennici
c9f140f2dc
Update Online Message for Telegram Notifier
2019-10-04 15:29:26 +02:00
Emanuel Bennici
2a3c682013
Add implementation for `UpdateNotified` Check
2019-10-04 14:48:56 +02:00
Emanuel Bennici
d062839b52
Add Field `UserNotified` to Service Struct
...
The Field `UserNotified` is to indicate if a User has already been
notified about the Downtime of a Service.
2019-10-04 14:47:56 +02:00
Emanuel Bennici
cdb55e6bff
Merge branch 'master' into feature/status_updates
2019-10-04 14:24:59 +02:00
Emanuel Bennici
4227f3c88f
Add `UPDATENOTIFY` Handler Function
2019-10-04 14:23:07 +02:00
Emanuel Bennici
29ace420ae
Add `UpdateNotify` Type to saveSettingsHandler()
2019-10-04 14:22:35 +02:00
Emanuel Bennici
e73993cef2
Add Toggle-Switch to settings HTML Template
2019-10-04 14:22:20 +02:00
Emanuel Bennici
b1bcc67833
Add new Field to Core Struct
...
Add Field `UpdateNotify` to `Core` Struct.
This Field shows if the User want that only Updates are send,
or every Status Message.
2019-10-04 14:18:57 +02:00
Jimmy Casey
4ec3a46732
Fixed incorrect service status on prompt.
...
Boolean was being evaluated as string.
2019-09-30 17:13:34 +01:00
Tufan Baris Yildirim
f47e611e27
add verifyssl field to csv import handler.
2019-09-27 11:35:07 +03:00
Hunter Long
2824c8fe9a
travis-ci build fix
2019-09-23 12:50:38 -07:00
Hunter Long
4d7702d08b
Merge branch 'master' into feature/custom-dialer
2019-09-22 22:25:44 -07:00
Tufan Baris Yildirim
206a90cc08
fix timeout value
2019-09-22 16:36:40 +03:00
Tufan Baris Yildirim
b992079a11
Merge branch 'master' of https://github.com/hunterlong/statping into fix/back-online
2019-09-22 09:45:55 +03:00
Hunter Long
23a9e8f93d
travis-ci golang 1.13
2019-09-20 01:05:35 -07:00
Hunter Long
6ed523b12d
travis-ci golang 1.13
2019-09-20 00:00:25 -07:00
Hunter Long
8c05d7e7c5
Merge branch 'master' into feature/custom-dialer
2019-09-19 23:01:54 -07:00
Hunter Long
15e3b83f9b
SMTP email notifier OnTest() fix
2019-09-19 22:45:12 -07:00
Hunter Long
9d9f91f931
fixed homepage graphs rendering - added notifier events in logs
2019-09-19 22:27:01 -07:00
Tufan Baris Yildirim
a6718f8843
use user defined timeout instead
2019-09-18 13:39:10 +03:00
Tufan Baris Yildirim
1140dfa213
add dialer port
2019-09-18 13:29:44 +03:00
Tufan Baris Yildirim
bd58f3c747
force dialer to connect the host specified in req.URL.Host not in req.Host!
2019-09-18 13:10:53 +03:00
Hunter Long
e949a210f2
Merge branch 'master' into fix/back-online
2019-09-17 23:08:58 -07:00
Hunter Long
d9cf4c769a
Merge pull request #252 from tufanbarisyildirim/fix/sni-from-header-in-tls-handshake
...
Fix/sni from header in tls handshake
2019-09-17 23:08:39 -07:00
Tufan Baris Yildirim
d83646e54f
add error message to slack notification
2019-09-17 13:18:40 +03:00
Tufan Baris Yildirim
b64d0ee1f1
do ssl verification from host header and made it optional per service
2019-09-17 13:18:12 +03:00
Tufan Baris Yildirim
7abc2e6253
fix back online scenario we broke in pull request #234
2019-09-08 16:11:09 +03:00
Tufan Baris Yildirim
4da56523f3
bypass notifier limits if the state is changing first time with that event.
2019-09-06 00:48:27 +03:00
Hunter Long
23b6c39623
Merge pull request #239 from tufanbarisyildirim/feature/passing-host-header
...
a workaround for golang limitation of passing Host in header
2019-09-04 12:22:39 -07:00
Tufan Baris Yildirim
4f86749b64
a workaroung for golang limitation of passing Host in header
2019-09-04 21:38:56 +03:00
hunterlong
a19b5dcac8
telegram test
2019-09-03 14:28:54 -07:00
hunterlong
50ba485fcd
fixed tests - removed database creds from logs
2019-09-03 14:10:13 -07:00
Hunter Long
ce90d9d341
Merge pull request #234 from tufanbarisyildirim/issue/118
...
remove .Online from notifiers and toggle service.Online when needed. …
2019-08-26 18:13:24 -07:00
Tufan Baris Yildirim
30a1216f23
remove .Online from notifiers and toggle service.Online when needed. fixes #118
2019-08-16 02:26:36 +03:00
Jean-Thierry BONHOMME
c68e149328
fix(216): fix presence of sign = in header values
2019-07-21 10:33:46 +02:00
Hunter Long
85b4129b08
Merge pull request #221 from viartemev/fix-github-220
...
Fix github-issue-220: Incorrect query to Pg
2019-07-19 13:57:05 -07:00
Hunter Long
17c633f8bf
Merge pull request #208 from Naramsim/master
...
Fix failures' heatmap when connected to postgres
2019-07-19 13:56:08 -07:00
Артемьев Вячеслав
28fcf5135b
Fix github-issue-220: Incorrect query to Pg
2019-07-10 13:33:38 +03:00
Alessandro Pezzè
a2f8582088
Merge branch 'master' into master
2019-07-03 19:00:48 +02:00
hunterlong
e31b8ca164
Incident reporting feature (beta)
2019-06-24 15:21:38 -07:00
Naramsim
d5ad850507
fix: fix failures' heatmap when connected to postgres
2019-06-14 15:12:07 +02:00
hunterlong
c2cf13172b
limit 1 connection for sqlite
2019-06-06 13:23:41 -07:00
Hunter Long
1efd3224ec
Merge pull request #194 from t4skforce/master
...
Support for HTTP query parameters
2019-06-06 12:19:14 -07:00
Hunter Long
9013eb6c94
Merge branch 'master' into master
2019-06-06 12:18:43 -07:00
Hunter Long
175f20aa9a
Merge pull request #191 from arakelian/mysql-patch
...
Set MySQL time_zone setting to match local setting
2019-06-06 12:17:57 -07:00