Commit Graph

89 Commits

Author SHA1 Message Date
Tim 7aa7ec363b
Mark specific HTTP status codes as online (#628)
Add option to specify which HTTP status codes are considered as "online".
Closing #175.
2018-09-05 22:34:19 +02:00
Tim 132a730d71
Removed last offline duration parentheses if empty (#641) 2018-09-05 21:50:05 +02:00
Tim fa97fb6653
Fixed rdp:// bug and fixed port not updating #418 (#629)
- Although the port isn't used while testing a website, changing it prevents confusion.
- Fix bug that made it impossible to check rdp:// as it would add http:// in front of it.
2018-08-30 00:08:22 +02:00
TimZ99 5e61d89b7f
Defined $encrypted_password 2018-08-03 01:35:26 +02:00
TimZ99 51ef755e43
Removed last_offline_duration = "" 2018-08-03 00:47:26 +02:00
TimZ99 f21f3db19e
Typo fix, removed unused code & updated documentation 2018-07-12 17:31:00 +02:00
TimZ99 1c984b30ff
Updated documentation, added some small changes 2018-07-12 17:31:00 +02:00
TimZ99 e2c424e167
Spacing, indentation and braces
Co-Authored-By: Scrutinizer Auto-Fixer <auto-fixes@scrutinizer-ci.com>
2018-07-12 17:31:00 +02:00
TimZ99 3023c83226
Changed die() to trigger_error()
E_USER_ERROR will always be displayed.
Changed die() to trigger_error(error, E_USER_ERROR).
2018-07-12 17:31:00 +02:00
Danial 82d01b07f7 Add support for "site online when pattern not found" (#579)
Choose to mark a website offline of online is the pattern is (not) found.
2018-05-24 12:49:26 +02:00
TimZ99 a496874d9c
Rewritten part of the gateway code
This is a first commit in order to close #588.

- Removed the names from the translation files.
- The dropdown menu will now filled with the names of the gateways in
the Txtmsg folder.
- Changed Mollie to the proper company name: Messagebird.
- Everybody that was using Mollie will on upgrade automatically change
to Messagebird (replace old name in DB with new name).
- Updated: Clickatell, Twilio, Spryng, Textmarketer and Messagebird
(Mollie).
2018-05-24 06:49:58 +02:00
Matthew Pattman 0580e75642
Added last offline and the duration of the last outage
Co-authored-by: TimZ99 <TimZ99@users.noreply.github.com>
2018-04-27 21:14:46 +02:00
TimZ99 7059ac6607
Defined latency for new added servers 2018-03-27 23:36:12 +02:00
Tim 6eda990ed0
Added support for Telegram (#554)
Added support for Telegram. Notifications can be received in private chat or in groupchat.

This will close #389 and is a preview of what's coming next (#459) 😉.
2018-03-27 23:36:09 +02:00
Tim b0fee68f6e
Clear log button - closes #383 (#505)
* Added button to clear the logs

Only admins can clear the logs. The content from the log and log_users table will
be deleted.
2018-03-27 23:36:08 +02:00
Nls b835de1cf6
Add optionnal header check on StatusUpdater 2018-03-27 23:36:02 +02:00
Nls 6be807cf9a
Add header_name & header_value to the server object 2018-03-27 23:36:01 +02:00
Pepijn Over 32e018b6bb
preparing for 3.2.0 release 2018-03-27 23:24:25 +02:00
Tom Hatzer b6060e7936 Add ping label to getLabels() 2016-12-23 11:44:15 +01:00
Tom Hatzer 92069a29a3 Add RDP port to save method 2016-12-23 11:12:07 +01:00
Samuel Denis-D'Ortun 8ae313ebda Merge pull request #369 from nutsteam/ajax_auto_refresh
#367 fixed a csrf bug since 2014
2016-10-24 20:45:29 -04:00
尘缘 fe99c1cbec #367 fixed a csrf bug since 2014 2016-10-19 11:05:26 +08:00
Samuel Denis-D'Ortun c4551ab59e Merge pull request #365 from nutsteam/ajax_auto_refresh
use ajax to auto refresh server status page
2016-10-10 23:01:50 -04:00
尘缘 80df5b7735 use ajax to auto refresh server status page 2016-10-10 20:11:59 +08:00
尘缘 a586425c65 format port from http/s url 2016-10-10 17:22:28 +08:00
Samuel Denis-D'Ortun c811876c89 Merge branch '201410_log-users' of https://github.com/davyrolink/phpservermon into davyrolink-201410_log-users
# Conflicts:
#	src/includes/psmconfig.inc.php
#	src/psm/Util/Install/Installer.php
2016-05-21 20:33:31 -04:00
Pavel Dvořák 24d7fee63e Use salt to encrypt the website check password #297 2016-05-21 19:55:35 -04:00
Samuel Denis-D'Ortun 9ded89b6a5 Improve password security by obfuscating it in the form #96 2016-05-21 16:55:12 -04:00
Pavel Dvořák 340660da4b Issue #96 Authentication fields for website/services
- File functions.inc.php - modified and added features psm_curl_get parameters for website_username and website_password
- File functions.inc.php - new features and psm_password_encrypt psm_password_decrypt to encrypt and decrypt passwords
- Adjusted basic language EN and supplemented by new language CZ phrase
- ConfigController.php - adjusted executeIndex method of password encryption key for each installation separately + executeSave method of saving the settings + added labels to methods getLabels
- AbstractServerController.php - adjusted method getServers a login password of the name
- ServerController.php - adjusted executeEdit method for storing information about name and password + executeSave method of storage in a database + method getLabels on labels
- Installer.php - adjusted method install a new configuration values ​​for the encryption key passwords + method installTables a new table structure servers + method upgrade320 the new structure
- StatusUpdater.php - adjusted method update the transmission website_username and website_password + method updateWebsite adjusted parameters passed to the function psm_curl_get
- Modified template: config/config.tpl.html, server/update.tpl.html, view.tpl.html
- Adapted javascript scripts.js
2016-05-21 17:08:01 +02:00
Pavel Dvořák 5fc59454d0 Issue #286 Popular Ports
- scripts.js - selection and filling port based on a selection from the popular port
- update.tpl.html - Added section with a selection of popular ports
- ServerController.php - Methods to getLabels added new label
- en_US.lang.php + cs_CZ.lang.php - modified the language of the new texts
2016-05-18 23:04:50 -04:00
Pepijn Over 98faef1b06 fixes #237: adding CSRF token to all forms and requires now on POST 2016-01-31 00:24:37 +01:00
Pepijn Over ffd9cfc6c8 [refactoring] renaming initialize() and initializeAction() methods to run() to correspond with router naming 2015-02-27 17:11:37 +01:00
Pepijn Over 1123603f64 [refactoring] PSR-4 support through composer, mass-renaming all *.class.php to *.php to adhere to PSR-4 2015-02-27 15:18:37 +01:00
Pepijn Over dc54bf14ea [refactoring] moving UpdateManger to service container as util.server.updatemanager 2015-02-27 15:05:46 +01:00
Pepijn Over f63a39d92c [refatoring] adding symfony service container and upgrading symfony packages to 2.6 2015-02-27 14:34:28 +01:00
Pepijn Over 51ff0f2044 updating copyright year in headers and email 2015-02-27 11:43:09 +01:00
Davy Rolink 58b104c1fb log users displaying for the new log-users data structure 2014-10-02 21:33:51 +02:00
Pepijn Over 7913fdaa8a Moving updater utils to Server subnamespace, and renaming Autorun to UpdateManager 2014-08-06 13:20:12 +02:00
Pepijn Over 945a09cfc3 issue #117: Replacing Template service with Twig and implementing Twig in all modules/utils 2014-08-05 15:19:17 +02:00
Pepijn Over fb0b321380 adding bootstrap multiselect for users/servers 2014-08-01 15:41:50 +02:00
Pepijn Over e60e647eb3 issue #115: add warning to server page when notifications are disabled 2014-08-01 15:04:36 +02:00
Pepijn Over ca7fdf1ec5 minor form styling, adding check all/uncheck all buttons, fixing url entities in forms 2014-07-31 14:37:27 +02:00
Pepijn Over c589424bce issue #101: finishing pushover implementation 2014-07-31 14:36:39 +02:00
Pepijn Over 6b4668937d Merge branch 'develop' of https://github.com/remmedia/phpservermon into remmedia-develop
Conflicts:
	src/lang/de_DE.lang.php
	src/lang/en_US.lang.php
	src/psm/Module/Server/Controller/ServerController.class.php
	src/templates/server/view.tpl.html
2014-07-30 15:03:57 +02:00
Pepijn Over 8e60e9cb3a issue #53: adding user selection to server edit page 2014-07-30 14:30:41 +02:00
Pepijn Over 254b281237 issue #109: finishing custom timeout per server (slight changes from pull request) 2014-07-28 11:10:23 +02:00
jl e60f69e581 Adding timeout config for a server. 2014-06-27 14:26:26 +02:00
lange@rem-media.de d205dcb0e3 added Pushover 2014-06-13 18:48:35 +02:00
lange@rem-media.de e92b243a37 added pushover 2014-06-13 17:34:09 +02:00
Pepijn Over 0f17b8b612 issue #50: adding validation to servers page 2014-05-06 16:56:46 +02:00