Commit Graph

105 Commits

Author SHA1 Message Date
Petr Suchy af5334a073
Jabber (XMPP) notifications (#852)
Added Jabber/XMPP notifications.
Closes #829.
2020-04-19 15:31:40 +02:00
Tim a129d88167
Disable web page preview for Telegram (#886)
Resolves #883.
2020-04-08 13:43:36 +02:00
Petr Suchy 3193665ef8
Encrypt email_smtp_password (#854)
Fixes #853.
Email_smtp_password is saved encrypted and not as plain text.


Co-authored-by: Tim <TimZ99@users.noreply.github.com>
2020-02-09 17:45:08 +01:00
TimZ99 51dbbf9510
Refactor 2020-02-08 20:57:53 +01:00
Ing. Petr Suchy e32977ffff
*fix - check and update latest version 2020-02-07 07:43:16 +01:00
Tim 45d1c03e5a
Feature/ssl cert expiration check (#831)
Added ssl expiration to warning state.
2020-02-04 16:44:48 +01:00
Petr Suchy 71c4114747
Fixed psm_password_decrypt
BUG: HTTP2 Authentification
Fixes #706.
2020-02-04 15:44:11 +01:00
TimZ99 2c51ad12f7
Implementing the PSR12 standard
Using PHPCS and PHPSBF.
2019-12-11 21:27:04 +01:00
Travis Botello 7e3cbc94a9 Replaced mcrypt with openssl (#678) (#805)
* Replaced mcrypt with openssl (#678)

* Removed TODO
2019-11-29 23:32:09 +01:00
TimZ99 627a93cc7c
Added cachebuster
Resolves #802.
2019-10-22 20:39:33 +02:00
TimZ99 0198d76a75
Added default timeout
Fixes #794.
2019-10-09 22:03:53 +02:00
TimZ99 cf2566d1d3
Fixed undefined index issue
Fixes #792.
2019-10-09 20:59:32 +02:00
TimZ99 dc45eee0d3
Fixed update message 2019-09-26 18:36:17 +02:00
TimZ99 f84061ee14
Get latest version from Github.
The latest version number will now come from Github instead of phpservermonitor.org.
2019-09-26 14:07:16 +02:00
Shammi Shailaj 8f43fd99e6 Adding verbosity for cURL (#697)
Added code to increase cURL verbosity in cases where PSM_DEBUG is defined and set to a value of boolean TRUE only if the request is coming via CLI.
2019-05-19 20:02:53 +02:00
TimZ99 9cdafc9554
Updated useragent to Github URL 2019-02-08 16:29:47 +01:00
Tim c645444db9
Added post field as addition to #631 (#642) 2018-09-08 14:03:39 +02:00
Tim cf6f30adfc
Added combined notifications (#639)
If multiple servers go up or down together, you don't get spammed with notifications if you have this option enabled. It will send one combined notification.
2018-09-05 23:08:17 +02:00
Tim 72b262c706
Added the option to specify the request method (#631) 2018-09-05 22:42:08 +02:00
TimZ99 e4bade32f9
Updated PHPMailer namespace
- Updated PHPMailer namespace
- Changed $phpmailer->SMTPDebug to an integer value.
- Added cast type to $phpmailer->Port.
2018-08-03 00:46:24 +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 a05d36d5f6
Corrected typos & removed unused code
Removed unused data from query.
Fixed a few typos.
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
TimZ99 a96e1e5a2e
Removed eval(), redone get & load language functions 2018-07-12 17:31:00 +02:00
TimZ99 92e8312ff1
Removed unused code
Code not reachable.
2018-06-30 13:14:42 +02:00
Ward Pieters 57f4c369e9 SMS: 4 gateways added and others rewritten (#593)
* Closes #588

* Not relevant anymore: closes #223

* Create Plivo.php

* Create SolutionsInfini.php, closes #460 

* Create Callr.php, closes #586

* Create GatewayAPI.php

* Update README.rst

* Update credits.rst

* Update functions.inc.php

* Update Octopush.php

* Update Smsit.php

* Update Mosms.php

* Update Smsglobal.php

* Update Smsit.php

* Update FreeVoipDeal.php

* Update FreeMobileSMS.php

* Update Inetworx.php
2018-05-29 14:13:48 +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
Tim 9d30b9854c
Added support for Twilio (#569)
Closing #112
2018-04-02 02:38:49 +02:00
Tim a80452d916
Added Telegram and Pushover to documentation 2018-04-01 14:08:57 +02:00
TimZ99 64b4d60ffc
Added activation process for Telegram notifications 2018-03-27 23:36:13 +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
Pepijn Over 32e018b6bb
preparing for 3.2.0 release 2018-03-27 23:24:25 +02:00
Samuel Denis-D'Ortun e8857f809b Merge pull request #348 from Aestu/use_proxy-develop-2
Add global proxy support
2017-01-13 02:57:56 -05:00
Daif Alotaibi d712bb7100 Support for SMSgw provider http://smsgw.net 2016-11-02 00:40:05 +03:00
Alfredo Esteban 7b3f792f76 Add global proxy support 2016-09-01 17:40:18 +02:00
Victor Macko f229d18f2f Minor addition to HTTPS check (where it doesn't use the standard port) 2016-07-07 01:26:35 +10:00
Victor Macko 3a1e8522a3 Added ClickSend SMS provider 2016-07-07 00:09:57 +10:00
Victor Macko dc132831d4 Merge branch 'develop' of github.com:phpservermon/phpservermon
Conflicts:
	src/includes/functions.inc.php
	src/lang/en_US.lang.php
	src/psm/Module/Config/Controller/ConfigController.class.php
	src/psm/Util/Server/Updater/StatusUpdater.php
	src/templates/config/config.tpl.html
2016-07-06 22:43:10 +10:00
Valentin Deville d9557b4115
Add FreeMobile SMS 2016-07-04 14:31:42 +02: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
Samuel Denis-D'Ortun aac195e893 Merge branch 'master' into develop 2016-05-18 23:14:56 -04:00
Pavel Dvořák 2d460abbf8 Issue #287 - Added to the default English language
- Modified file functions.inc.php - because if you add new language variable so it is necessary to immediately translate all languages or all files added to the English translation of which is very inconvenient and time consuming.

- Function psm_load_lang - loading the default language that I chose English and stored in the $ GLOBALS [ 'sm_lang_default'] for further use.

- Function psm_get_lang - edited selection of translation. If there is no translation in the language you chose the user returns to the default language.
2016-05-18 23:04:50 -04:00
Samuel Denis-D'Ortun bceb6ea3db Merge branch 'develop' of https://github.com/TechReanimate/phpservermon into TechReanimate-develop
# Conflicts:
#	README.rst
#	docs/credits.rst
#	docs/intro.rst
#	src/includes/functions.inc.php
#	src/lang/de_DE.lang.php
#	src/lang/en_US.lang.php
#	src/lang/es_ES.lang.php
#	src/lang/fr_FR.lang.php
#	src/lang/it_IT.lang.php
#	src/lang/nl_NL.lang.php
#	src/lang/pl_PL.lang.php
#	src/lang/pt_BR.lang.php
#	src/lang/ru_RU.lang.php
#	src/lang/sv_SE.lang.php
#	src/lang/tr_TR.lang.php
#	src/lang/zh_CN.lang.php
2016-05-15 05:15:32 -04:00
Alexis U (portable) 57a01d27c5 add support for Octopush sms provider 2016-03-15 13:00:07 +01:00