Commit Graph

333 Commits

Author SHA1 Message Date
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
Davy Rolink 3cc48dff2d bugfix, missing $log_id 2014-10-02 22:00:08 +02:00
Davy Rolink 58b104c1fb log users displaying for the new log-users data structure 2014-10-02 21:33:51 +02:00
Davy Rolink aaa073d9fd 3.1.1 upgrade 2014-10-02 20:55:22 +02:00
Davy Rolink 6aabe1eca7 save log_users in a separate table, so that we can add additional data to each log_user in the near future 2014-10-02 09:32:21 +02:00
Davy Rolink 7585eb23e0 allow urls to be generated from cli, with the help of argument --uri= 2014-09-12 09:05:52 +02:00
Pepijn Over 16bba4b949 disable pushover by default on upgrade 2014-08-07 14:25:01 +02:00
Pepijn Over 55714e4208 removing closing tag from generated config 2014-08-07 13:05:34 +02:00
Pepijn Over eeda80e17f adding catch block around LOCK TABLES to prevent warnings when user has no rights 2014-08-06 16:40:55 +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 71d432c973 issue #119: adding log retention period 2014-08-06 13:08:31 +02:00
jerome 5c99a4bbd3 Rewriting Archiver. Database access optimization + thread safe. 2014-08-06 13:08:31 +02:00
jerome 131ec1c7b4 Fixing dates in charts regression. 2014-08-06 13:08:31 +02:00
Pepijn Over 17b5d175ff adding pushover clone button for new app 2014-08-05 15:58:44 +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 1f1ca0c3eb disabling sms by default on new installs 2014-07-31 16:37:12 +02:00
Pepijn Over e590eb798f issue #101: fixing instasll for pushover 2014-07-31 16:35:01 +02:00
Pepijn Over 5c605ddcb2 issue #101: adding test feature for Pushover 2014-07-31 16:21:19 +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 cdfe3c85d2 issue #28: adding permission denied error page 2014-07-30 13:47:06 +02:00
Pepijn Over 11900a55b3 ServerValidator did not allow domains for services 2014-07-28 11:38:12 +02:00
Pepijn Over b79fbafe47 fixing wrong is_resource call (introduced by 4a09d9ec22) 2014-07-28 11:18:43 +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
Pepijn Over 7a061832ec Merge branch 'develop' of https://github.com/Halvra/phpservermon into Halvra-develop 2014-07-28 10:28:33 +02:00
Pepijn Over b45c93f254 issue #113: only send test sms if user has a mobile no 2014-07-28 09:46:48 +02:00
Pepijn Over 4916b9e5d0 issue #110: adding missing translations and changelog 2014-07-28 09:38:11 +02:00
Victor Macko 2cbb2dc932 Added SMSGlobal as sms gateway 2014-07-28 09:25:03 +02:00
Victor Macko ea8e767377 Added SMSGlobal as sms gateway 2014-07-28 09:25:03 +02:00
Victor Macko 5ddbfdd167 Added SMSGlobal support 2014-07-08 00:45:50 +10:00
Victor Macko c91d3e75cf Added SMSGlobal as sms gateway 2014-07-05 17:42:57 +10:00
Victor Macko ae4cf0e288 Added SMSGlobal as sms gateway 2014-07-05 17:28:02 +10:00
jl e60f69e581 Adding timeout config for a server. 2014-06-27 14:26:26 +02:00
Pepijn Over 4a09d9ec22 adding if is_resource check around fclose to prevent warnings 2014-06-23 11:54:22 +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
Pepijn Over 34a22a7914 cleaning up unused imports 2014-05-06 15:41:38 +02:00
Pepijn Over 87dea7f6d0 renaming getPreferences method to loadPreferences to indicate you are
not "get"ing anything
2014-05-04 13:42:31 +02:00
Pepijn Over c58a91fc3b finishing #86 by jerome (adding sql to install, changing primary key,
..)
2014-05-04 13:42:31 +02:00
jerome 19ae7db77a Saving status layout mode 2014-05-04 13:42:31 +02:00
jerome d7f36da391 Status list layout 2014-05-04 13:42:31 +02:00
Pep f8bb776cd1 Merge pull request #90 from nerdalertdk/patch-1
Update Smsit.class.php
2014-05-04 13:17:45 +02:00
Pepijn Over 3a2493e81c now using symfony HttpFoundation session object for managing user
session
2014-05-04 13:15:38 +02:00
nerdalertdk 604c4fc8a3 Update Smsit.class.php
Better version

Is there a way to get the result error code to frontend ?
2014-04-25 14:26:38 +02:00
Pepijn Over c10d714a7d importing danish language, updating redirect for login and docs updates 2014-04-25 07:42:53 +02:00
Pepijn Over 625500495f Merge branch 'develop' of https://github.com/nerdalertdk/phpservermon into nerdalertdk-develop
Conflicts:
	src/psm/Module/Config/Controller/ConfigController.class.php
	src/psm/Util/Updater/StatusNotifier.class.php
2014-04-25 07:12:49 +02:00
Pepijn Over a2eacb2bce fixing redirect on config after language change 2014-04-25 00:25:29 +02:00
jerome d79ba42e85 Issue #75 2014-04-25 00:25:29 +02:00
Pepijn Over b4a7ab3ba7 issue #55: adding xhr functionality to controllers 2014-04-24 23:50:47 +02:00
nerdalertdk 8bbc89f69f Update LoginController.class.php
Login redirect fix same as issue #82
2014-04-24 12:20:08 +02:00
Michael 537a2d4f59 Fix for issue #83 2014-04-24 09:21:23 +02:00
Michael 4e67fe169f Danish language added
www.smsit.dk added to sms providers
2014-04-24 08:59:12 +02:00
jerome 7c87073242 Logs table for mobiles 2014-04-22 21:07:06 +02:00
Pepijn Over e868e130b0 adding required "?" prefix to if statements in templates 2014-04-22 20:59:47 +02:00
jerome 69e3b85516 Adding if statement in templates 2014-04-19 00:01:14 +02:00
jerome fbdde48d8f phone mode 2014-04-18 01:42:26 +02:00
Pepijn Over e6a5682bf4 fixing some queries for users with mysql in strict mode 2014-04-16 22:36:17 +02:00
Pepijn Over 26cced4981 Merge branch 'mobile' into develop 2014-04-16 22:12:34 +02:00
Pepijn Over 96b5085099 hide port for websites on small devices 2014-04-16 22:02:04 +02:00
Pepijn Over e96b510000 issue #63: make sure all websites are saved with http:// in front 2014-04-14 12:31:10 +02:00
Pepijn Over dfa848c072 removing callable type-hint, not supported on older PHP versions 2014-04-14 12:04:06 +02:00
jerome aaf6a58608 'Status' translation 2014-04-14 01:59:45 +02:00
Pepijn Over 107b6ebb00 issue #52: adding uptime percentage to uptime graph 2014-04-13 23:45:40 +02:00
jerome 3c5703c1ac Allow several different modal dialog box on the same page 2014-04-13 14:34:40 +02:00