Commit Graph

666 Commits

Author SHA1 Message Date
Viharm 61afb81554
Cleanup 2023-08-14 05:43:24 +00:00
Viharm 537b17ac01
Merge branch 'phpservermon:develop' into fix/DBUserDetailRetention-LDAP 2023-08-14 06:34:37 +01:00
Tim Zandbergen 5f65f92678
Merge pull request #1255 from RaphaelBergmann/develop
Updated SMSGlobal API URL
2023-08-13 21:59:07 +02:00
Marc Farré 850f0eac8d
Update Octopush.php (#1259)
Update Octopush.php. Now accepting 200 as a valid response code.
2023-08-13 21:55:17 +02:00
Viharm 59966c6cd2
Signed commit 2023-08-13 18:52:19 +00:00
Viharm c81a4a426c
Merge branch 'phpservermon:develop' into fix/DBUserDetailRetention-LDAP 2023-08-10 15:01:35 +01:00
Raphael.Bergmann 7245f65873
Updated SMSGlobal API URL 2023-05-31 15:45:17 +02:00
Samuel Denis-D'Ortun 04a4d959fd
Merge pull request #1119 from RedKage/patch-1
Support for mysql unix socket
2022-04-14 08:27:05 -04:00
Germs2004 7f5b5878da
Clarify description of permission setting
This setting only says it controls which users this server is visible to.  But it also affects which users get notifications when this server's status changes.  This pull request clarifies the setting's description so users will understand that it affects both visibility and notifications.
2022-03-27 16:36:17 -04:00
viharm 9643ef3f6f
Added additional parameter passed to LDAP auth module for checking existing user data in DB 2022-03-14 17:11:51 +00:00
Tim Zandbergen 460db614f8
Removed double locale 2021-12-12 23:40:33 +01:00
Marc Farré 8dcf5c2666
Update Octopush.php (#1147)
* Update Octopush.php

Now works with the new API V1 : https://octopush.com/en/sms-gateway-api-documentation/

* Update Octopush.php

* Updated send check

Co-authored-by: Tim Zandbergen <TimZ99@users.noreply.github.com>
2021-12-11 01:36:08 +01:00
Tim Zandbergen d725bd9234
Increased max lenght for post field value
Fixes #1148.
2021-12-10 22:40:14 +01:00
Akshay Jain 76d0c276c0
Update User.php (#1135)
https://www.huntr.dev/bounties/3-phpservermon/phpservermon/
2021-07-28 20:04:12 +02:00
scheibling e28192278c
Update FreeMobileSMS.php - Fix encoding bug (#1132)
Fix the URL encoding by changing urlencode to rawurlencode, since the former uses + instead of %20 to encode an URL and is meant for form submissions. Rawurlencode is meant for creating URLs, and should fix bug #1120
2021-06-23 22:47:27 +02:00
Tim Zandbergen 3daa804d5f
SECURITY: Replaced mt_rand with random_bytes
https://huntr.dev/bounties/2-phpservermon/phpservermon/
CWE-1241: Use of Predictable Algorithm in Random Number Generator
2021-06-23 22:06:34 +02:00
Tim Zandbergen bb10a5f3c6
SECURITY: Replaced mt_rand with random_bytes
https://huntr.dev/bounties/1-phpservermon/phpservermon/
CWE-1241: Use of Predictable Algorithm in Random Number Generator
2021-06-23 22:05:58 +02:00
scheibling 32fcb8b0e8
Added Tele2 API (#1130)
* Added Tele2 API

* Fixed mistake, added to readme, added number formatting

Co-authored-by: larsec <larsec@novea.nu>
Co-authored-by: Lars Scheibling <lars.scheibling@hoglandet.se>
Co-authored-by: Tim Zandbergen <TimZ99@users.noreply.github.com>
2021-06-21 22:49:40 +02:00
wilhelch ecc1c6649a
Fixed SMTPAutoTLS Default (#1129)
PHPMailer will always try to connect to an SMTP server via TLS by default regardless of the SMTPSecure Setting. Added a check to set SMTPAutoTLS to false when email_smtp_security is empty.
2021-06-14 23:35:02 +02:00
Unknown 2eb190e07e
Adding LabsMobile SMS Gateway (#961)
* Adding LabsMobile SMS Gateway

* Adding LabsMobile SMS Gateway Reference

* Update LabsMobile.php

Co-authored-by: Tim <TimZ99@users.noreply.github.com>
2021-05-31 04:12:18 +02:00
Michael 88708240c7
Add error message for missing/invalid header (#1017)
* add error message for missing/invalid header

* Code cleanup

- simplify the check
  - do not invert the result of `preg_match()`
  - do not set the `$result` in loop, it is already set after the loop
- fix the order of code, first set `$this->error` then `$result`
2021-05-31 04:02:20 +02:00
Luke√ 9c8ed81203
Update translation (fix typo issue) (#1125) 2021-05-31 03:57:02 +02:00
TimZ99 c0401fd143
Updated translation
Fixes #1121.
Fixes #1123.
2021-05-09 16:39:30 +02:00
TacticalFreak 617adeea6f
Support for mysql unix socket
This will add support for connecting with a unix socket path to the mysql database.
Users will need to set their `PSM_DB_HOST` the unix socket path starting with an ":" symbol, like so
`:/home/xxxxxx/var/run/mysql.sock`

I stole this way idea of using the database host to store the unix socket path from Nextcloud. They do the same.

Related: https://github.com/phpservermon/phpservermon/issues/1118
2021-05-02 14:08:23 +02:00
TimZ99 de7c62cbce
Fixed typo in array - related to jabber
Fixes #1049.
2021-04-15 02:52:27 +02: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
TimZ99 13b893e1d0
changed whitespace 2021-04-15 01:06:53 +02:00
Seti c3a3c3ab2c
Fix: 'Cookies must be enabled in your browser!' message on some pages (#1032) 2021-04-02 00:58:08 +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
hjcday 79ccd15a76
Fix Plivo SMS encoding (#981)
Co-authored-by: hjcday <hugh.day@lsv.com.au>
2020-12-16 00:16:05 +01:00
Philip 28caad2c85
Update de_DE.lang.php (#1025)
* Update de_DE.lang.php


Co-authored-by: Tim <TimZ99@users.noreply.github.com>
2020-12-16 00:14:05 +01:00
Joseph Helela 54a5e2801c
Adding Infobip SMS Gateway (#1012) 2020-12-16 00:01:10 +01:00
jamgames2 59f4f44107
Update profile.tpl.html (#1050)
- ADD '   type="button"    ' for prevent ' Enter Button ' from keyboard that open telegram activation page.
2020-12-15 23:54:21 +01:00
Lukas 10f111c830
PromoSMS Gateway (#1064) 2020-12-15 23:52:16 +01:00
Mario Rothauer 31e987a1d5
Improved german translation (#1071) 2020-12-15 23:48:01 +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 66983a0a66
Indentation and changed readonly to required 2020-08-26 16:00:27 +02:00
TimZ99 f1df99c5ae
Moved update script to 3.6.0 2020-08-26 15:59:46 +02:00
TimZ99 99bcc90c03
Auto gen password for __PUBLIC__ and hide fields 2020-08-26 15:58:58 +02:00
Tim 36e33b3215
Removed old check
Removal of last admin has been fixed with 3568a570.
2020-08-26 15:17:23 +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 8cbf2dd7bf
Bumped version 2020-08-18 17:53:26 +02:00
TimZ99 27d9bd6a70
Only __public__ can be anonymous 2020-08-18 17:53:18 +02:00
TimZ99 b94d66bfc0
Added user on upgrade 2020-08-18 17:50:22 +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
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