Commit Graph

357 Commits

Author SHA1 Message Date
Yiğit Kerem Oktay 70c8a4fa0f Add support for custom logo 2020-08-14 19:46:48 +03:00
Yiğit Kerem Oktay 17a6115aab Some Graphical Improvements 2020-08-14 19:37:16 +03:00
Yiğit Kerem Oktay 27c90e30aa Çeviriler Güncellendi 2020-08-14 19:12:36 +03:00
Yiğit Kerem Oktay 9674e371de Delete Server_status_Turkish.mo 2020-08-14 19:11:27 +03:00
Yiğit Kerem Oktay 26e9135e60 Add files via upload 2020-08-14 19:10:54 +03:00
Yiğit Kerem Oktay 8dc7a342fe Delete server-status.mo 2020-08-14 19:10:37 +03:00
Yiğit Kerem Oktay 05ee9256eb Added Example Sites and Install Guide 2020-08-14 18:14:39 +03:00
Yiğit Kerem Oktay 09770165a6 Çeviriler Güncellendi
Updated translations. Privacy policy may still need some translations.
2020-08-14 17:14:09 +03:00
Vojtěch Sajdl a476a20737 Fix discord link 2020-08-14 14:51:05 +02:00
Vojtěch Sajdl e96f8733a7 Merge pull request #112 from yigitkeremoktay/patch-1
Add some required info for creating server config
2020-08-14 14:46:39 +02:00
Yiğit Kerem Oktay d538f7d358 Create IISWebConfig 2020-08-14 15:13:12 +03:00
Yiğit Kerem Oktay af2f8969eb Create ApacheHtaccess 2020-08-14 15:12:30 +03:00
Yiğit Kerem Oktay 34e3782a61 Add additional info 2020-08-14 15:11:42 +03:00
Yiğit Kerem Oktay b14f60e08b Add some required info for creating server config 2020-08-14 14:58:05 +03:00
Yiğit Kerem Oktay 484bbd60d0 Create create-htaccess.php (#108)
* Create create-htaccess.php

This file generates a .htaccess file that contains all necessary 
code for it.
This is needed because some hosts do not either unzip hidden files
or neither GitHub puts that file inside the zips.

* Delete .htaccess

* Add required code for creating htaccess

* Add support for both iis and apache

* Delete web.config

* Rename create-htaccess.php to create-server-config.php

* Rename file links for create-server-config.php

* Last nitpick :)
2020-08-14 13:40:42 +02:00
Vojtěch Sajdl 7362c857b0 Merge pull request #106 from yigitkeremoktay/patch-1
Fix service labels not fitting inside  container
2020-08-14 13:23:24 +02:00
Yiğit Kerem Oktay ab085596ca Patch 1.3 2020-08-14 14:00:38 +03:00
Yiğit Kerem Oktay 14e04d0737 Patch 1.2 2020-08-14 13:58:55 +03:00
Yiğit Kerem Oktay f6acd559d5 Fix service labels not fitting inside container
Service Labels are automatically pushed to a new line when there is no enough space
2020-08-14 12:09:12 +03:00
Vojtěch Sajdl dc7fcdbd4f Added discord to readme 2020-08-12 10:03:11 +02:00
thnilsen 4a4a3f7bdd Merged Upstream master 2020-06-16 20:20:51 +02:00
thnilsen e3d8e3ecf8 Added queue to handle sending of subscribers notifications 2020-06-16 20:11:25 +02:00
Vojtěch Sajdl d9b7ed432e Merge pull request #104 from Nothing4You/fix-maintenance-relative-dates
Fix relative timestamps not properly displaying dates in the future.
2020-06-12 12:04:54 +02:00
Richard Schwab 0be50cf9f9 Fix relative timestamps not properly displaying dates in the future.
In 184247c4ab (#99) jquery.timeago was updated from version 1.6.1 to 1.6.7.
This changed the default value for allowFuture, which is responsible for restricting whether a date in the future would be shown e.g. as "3 days ago" or "3 days from now".
2020-06-12 11:30:09 +02:00
Vojtěch Sajdl 570895c7bd Fix #102 - strip tags when saving incident 2020-06-03 09:13:54 +02:00
Vojtěch Sajdl 9eba848423 Merge pull request #101 from thnilsen/issue81
Remove urlencode() call from install routine
2020-05-28 14:46:53 +02:00
thnilsen 253bf925ce Fixes issue #81, #91, #94, #95 by removing escaping of of what becomes the WEB_URL config parameter. 2020-05-27 19:31:25 +02:00
Vojtěch Sajdl 45a90aef71 Merge pull request #100 from thnilsen/issue64
Fix for translation when selecting a different language
Fixes #64 #80 #84
2020-05-23 17:18:47 +02:00
thnilsen 02cd19a439 Fixes issue #64 2020-05-23 17:03:08 +02:00
Vojtěch Sajdl 41fd9a2745 Merge pull request #99 from Nothing4You/update-libs
Fix #92 Update libs
2020-05-11 09:57:12 +02:00
Richard Schwab 184247c4ab Update libs:
- jquery to 3.2.1
- jquery.growl to 1.3.5
- jquery.timeago to 1.6.7
- bootstrap to 3.4.1
2020-05-11 07:07:02 +02:00
Vojtěch Sajdl 7294b356dd Fix #78 - run data through htmlspecialchars so we don't crash when there are quotes in the name 2019-03-15 12:22:16 +01:00
Vojtěch Sajdl 2b54aa9d46 Translate (#79)
* Update server-status.mo (POEditor.com)

* Update server-status.po (POEditor.com)

* Add translations from POEditor
2019-03-15 12:14:24 +01:00
Vojtěch Sajdl e8744fe9a5 Update translations 2019-01-14 12:10:40 +01:00
thnilsen 62e6f08e4f Code cleanup as suggested by the codacy service.
- Renamed get_service_details to populate_impacted_services
- Removed unused variables
2018-12-07 22:46:16 +01:00
thnilsen 7ee0aa3540 Removed redundant code
- $tg_user was no longer used for validating if a subscriber  was logged
  in or not, as this has been moved to a $_SESSION variable.
2018-12-07 22:41:23 +01:00
Thomas Nilsen c08264f4f7 Minor code cleanup suggested by codacy service 2018-11-25 21:33:18 +01:00
Thomas Nilsen b90fab434c Changes to SQL schema
In order to handle multiple subscription types using the same tables
some changes from the schema as implemented by PR #1 are needed.
A typeID field will be the indicator for which type of notification
to use. Additional notification types must be assinged unique
typeIDs. Assigned typeID for now are:

- 1 = Telegram
- 2 = email
2018-11-25 20:04:59 +01:00
Thomas Nilsen fe812d5b78 Reverts changes done by a rebase merge gone wrong 2018-11-25 19:20:43 +01:00
Thomas Nilsen c57171add5 Reverts changes done by a rebase merge gone wrong 2018-11-25 18:58:42 +01:00
Thomas Nilsen 4903c3bb89 HTML template for status updates to subscribers
- Initial HTML template used to generate HTML emails when status
  notifications is sent to subscribers.
  TODO: Should probably be located in a different directory
  structure
2018-11-25 18:56:23 +01:00
Thomas Nilsen 28eaede6a2 Implementes email subscription handler to front
- Adds handler for email subscription. #65
2018-11-25 18:54:10 +01:00
Thomas Nilsen 39e53ab1f4 Adds dropdown for subscription options to menu
- Modifies menu to include email subscription in addition to Telegram
  subscription
2018-11-25 18:50:31 +01:00
Thomas Nilsen a74ce9ad33 Remove commented code 2018-11-25 18:48:38 +01:00
Thomas Nilsen e98b4da649 Use new notification class 2018-11-25 18:45:54 +01: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
Thomas Nilsen 3eccbf529e Add handling of email subscriptions
- Translation issue fixes #64

- Adds handler for email subscription requests
2018-11-25 18:33:25 +01:00
Thomas Nilsen 528cb77952 Reverses partial changes commited in PR #63
- 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.
2018-11-25 18:26:30 +01:00
Thomas Nilsen b5c5a2c8cf Moved, renamed and modified Telegram related files.
- 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.
2018-11-25 17:25:44 +01:00
Thomas Nilsen cf1f00e9b5 Frontend for handling subscription changes. 2018-11-25 17:23:07 +01:00