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

86 Commits

Author SHA1 Message Date
billz
a21009e049 Remove networking dhcp config (deprecated) 2020-11-30 17:33:17 +00:00
billz
495f33eaa3 Added subnet mask display/edit 2020-11-30 12:10:44 +00:00
billz
2ff8f6f179 Bugfix: add/update/delete config 2020-11-27 16:28:37 +00:00
billz
d3e842f6db Update ajax w/ dhcpcd settings 2020-11-26 17:15:42 +00:00
billz
e4856484d9 Add advanced fields to JSON response 2020-11-17 11:18:10 +00:00
billz
3b5c7805cb Initial commit: AJAX get_netcfg 2020-11-16 18:18:51 +00:00
billz
602c2a2a7f Return iface name in absence of cfgFile 2020-10-02 09:27:35 +01:00
billz
deaf393a2f Expose metric for network interfaces 2020-10-01 23:06:47 +01:00
Bill Zimmerman
5c88aafbec
Merge branch 'master' into zbchristian-wlan-switch 2020-06-07 15:29:28 +02:00
billz
b128c4106c Applied patches from #581 2020-05-24 08:14:07 +01:00
billz
15032a3f44 Apply zbchristian patch 2020-05-12 07:50:28 +01:00
billz
1103401fe0 replace blocklist dest w/ constant 2020-03-27 22:05:10 +00:00
billz
ab68168951 Update blocklist_dest 2020-03-27 14:31:50 +00:00
billz
ca7bde25c6 Update ajax handler + indicate status 2020-03-27 09:24:48 +00:00
billz
0d18432343 Initial commit 2020-03-27 08:46:13 +00:00
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