Peter Müller
bad8659d80
Do not mark CGI files as executable, second round
...
Signed-off-by: Peter Müller <peter.mueller@ipfire.org >
2022-04-23 19:36:57 +00:00
Michael Tremer
5f1b951102
captive: Show access page in browser language
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
Tested-by: Daniel Weismüller <daniel.weismüller@ipfire.org >
2017-09-22 19:00:04 +01:00
Michael Tremer
963beecdb8
captive: Fix passing redirection URL
...
Reported-by: Daniel Weismüller <daniel.weismueller@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-09-22 19:00:04 +01:00
Michael Tremer
497b910855
captive: Verify that the user actually accepted the terms and conditions
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-09-22 18:56:04 +01:00
Michael Tremer
aed55ef9f8
captive: Show a message when no coupon code was entered
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-09-22 18:56:04 +01:00
Michael Tremer
8b0679cc89
captive: Fix some template updates that I forgot
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-09-22 18:56:04 +01:00
Michael Tremer
41964aba09
captive: Redesign clients list box
...
Mostly code cleanup
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-09-22 18:56:04 +01:00
Michael Tremer
8802d70a28
captive: Serve logo through an extra CGI script
...
This CGI script makes saving the logo easier (especially for
backup purposes).
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-09-22 18:56:04 +01:00
Michael Tremer
278309b9ef
captive: Allow selecting the session expiry time for terms
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-09-22 18:56:04 +01:00
Michael Tremer
97b91e8a94
captive: Rename "Voucher" mode to "Coupon"
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-09-22 18:55:27 +01:00
Michael Tremer
9735e1670a
captive: Rename "License" mode to "Terms & Conditions"
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-09-22 18:55:27 +01:00
Michael Tremer
f8d35875d8
captive: Allow selecting highlight colour in web interface
...
To be able to customise the access page, we now allow the
user to select a brand colour.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-09-22 18:55:27 +01:00
Michael Tremer
4b33d29de7
captive: Refactor the access page
...
This brings no functional changes, but cleans up the code
to re-use more and write less.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-09-22 18:55:27 +01:00
Michael Tremer
dbfd2622f5
captive: Get MAC address of a device without calling arp
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-09-22 18:55:27 +01:00
Michael Tremer
966971e589
captive: Don't compare action string
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-09-22 18:54:45 +01:00
Michael Tremer
48fb1d3b69
captive: Import new design
...
This is the new design of the access page of the captive
portal. It is based on the Bootstrap 4 grid system and
reboot but does not use anything else from it.
It is responsive and customisable.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-09-22 18:54:45 +01:00
Michael Tremer
a2c26388db
captive-portal: Use template engine to render HTML template
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-09-22 18:54:45 +01:00
Michael Tremer
0a02d9bb0c
captive-portal: Move CGI files to CGI directory
...
Previously the assets directory has ExecCGI privileges
which is not at all required and potentially dangerous.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-09-22 18:54:45 +01:00
Michael Tremer
11fc9575d7
captive: Fix bug with multiple license clients
...
If one active client with a license existed, any other client
authenticating will overwrite the configuration line.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2017-09-22 18:54:45 +01:00
Alexander Marx
5dc32e5877
Captive-Portal: add Errormessage when wrong code is entered
...
Signed-off-by: Alexander Marx <alexander.marx@ipfire.org >
2017-09-22 18:54:45 +01:00
Alexander Marx
facfdcd040
Captive-Portal: fix voucher form
...
Signed-off-by: Alexander Marx <alexander.marx@ipfire.org >
2017-09-22 18:54:45 +01:00
Alexander Marx
e14adf759a
Captive-Portal: SHow always licencebox in config
...
Also fix index.cgi to show individual title
Signed-off-by: Alexander Marx <alexander.marx@ipfire.org >
2017-09-22 18:54:03 +01:00
Alexander Marx
c7e78cc62e
Captive-Portal: several design changes
...
Signed-off-by: Alexander Marx <alexander.marx@ipfire.org >
2017-09-22 18:54:03 +01:00
Alexander Marx
e01c5ab71a
Captive-Portal: redesign Webinterface
...
Signed-off-by: Alexander Marx <alexander.marx@ipfire.org >
2017-09-22 18:54:03 +01:00
Alexander Marx
8b92078917
Captive-Portal: add web-part
...
Introduce new Captive-Portal.
Here we add the menu, apache configuration (vhost), IPFire configuration
website and Captive-Portal Access site. Also the languagefiles are
updated.
Signed-off-by: Alexander Marx <alexander.marx@ipfire.org >
2017-09-22 18:54:03 +01:00