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
Michael Kaufmann
c7b7c67ff4
normalize ipv6 addresses to avoid possible comparison problems; fixes #965
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-07-26 17:53:44 +02:00
Daniel Schmitz
79f0c8d28f
wip
2021-06-28 11:01:22 +08:00
Michael Kaufmann
21925f48c3
set minimum required php-version to 7.1 and recommended php-version to 7.4
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2021-01-06 13:36:35 +01:00
Michael Kaufmann
65773bce57
automatically set php-fpm default config to php-version that is used for the installation to avoid confusion
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2020-12-21 17:15:02 +01:00
Ante de Baas
ed4dbba278
also perform checks in Install class
2020-05-31 20:46:27 +02:00
Ante de Baas
0d44adf265
fix bugs is dist detection
2020-05-31 16:00:50 +02:00
Ante de Baas
6ccfb7efbb
remove old code
2020-05-30 10:10:57 +02:00
Ante de Baas
1454d8d40f
get defaults from configparser
2020-05-30 10:08:05 +02:00
Ante de Baas
0fde1ce7e9
remove dev comment
2020-05-30 09:15:15 +02:00
Ante de Baas
fb35fb9a3a
read distribution from xml and selection via selectbox
2020-05-29 17:33:48 +02:00
Ante de Baas
6128954231
rename propery to property
2020-05-29 15:54:37 +02:00
Ante de Baas
cb1df3a7e0
show failue as nice red message
2020-05-29 15:29:53 +02:00
Ante de Baas
022ed1a9a8
add setting defaults per distribution when given
2020-05-29 14:59:40 +02:00
Ante de Baas
0bb48a3cdf
fix nginx capitalisation.
2020-05-29 13:45:46 +02:00
Ante de Baas
67d74406bd
add os distribution detection
2020-05-29 13:36:31 +02:00
Michael Kaufmann
a46e7a3bc4
set correct umask to create user config in installation
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2020-03-10 07:48:35 +01:00
Michael Kaufmann
02c5f80854
correct chmod value for userdata.inc.php file to be written on installation; fixes #815
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2020-03-08 07:35:19 +01:00
Michael Kaufmann
7e361274c5
forgot one escapeshellarg() and enhanced security on userdata.inc.php creation when installing
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2020-03-06 20:44:17 +01:00
Michael Kaufmann
62ce21c9ec
secure shell-execution of mysqldump on installation if given database-name exists
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2020-03-04 19:35:57 +01:00
Michael Kaufmann
6b09720ef8
use unpredictable tmpfile-name in installation if lib/userdata.inc.php cannot be written due to permission
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2020-03-04 19:34:18 +01:00
Michael Kaufmann
4543c73b4f
add possibility to enable/disable api access on a per user base
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2019-10-09 11:43:22 +02:00
Michael Kaufmann
47ca350127
increase php requirement to 7.0 as 5.6 is way too old
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2019-09-27 12:55:14 +02:00
Michael Kaufmann
9e2dcf51d7
also remove let's encrypt certificate for froxlor-hostname when updating to acme.sh; make installation more mysql/mariadb compatible
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2019-09-09 17:16:41 +02:00
Michael Kaufmann
5786644c76
fix installation for current development for now; fixes #661
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2019-02-25 17:13:13 +01:00
Michael Kaufmann
73c05fb231
add setting for customzing webserver error-log level, fixes #650
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2019-02-12 17:38:46 +01:00
Michael Kaufmann
1c9d76725c
get rid of last function file
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2018-12-26 20:54:00 +01:00
Michael Kaufmann
13aa19e5f4
got rid of all global functions, I guess
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2018-12-22 13:28:51 +01:00
Michael Kaufmann
97b5439c0d
auto-format all files; add table-definitions to test-bootstrap file
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2018-12-21 12:24:07 +01:00
Michael Kaufmann
26510f0745
removing more ticket-stuff; update all unit-tests
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2018-12-19 19:42:50 +01:00
Michael Rosenberger
d0c7706840
Checks Mysql version only if no fatal error occured
...
Otherwise it is not possible to install current master due to fatal error.
2018-12-12 20:54:56 +01:00
Michael Kaufmann
ec4d34d37a
let's see if that works :P
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2018-12-03 17:29:42 +01:00
Michael Kaufmann
0b3d532028
ups, how did these get lost?
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2018-12-03 17:18:44 +01:00
Michael Kaufmann
4a0be40f92
require php-5.6 for 0.10.0; fixes #606 and remove invalid value NO_AUTO_CREATE_USER in mysql-attributes for mysql8
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2018-12-03 17:15:54 +01:00
Michael Kaufmann
bd036a0fde
remove unnecessary string-break; use standardlanguage-variable as fallback language for installer
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2018-09-25 08:12:21 +02:00
Michael Kaufmann
91195fda89
check for all needed php extensions and mysqldump tool in setup process, fixes #569
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2018-09-19 11:15:03 +02:00
Michael Kaufmann
c1e62e6be7
get rid of serialization completely to avoid possible code execution, fixes #555
...
Signed-off-by: Michael Kaufmann <michael.kaufmann@aixit.com >
2018-05-29 15:47:41 +02:00
Michael Zangl
7e81b0bb5a
Froxlor installer: Use same file path for chmod.
2018-03-03 11:18:28 +01:00
Michael Kaufmann (d00p)
a6b2daa77d
fix typo
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2018-01-30 14:41:56 +01:00
Michael Kaufmann (d00p)
7ae31496ac
add requirement check for php-json as settings import/export uses json_decode/json_encode
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2018-01-30 07:58:24 +01:00
Michael Kaufmann (d00p)
c62dd2ecf4
fix mysql-strict-mode issue (hopefully for good), enhance error-reporting when importing froxlor.sql on installation
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2018-01-29 20:04:54 +01:00
Michael Kaufmann (d00p)
d16a7b2089
on installation, set apache-2.4 as default if apache is detected; clearify that apache2 is 2.2; output complete folder where the userdata.inc.php file is to be put when necessary to avoid misunderstanding
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2018-01-15 07:45:50 +01:00
Michael Kaufmann (d00p)
1e03946df7
set sql_mode to disable STRICT_MODE usage for froxlor, thx to albech for the hint
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2017-11-08 07:49:40 +01:00
Michael Kaufmann (d00p)
421c29c491
remove each() keyword as it is deprecated as of php-7.2, fixes #479
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2017-10-31 13:03:06 +01:00
Michael Kaufmann (d00p)
9fdcd09089
fix install class, set version to 0.9.38.6
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2017-01-15 07:44:58 +01:00
Michael Kaufmann (d00p)
7a603596c5
validate ip address on installation
2016-12-28 20:13:15 +01:00
Michael Kaufmann (d00p)
8431a82f2c
check for correct extension for auto-update feature, fixes #1648
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-08-20 09:16:33 +02:00
Michael Kaufmann (d00p)
5789e9a8a4
re-add old IDNA class so we do not have to force the php-5.6 requirement for froxlor
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-06-19 18:59:44 +02:00
Oliver Hader
2e7133d619
[SECURITY] Information disclosure on database failures
...
In case the database is not responding, e.g. due to "too many connections"
cut-off database credentials might be shown and system path be revealed.
In terms of security this is considered as information disclosure.
2016-06-04 20:41:03 +02:00
Michael Kaufmann (d00p)
72d1282651
require php-curl
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-04-11 08:00:38 +02:00