Commit Graph

35 Commits

Author SHA1 Message Date
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
thnilsen 93d1491aac Add functionality to services in backend.
- Add functionallity to categorize a one or more services under one
  service group. Partial fix for #7 and #90. (Frontend code to be done)
- Add description field to service to be displayed as a help text
  on front page. Partial fix for #51 (Frontend code to be done)
2020-09-27 14:01:54 +02:00
Thomas Nilsen a2e0cab819 Update to read relevant options from DB 2020-08-20 23:42:29 +02:00
Thomas Nilsen 46dbbd35d5 Moved notification settings to db.
The following define() are now loaded via the db class:

- SUBSCRIBE_TELEGRAM
- SUBSCRIBE_EMAIL
- TG_BOT_API_TOKEN
- TG_BOT_USERNAME
- GOOGLE_RECAPTCHA
- GOOGLE_RECAPTCHA_SITEKEY
- GOOGLE_RECAPTCHA_SECRET
- PHP_MAILER
- PHP_MAILER_PATH
- PHP_MAILER_SMTP
- PHP_MAILER_HOST
- PHP_MAILER_PORT
- PHP_MAILER_SECURE
- PHP_MAILER_USER
- PHP_MAILER_PASS
- CRON_SERVER_IP
2020-08-20 23:27:41 +02:00
Yiğit Kerem Oktay 6858223daf
This file is functional now 2020-08-17 18:08:58 +03:00
Yiğit Kerem Oktay 1539375b39
Update options.php 2020-08-17 17:39:39 +03:00
Yiğit Kerem Oktay 0e1a563449
Fixed it now 2020-08-17 17:23:58 +03:00
Yiğit Kerem Oktay b164d66df5
another attempt 2020-08-17 17:20:43 +03:00
Yiğit Kerem Oktay 8a91605869
try a fix 2020-08-17 17:18:46 +03:00
Yiğit Kerem Oktay 51895e3a66
Test new toggle function 2020-08-17 17:01:52 +03:00
Yiğit Kerem Oktay a07ee2131a
add options to index 2020-08-17 16:54:12 +03:00
Yiğit Kerem Oktay 169b165b5d
Create options.php 2020-08-17 16:52:20 +03:00
Yiğit Kerem Oktay b391d0a12f
Fix missing css 2020-08-16 23:38:06 +03: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
Thomas Nilsen 7ca811d997 Adds new class dependencies
- Mailer class for mail handler
- Notification class for all notifications
- Parsedown class for implenting support for Markdown when adding new
  incidents #8.
2018-11-25 18:39:57 +01:00
Jan Jon 9e472db6f9 Fix#10 (#28)
Fix#10 - Add name, surname and username editing
2018-07-22 21:03:07 +02:00
Vojtěch Sajdl e0a455e0ea
Fix #19 2018-04-13 23:41:05 +02:00
Vojtěch Sajdl 416070ba5f
Fix #24 - fixed typo 2018-04-04 18:26:03 +02:00
Vojtěch Sajdl daa3f06fe9
Fix #17 - responsive tables 2018-03-10 01:15:59 +01:00
Vojtěch Sajdl 5afda409c1
Fix #22 - disable user button added 2018-03-10 00:07:56 +01:00
Vojtěch Sajdl 7f3c7cbd37
Fixup of config detection in admin 2018-01-20 23:05:24 +01:00
Vojtěch Sajdl 7d4bb9af2e
Fixup global replace mess 2018-01-18 22:59:44 +01:00
Vojtěch Sajdl 696b205b68
Fix #14 - show installation dialog on 404 page if config not found 2018-01-18 22:57:19 +01:00
Vojtěch Sajdl 7b1b68c0ef
Translations updated 2018-01-13 03:00:13 +01:00
Vojtěch Sajdl eeb719d235
Small fixes 2018-01-13 01:03:05 +01:00
Vojtěch Sajdl 54d499eb42
Fixed some todos & added email validation 2018-01-13 00:21:11 +01:00
Vojtěch Sajdl c25e8bcae8
Instalator fixes and lots and lots of other bugfixes 2018-01-12 21:35:31 +01:00
Vojtěch Sajdl 61f563c9b0
Objectify locale negotiator and template files, add documentation 2018-01-07 20:39:10 +01:00
Vojtěch Sajdl 9820686776
Bugfixes 2018-01-03 14:15:45 +01:00
Vojtěch Sajdl bef338fd99
Prepare for gettext 2017-12-31 00:42:16 +01:00
Vojtěch Sajdl f2600d0c56
Bugfixes 2017-12-12 14:17:18 +01:00
Vojtěch Sajdl 26b50714d2
Some fixes for mobile 2017-12-12 13:58:05 +01:00
Vojtěch Sajdl 9a49428bf9 Initial commit 2017-11-24 00:09:36 +01:00