Michael Kaufmann
10b4de4cf9
remove unused IgnorantRecursiveDirectoryIterator and fix uninitialized variables
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-04-20 15:11:48 +02:00
FliegenKLATSCH
ae39a1759a
Silence some php 8.1 warnings ( #1029 )
2022-04-20 15:09:19 +02:00
Michael Kaufmann
989b4fee0e
set version to 0.10.34.1 for upcoming bugfix release
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-04-13 12:46:16 +02:00
Michael Kaufmann
7f6810c5bd
remove accidentally added character
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-04-03 14:43:37 +02:00
Michael Kaufmann
3fbc9815ea
respect domain.writeerrorlog and domain.writeaccesslog when using log-to-pipe
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-04-03 14:34:20 +02:00
Michael Kaufmann
652a998188
don't rely on executable flag for php-sessionclean script
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-04-01 12:01:06 +02:00
Michael Kaufmann
4546c00adb
validate sql_search and sql_orderby API parameters, set version to 0.10.34 for security release
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-04-01 09:27:45 +02:00
FliegenKLATSCH
3c16fab92c
Fix distro in postfix smtpd banner ( #1014 )
2022-03-27 11:10:43 +02:00
Michael Kaufmann
02d0194b9f
add empty index.html file to all folders to avoid accidental folder-content disclosure if 'Options Indexes' is set for a (parent)folder containing froxlor in webserver-config
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-03-24 14:30:34 +01:00
Michael Kaufmann
a2f8d02b16
fix installation for mariadb-10.5; fix warnings for not used feature; thx to Akecheta for the hints and testing
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-03-07 18:40:31 +01:00
Michael Kaufmann
0d45e03f19
fix missing $ for a variable in Lighttpd-class
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-03-07 16:37:40 +01:00
Michael Kaufmann
84f5de42a9
move php-sessionclean script to scripts-dir instead of install/scripts/; add cronjob calling php-sessionclean if php-fpm is enabled; remove testing-note for let's encrypt in german language file
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-02-24 08:49:36 +01:00
Michael Kaufmann
1d7d32130a
setting version to 0.10.33 for upcoming release
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-02-04 13:24:41 +01:00
Michael Kaufmann
9babcde3e5
additional mkdir/chmod parameter fixes and cron-lock file adjustments
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-02-04 10:52:12 +01:00
Michael Kaufmann
61dfeb947f
fix incorrect parameter type for mkdir() and chmod()
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-01-25 15:47:37 +01:00
Michael Kaufmann
6fdf2636fc
update docs url for api-documentation
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-01-25 14:54:52 +01:00
Michael Kaufmann
7c80dc3d1d
add script for php-session cleanup
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-01-21 16:02:21 +01:00
Manuel
5ab49e3f50
Call PHP-FPM only when file exists ( #1006 )
...
Added `<If "-f %{SCRIPT_FILENAME}">` to load only PHP files that exists. This is to prevent `File not found` error from PHP-FPM and let Apache handle the error output. It removes also unnecessary PHP-FPM calls and `AH01071: Got error ‘Primary script unknown` in PHP error log.
Usually you can find the error whenever someone goes fishing for paths like wp-login.php.
The `<If>` directive is only available in Apache 2.4+ and not 2.2 or earlier.
2022-01-21 12:25:14 +01:00
Michael Kaufmann
06849133a8
modernize parameters of Cronjob::inserttask()
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-01-21 10:39:32 +01:00
Oskar Eisemuth
4a912e3902
Feature/crontaskid ( #1005 )
...
* Add \Froxlor\Cron\TaskId for fixed task id naming
* Replace Cronjob::inserttask numbers with \Froxlor\Cron\TaskId constants
* Use TaskId in Froxlor\Cron\System\TasksCron
* Use TaskId in Froxlor\System\Cronjob,
simplify getOutstandingTasks.
Rename lng['tasks'] cronjob task description.
WARNING: DELETE_DOMAIN_PDNS, DELETE_DOMAIN_SSL now use %domain%
* Remove Froxlor\System\Cronjob type 3 check
2022-01-21 10:03:45 +01:00
Michael Kaufmann
bcb95e9b7d
check resource-usage for Mysql.add(), thx again to zerody
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-01-18 23:18:54 +01:00
Michael Kaufmann
c97f5f1e29
updated README; sanitize script parameter in index.php; sanitize description fields of entities (thx to zerody for pointing these out)
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-01-18 09:29:13 +01:00
Michael Kaufmann
c491f2c03e
put commands for cronjob setup at the end of the list (should be the last thing to execute)
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-01-13 18:42:40 +01:00
Michael Kaufmann
5832346f75
set version to 0.10.32 for upcoming release
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-01-07 15:38:12 +01:00
Michael Kaufmann
4b4770ab36
add missing change-check when ssl-specialsettings are changed
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-01-03 20:27:19 +01:00
Michael Kaufmann
d1d42f2055
allow setting path to acme.sh installation; fixes #1002
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-12-31 10:38:49 +01:00
Michael Kaufmann
8f0f890145
fix too strict comparison for isemaildomain check in Dns-Zone generation; fixes #1003
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-12-27 15:38:59 +01:00
Michael Kaufmann
5ccae3f9bb
do not check for allowed-phpconfigs if fpm/fcgid is not activated (no possibility to select a config anyway)
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-12-14 11:23:36 +01:00
Michael Kaufmann
f4d9e64804
set version to 0.10.31 for upcoming release
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-12-03 15:30:09 +01:00
Michael Kaufmann
149c0935fa
fix Domains.update() with correct path and change_serversettings=0; refs #1001
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-11-27 22:06:29 +01:00
Michael Kaufmann
cb0b537f6c
allow settings/updating documentroot (only relative to customer homedirectory) when change_serversettings permission is not granted; fixes #1000
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-11-27 18:04:36 +01:00
Michael Kaufmann
b54c012579
respect deactivated flag when createstdsubdomain's default falls back to 'true' if the customer has one (prior to deactivating); refs #998
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-11-15 20:24:55 +01:00
Michael Kaufmann
389d83f5a3
fix behaviour in Customers.update() in case 'createstdsubdomain' is not set when called via API (wrong default); fixes #998
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-11-15 20:04:01 +01:00
Michael Kaufmann
46df429909
set version to 0.10.30 for upcoming release
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-11-05 09:27:58 +01:00
Michael Kaufmann
e5838f00cf
add quota-plugin parameters to dovecot-config-templates; update standardcustomer index.html; set nameserver disabled by default
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-11-03 14:08:57 +01:00
Michael Kaufmann
bcde7e93df
check whether the domain to clean from pdns actually still exists there; fixes #992
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-10-21 12:00:36 +02:00
Michael Kaufmann
bd8327afbe
soften/correct permissions on pdns configs; fixes #991
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-10-21 11:56:34 +02:00
Michael Kaufmann
b961eba382
fix api documentation for Domains.add() and Domains.update(); fixes #987
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-10-20 16:51:16 +02:00
Michael Kaufmann
a552ea878e
avoid undefined index of 'wwwserveralias' field if issueing/renewing lets encrypt certificate for froxlor-hostname
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-10-17 11:48:40 +02:00
Michael Kaufmann
4ad2a1da1c
add complete list of nameserver-ips and given axfr-servers to allow-axfr-ips list for PowerDNS; fixes #985
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-10-14 19:07:05 +02:00
Michael Kaufmann
37ae69f07a
correct language strings in phpconfig formfield for new setting; refs #980
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-10-14 17:13:55 +02:00
Michael Kaufmann
9870db2560
add possibility to assign new/edited php-config to all customer accounts; fixes #980
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-10-14 17:09:29 +02:00
Michael Kaufmann
724a5e172a
don't remove 0-value parameter values from bulk-actions
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-10-12 16:29:04 +02:00
Michael Kaufmann
8e166cb842
adjust debian 11 config templates, fixes #982
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-10-12 14:25:42 +02:00
Michael Kaufmann
5e281cf486
fix allowed-phpconfigs check in SubDomains.add() and SubDomains.update()
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-10-11 19:26:13 +02:00
Michael Kaufmann
5d2f44ecd8
only validate custom database name if used at all
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-10-11 18:59:26 +02:00
Michael Kaufmann
5009c625d8
prep.statement cannot be used for create database query; regex-validate database_name
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-10-11 18:55:15 +02:00
Michael Kaufmann
eb592340b0
use prepared statement for creating databases to avoid sql injections in custom db-names
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-10-11 18:33:48 +02:00
Michael Kaufmann
c6f556c8d9
set version to 0.10.29.1 for bugfix release
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-10-10 14:45:17 +02:00
Michael Kaufmann
52135a1d3a
set version to 0.10.29 for upcoming release
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-10-08 08:46:58 +02:00