Commit Graph

15 Commits

Author SHA1 Message Date
billz b21ea0d28d Transfer template logic to includes, see #749 thx @mp035 2021-02-02 12:26:14 +00:00
billz 457da91008 Processed with phpcbf 2020-02-15 17:57:46 +00:00
Bill Zimmerman f59faabf1d
Merge branch 'master' into feature/templates 2019-08-27 15:16:56 +02:00
glaszig 452ad764d9
fix panel heading style in network config 2019-08-20 22:32:18 +02:00
glaszig 89f3330606 use template for network page 2019-08-19 22:37:22 +02:00
glaszig f5e3b717ff add missing CSRFTokenFieldTag's 2019-08-14 02:41:58 +02:00
glaszig 490cb14acd removing superfluous call to CSRFToken() which
just put the hidden input onto the page for js
to have access to it. this is now handled with
a meta tag.
2019-08-06 20:55:16 +02:00
glaszig 3db99c7d21 * escape html entities in network interface settings
the command `ip address show eth0` returns
special characters like "<" and ">" which, if left
unescaped and shown on the page, will create
arbitrary html elements and hide information.

* show interface settings inside unstyled pre block

interface properties should be parsed and displayed
in a proprietary and pretty manner. until then, give
use the raw output of `ip address show`
2019-07-31 04:04:38 +02:00
billz c0570b616e Processed with phpcs for PSR-2 coding standard 2019-04-10 08:37:35 +00: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 be4ccda6f7 Replaced strings with gettext() alias 2018-05-27 15:51:06 +00:00
billz d38ae7f334 Standardize UI elements 2017-11-04 20:24:23 +00:00
Lawrence 8d77295fd3 Updated sudoers to accomodate restarting dhcpcd to apply network settings.
Updated installer to insert new lines
Created files to generate / modify / save dhcpcd files and networking configuration
2017-10-30 02:21:34 +08:00
Lawrence 7749b79e2f Implemented start of web interface to update Static IP addresses or use DHCP.
Currently saves to files in /etc/raspap/networking, still need to build something to generate a working config for dhcpcd
2017-10-28 02:40:30 +08:00
Lawrence 77316709e1 Creating networking interface to change between Static / Dynamic IPs 2017-10-23 00:26:49 +08:00