As there are a lot of problems with permissions and ping, the function now uses exec(). Resolved#405, #576, #614, #748.
Co-Authored-By: Sean Perryman <se@nperryman.com>
Co-Authored-By: Luke C <crawford.luke@outlook.com>
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
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.
- Fixed error: Failed to parse address "8.8.8.8"
- Added correct error message.
NOTE:
This will not fix other problems with ping, non-root user are having
(on unix)!
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) 😉.
- 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
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