Commit Graph

57 Commits

Author SHA1 Message Date
glaszig 6196bcd311 add 'default route' toggle to network interface configuration ui 2021-04-03 00:43:42 +01:00
billz 1eec097b80 Bugfix: Parse dhcp-host entries 2021-02-22 09:47:25 +00:00
billz 910122838d Handle dhcp log options w/ 090_raspap.conf 2020-12-24 10:20:52 +00:00
billz 0cd278f040 Create 090_raspap.conf w/ dnsmasq log-facility 2020-12-12 19:29:43 +00:00
billz 04b0e8ac53 Set log-facility for dnsmasq 2020-12-12 16:53:58 +00:00
billz e77b0fead1 Minor: camelCase + docblocks 2020-12-04 22:44:27 +00:00
billz de787c424a Create functions from procedural code 2020-12-04 14:40:54 +00:00
billz 1c6d837a80 Bugfix: handle subnetmask null value 2020-12-03 10:29:11 +00:00
billz 15fb1b714c Minor: cleanup 2020-12-01 22:51:00 +00:00
billz 5cc7794cb0 Update fallback static profile, subnet mask 2020-11-30 12:09:22 +00:00
billz 2ff8f6f179 Bugfix: add/update/delete config 2020-11-27 16:28:37 +00:00
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