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
Michael Kaufmann
7f13bd09da
add optional ssl parameters to powerdns-config-template
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-10-08 08:39:22 +02:00
Nick Ufer
7ccbb37c4e
feat: adds mysql tls support ( #979 )
2021-10-08 08:28:32 +02:00
Michael Kaufmann
7feddf0aec
generate unpredictable unique session ids
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-10-02 12:38:17 +02:00
Michael Kaufmann
a47b790e19
actually integrate the new czech language file; refs #976
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-09-04 09:30:44 +02:00
Michael Kaufmann
21983f27b6
secure commonly used filename-variable against url manipulation
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-08-25 16:36:09 +02:00
Michael Kaufmann
4b22470872
set php session security related settings (correctly in every case)
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-08-25 16:21:33 +02:00
Michael Kaufmann
ec1c37aa06
set version to 0.10.28 for upcoming release
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-08-20 09:23:23 +02:00
Nicolas
67351ec3c2
Adding support for PowerDNS-Replication ( #974 )
...
Adding support for powerdns-replication
2021-08-19 12:00:09 +02:00
Michael Kaufmann
f1887aaaf2
enable iterate_query in dovecot by default
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-08-13 09:28:10 +02:00
Michael Kaufmann
afd2d7b5e9
fix dns-validation in Domains.add() and Domains.update() when using Let's Encrypt DNS-check
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-08-08 11:14:57 +02:00
Michael Kaufmann
c967e585b5
avoid duplicate entries in mysql-access-host setting
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-08-06 08:11:06 +02:00
Michael Kaufmann
73e364d4ba
fix compare of old/new value of aliasdomain when editing a domain as customer to avoid unnecessary regeneration of configfiles
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-08-04 14:55:22 +02:00
Michael Kaufmann
eb49331b21
remove superfluous inserttask when editing domain as it will be called when there are actually changes to the domain earlier
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-08-04 14:06:32 +02:00
Michael Kaufmann
0a1a3e023f
check dns for lets encrypt when adding/editing domains and via cron; fixes #971
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-08-04 13:44:13 +02:00
Stefan Weil
09038ac7aa
Fix some typos (found by codespell) ( #969 )
...
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2021-07-31 09:51:54 +02:00