- 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)
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
- Removes not needed re-translation of statuses. These fails to be
translated due to index.php calling config.php after performing
the translation. See #64 for details
- Amend SQL query to use named fields to prevent potential failure
in future upgrades if table should change.
- Made functions from ./telegram.php into a class and moved to
classes/telegram.php
- Renamed check.php to telegram_check.php to make it easier to
understand what the file belongs to.
- SESSIONS used to control if user is logged on or not
- Telegram users will be identified as typeID = 2 in the
subscribers table.
This implements the following new classes
- mailer.php Class to handle smtp/mail related tasks. This implements
support for PHPMailer()
- notification.php Class to handle notification to subscribers.
- subscriber.php Class to handle the self-managment of subscribers.
- subscriptions.php Class to handle subscription to services for
subscribers.
* Add prerequisite checks to install script. - Pryx/server-status#31
* Add option to use existing URL for privacy policy. Pryx/server-status#41
- Also moved the gitbug icon to the left of the footer as it looked like it was part of the imprint/policy link.
- Fixed Imprint & Privacy policy text so that it will be translated.
* Admin page is redirected to wrong URL on save. FixPryx/server-status#67
* Added Norwegian language translation (nb_NO/Norsk Bokmål)
* Fixes display of translated overall status to selected language. Only english was shown prior, no matter the selected language.
* Fixes missed translation of norwegian (nb_NO)