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

2556 Commits

Author SHA1 Message Date
zbchristian
45bd02ecb7 Improve detection of escaped hex bytes in ssid name 2021-09-08 14:46:19 +02:00
zbchristian
d07fd0a327 Implement update firewall function
- cleanup firewall.php
- add function updateFirewall
- add standalone script update_firewall.sh to update the firewall rules
2021-09-08 10:59:58 +02:00
billz
a634e0dfaa Merge from upstream master: Pass $upstreamServers to template 2021-09-07 17:05:58 +01:00
billz
c24104008a Pass $upstreamServers to template, resolves #994 thx @SephGER 2021-09-07 17:04:00 +01:00
zbchristian
98fe68e2d3 Fix numbering of nearby nextworks 2021-09-02 11:03:35 +02:00
zbchristian
7344c323ee Fix display of non-ASCII SSID 2021-09-02 09:39:32 +02:00
zbchristian
3aa564cdec only lower case hex sequences in non-ASCII SSID 2021-09-02 09:37:34 +02:00
zbchristian
077a9cd675 Convert non ASCII ssid for display to utf8
Convert hex bytes to binary. Assumes utf8 encoding
2021-09-02 09:37:33 +02:00
zbchristian
d478bf5362 Handle non-ASCII SSID
Non-ASCII SSID has to be stored in wpa_supplicant.conf identical to the string given by wpa_cli scan. This includes the escaped special chars (e.g. ö = \xc3\xb9 ), with a prescript "P".
To obtain a valid psk from wpa_passphrase, the UTF8 string is passed (ssid2utf8 replaces the \x bytes by their binary value) to the exec(). For this to work the shell locale has to be UTF8 (via putenv()). Otherwise the string is converted to the shell encoding.
2021-09-02 09:37:33 +02:00
zbchristian
5630258d9a Fix SSID name of wifi client 2021-09-01 18:37:36 +02:00
zbchristian
433434f4b7 Correct non-ASCII SSID read from wpa_supplicant 2021-09-01 18:37:36 +02:00
Bill Zimmerman
890aaaabc9
Merge pull request #52 from RaspAP/zbchristian-fix-sysinfo-creation
Fix system info class creation
2021-08-31 18:03:33 +02:00
zbchristian
9aa94a4d22
Add network index to network array 2021-08-31 17:00:08 +02:00
zbchristian
7df8f68621
Fix index of known networks
Index now stored in the network array
2021-08-31 16:57:46 +02:00
zbchristian
0adbf9f215
Fix system info class creation
Hostapd.php is throwing an error.
Two problems found:
1) the class System is not existing. Its actually called Sysinfo
2) the namespace of the class is RaspAP\System
2021-08-31 16:43:44 +02:00
Bill Zimmerman
8778d225ac
Merge pull request #50 from RaspAP/dependabot/npm_and_yarn/path-parse-1.0.7
Bump path-parse from 1.0.6 to 1.0.7
2021-08-30 12:15:44 +02:00
dependabot[bot]
4df91097fa
Bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-13 00:15:40 +00:00
Bill Zimmerman
48feef88ff
Merge pull request #985 from RaspAP/dependabot/npm_and_yarn/path-parse-1.0.7
Bump path-parse from 1.0.6 to 1.0.7
2021-08-11 16:46:32 +02:00
dependabot[bot]
33dbaddcd9
Bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-11 13:34:01 +00:00
billz
3145b6050e Legacy 802.11a UI support. Resolves #983 2021-08-09 17:54:46 +01:00
billz
6be1ad1612 Legacy 802.11a UI support. Resolves #983 2021-08-09 17:54:20 +01:00
billz
b01e383e43 Instantiate system class w/ namespace 2021-08-09 06:25:41 +01:00
billz
93db1347cb Instantiate system class w/ namespace 2021-08-09 06:24:29 +01:00
billz
ddc5b44557 Standardize modal dialog 2021-08-05 22:52:40 +01:00
billz
9405297662 Renamed constant for consistency 2021-08-05 20:29:46 +01:00
billz
307256d96e Function comment block stubs 2021-08-05 18:15:12 +01:00
billz
99577938f6 Formatting: processed w/ phpcbf 2021-08-05 18:05:31 +01:00
billz
cb2e97fdec Minor: mode change 2021-08-05 16:12:45 +01:00
billz
9b76fd54c6 Format labels for locale support 2021-08-05 16:12:11 +01:00
billz
f114a70191 Update en_US locale w/ firewall msgs 2021-08-05 16:09:20 +01:00
billz
cca40f287c Merge branch 'feature-firewall' of https://github.com/RaspAP/raspap-insiders into feature-firewall 2021-08-05 15:18:24 +01:00
billz
c661b0f473 Update template msg + en_US locale 2021-08-03 23:38:02 +01:00
billz
b4394513ca Update template msg + en_US locale 2021-08-03 23:37:42 +01:00
billz
fa849e55de Merge with upstream master 2021-08-03 17:42:56 +01:00
Bill Zimmerman
9b72d7f3db
Merge pull request #969 from fareg/master
DHCP static leases w/ optional comment
2021-08-03 16:43:20 +02:00
billz
c3a219e340 Update class w/ namespace, phpcbf formatting 2021-08-03 15:20:08 +01:00
billz
4e62413e11 Instantiate system class w/ namespace 2021-08-03 15:18:36 +01:00
Bill Zimmerman
d12aa8da21
Update README.md 2021-07-30 21:01:29 +02:00
Bill Zimmerman
372da249af
Update README.md 2021-07-30 20:59:16 +02:00
Fabrice Colas
17597cd2cc DHCP static leases w/ optional comment
* Ability to add an optional Comment to DHCP  static Leases
    * Sort DHCP static leases by IP (more human readable)
2021-07-27 18:33:00 +02:00
Christian Zeitnitz
f572fdd39e Improve search for tun and wg device 2021-07-27 11:25:42 +02:00
Christian Zeitnitz
3d4b710492 Allow IPv6 addresses for VPN server 2021-07-27 10:09:36 +02:00
Christian Zeitnitz
0886999055 Improve active VPN detection 2021-07-26 15:42:14 +02:00
Christian Zeitnitz
882535b130 Get VPN state from active tun/wg device 2021-07-25 17:27:31 +02:00
Christian Zeitnitz
2f1a6af0ba Add IPv6 to Firewall 2021-07-25 15:42:46 +02:00
zbchristian
1855f40f9d
Add masquerade rule for NAT
Add default NAT POSTROUTING  rule to masquerade addresses
2021-07-24 15:04:01 +02:00
Christian Zeitnitz
0a6e48a953 Fix display of VPN IPs 2021-07-21 17:56:01 +02:00
Christian Zeitnitz
393292f872 Add VPN server IPs to Firewall GUI 2021-07-21 16:02:21 +02:00
Christian Zeitnitz
e049dd6d45 Add excelusion option to firewall GUI 2021-07-20 21:56:00 +02:00
Christian Zeitnitz
721e576779 Fix writing of the firewall config 2021-07-20 18:13:35 +02:00