Commit Graph

106 Commits

Author SHA1 Message Date
Alexell 027288b234 Remove double locale strings (en_US) 2021-12-20 15:37:53 +03:00
Michael 600f63097e
Add more variables for webhook json (#1016)
* 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
2021-04-15 02:00:06 +02:00
wienfuchs e5b76ca49e
add feature "add url" to email and telegram (#1085)
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>
2021-04-15 01:50:44 +02:00
Viharm 17cb13364b
Feature ldapauth (#507)
* Composer dependency added

* Updated code for language and config controller

* Added LDAP auth code

* Added blank discord value for new user during install
2020-12-16 00:21:45 +01:00
Samuel Denis-D'Ortun b59f62c139
Merge pull request #986 from phpservermon/feature/public_page
Public page
2020-11-01 11:09:16 -05:00
Edgar Ostrowski aad1a1eda7
Update of Polish translation (#985) 2020-09-09 11:46:32 +02:00
TimZ99 e599c18f0b
Merge remote-tracking branch 'origin/develop' into feature/public_page
# Conflicts:
#	README.rst
#	config.php.sample
#	src/includes/psmconfig.inc.php
#	src/lang/en_US.lang.php
#	src/psm/Module/User/Controller/UserController.php
#	src/psm/Util/Install/Installer.php
2020-08-24 22:27:51 +02:00
TimZ99 27d9bd6a70
Only __public__ can be anonymous 2020-08-18 17:53:18 +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
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
Tim a19127721c
Display time in ms instead of seconds (#918) 2020-05-18 19:58:33 +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
Petr Suchy af5334a073
Jabber (XMPP) notifications (#852)
Added Jabber/XMPP notifications.
Closes #829.
2020-04-19 15:31:40 +02:00
Rich B ec21df1555
Corrected grammar in Telegram activation message (#885) 2020-04-08 13:20:15 +02:00
TimZ99 7efffff40e
Added target _blank to external urls
Resolves #862.
2020-02-09 19:47:28 +01:00
Tim 45d1c03e5a
Feature/ssl cert expiration check (#831)
Added ssl expiration to warning state.
2020-02-04 16:44:48 +01:00
TimZ99 a9f0f64c78
Public server page 2019-12-13 14:13:04 +01:00
TimZ99 0a5a8c02f5
Implementing the PSR12 standard
Using PHPCS and PHPSBF.

For language files also used PSMLE.
2019-12-11 21:27:14 +01:00
TimZ99 d40df0c024
Fixed typo
Fixes #797.
2019-10-10 14:33:05 +02:00
TimZ99 030b2b3c2f
Prevented removal of last admin
Fixes #687.
2019-10-10 00:03:56 +02:00
TimZ99 8342a979aa
Changed help message to uniform name
From auto_refresh_servers and auto_refresh_help to auto_refresh_description.
2019-09-25 23:09:42 +02:00
TimZ99 fea3289417
Added missing offline duration 2019-05-19 01:57:04 +02:00
TimZ99 6c14709d7c
Updated default template
Fixes #685.
- Updated to Bootstrap V4.
- Changed jqPlot to Chart.js.
- Updated jQuery to the V3.
- Changed Bootstrap Multiselect to Bootstrap-select.
2019-02-08 15:51:56 +01:00
TimZ99 2c6ef08b39
Added noopener and updated download link to Github releases
- Added noopener to all links in the translation files with a target set to _blank.
- Updated the download link to Github releases.
- Removed some double spaces.
2019-02-03 20:30:17 +01:00
Tim c645444db9
Added post field as addition to #631 (#642) 2018-09-08 14:03:39 +02:00
Tim cf6f30adfc
Added combined notifications (#639)
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.
2018-09-05 23:08:17 +02:00
Tim d33c891be2
Added redirect check (#626) 2018-09-05 22:58:50 +02:00
Tim b26f85d975
Added option to view latest (failing) server response and error (#627)
Shows:
- latest error.
- latest positive response.
- latest failure response.
2018-09-05 22:52:23 +02:00
Tim 72b262c706
Added the option to specify the request method (#631) 2018-09-05 22:42:08 +02:00
Tim 7aa7ec363b
Mark specific HTTP status codes as online (#628)
Add option to specify which HTTP status codes are considered as "online".
Closing #175.
2018-09-05 22:34:19 +02:00
Daniel Billing 0e64ff54d1 Added Norwegian language (#605)
* Added the Norwegian language
* Updated SMS spelling in the English language
2018-08-13 12:39:25 +02:00
TimZ99 e2c424e167
Spacing, indentation and braces
Co-Authored-By: Scrutinizer Auto-Fixer <auto-fixes@scrutinizer-ci.com>
2018-07-12 17:31:00 +02:00
TimZ99 b0ea7eb272
Added forgotten translation 2018-06-30 17:29:12 +02:00
Danial 82d01b07f7 Add support for "site online when pattern not found" (#579)
Choose to mark a website offline of online is the pattern is (not) found.
2018-05-24 12:49:26 +02:00
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
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
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
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 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
Nls b835de1cf6
Add optionnal header check on StatusUpdater 2018-03-27 23:36:02 +02:00
Pepijn Over 32e018b6bb
preparing for 3.2.0 release 2018-03-27 23:24:25 +02: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
Tom Hatzer 3c961c8b91 Add type ping to lang file 2016-12-23 14:13:11 +01:00
Daif Alotaibi d712bb7100 Support for SMSgw provider http://smsgw.net 2016-11-02 00:40:05 +03:00
Alfredo Esteban 7b3f792f76 Add global proxy support 2016-09-01 17:40:18 +02: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