Commit Graph

6 Commits

Author SHA1 Message Date
Tealk
bf3048baf8
files reformatted
for better readability
2021-03-18 18:26:03 +01:00
Yigit Kerem Oktay
96f79ee725 Revert "Merge pull request #135 from server-status-project/master"
This reverts commit 8d571547f5, reversing
changes made to e96df7015e.
2020-11-05 16:54:04 +03:00
Yigit Kerem Oktay
46c0b55779 Revert "Merge branch 'dev' into master"
This reverts commit 18b89e8c35, reversing
changes made to 81132e9ccf.
2020-11-05 16:51:43 +03:00
Thomas Nilsen
c84f985d01 Fix bug with misspelt function update_notification_retries 2020-08-20 23:11:42 +02:00
thnilsen
ea582aeed6 Fix bug notifications not being sent.
The code to handle sending of notification was missing. This change
makes two different options available on how notifications will be
handled which will be controlled by CRON_SERVER_IP config option.

 - If CRON_SERVER_IP is set, the server with the given IP should
   call URL ../admin/?task=cron every x minutes. If the config
   is left empty, the notification will be called once the
   incident has  been saved. (The latter meothod might cause
   server timeout if there are large numbers of subscribers!)

Other minor changes:

 - Removed old commented code

 - Removed call to syslog used for debugging
2020-08-15 21:09:57 +02:00
thnilsen
e3d8e3ecf8 Added queue to handle sending of subscribers notifications 2020-06-16 20:11:25 +02:00