Michael Kaufmann
0fb9357e87
set cookie SameSite option to 'Lax' for loginlinks to work as intended; fixes #1299
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2024-12-10 20:15:41 +01:00
Michael Kaufmann
fce310049a
use Request-wrapper-class for every access to $_POST superglobal
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2024-05-09 15:48:23 +02:00
Wiebe Cazemier
7c3e89ccc0
Fix "expires" option cannot have a year greater than 9999 ( #1246 )
...
This fixes the exception: '"expires" option cannot have a year greater
than 9999', which happens on upgrade from Debian 11 to 12. The session
timeout in the DB is 9999999999999, so we constrain the value.
2024-03-23 15:14:11 +01:00
Michael Kaufmann
ac89fc7120
adjust order of css files
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2023-12-22 14:30:23 +01:00
Michael Kaufmann
166ffedf04
correctly merge themeoptions array to use correct image on login when using darkmode
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2023-12-12 08:59:56 +01:00
Michael Kaufmann
1467dab58f
set version to 2.1.0 for upcoming stable release
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2023-12-08 11:48:32 +01:00
Michael Kaufmann
e1e7555cce
minor textual adjustments; add non-session-based csrf-token for js/axios as it is configured to append it to the http-request
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2023-11-27 16:42:15 +01:00
Michael Kaufmann
4f79d7cf4b
check php-extension requirements not only on installation (e.g. when php version was changed)
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2023-11-26 22:22:39 +01:00
Michael Kaufmann
6a1e7cc539
actually create notice file for 'unconfigured/unmanaged domain' and redirect it for potential dynamic contents (e.g. file extension php) to work properly
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2023-11-26 15:19:49 +01:00
Michael Kaufmann
735ef85088
make unconfigured/unknown domain page a file-template
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2023-11-26 10:53:41 +01:00
Michael Kaufmann
75cf44a6d2
respect custom-theme variants in UI::getTheme(); add margin to customer-services dashboard-badges
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2023-11-26 09:24:44 +01:00
Michael Kaufmann
b53b3a924a
fix wrong database-update procedure in update-command, fix distribution guessing on installation
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2023-11-12 13:08:40 +01:00
Maurice Preuß (envoyr)
287ad84b18
various html and js fixes
...
Signed-off-by: Maurice Preuß (envoyr) <envoyr@froxlor.org >
2023-11-11 21:29:02 +01:00
Michael Kaufmann
762f295d3d
Show nice note if requested domain is 'unknown' to froxlor and thus is being lead to its vhost
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2023-10-31 16:43:21 +01:00
envoyr
0f37dfb1eb
remove mix; add vite
...
Signed-off-by: envoyr <hello@envoyr.com >
2023-10-16 12:48:35 +02:00
Michael Kaufmann
7438786a24
adjustments to support bootstrap 5.3 color-scheme; set gentoo config-templates to deprecated as there is no active maintainer for it; remove debian 10 and ubuntu 18.04 as they were deprecated in 2.0.x
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2023-10-15 15:49:12 +02:00
Michael Kaufmann
2d30394150
correctly redirect to last-page if session is timed out and remove passing script/qrystr url parameters
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2023-08-11 12:09:23 +02:00
Nicolas Thumann
78a259ef3b
Fix IPv6 address in cookie domain ( #1137 )
...
* Implement getCookieHost to extract cookie host from HTTP_HOST
2023-05-10 08:26:08 +02:00
Michael Kaufmann
1679675aa1
introduce http-request rate-limit; smaller fixes
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2023-05-02 10:19:53 +02:00
Michael Kaufmann
c56e0b9dac
add 'Passing HTTP AUTH BASIC' header option when using FCGID; fix typeerror in parameter for Froxlor\Dns\Dns; require php-gd extension for validating uploaded images
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2023-03-08 09:33:02 +01:00
Maurice Preuß (envoyr)
3b753aa69d
change session/cookie domain value, this prevents using the _ server_name when using nginx
...
Signed-off-by: Maurice Preuß (envoyr) <envoyr@froxlor.org >
2023-01-25 18:50:49 +01:00
Maurice Preuß (envoyr)
1f1ea370c0
add version to mix-manifest.json and add mix function
...
Signed-off-by: Maurice Preuß (envoyr) <envoyr@froxlor.org >
2023-01-14 21:14:55 +01:00
Michael Kaufmann
cc6d8d5f8b
fix login if non-standard ports are used for froxlor vhost
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2023-01-10 12:43:04 +01:00
Michael Kaufmann
f2485ecd9a
adjust Request-class methods to be more flexible
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-12-30 21:43:27 +01:00
Maurice Preuß (envoyr)
1b63534563
update csrf initialization
...
Signed-off-by: Maurice Preuß (envoyr) <envoyr@froxlor.org >
2022-12-26 14:12:21 +01:00
Maurice Preuß (envoyr)
6ad78a4818
add csrf token header to jquery requests
2022-12-25 22:14:39 +01:00
Michael Kaufmann
4d908ff6ee
fix session-timeout not being set
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-12-08 10:05:44 +01:00
Michael Kaufmann
34e3290497
adding csrf-token to all forms
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-12-08 09:33:34 +01:00
Michael Kaufmann
4eaf9d2c46
add new graphics/logos; theme dependent logos; layout fixes in forgot-password/reset-password sites;
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-12-04 13:18:33 +01:00
Michael Kaufmann
13c53b074c
show search-text on listings with link to remove set filter
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-10-02 10:35:43 +02:00
Michael Kaufmann
8f64460647
set new beta version for the new major release this year
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-08-25 21:49:26 +02:00
Michael Kaufmann
94a19ee2b6
more minor fixes and code-cleaning
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-08-10 12:01:26 +02:00
Michael Kaufmann
31500522ce
make froxlor_master_cronkjob a froxlor-cli command; secure files/folders in froxlor-virtualhost;
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-08-09 15:49:44 +02:00
Michael Kaufmann
293c0ceb9d
move needed view() function declaration above first potential usage
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-07-31 16:45:05 +02:00
Michael Kaufmann
fef416ce84
fix show-version check on login/footer-template
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-05-20 14:50:51 +02:00
Michael Kaufmann
6116dda9bb
more language migrations
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-04-29 10:01:58 +02:00
envoyr
4f4c71d79b
major refactoring of almost all files
2022-04-28 20:48:00 +02:00
envoyr
da89315a10
fix view function in init and update dirname level in install
2022-04-28 16:57:35 +02:00
envoyr
5d08d5235d
major changes in language management and installer
2022-04-28 16:49:11 +02:00
Michael Kaufmann
ba0d33392c
2fa template migration; fix menu-active-state; removed unused code from UI/HTML-class
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-03-18 11:41:07 +01:00
Michael Kaufmann
164b46ece3
get rid of session variable in URL
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-03-14 22:51:59 +01:00
Michael Kaufmann
c2ec309a01
more work on tablelisting
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-02-25 09:52:35 +01:00
envoyr
1e4da4850e
hardening requests
2022-02-20 18:30:57 +01:00
envoyr
e057314795
update templates introduce request helper
2022-02-20 18:00:59 +01:00
envoyr
424a00b39e
update api and ajax handling and response
2022-02-20 11:38:08 +01:00
envoyr
36dbb3bdcc
set minimum php version to 7.4 and fix templates
2022-02-18 18:50:45 +01:00
Michael Kaufmann
28526b4544
add change pwd|lang|theme; twig-ify standard_error()
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-02-17 22:03:09 +01:00
Michael Kaufmann
181fa96431
first work on dashboard template (admin and customer)
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-02-17 12:01:54 +01:00
envoyr
a4d6d183ff
update base structure
2022-02-16 20:29:42 +01:00
Michael Kaufmann
759d11d1a0
add userarea-layout + sidebar and topmenu
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2022-02-16 14:54:06 +01:00