Commit Graph

922 Commits

Author SHA1 Message Date
Germs2004 cb75c86574
added support for connectivity_sanity_test
If the user has entered an IP address for the connectivity_sanity_test field on the server edit page, that IP address will be pinged before and after that server gets checked.  If either of those pings fails, the server uptime results will not be logged because it is assumed that the phpservermon system is experiencing a connectivity problem.  If both sanity test pings succeed, the server uptime results will be logged as normal.
2020-09-07 11:13:44 -04:00
Germs2004 550b7ad4fc
added links for connectivity_sanity_test 2020-09-07 11:08:59 -04:00
Germs2004 638a8ec4f4
added strings for connectivity_sanity_test 2020-09-07 11:07:15 -04:00
Germs2004 f978545801
added field: connectivity_sanity_test
connectivity_sanity_test holds an IP address which will be pinged before and after this server gets its uptime checked
2020-09-07 11:06:02 -04:00
dependabot[bot] ba8c7c1c84
Bump symfony/filesystem from 3.4.36 to 3.4.43 (#993) 2020-08-27 11:26:46 +00:00
dependabot[bot] 799f512a92
Bump symfony/dependency-injection from 3.4.36 to 3.4.43 (#992) 2020-08-27 11:25:51 +00:00
dependabot[bot] 9fa924d0cc
Bump symfony/event-dispatcher from 3.4.36 to 3.4.43 (#991)
Bumps [symfony/event-dispatcher](https://github.com/symfony/event-dispatcher) from 3.4.36 to 3.4.43.
- [Release notes](https://github.com/symfony/event-dispatcher/releases)
- [Changelog](https://github.com/symfony/event-dispatcher/blob/master/CHANGELOG.md)
- [Commits](https://github.com/symfony/event-dispatcher/compare/v3.4.36...v3.4.43)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-26 17:11:41 +02:00
dependabot[bot] af1ddd6911
Bump phpmailer/phpmailer from 6.1.6 to 6.1.7 (#990)
Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.1.6 to 6.1.7.
- [Release notes](https://github.com/PHPMailer/PHPMailer/releases)
- [Changelog](https://github.com/PHPMailer/PHPMailer/blob/master/changelog.md)
- [Commits](https://github.com/PHPMailer/PHPMailer/compare/v6.1.6...v6.1.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-26 17:10:42 +02:00
dependabot[bot] 2ea03a8650
Bump twig/twig from 1.42.4 to 1.42.5 (#989)
Bumps [twig/twig](https://github.com/twigphp/Twig) from 1.42.4 to 1.42.5.
- [Release notes](https://github.com/twigphp/Twig/releases)
- [Changelog](https://github.com/twigphp/Twig/blob/3.x/CHANGELOG)
- [Commits](https://github.com/twigphp/Twig/compare/v1.42.4...v1.42.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-26 17:09:51 +02:00
dependabot[bot] 118d1e624e
Bump symfony/http-foundation from 3.4.36 to 3.4.43 (#988)
Bumps [symfony/http-foundation](https://github.com/symfony/http-foundation) from 3.4.36 to 3.4.43.
- [Release notes](https://github.com/symfony/http-foundation/releases)
- [Changelog](https://github.com/symfony/http-foundation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/symfony/http-foundation/compare/v3.4.36...v3.4.43)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-26 17:09:35 +02:00
dependabot[bot] 474b90c123
Bump symfony/config from 3.4.36 to 3.4.43 (#987)
Bumps [symfony/config](https://github.com/symfony/config) from 3.4.36 to 3.4.43.
- [Release notes](https://github.com/symfony/config/releases)
- [Changelog](https://github.com/symfony/config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/symfony/config/compare/v3.4.36...v3.4.43)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-26 17:08:59 +02:00
Tim fd820dea06
Create dependabot.yml 2020-08-26 17:05:52 +02:00
TimZ99 66983a0a66
Indentation and changed readonly to required 2020-08-26 16:00:27 +02:00
Marc Farré ba0fa251e9
Update Octopush.php (#975)
With the low cost default value, SMS are sometimes received many hours after. For a monitoring software, this has no sense, we need to be sure to receive the alert by SMS instantly to repair the problem as quick as possible. Otherwise, SMS is useless, email is free and good enough. Moreover, the price difference between low cost and premium is small.
2020-08-14 17:56:13 +02:00
Daniel Krusky d0f5d18fc4
Added support for Discord using Webhooks (#971)
* 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>
2020-08-12 21:33:44 +02:00
imsoftware fe9cdab437
add info about updater.sh (#899) 2020-08-12 21:27:12 +02:00
Dylan Ysmal 74b97db66f
Add Ysmal.fr SMS gateway (#906) 2020-08-12 21:26:28 +02:00
milux 9fe598d774
Increased graph data processing speed (#944) 2020-08-12 21:23:47 +02:00
wienfuchs c090a398d1
change rtime to numerical to avoid DB update conflicts (#963) 2020-08-12 21:11:50 +02:00
Malte Grosse 14f6e491cf
webhook support (#951)
* added webhook support

* Added missing upgrade lines

* Removed todo

* Removed linebreak

* Moved webhook below Jabber

* Fixed description not showing

* Moved webhook below jabber

* Indentation and table name fix

* Bumped version

* Fixed “header already sent” error

Co-authored-by: TimZ99 <TimZ99@users.noreply.github.com>
2020-08-12 19:27:13 +02:00
Alexandre ZANELLI 60955f799e
Adding OVH SMS Gateway. (#953)
Co-authored-by: Alexandre ZANELLI <azanelli@uuds.com>
2020-08-12 15:33:48 +02:00
Marc Farré 97d61a972c
Update Octopush.php (#968)
Replace `urlencode` by `rawurlencode` and `XXXX` by `XXXXX` otherwise you get error 121 (see https://www.octopush-dm.com/en/errors)
2020-08-12 15:31:09 +02:00
TimZ99 f29da63fb8
Merge branch 'production' into develop 2020-08-12 13:12:32 +02:00
TimZ99 5c5d980bd3
Merge branch 'hotfix/fix-3.5.1' into production 2020-08-12 13:12:32 +02:00
TimZ99 be83403834
Added correct version number 2020-08-12 13:11:52 +02:00
TimZ99 e69ae1f375 Security update. jQuery vulnerability CVE-2020-11022 and CVE-2020-11023.
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEoQY/Hc/mmBVC5OarTYJo3GjoM50FAl8zwgcACgkQTYJo3Gjo
 M53YOxAA4hTTVmxr721bXZilKFDblNjGg7GJ8n1eSaa6KsYDfaaFar0M5KLPqwbV
 zupGTZK4GNPAd7lywOQsFJDyQQ1OtlRxJ1sYmSuiSBcsfRj2VfKoH463P01PxuEv
 wmSCCDCe6tdpnS2Fy3rpUL2gQmsZtF1OQatV5m9VgV8BBe9tNPhnAdTA6ZO75ofB
 jtDB2gBl1Tdp6vwNa1oa5I2xl4vgPG5zVT571z7ubIbPG8fNgBjYwu587kwZFDqy
 nvN8atkNA6+CJCrFH67kXw4Ao7r8z0gbhy/85a9gWPSLnn53HYZX65PmPqGsSZQL
 MHE8acu3vERFwDiweJwPYILJNv5+Z2xkrMwOeWXS1LawjlX+VMNkHAX+tHKIBK6M
 g7IhDuW2CNfwB6eiHGXosLPxsGzIIN4I1SLo5zLvGQvDbFKlxO/+YT5ZHCbQPw7P
 tT6umF27ULIxTSAlM/Ray8nbUJkFxi5++tvT1GX2RCexPeeSwmU2xZJDPrqqW8e6
 5VhZdOOjI+yTJVpxcySrVH2d2wDx9IHuYb1ImGq3tUM+PJzwJ4hToln32zB/rKWK
 0kPEU5kiM//09dMyDxOKRGqnIOy1klHw4Rbdf6ZEIEN0okUi5jNq6LkGXut7Eh7U
 //L8A5G8Lu1RAsZ66J5Nt5e47XTR2YA8cDRgz3Fvedw4oZJj020=
 =NTB1
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEoQY/Hc/mmBVC5OarTYJo3GjoM50FAl8zwgcACgkQTYJo3Gjo
 M50kNhAAuOehEe9EwCgSIAVBmoONpEskpX+dgLMCKQa7SX4bRrnXgtqAxEdxxhvE
 alHEJKhx+SEI/m/X0ExUHix8Vrzc3sInWIsxjG51MmHucNMfCwxOmz/sLz/jYER0
 ZHvhUxOafIjpWn0eByOls858aovVd6eNrWJS0c9K8VzNxmTBAjc1sDtkl9deRYjB
 BZ4cT/623OBqI1GEBrrxZIL+FZ573wnruZCWq2fezr72gfI9J4+LZxgVjG80c5n+
 3MsCLkI2KN/1ETd9iOybuoGRhhNKABNaboNssgM7alpAsF4O88F03dNfMD+I1jAd
 fqwGA4R5wJDtahcVwiDfoIqLk0hJIDQ7EwWpCsOPVHmNJmQ8/Iradesq77v4b3qk
 gQCt0lL5zSD6SVjT026EdJ0w5d0fmUTNzEvRgH0PlS3L7GzLxvG7cGDCTJNQK2HH
 mdjJGSHuc+SaM5XzGLOa3FRor+/V9Ljt6rC1ALL6H59u86Ef1d2yeXuz/2Oa6Q8Z
 2rbksZz5+5a8aUCi/1Vh2Lqk3YafvxbMzOU4ZGqEeyqc8vPtBRrt1YCig3J3i+zi
 cllYMWvwZlOYwd0mqA3MzYX8vL0J7WohbvZEtYq2srY3alCdi4RlW0G+HcEYrKjy
 73ti6yN10/bLEBf1P/IWADT6oi0O2SHCbC+3OGgCxbghnSpI5M0=
 =CBnn
 -----END PGP SIGNATURE-----

Merge tag 'jQuery-security-update' into develop

Security update. jQuery vulnerability CVE-2020-11022 and CVE-2020-11023.

# gpg: Signature made Wed Aug 12 12:18:47 2020 CEST
# gpg:                using RSA key A1063F1DCFE6981542E4E6AB4D8268DC68E8339D
# gpg: Good signature from "Tim Zandbergen <TimZ99@users.noreply.github.com>" [ultimate]
2020-08-12 12:18:47 +02:00
TimZ99 69f227216e
Merge branch 'hotfix/jQuery-security-update' into production 2020-08-12 12:18:47 +02:00
TimZ99 dd915ae97b
Updated jQuery to 3.5.1
Fixes #972.
jQuery below 3.5.0 is vulnerable to code injection even when inputs are sanitised. Please see:

[CVE-2020-11022](https://nvd.nist.gov/vuln/detail/CVE-2020-11022)
[CVE-2020-11023](https://nvd.nist.gov/vuln/detail/CVE-2020-11023)
2020-08-12 12:16:50 +02:00
dependabot[bot] 5ecdc75dcf
Bump phpmailer/phpmailer from 6.1.3 to 6.1.6 (#941) 2020-05-27 16:47:48 +00:00
dhanrajbsheth f5db23b1e5
Installer checks for needed PHP functions (#939)
Closes #903.
2020-05-25 21:36:57 +02:00
Mateusz Małek 2a15b31ecd
Ability to pan & zoom on charts (#926)
* Add ability to pan & zoom on charts

* Added map

* Added rangeMax and zoom speed

Co-authored-by: TimZ99 <TimZ99@users.noreply.github.com>
2020-05-25 18:12:43 +02:00
wienfuchs 7deac0815a
changing Windows ping routine back to socket usage, leaving Linux changes made (#938)
* 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>
2020-05-25 18:10:10 +02:00
Tim f02d55635e
Changed ping6 to ping -6 for windows (#936)
Resolving #935.
2020-05-25 14:39:30 +02:00
wienfuchs 07abc7d294
use OS specific ping count parameter (#932)
* use OS specific ping count parameter

* Reorganized and complied with PSR-12

Co-authored-by: TimZ99 <TimZ99@users.noreply.github.com>
2020-05-24 23:40:19 +02:00
wienfuchs 96d0c3fa57
use openssl_x509_parse to parse certinfo (avoid literal case conflict) (#931) 2020-05-24 23:31:19 +02:00
Tim ea33ba07ca
Updated ping check (#919)
Check if transmitted and received packets is equal.
2020-05-18 22:05:19 +02:00
Tim 7856de4bbb
Better fit for bigger screens (#875)
Fixes #857.
2020-05-18 20:43:13 +02:00
Tim a19127721c
Display time in ms instead of seconds (#918) 2020-05-18 19:58:33 +02:00
Mateusz Małek 7f1ea8452a
Fixed issue with choosing user permissions while adding server (#923) 2020-05-18 19:57:37 +02:00
Mateusz Małek de653fce9b
Set custom user agent (#924) 2020-05-18 19:55:05 +02:00
Mateusz Małek 2fd9702485
Add ability to set custom site title (#922) 2020-05-18 19:45:44 +02:00
Mateusz Małek 4894653891
Show recent status logs on server details page (#921) 2020-05-18 19:42:24 +02:00
Tim 6a869aff18
SMSAPI gateway (#920) 2020-05-18 19:41:27 +02:00
TimZ99 875b0208b5
Indentation 2020-05-18 19:41:08 +02:00
Mateusz Małek 72de1479fa
Add SMSAPI to list of supported SMS gateways 2020-05-18 09:10:16 +02:00
Mateusz Małek 586c01136e
SMSAPI gateway 2020-05-18 00:39:50 +02:00
TimZ99 c0e0b260d5
Indent to space 2020-05-17 21:03:42 +02:00
Michael 7daab77f8d
Adjust required php extensions (#904)
af5334a0 introduced the following requirements:
- ext-hash
- ext-json
- ext-libxml
- ext-openssl
- ext-pcre
- ext-sockets

Maybe also the functionality that needs the extension could be
mentioned, so someone that does not need jabber, could install with
`--ignore-platform-reqs` when not having these extensions available.
2020-05-15 17:22:54 +02:00
wienfuchs 7bee25cc1e
Re-adding support PHP 5.5.9/7.0.x (#915)
Resolves #908.
2020-05-15 16:55:57 +02:00
imsoftware 424fca1eb7
change http to https (#900) 2020-05-06 18:24:20 +02:00