Commit Graph

124 Commits

Author SHA1 Message Date
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 56587826a3
Bumped version to 3.4.5 2019-09-30 17:59:24 +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
TimZ99 b0df0e77bf
Bumped version to 3.4.4 2019-09-26 13:15:34 +02:00
TimZ99 8035608fe3
Bumped version to 3.4.3 2019-09-26 00:52:42 +02:00
TimZ99 1b0d86b361
Corrected query
Fixes #781.
2019-09-24 18:23:57 +02:00
Arkhee dd3bc35009
"Last online" stuck on "never" when checking some websites (#770)
Fixes #765

* // PATCH Arkhee : fix/last-online-stuck-on-never-if-webpage-too-large
  // The update un "servers" table does not work
  // Symptom : "Last online" stays stuck on "never"
  // Reason: last_output contains the full webpage, too long for the query
  // _This may depend on mysql configuration on the server_, explaining why some have the problem or not
  // Field is 255 Chars, and request does not work anyway is loaded web page is too large in last_output
  // So force truncate to 250 or less before query

* Spelling

* Update varchar to text

* Update tot 3.4.1

* Update tot 3.4.1

* Update README.rst

* Updated to 5000 characters
2019-09-17 19:20:41 +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
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
TimZ99 267002ba20
Bump version 3.3.1 2018-08-10 02:09:42 +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 c66848e21c
Updated version to 3.2.2
Version update needed to support Telegram.
2018-03-27 23:36:09 +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 a97539998d
Combined if-statements
Combined two of the same if-statements into one.
2018-03-27 23:36:08 +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
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