Commit Graph

8 Commits

Author SHA1 Message Date
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 b38dbb82ab do net send csrf tokens individually with post xhr
since we set it in a `beforeSend` callback
2019-08-06 20:55:16 +02:00
glaszig ce3ec131a6 add csrf token header to all resource-modifying xhr 2019-08-06 20:55:16 +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
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 6e786e41c2 Updating index to create new menu, custom.js with new code, moved config parameters from index.php to its own file 2017-10-29 12:31:51 +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