Commit graph

55 commits

Author SHA1 Message Date
billz
b1da175ea7 Fix: dhcpcd default-route status check 2022-01-02 19:31:07 +00:00
zbchristian
7344c323ee Fix display of non-ASCII SSID 2021-09-02 09:39:32 +02:00
Bill Zimmerman
4d4fac2a8f
Merge pull request #43 from RaspAP/feature/zbchristian-clients-mods
Feature/zbchristian clients mods
2021-07-05 10:07:51 +02:00
billz
06476b9a61 Merge with upstream master 2021-06-05 12:02:26 +01:00
glaszig
9dc1f14ccb separate connected from known from nearby wifi stations in ui 2021-06-01 03:02:04 +01:00
Christian Zeitnitz
b99752c4cd Implement login for Hilink devices 2021-05-21 14:57:14 +02:00
glaszig
e76c31c9c6 revert part of 3a41b52c to respect http method's purpose 2021-05-06 19:12:58 -03:00
billz
4baac6eae2 Escape constant, arg + extension 2021-05-02 07:15:12 +01:00
billz
3a41b52c1d Update method to POST + escapeshellarg() 2021-05-01 17:24:37 +01:00
zbchristian
29c4c5a833
Fix default device name numbering in UDEV rule 2021-04-24 11:11:48 +02:00
Bill Zimmerman
0c9152fff3
Merge branch 'master' into feature/zbchristian-clients 2021-04-15 09:00:48 +02:00
billz
594c5dad1c Merge with upstream master 2021-04-05 10:06:44 +01:00
glaszig
6196bcd311 add 'default route' toggle to network interface configuration ui 2021-04-03 00:43:42 +01:00
Christian Zeitnitz
d7428be2ec Fix json format of client udev prototypes
limit device name length to 20
2021-03-29 21:53:26 +02:00
Christian Zeitnitz
300f2c2457 Cleanup and fix for udev rules written for clients
Fix device type in client table
2021-03-29 15:16:23 +02:00
zbchristian
e16844294b
Merge branch 'master' into feature/zbchristian-clients 2021-03-21 18:00:40 +01:00
Christian Zeitnitz
11e2724afa Dashboard: show correct status after switching the client state
fix huawei hilink service (udev rule)
2021-03-15 13:29:16 +01:00
billz
ee634c4b50 Initial commit: ajax fetch wg client.conf 2021-03-15 10:11:36 +00:00
Christian Zeitnitz
76e2eecaec Correct internet device GUI and udev config 2021-03-10 23:45:04 +01:00
Christian Zeitnitz
8b0383dd20 Implement Client configuration
- add mobile date network devices and configuration
- add client configuration via udev
- add GUI under networking tab
- add scripts to handle mobile data devices
2021-03-07 18:36:48 +01:00
billz
4515ac95fb Improved private key handling (security) 2021-03-04 23:44:45 +00:00
billz
3ec81ba085 Get/set pub+priv keys, create wg0.conf 2021-02-24 18:07:19 +00:00
billz
d871e271ef Initial commit: wgkey gen 2021-02-24 08:45:26 +00:00
billz
b21ea0d28d Transfer template logic to includes, see #749 thx @mp035 2021-02-02 12:26:14 +00:00
billz
1c6d837a80 Bugfix: handle subnetmask null value 2020-12-03 10:29:11 +00:00
billz
b09d61619a Bugfix: typo 2020-12-01 18:39:23 +00:00
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
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