Commit Graph

301 Commits

Author SHA1 Message Date
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
Axel Wehner d64f27f705
Add CM Telecom bulk SMS gateway (Closing #545) 2018-04-30 15:25:47 +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 79742fe6bd
Fixed wrong ping error
- Fixed error: Failed to parse address &quot;8.8.8.8&quot;
- Added correct error message.

NOTE:
This will not fix other problems with ping, non-root user are having
(on unix)!
2018-04-25 14:15:44 +02:00
Matthias Wirtz 1bd14995fb
Update several dependencies (frontend & backend) (#571)
Closes #568.
Updates Composer packages No longer supporting outdated PHP Versions, Update Dome Frontend assets, fix php notices and warnings popping Up when run in debug Mode...
2018-04-09 19:34:06 +02:00
Tim 9d30b9854c
Added support for Twilio (#569)
Closing #112
2018-04-02 02:38:49 +02:00
TimZ99 64b4d60ffc
Added activation process for Telegram notifications 2018-03-27 23:36:13 +02:00
TimZ99 7059ac6607
Defined latency for new added servers 2018-03-27 23:36:12 +02:00
Tim 4348b7c91a
Corrected indentation 2018-03-27 23:36:12 +02:00
AUBERT Mathieu ad1ca57b44
Fix #550 - Bug when sending FreeMobileSMS 2018-03-27 23:36:11 +02:00
Matthias Wirtz 08eb9a55f7
Fix method declaration error in PHP7.2 (#541) 2018-03-27 23:36:11 +02:00
avahldiek 11a021e7d9
run archive and cleanup per server (#515) 2018-03-27 23:36:11 +02:00
eezec 7302e669fd
Fixes #500 - updatePing (#516)
Moved rtime out of the if/else block, this fixes #500.
2018-03-27 23:36:10 +02:00
Tim 24717675da
Defined latency for pre-installed servers
Got deleted by accident in #502. 
Defined the latency for pre-installed servers on installation.
2018-03-27 23:36:10 +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
Tim e910367faa
Corrected Pushover comment
Changed sms to pushover.
2018-03-27 23:36:08 +02:00
Andy Gaskell 71e1203f57
Rename Nexmo.class.php to Nexmo.php
Fix for nexmo sms, sending sms didn't work till I renamed the file.

I'm not sure why Nexmo.class.php and Octopush.class.php have the .class bit in the filename.

This is a follow up to Issue #170 Implement Nexmo SMS
2018-03-27 23:36:07 +02:00
Tim b9a3b203b4
Fixed #350 Email encoding
Removed utf8_decode().

Co-authored-by: shuhai <admin@4wei.cn>
2018-03-27 23:36:06 +02:00
Tim a9f4a5716e
Fix for database populating bug (#502)
Fixed the population of the server table during installation.
2018-03-27 23:36:05 +02:00
Tim 57340aae80
Username validation fix (#512)
* Validation and (.) support

Added validation for the username during installation.
Added dot (.) to the list of allowed symbols for username.
Added ‘dots (.)’ to the error_user_name_invalid error message.
2018-03-27 23:36:05 +02:00
rabauss 462e489762
Update HistoryGraph.php
with several php-settings there might be problems with timestamp output - so it would be better to use number_format for output. otherwise the graph wont show...
2018-03-27 23:36:04 +02:00
Guillaume Moigneu ca57189e56
Fix typo on Installer.php 2018-03-27 23:36:03 +02:00
Nls 8d720496d4
Refactor header checking to be sure that we can't crash this ! 2018-03-27 23:36:02 +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
Timz99 95dbfdfe9a
Fixed upgrade check 2018-03-27 23:35:44 +02:00
Pepijn Over 32e018b6bb
preparing for 3.2.0 release 2018-03-27 23:24:25 +02:00
Andy Gaskell cdccb960c5 Rename Octopush.class.php to Octopush.php
I noticed this and the nexmo one were renamed as part of 1123603f64 for [refactoring] PSR-4 support through composer, mass-renaming all *.class.php to *.php to adhere to PSR-4

I was looking at the nexmo one as a follow up to Issue #170 Implement Nexmo SMS

See also...
https://github.com/phpservermon/phpservermon/pull/436
2017-03-30 11:20:51 +01:00
Patrick HUSS 439a63fa4f Parameter order fixed to match constructor signature #427 2017-03-23 15:08:02 +01:00
Jonas Hansen fed9cec88b Changed mysql pdo port empty check, to fix problem with mysql cant connect, when using custom port 2017-02-08 15:59:23 +01:00
Samuel Denis-D'Ortun f66c3453b1 Fix #406 2017-01-19 16:32:07 -05:00
Samuel Denis-D'Ortun fd0e698253 Merge pull request #376 from invartam/develop
Base URL configuration
2017-01-13 03:08:21 -05: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
invartam 5a7e0e0bc4 Merge branch 'develop' into develop 2017-01-07 03:14:33 +01:00
Tom Hatzer 6805903089 Remove trailing comma 2016-12-23 15:42:15 +01:00
Tom Hatzer b1df28d4d9 Add port to installer 2016-12-23 15:41:03 +01:00
Tom Hatzer cd977e2e51 Initialize protected variable db_port with value 3306 2016-12-23 15:30:39 +01:00
Tom Hatzer b2043b1b65 Add protected variable $db_port 2016-12-23 15:28:25 +01:00
Tom Hatzer ff1013ed7c Add custom port to config options in db class 2016-12-23 15:20:02 +01:00
Tom Hatzer 6bee28c78e Add ping to enum for type column in servers database table 2016-12-23 14:29:57 +01:00
Tom Hatzer b6060e7936 Add ping label to getLabels() 2016-12-23 11:44:15 +01:00
Tom Hatzer 5c0e889dd2 Add ping validation checks to ServerValidator 2016-12-23 11:38:47 +01:00
Tom Hatzer 363f67b335 Add copyright notice to updatePing method 2016-12-23 11:30:27 +01:00
Tom Hatzer 4c7d2bd4f3 Add updatePing method to check if ip is pingable 2016-12-23 11:29:28 +01:00
Tom Hatzer 92069a29a3 Add RDP port to save method 2016-12-23 11:12:07 +01:00
Benjy f19dc454ee Add base URL configuration field in installer and in sample configuration file 2016-11-05 19:10:28 +01:00
Daif Alotaibi d712bb7100 Support for SMSgw provider http://smsgw.net 2016-11-02 00:40:05 +03: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
Michael van Schaik 43645bf36f Update Mollie.php with new URL (Fixes #370)
Mollie has changed their SMS api to api.messagebird.com
They have been redirecting calls to www.mollie.com but will stop doing so from oct 24 2016
The API hasn't changed, this configuration is tested & working
2016-10-21 05:47:33 +02: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
Egogo Websolutions 5e0b2ac00b Bugfix: Message needs to be encoded before sending to receive correct SMS message 2016-10-09 14:49:09 +02:00
Alfredo Esteban 7b3f792f76 Add global proxy support 2016-09-01 17:40:18 +02:00
Victor Macko 62acb604c6 Removed duplicate file 2016-07-07 00:21:26 +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
Victor Macko 8e2698f4ce Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/lang/en_US.lang.php
#	src/psm/Txtmsg/Smsglobal.class.php
#	src/psm/Util/Updater/StatusNotifier.class.php
2016-07-06 22:37:50 +10:00
Valentin Deville d9557b4115
Add FreeMobile SMS 2016-07-04 14:31:42 +02:00
Samuel Denis-D'Ortun dcd552517b Merge branch 'davyrolink-201410_log-users' into develop 2016-05-21 20:34:16 -04:00
Samuel Denis-D'Ortun 953a7ddf57 Mute error when fsockopen fail to connect to host 2016-05-21 20:34:03 -04: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 36b5229fcd Issue #96 Authentication fields for website/services
- Installer.php - Fixed install method
2016-05-21 18:11:57 +02: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 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
Samuel Denis-D'Ortun cbfd60871e Allow empty db password 2016-05-18 22:48:09 -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
Victor Macko 7cf13e5b8a Case insensitive check 2016-03-30 12:25:40 +11:00
Victor Macko b77ffc95c3 Also use string comparison 2016-03-24 07:35:06 +11:00
Alexis U (portable) 87a576642c ajout mode premium 2016-03-15 15:11:52 +01:00
Alexis U (portable) 57a01d27c5 add support for Octopush sms provider 2016-03-15 13:00:07 +01:00
Pepijn Over 52803e2d70 adding language subtags to template and support for right-to-left locales 2016-01-31 17:48:59 +01:00
Pepijn Over 4be64dfa3a removing csrf key from login module to prevent 401 errors on login 2016-01-31 17:07:56 +01:00
Pep 653fe4f7b8 Merge pull request #195 from Esselans/develop
Improved translation & UTF email output
2016-01-31 00:28:04 +01: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 b2ed873b1b on login, make sure to clear existing session vars and start from fresh (moving from migrate() to invalidate()) 2016-01-31 00:17:28 +01:00
Laurent a02ea03399 If pattern is set up, you cannot catch server problems
The need : to have 3 differents error codes :

- Timeout
- Http status code
- pattern not found.

The error of status code or timebout where overwritten by pattern, if set up
2015-06-01 00:22:10 +02:00
Mauro Vietri 0d3934108c Improved Spanish translation & add utf8 decoding before sending email notifications to correctly display special characters on subject and body 2015-04-21 08:07:30 -03:00
Luis Rodriguez 6a2a4c1898 Implement Nexmo SMS Issue #170 2015-02-28 21:05:18 -05: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 8505a34292 [event] adding experimental support for user events 2015-02-27 17:06:22 +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
Pepijn Over 390a8e6156 [txtmsg/freevoipdeal] issue #164: adding freevoipdeal to config dropdown 2015-02-27 11:43:04 +01:00
Pepijn Over d4843a2990 Merge branch 'develop' of git://github.com/mvdw/phpservermon into mvdw-develop 2015-02-27 11:18:47 +01:00
Pepijn Over 6548a16972 [module/server] issue #169: adding new server ip limit of 500 chars to upgrade script and changelog 2015-02-27 11:15:29 +01:00
Pepijn Over dc7036c39a Merge branch 'develop' of git://github.com/sudarshann/phpservermon into sudarshann-develop 2015-02-27 11:11:05 +01:00
Pepijn Over e3dc55220c fixing line endings 2015-02-27 11:07:11 +01:00
Sudarshan Anbazhagan 37aa55a472 updated maximum length of the server hostname
most of the urls I have are very long and it needs to have a larger value. 100 is simply not enough
2015-01-08 01:52:22 +05:30
Michiel van der Wulp 365131df40 correct text message 2014-12-11 22:13:35 +01:00
Michiel van der Wulp 419ba4a0cf added freevoipdeal support 2014-12-11 13:16:06 +01:00
Pepijn Over 391701721b issue #128: adding SSL/TLS support forr SMTP 2014-11-06 14:30:39 +01:00
Pepijn Over 54f5dbf8f3 issue #135: uptimes displayed above 100% because of unsorted uptime records 2014-11-06 14:00:09 +01:00