1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00
Commit Graph

46 Commits

Author SHA1 Message Date
billz
5045cbfd33 Fixup dhcp cfg save/update 2020-11-26 17:20:12 +00:00
billz
b63a53e182 Set default dhcp interface on page load 2020-11-21 13:52:20 +00:00
billz
a0a8ff0734 Cleanup: procedural code into functions 2020-11-20 07:35:36 +00:00
billz
3c7eab702c enable log-facility + conf-dir on default iface 2020-11-19 12:35:38 +00:00
billz
ebbd6f4399 Refactor, create SaveDHCPConfig() 2020-11-17 11:21:04 +00:00
billz
209d741363 Remove parse DHCP, moved to AJAX handler 2020-11-16 18:21:31 +00:00
billz
daa6b877e6 Enable DHCP option for all interfaces 2020-11-15 10:55:33 +00:00
billz
e5f1d4ed0e Safe write dhcpcd.conf, validate static IP, handle revert cfg 2020-11-11 12:40:22 +00:00
billz
6d14cbaee5 Handle dhcp for eth0, udpdate dhcpcd + dnsmasq.conf 2020-11-09 17:48:32 +00:00
billz
90b922c432 Update with dnsmasq logfile output 2020-03-05 10:35:40 +00:00
glaszig
e037bd92e7 prevent empty upstream server field if non is set 2020-03-04 18:23:51 +01:00
glaszig
6bb4abac56 added checkbox for no-resolv option in dnsmasq.conf 2020-02-29 18:33:51 +01:00
glaszig
a3c8def120 added ui to manage upstream dns servers 2020-02-28 23:41:56 +01:00
glaszig
409adb0c05 add conf-dir option to dnsmasq.conf, closes #403
this allows custom configuration stored
in files in /etc/dnsmasq.d. raspap does not
touch them and they'll always be loaded.

also creates /etc/dnsmasq.d if it doesn't exist.
2020-02-26 02:13:19 +00:00
billz
457da91008 Processed with phpcbf 2020-02-15 17:57:46 +00:00
John
8fe0e9e59a fully locked down the back-end in monitoring mode 2020-02-13 23:08:46 -03:30
billz
11955a9641 Update svc control init.d w/ systemd 2019-11-15 09:00:36 +00:00
billz
7f384e9ff1 Abbreviate serviceStatus for small devices 2019-11-01 09:10:24 +00:00
Bill Zimmerman
093080cb49
Merge branch 'master' into bootstrap4 2019-10-20 22:33:09 +02:00
billz
ce944f92bb Rebase master 2019-10-14 23:33:41 +01:00
Yusnel Rojas Garcia
4d45afa27b support dns options in dnsmasq configuration 2019-10-11 13:24:22 -04:00
billz
f9afd96280 Fix: update tmp/dnsmasqdata to match sudoers. Resolves #407 2019-10-04 18:57:58 +01:00
billz
8be24381a8 Processed with phpcbf for PSR-2 coding standard 2019-09-07 16:42:31 +01:00
glaszig
df429064c6 fixed up dhcp template 2019-08-19 22:37:22 +02:00
glaszig
9defff1cf4 use template for dhcp page 2019-08-19 22:37:22 +02:00
Bill Zimmerman
b878e87cae
Merge pull request #371 from glaszig/ui/layout-fixes
layout improvements
2019-08-09 16:34:14 +02:00
Bill Zimmerman
a00f1be009
Merge pull request #366 from glaszig/feature/improved-service-status-indicator
improved service status display
2019-08-08 20:55:04 +02:00
glaszig
c1da509053 remove superfluous, overly nested html (mainly bootstrap panels) 2019-08-07 23:16:56 +02:00
billz
b5f875cce7 Updated CSRFTokenFieldTag 2019-08-07 21:01:05 +01:00
glaszig
87fe8948b8 remove splattered, duplicated csrf validation code
since we do that always and early, now.
2019-08-06 20:55:16 +02:00
glaszig
1152637120 puts service status as label into panel heading 2019-08-02 23:40:06 +02:00
glaszig
afbc50d1ee click the "add" button on the static dhcp lease form
for people that forgot to click that button to add their lease
2019-08-01 18:15:32 +02:00
glaszig
d18dbd7def add ui to manage static dhcp leases
* add support to parse duplicate options in ParseConfig()
* add logic, html and js to edit dhcp leases
2019-08-01 18:15:32 +02:00
glaszig
a6d3336212 fix command injection issue. fixes #354. 2019-07-30 21:21:16 +02:00
billz
c0570b616e Processed with phpcs for PSR-2 coding standard 2019-04-10 08:37:35 +00:00
Benjamin LEBLOND
2bcee2145f
Update table raw html markup 2019-03-17 13:33:24 +01:00
D9ping
f925a01807 Properly selected ininite lease if ininite is selected.
Made time units translatable.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-09-25 21:49:54 +02:00
D9ping
b292ee218c Fix for #240
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-09-25 21:32:31 +02:00
D9ping
bbea02cc54 Fix for #212
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-04 14:03:14 +02:00
D9ping
2b03fa316d Escape client input, console output etc. before doing any echo.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-04 02:05:56 +02:00
billz
062d5aeb4f Replaced interface labels with gettext() 2017-10-23 19:51:34 +00:00
Lawrence
61d450d1c7 Fixed up a whole bunch of undefined variable warnings. Added a check to make sure raspap.auth exists before trying to include it. 2017-10-02 03:10:04 +08:00
Jesse Geerts
ee288c32ca Update dhcp.php
Added ( ) for the 's' in the minutes, hours and days to make it look nicer
2017-03-17 18:40:41 +01:00
Joseph Haig
bfae272b0f Better checking 2016-07-09 03:46:21 +01:00
Joseph Haig
46894ef91e Fix checking dnsmasq starting/stopping 2016-07-09 03:34:48 +01:00
Joseph Haig
3b043950de Add CSRF to DHCP form
Also, separate out into separate file and refactor
2016-07-09 01:26:13 +01:00