* Add more variables for webhook json
To allow status specific icons and a special Text defined in the json, not only provide #message as variable, but also #server_ip, #server_label, #server_last_offline_duration and #status.
* Add #server_error as additional variable for webhooks
Resolved#967.
* add feature "add url" to email and telegram
* Added missing brackets
* Changed $body to correct var $message
And changed PHP_EOL to <br>.
* Changed text a little
* Add dutch translation
Co-authored-by: TimZ99 <TimZ99@users.noreply.github.com>
* Added support for Discord using Webhooks
* Bumped version
* Fixed broken upgrade
* Moved discord below Jabber
* Fixed broken comment
* Added missing translation
* Updated version
* Typo
* Moved Discord under Jabber
* Fixed icons
* Moved Webhook and discord after Jabber
Co-authored-by: Tim <TimZ99@users.noreply.github.com>
* use openssl_x509_parse to parse certinfo (avoid literal case conflict)
* use OS specific ping (CLI/socket)
* Moved Windows and non-Windows check to a private class
Co-authored-by: TimZ99 <TimZ99@users.noreply.github.com>
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>
Added the first part with #770. Forgot to add it to the fresh install function.
Also removed the default value for TEXT as TEXT can't have a default value.
Co-Authored-By: Matěj Kmínek <matej.kminek@attendees.eu>
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