Commit Graph

8 Commits

Author SHA1 Message Date
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