Commit Graph

762 Commits (a3ef0bc01661bdd68764abe13ee2f632367f828f)

Author SHA1 Message Date
Hunter Long a3ef0bc016
Merge branch 'master' into feature/status_updates 2019-10-15 08:47:15 -07:00
Hunter Long d7736d28d6
Merge pull request #261 from dogrocker/patch-1
Update line_notify.go
2019-10-15 08:46:37 -07:00
Kanin Peanviriyakulkit ca2a7e69ba
Update line_notify.go
I think we should send notify when update the Access token.
2019-10-09 15:46:40 +07:00
Emanuel Bennici d462e54053
Replace all `core.*` Code Lines from notifier Package
Replace all `core.*` Code Lines from notifier Package with the new
Fields of the Service-Struct.
2019-10-04 17:25:57 +02:00
Emanuel Bennici 6ba5d53a50
Remove `/core` include from notifier Package
Since we have special Fields for that prupose we can remove the `core`
Package include.
2019-10-04 17:25:03 +02:00
Emanuel Bennici 2534078e11
Switch to new Service-Fields in events.go 2019-10-04 17:24:28 +02:00
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
Hunter Long 2824c8fe9a travis-ci build fix 2019-09-23 12:50:38 -07: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 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
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
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
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
Hunter Long 043946245d
Merge branch 'master' into mysql-patch 2019-06-06 12:16:28 -07:00
Hunter Long 3188b3c7a9
Merge branch 'master' into master 2019-06-06 12:16:02 -07:00
hunterlong 98190a23ff enabled IPv6 services 2019-06-06 12:10:52 -07:00
hunterlong 15a6dc0652 makefile dep fix 2019-06-06 11:14:20 -07:00
hunterlong e24b8353df service HTTP headers - minor UI - Group ordering - delete failures fix 2019-06-06 10:51:42 -07:00
t4skforce a187d23e3b improved host lookup 2019-05-27 19:35:51 +02:00
Greg Arakelian bc5edacc8e Add escaping 2019-05-24 23:25:22 -04:00