Commit graph

129 commits

Author SHA1 Message Date
billz
c2d740ef44 Implement PSR-4 compliant class autoloader 2023-09-16 10:43:05 +02:00
billz
55c0a49911 Fix php warnings + general code cleanup 2023-09-03 09:47:51 +02:00
billz
7760a1d7cb Update sanitize var method 2023-03-29 09:35:25 +02:00
billz
1e52ff598b Sanitize input with escapeshellarg() 2023-03-29 08:25:18 +02:00
billz
7b3a7dba1d Move template logic to includes + code cleanup 2023-03-20 20:14:42 +01:00
billz
24abe9c53c Update wireless mode items 2023-03-20 20:00:28 +01:00
billz
7674feaf61 Add operatingSystem check to bridge option 2022-06-22 11:50:00 +01:00
billz
a4960f89ac Get system->operatingSystem() 2022-06-08 17:29:23 +00:00
Bill Zimmerman
21da37712b
Fix: assign iw reg cc value if empty 2022-01-05 11:19:40 +01:00
Bill Zimmerman
793bbfac53
Bugfix: rewrite selected wlan dhcpcd cfg 2022-01-04 19:02:12 +01: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
billz
06476b9a61 Merge with upstream master 2021-06-05 12:02:26 +01:00
billz
3969db61b0 Validate wpa_passphrase w/ ctype_print 2021-05-07 11:33:17 +01:00
billz
6bfb3a3c9d Add escapeshellarg() for iwgetid interface 2021-05-01 17:46:53 +01:00
billz
643afe09e8 Set txpower w/ iw, persist value in UI 2021-04-20 17:53:09 +01:00
billz
6c674537bb WIP: txpower feature 2021-04-20 15:19:00 +01:00
root
b10ee7a98f sort interface list for hostapd 2021-04-02 00:13:35 +01:00
billz
871d5353a5 Update br0 dhcpcd sequence, thx @lifros 2021-02-21 10:28:55 +00:00
billz
5c4b84f826 Disambiguate iface overrides for ap-sta & bridged modes, thx @mp035 2021-02-02 07:36:28 +00:00
billz
0bbf03cc95 Set WifiManaged value from $_POST. Resolves #767 2021-01-17 10:41:12 +00:00
billz
a4636b2902 Bugfix: typo. Thx @mp035 2021-01-06 07:48:46 +00:00
billz
31e3afa4a4 Create getDefaultNetOpts() 2020-12-24 12:29:52 +00:00
billz
3db9717b27 Bugfix: set AP-STA/bridged mode in hostapd.conf 2020-12-20 16:46:57 +00:00
Bill Zimmerman
f43083fec8
Merge branch 'master' into feature/dhcp-eth0 2020-12-15 23:01:23 +01:00
Mark Pointing
12b69590da Removed some band-aid fixes of incorrect client/ap interface identification function. 2020-12-15 10:45:27 +00:00
billz
5eae4bd086 Handle default subnet mask values 2020-12-06 17:31:03 +00:00
billz
4bb2597bff Fix: pass required param 2020-12-06 09:04:40 +00:00
billz
d35397f09e Remove hardcoded default values, implement defaults.json 2020-12-05 09:14:07 +00:00
billz
e3f36158bb Added updateHostapdConfig() 2020-12-04 22:36:54 +00:00
billz
bcab63bb30 Bugfix + documentation 2020-12-04 21:41:10 +00:00
billz
de787c424a Create functions from procedural code 2020-12-04 14:40:54 +00:00
billz
8420bbb0da Read/apply dhcp settings from json 2020-12-01 22:52:15 +00:00
billz
eca6c5ae2f Bugfix: set preg_replace limit 2020-11-20 07:32:52 +00:00
billz
fc4c8867f4 Update constant, saf merge dhcp config 2020-11-19 12:34:55 +00:00
billz
b095073043 Validate channel w/ RASPI_5GHZ_MAX_CHANNEL, addresses #450 2020-10-25 07:48:41 +00:00
billz
4b1c5b802c Implement beacon_int + disassoc_low_ack hostapd options. Addresses #666😈 2020-09-11 19:03:14 +01:00
billz
3d901ae5f9 Set country_code from iw reg if undefined 2020-07-10 18:28:28 +01:00
billz
2ca9bf5b6f Rename ambiguous variable for clarity 2020-06-09 15:32:49 +01:00
billz
43819ddfd2 Fix require path 2020-06-07 19:12:00 +01:00
billz
9fb59918cf Fix: Update session var when saving cfg 2020-06-07 18:46:14 +01:00
billz
e2c82168fb Add includes/config 2020-06-07 17:25:11 +01:00
billz
9c2ae296d3 Merge branch 'zbchristian-wlan-switch' of https://github.com/billz/raspap-webgui into zbchristian-wlan-switch 2020-06-07 17:20:09 +01:00
billz
a6a92235f9 Add include wifi_functions getWifiInterface() 2020-06-07 17:17:16 +01:00
Bill Zimmerman
5c88aafbec
Merge branch 'master' into zbchristian-wlan-switch 2020-06-07 15:29:28 +02:00
billz
677a6c52b0 Get/set wireless iface from ini, store in _SESSION 2020-06-07 14:23:40 +01:00
zbchristian
d13c77bd2f
Write required options to dhcpcd.conf 2020-06-03 23:32:32 +02:00
billz
4b7262a98b Remove 802.11w option from UI 2020-05-26 07:49:04 +01:00
billz
0c5e93e9d8 Added 802.11.w MFP support, addresses #484 2020-05-19 17:28:48 +01:00
billz
14508ee773 Remove duplicate $config[] block 2020-05-12 09:16:04 +01:00
billz
dabec46511 Minor: untabify 2020-05-12 08:10:54 +01:00