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

71 Commits

Author SHA1 Message Date
billz
457da91008 Processed with phpcbf 2020-02-15 17:57:46 +00:00
billz
9fc2b9d91e Use defaults in absence of user config. Resolves #486 2020-01-29 09:58:36 +00:00
billz
b6cd2e0fa1 Initial commit: ajax get channel 2019-12-27 06:34:09 +00:00
glaszig
1c8931c63b restore configuration of multiple networks
fucked up in 993dc633a9
2019-08-19 18:06:15 +02:00
Bill Zimmerman
5858971762
Merge pull request #372 from glaszig/ui/xhr-load-cached-wifi-stations
load wifi stations via ajax, cache the scan result
2019-08-17 09:53:13 +02:00
billz
9cb564a15f Processed with phpcs for PSR-2 coding standard 2019-08-12 11:02:40 +01:00
glaszig
63c3fc57f0 parse interface config ini the same as in 6e33e4c (#348)
when showing network config. this makes the proper
radio button be checked.
2019-08-10 12:38:44 +02:00
glaszig
993dc633a9 load wifi stations via ajax, cache the scan result
until the "rescan" button is pressed. speeds up
"configure client" page massively.
2019-08-08 03:44:28 +02:00
glaszig
1fddad190f fix require paths 2019-08-07 23:51:22 +02:00
glaszig
da69d3d768 send CSRF token in a response header,
update the page's CSRF tokens with the new token
from the response header,
verify csrf token in ajax endpoints,
initialize a session for every endpoint
2019-08-06 21:34:58 +02: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
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
Jon van Noort
6e33e4c882 changed call to parse_ini_file() to use INI_SCANNER_RAW, so that ini values are parsed as expected 2019-07-18 04:17:19 +08:00
Benjamin Leblond
a295cf87c0 new feature data usage hourly 2019-02-27 20:42:36 +01:00
D9ping
7c3820d9ab Use seperate container for chart and datatable.
Cleanup unused code comments.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-09-10 21:41:35 +02:00
D9ping
7b2f42f326 Added Morris.Js chart and jquery.datatable to bandwidth page.
Use ajax for getting bandwidth data.
Added support for adding extra scripts in footer if needed.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-09-10 16:53:05 +02:00
D9ping
182a6509e9 Don't allow to read ini file everywhere on filesystem.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-08-06 15:02:57 +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
Lawrence
7845c8908b Initial commit to enable logging for hostapd 2017-11-02 22:13:36 +08: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