Commit Graph

59 Commits

Author SHA1 Message Date
billz 7f384e9ff1 Abbreviate serviceStatus for small devices 2019-11-01 09:10:24 +00:00
billz 009f51c20c Parse/set dhcpcd & dnsmasq values from system config #329 2019-09-08 16:28:01 +01:00
billz 8be24381a8 Processed with phpcbf for PSR-2 coding standard 2019-09-07 16:42:31 +01:00
glaszig 33b99c0ae7 use template for hostapd page 2019-08-19 22:37:22 +02:00
glaszig d2bb1b02b5 move CSRFTokenFieldTag up to the opening form tag
for style and discoverability
2019-08-14 02:44:13 +02:00
Bill Zimmerman e2f07044b4
Merge pull request #362 from glaszig/feature/ap-client-limit
make hostapd's max_num_sta configurable
2019-08-10 12:13:30 +02:00
glaszig 3f9d176793 show current nax_num_sta as input value,
make field description translatable
2019-08-10 11:57:10 +02:00
Bill Zimmerman a00f1be009
Merge pull request #366 from glaszig/feature/improved-service-status-indicator
improved service status display
2019-08-08 20:55:04 +02:00
glaszig f36b08c10a rename CSRFToken() to the more apt CSRFTokenFieldTag() 2019-08-06 20:55:16 +02:00
glaszig 0a255e8b49 don't write the csrf token field to the output buffer
but return and echo it
2019-08-06 20:55:16 +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
Bill Zimmerman 9b66c2cd03
Merge pull request #363 from glaszig/fix/hostapd-wmm
properly enable wmm by fixing a typo
2019-08-05 15:46:10 +02:00
billz c0cfcfa117 Bugfix, resolves #367 2019-08-05 14:26:55 +01:00
glaszig 1152637120 puts service status as label into panel heading 2019-08-02 23:40:06 +02:00
glaszig b52f290020 improved 802.11 standard select option labels in hostapd ui 2019-08-01 23:01:31 +02:00
glaszig 0e9ed7d833 make hostapd's max_num_sta configurable 2019-08-01 22:42:52 +02:00
glaszig ab7f990d13
properly enable wmm by fixing a typo
if `ieee80211n=1`, `wmm_enabled=1` should be configured as well
according to the docs, quote:

# ieee80211n: Whether IEEE 802.11n (HT) is enabled
# 0 = disabled (default)
# 1 = enabled
# Note: You will also need to enable WMM for full HT functionality.
# Note: hw_mode=g (2.4 GHz) and hw_mode=a (5 GHz) is used to specify the band.

https://w1.fi/cgit/hostap/plain/hostapd/hostapd.conf
2019-08-01 22:19:46 +02:00
glaszig 81a67c0121 better filename 2019-07-30 21:21:16 +02:00
glaszig a6d3336212 fix command injection issue. fixes #354. 2019-07-30 21:21:16 +02:00
billz 1a23316abd Write wifi managed interface to config 2019-04-30 18:29:09 +00:00
billz c0570b616e Processed with phpcs for PSR-2 coding standard 2019-04-10 08:37:35 +00:00
billz 10be910657 Bugfix: replaced wlan0 with constant 2019-03-17 20:14:08 +00:00
billz 8267c9b10a Bugfix 2019-03-12 07:32:17 +00:00
billz b012bae759 bugfix 2019-03-12 00:11:29 +00:00
billz 7d98d12e3b WIP, rewite configs 2019-03-12 00:03:18 +00:00
billz 113f3bfcb8 WIP, config rewriting 2019-03-11 23:47:09 +00:00
billz 6cf96fd65d Increased sleep value 2019-03-07 22:12:38 +00:00
billz 192a849cd5 Update default dnsmasq settings 2019-03-07 18:11:58 +00:00
billz 1df86a78a9 Updated with paramaterized servicestart 2019-03-07 10:13:40 +00:00
billz 8a41731513 Added todo for restarting hostapd 2019-03-06 20:07:54 +00:00
billz b9ed8c472e Service renamed 2019-03-06 19:12:32 +00:00
billz 9e95863cce Persist WifiAPEnable to ini, enable uap0 interface in dnsmasq.conf 2019-03-06 18:42:13 +00:00
billz d6bd7d2c4a WIP: WifiAPEnable handling 2019-03-06 13:24:51 +00:00
billz 0dbfa71a96 WIP: Advanced options 2019-03-06 10:44:43 +00:00
D9ping 9f5cf8a069 Allow empty passphrase to be entered on no security. #208
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-14 03:22:54 +02:00
D9ping 2104f620bc Allow creating not secured wi-fi. Fixes #208
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-12 13:05:15 +02:00
D9ping ee41ed7e0f Added support for hidding SSID. Implement idea from #247.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-10 20:11:10 +02:00
D9ping 28f0c18c5a Merge branch 'master' into 802.11N 2018-10-04 18:07:07 +02:00
D9ping 73f5e4f2da Properly use for attribute for label tags on hostapd page.
Added support for id attribute for SelectorOptions function.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-03 22:20:06 +02:00
D9ping b10b538896 Allow channel 14 for Japan in 802.11b mode.
Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-03 16:40:45 +02:00
D9ping bf638dc2f2 Added support for selecting to use 802.11N
Limit channel selection for north america.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-10-03 14:40:55 +02:00
Tom ec1f8022fe
Fix xss in interface parameter. 2018-10-02 12:58:50 +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
billz 628a60893d Replaced strings with gettext alias 2018-05-27 15:48:42 +00:00
Bill Zimmerman ef9dcbe06c
Merge branch 'master' into i18n 2017-11-02 23:41:33 +01:00
billz 8d1370e2fd Removed debug output 2017-11-02 20:46:46 +00:00
billz c88d027ec6 Added standard div wrapper to new tab 2017-11-02 18:43:52 +00:00
Lawrence f61cc31b20 Created new branch off master to help troubleshoot with #132 2017-11-02 22:43:41 +08:00
billz 4c94d29668 Updated static labels with gettext() 2017-10-24 13:50:30 +00:00
billz 062d5aeb4f Replaced interface labels with gettext() 2017-10-23 19:51:34 +00:00