Commit Graph

694 Commits (d64fe3069af27d775c3bfd1e49f55a0cbb4d224c)

Author SHA1 Message Date
cm c4d04f1199
missing closing single quote 2025-04-23 15:08:52 +01:00
Sven 65e0f8a7c9
Fix missing PSM_UPTIME_ARCHIVE definition (#1297)
* define PSM_UPTIME_ARCHIVE

Define uptime archive if missing. PHP otherweise throws an error for a missing definition

* Update config.php.sample

Add default value for PSM_UPTIME_ARCHIVE
2025-02-13 03:43:44 +01:00
Edogusma 601139b866
update to support PHP 8.1.0 (#1270)
* update to support PHP 8.1.0

* localized date

* reverted for compatibility up to PHP 7.4

* PHP 8.4 support

* remove unused images

---------

Co-authored-by: Tim Zandbergen <TimZ99@users.noreply.github.com>
2025-02-04 00:42:48 +01:00
Tim Zandbergen c70d23859a
Removed non-translated lines. 2025-01-26 00:00:51 +01:00
M Alfiyan S 7e9826b532
Server monthly uptime analytics (#1146)
* add month button

* generate by last month,
tracing why < week uptime truncated

* start hack archiver

* add weekly default config for dynamic archive

* if monthly archive defined, allow up to ~1 month old uptime date

* allow quarterly retention

* add comment for archiver

* query by archive settings retention
2025-01-25 23:32:15 +01:00
hmoreau de831174c1
Feature: Add a custom HEADER field to servers requests (#1215)
* Update Installer: add field to db

* Add custom header to StatusUpdater

* Update server update form

* Translations

* Update installer
2025-01-25 22:40:50 +01:00
Suthep Yonphimai aa23549a5b
Update th_TH.lang.php
correct some words
2025-01-07 08:21:47 +07:00
Tim Zandbergen 6eef9dc6ea
Removed error message 2025-01-06 18:14:55 +01:00
Tim Zandbergen 085af72e14
Merge pull request #1204 from KombineTech/develop
Fix sendWebHook PHP8 Uncaught TypeError: Cannot access offset
2025-01-06 17:57:56 +01:00
Tim Zandbergen deefc45847
Removed English translations
If there is no translation available for a word, the system defaults to English. 
Removed the translation of the license part for legal reasons.
2025-01-06 17:44:57 +01:00
Suthep Yonphimai 25abdd61ec
Create th_TH.lang.php
Create th_TH.lang.php and translation some word.
2025-01-06 11:50:26 +07:00
Tim Zandbergen 5059e8fbb2
Merge pull request #1212 from Alexell/develop
Update Russian language and remove double locale strings from English
2025-01-05 02:58:19 +01:00
Tim Zandbergen fa0723c74d
Update ServerController.php
Added discord and webhook to function. Adding to #1286
2025-01-05 02:39:22 +01:00
Tim Zandbergen 43fa882a5d
Merge pull request #1286 from fioru-software/cm-server-monitoring-notifications-ui
Server monitoring notification dropdowns to default to configured values
2025-01-05 02:32:49 +01:00
Tim Zandbergen 8870f5ecd1
Merge pull request #1225 from martijnengler/develop
Fix version check during install. Fixes #1224
2025-01-05 02:14:28 +01:00
Tim Zandbergen 4f88711919
Merge pull request #1285 from fioru-software/cm-removed-myisam
Remove explicit MyISAM engine dependency from table create statements
2025-01-03 18:19:23 +01:00
Tim Zandbergen 27a9648292
Merge pull request #1257 from oubrecht-com/patch-1
Update cs_CZ.lang.php
2025-01-03 18:11:51 +01:00
cm 5311664539
removed missed MyISAM 2024-11-07 17:08:11 +00:00
cm 16c9fddc54
Server monitoring notification defaults to obey configuration 2024-11-07 16:25:54 +00:00
cm 8e1d6d9e59
Remove hard dep on MyISAM storage engine 2024-11-07 15:02:46 +00:00
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
OUBRECHT.com afba6640b7
Update cs_CZ.lang.php 2023-06-28 09:53:41 +02:00
Raphael.Bergmann 7245f65873
Updated SMSGlobal API URL 2023-05-31 15:45:17 +02:00
Martijn Engler 56b992609c
Fix version check during install. Fixes #1224 2022-10-02 11:57:59 +02:00
Alexell e1c61abb15 Update Russian language 2022-07-30 00:57:47 +03:00
Alexell dba78bc7f3 Remove double locale strings (en_US) 2022-07-30 00:56:12 +03:00
Thomas Ulsø Kristensen d56b2856e5 Changed mail footer to public url. 2022-06-16 13:26:14 +02:00
Thomas Ulsø Kristensen 2c32c4adee Added subject to web hook same as used for e-mail. 2022-06-13 08:26:18 +02:00
Thomas Ulsø Kristensen 106a96b087 Added custom styles. 2022-06-10 08:03:07 +02:00
Thomas Ulsø Kristensen 3ee7a7380d Fix Uncaught TypeError: Cannot access offset of type string on string in PHP8 in sendWebHook method. 2022-06-10 07:16:42 +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