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

412 Commits

Author SHA1 Message Date
billz
65381ecdbb Prettify php 2020-09-24 08:55:06 +01:00
billz
88600f05de Indicate wireless client iface in UI, thx @RobertDuncan42 2020-09-23 23:12:24 +01:00
billz
7335de7968 Cleanup debug output 2020-09-23 21:14:55 +01:00
billz
054c53831a Wifi client layout fix. Resolves #680 2020-09-23 19:45:21 +01:00
billz
f8b5f8fdfc Merge branch 'master' into feature/wireguard 2020-09-22 18:23:36 +01:00
billz
24eb3afc59 Merge branch 'master' into feature/wireguard 2020-09-19 22:51:15 +01:00
billz
656e5d83ad Template updates for custom blocklists 2020-09-19 22:27:32 +01:00
billz
18e21ad3e7 Added disassoc_low_ack help text 2020-09-12 13:02:37 +01:00
billz
4b1c5b802c Implement beacon_int + disassoc_low_ack hostapd options. Addresses #666😈 2020-09-11 19:03:14 +01:00
billz
7286173438 Add rudimentary logging 2020-09-05 19:27:38 +01:00
billz
af0721e021 Save wg config, template fixes 2020-08-28 23:42:55 +01:00
billz
aff035122b Validate, save & display wg config 2020-08-26 23:54:49 +01:00
billz
dccfb991b1 Build out peer template 2020-08-25 22:10:50 +01:00
billz
dd5ab7bdc2 Remove webconsole, fixes RCE via json-rpc. Thanks @lb0x 2020-08-22 23:23:06 +01:00
billz
5be1ad5844 Merge billz/raspap-webgui master 2020-08-22 14:43:26 +01:00
billz
44e9ae75ae Remove webconsole, fixes RCE via json-rpc. Thanks @lunchb0x 2020-08-22 11:41:33 +01:00
billz
eeccb19b35 WIP: enable bind-addr control 2020-07-29 15:52:31 +01:00
billz
04f62b9f0d Templatize system 2020-07-29 08:37:27 +01:00
billz
b69d7f28a3 Create system subtemplates 2020-07-29 08:35:57 +01:00
billz
ec94706b32 Standardize labels 2020-07-11 09:04:28 +01:00
billz
e0e1f2f378 Standardize labels 2020-07-11 09:04:07 +01:00
billz
bf2fda1bc4 Templatize hostapd 2020-07-10 12:36:29 +01:00
billz
578bb9d9f4 Tweak column grid 2020-07-01 17:46:07 +01:00
billz
c8ec7565ad Update w/ dynamic svg logo 2020-07-01 13:50:36 +01:00
billz
2916bd1998 Dynamic theme color support 2020-06-30 16:54:30 +01:00
billz
624862480d Add huebee color-input 2020-06-30 00:14:46 +01:00
billz
cfbfff00a9 Update w/ fontawesome glyphs 2020-06-29 14:13:06 +01:00
zbchristian
33a099de61
Define displayed text for internet access 2020-06-29 13:16:55 +02:00
billz
d878cbf356 Processed with phpcbf 2020-06-28 17:12:42 +01:00
zbchristian
5a311d24ec
Remove duplicated title 2020-06-25 16:56:53 +02:00
zbchristian
365bb3fa25
Add internet connectivity information 2020-06-25 16:00:41 +02:00
billz
e1bb73a76d Update service-status to indicate AP interface 2020-06-15 09:35:44 +01:00
zbchristian
a8238d688e
select correct wifi interface as client 2020-06-14 18:19:34 +02:00
billz
b9ba2946a5 Fix: display AP interface stats 2020-06-10 09:09:10 +01:00
christian Zeitnitz
f8a094134b Add Session variable "wifi_client_interface" 2020-06-09 20:25:19 +02:00
billz
2ca9bf5b6f Rename ambiguous variable for clarity 2020-06-09 15:32:49 +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
a1940ae8f2 Update w/ session var, fix indents 2020-06-07 17:15:13 +01:00
Bill Zimmerman
5c88aafbec
Merge branch 'master' into zbchristian-wlan-switch 2020-06-07 15:29:28 +02:00
billz
b14175ab0c Replace interface constant with _SESSION value 2020-06-07 14:25:28 +01:00
zbchristian
e390c00a2b
Get interface of AP from hostapd config file 2020-06-03 23:33:43 +02:00
billz
1a8ffd94fc Replaced tabs w/ spaces, applied PSR-2 code standard 2020-05-24 08:24:42 +01:00
billz
b128c4106c Applied patches from #581 2020-05-24 08:14:07 +01:00
billz
0c5e93e9d8 Added 802.11.w MFP support, addresses #484 2020-05-19 17:28:48 +01:00
billz
15032a3f44 Apply zbchristian patch 2020-05-12 07:50:28 +01:00
billz
a20db9185b Fix wifi client connect button. Resolves #572, thx @zbchristian 2020-04-30 12:42:31 +01:00
billz
292a4ed1be Initial template setup 2020-04-22 10:02:07 +01:00
billz
db497de7d0 Initial commit: wg templates 2020-04-20 12:53:46 +01:00
billz
9be1e31dae About page tweak 2020-04-13 07:48:53 +01:00
billz
d49cc8daf8 About style tweaks 2020-04-11 17:29:45 +01:00
billz
b0eb7c63eb Update About page 2020-04-11 16:17:40 +01:00
billz
4eb6a5a2f7 Change last updated text on success 2020-04-02 08:12:59 +01:00
billz
86133c80ff Update labels with gettext shorthand 2020-04-01 18:43:20 +00:00
billz
3fa5215449 Added blocklist last updated 2020-04-01 09:09:52 +00:00
billz
ff14e64bf9 add list download progress indicator 2020-03-31 00:04:52 +00:00
billz
3552a4b101 update status indicator 2020-03-29 00:16:07 +00:00
billz
e1bdc41ace add stats tab (wip) 2020-03-27 22:46:29 +00:00
billz
222b29535a templatize adblock tab content 2020-03-27 22:39:05 +00:00
billz
ffbd99414e rudimentary logging 2020-03-27 22:04:35 +00:00
billz
3d4f12ffa6 Persist toggle, cleanup 2020-03-27 13:09:32 +00:00
billz
ca7bde25c6 Update ajax handler + indicate status 2020-03-27 09:24:48 +00:00
billz
0ba0172b7c Update blocklist select 2020-03-27 08:47:10 +00:00
billz
ae26f948a4 WIP 2020-03-26 19:45:39 +00:00
Bill Zimmerman
06109bf82e
Merge pull request #541 from Taikuh/connected-devices
List Connected devices in bridged AP mode
2020-03-25 14:20:00 +01:00
Taikuh
482033c57b
Use small text-muted for info text 2020-03-25 19:55:39 +08:00
Taikuh
2eb4ae8088
Replace arp with iw station dump 2020-03-25 19:50:04 +08:00
Taikuh
b7625e34da Shorten info text 2020-03-25 15:19:10 +08:00
Taikuh
2a42c56ab3 bridged $clients only show MAC 2020-03-25 14:42:53 +08:00
billz
422a46e92c Fix PHP notices 2020-03-24 18:48:35 +00:00
Taikuh
f0db12664d add quotes to $MACPattern 2020-03-25 00:21:59 +08:00
Taikuh
c2cff9d947 Add connected device for bridged, edit regex 2020-03-24 20:40:18 +08:00
Taikuh
5d57765669 Merge billz:master into bridge-mode 2020-03-13 14:08:11 +08:00
Taikuh
5e44aae1c5 Disable incompatible settings when bridged 2020-03-13 05:02:26 +08:00
Taikuh
8823c0602e Add bridged-routed toggle to webgui 2020-03-10 19:07:15 +08:00
Bill Zimmerman
33b6a42aa0
Merge pull request #519 from glaszig/fix/markup
dhcp page maintenance
2020-03-06 20:05:25 +01:00
billz
88f0859955 Terminal theme => Lights Out 2020-03-06 18:40:47 +00:00
glaszig
29d4653524 prevent variable name collision in renderTemplate() function 2020-03-06 16:54:48 +01:00
glaszig
1d6b4e6468 moved dhcp tab panes into partials 2020-03-06 16:53:22 +01:00
glaszig
ad6a4b5228 improved tab id 2020-03-06 16:41:49 +01:00
glaszig
287bfcb568 dhcp: moved logging-related controls to logging tab 2020-03-06 16:39:24 +01:00
glaszig
67eefdcf05 fixed dhcp template markup
there was one closing div too many leading to empty
content area when nav is collapsed
2020-03-06 16:26:23 +01:00
billz
ddd8b53fdf Minor: label change 2020-03-05 12:43:14 +00:00
billz
90b922c432 Update with dnsmasq logfile output 2020-03-05 10:35:40 +00:00
Bill Zimmerman
3ba6c135a8
Merge pull request #506 from glaszig/feature/dhcp-upstream-server
[WIP] added ui to manage upstream dns servers
2020-03-04 23:07:35 +01:00
glaszig
5259102b18 optimized select box position 2020-03-04 19:49:07 +01:00
glaszig
cfa3f9cfd3 added selectable hosted dns servers 2020-03-04 19:43:22 +01:00
glaszig
6c6de51a45 improved dhcp tab label "advanced" 2020-03-04 18:26:21 +01:00
Bill Zimmerman
8b1f0d9a8f
Merge pull request #511 from glaszig/fix/remove-bootstrap-toggle
remove bootstrap4-toggle
2020-03-01 18:20:02 +01:00
Bill Zimmerman
9e10c66184
Merge pull request #510 from glaszig/fix/hostapd-help-text
improved form field help text styling
2020-03-01 18:12:33 +01:00
glaszig
589fb6298c indentation 2020-02-29 22:26:20 +01:00
glaszig
5271c03268 tabs, spaces... lord have mercy. 2020-02-29 22:20:40 +01:00
glaszig
cc584e0b6b replace bootstrap4-toggle in favor of bootstrap's more lightweight custom-switch 2020-02-29 22:15:35 +01:00
glaszig
14caf445bd improved form field help text styling 2020-02-29 21:53:38 +01:00
glaszig
d431da3e3a use proper gettext message for dhcp section header 2020-02-29 19:42:48 +01:00
glaszig
4cd38dc8c6 generic buttons for all tab panes in dhcp 2020-02-29 19:30:28 +01:00
glaszig
a45e3a5e32 fixed nav-tabs margin to content below 2020-02-29 19:22:44 +01:00
glaszig
490ca1cb5a added "advanced" tab to dhcp config, moved upstream dns into it 2020-02-29 19:19:15 +01:00
glaszig
9c3c27cb71 small input groups for upstream dns servers 2020-02-29 19:07:31 +01:00
glaszig
3ce99eeaa7 improved checkbox label 2020-02-29 19:03:49 +01:00
glaszig
0db3d151ee use bootstrap's pretty custom-switch 2020-02-29 19:02:27 +01:00
glaszig
1efbb52738 added label for new upstream dhcp server field 2020-02-29 18:55:57 +01:00
glaszig
9f672549f2 added placeholder 2020-02-29 18:50:06 +01:00
glaszig
f3e8f0e64d fixed heading 2020-02-29 18:49:59 +01:00
glaszig
dc77f304bf added note about no-resolv dnsmasq option 2020-02-29 18:43:23 +01:00
glaszig
56d7a74879 improved upstream dns server help text 2020-02-29 18:37:23 +01:00
glaszig
896797a6d6 fixed aria label 2020-02-29 18:35:23 +01:00
glaszig
835d2f2a42 removed superfluous class attribute 2020-02-29 18:34:20 +01:00
glaszig
6bb4abac56 added checkbox for no-resolv option in dnsmasq.conf 2020-02-29 18:33:51 +01:00
glaszig
3d981a4eab Auth => Authentication 2020-02-29 18:09:31 +01:00
glaszig
e87d2c1c72 remove left-over redundant wording 2020-02-29 18:07:24 +01:00
glaszig
acb5df1601 remove redundant wording 2020-02-29 00:00:35 +01:00
glaszig
a3c8def120 added ui to manage upstream dns servers 2020-02-28 23:41:56 +01:00
billz
6c01069f67 Adds auto-generate secure PSK button to input 2020-02-27 17:20:29 +00:00
glaszig
695ea7b969 show wifi qr code in "hotspot > security" section
resolves #469.
2020-02-27 02:37:00 +00:00
billz
8e29570d07 Enable restart when hostapd is active. Addresses #495 2020-02-18 21:01:38 +00:00
billz
70ca6d03e0 Limit dhcp client display, alignment tweaks 2020-02-03 09:31:39 +00:00
billz
d15fd5692d Unique id, prevent conflict w/ data usage 2020-02-02 14:58:35 +00:00
billz
29772f8144 Fix indents 2020-02-02 13:37:17 +00:00
billz
32a2cf699b Update sysstat include 2020-02-02 12:41:07 +00:00
billz
7cecb1d1af Minor: formatting 2020-02-02 11:36:20 +00:00
billz
c3c15d49ad Updated w/ include sysstats 2020-02-02 11:35:10 +00:00
billz
82db0a34b9 WIP: dashboard redesign 2020-02-02 08:37:15 +00:00
Bill Zimmerman
50de4f73a3
Merge branch 'master' into patch-2 2020-01-27 11:34:18 +01:00
Bill Zimmerman
96773ab447 Minor: fix indentation 2020-01-27 07:39:16 +01:00
WRXTsla
26190c0f5c
Update dhcp.php
typo?
2020-01-26 02:16:47 +01:00
Weylin-fr
303347ac00
Update system.php
removed "</div>" as billz request it in the master branch
2020-01-22 10:59:02 +01:00
Weylin-fr
9819c6a3e1
Update system.php
- Adding the CPU temp from a copy of CPU load.
- The CPU temp cannot go to 100°C, so i multiply the temp to 1.2. This way the progress bar is full when CPU temp is 83°C or more.
- The LAN Chipset supports up to 70°C, so i set the red progress bar to that threshold 
   (source: https://www.raspberrypi.org/documentation/faqs/)
2020-01-20 16:30:44 +01:00
Bill Zimmerman
bc8ed88d93
Merge pull request #465 from billz/802.11ac
802.11ac config
2020-01-01 10:58:22 -08:00
billz
e072e0a32a Replace hardcoded 5Ghz countries with constant 2019-12-31 19:12:01 +00:00
billz
882621a6af Prevent disabled state when AP mode is inactive 2019-12-29 23:34:31 +00:00
billz
6abe731ae5 Disable ac hw_mode if no 5Ghz country match 2019-12-27 03:16:50 +00:00
billz
75ebf08ae7 Implemented selectablechannels in custom.js 2019-12-26 21:36:27 +00:00
billz
05772a5ff2 Added selectable channels for wireless mode AC 2019-12-26 06:18:22 +00:00
billz
80133ece4b Disable toggle if managed mode not enabled. Resolves #455 2019-12-13 14:07:57 +00:00
billz
2e54ae8dde Diplay public Ipv4 address 2019-11-17 12:01:07 +00:00
billz
93e3af0ecd Update w/ openvpn service status indicator 2019-11-15 08:45:54 +00:00
billz
e30d1596dc Update openvpn template w/ focus on client UI 2019-11-14 12:30:24 +00:00
billz
bce1278dfc Fix JP country code 2019-11-13 10:33:04 +00:00
billz
25d1ddeed6 Templatized Tor proxy config 2019-11-12 21:05:21 +00:00
billz
2c9f135389 Templatized OpenVPN config 2019-11-12 16:03:26 +00:00
billz
184b723de0 Added restart lighttpd btn 2019-11-11 13:36:19 +00:00
billz
e0251930be Added advanced tab w/ lighttpd port option. Thx Raspberry Pie on discord :) 2019-11-10 22:14:07 +00:00
billz
b4836bf304 Disables console when monitor mode is enabled. Thanks @sedgett 2019-11-08 08:41:55 +00:00
billz
8f9d494437 Adjust chartjs linkQuality graph 2019-11-03 17:02:45 +00:00
billz
aea38439ef Minor: fix indents 2019-11-01 16:02:22 +00:00
billz
929fbd2572 Standardize card-headers 2019-11-01 09:08:49 +00:00
billz
59472b1b89 Update help-block text to match gettext msg 2019-10-28 20:21:06 +00:00
billz
e25a67b325 Update fontawesome icon 2019-10-24 23:36:22 +01:00
billz
9d9adf3803 Removed extra <div>, fixed malformed display 2019-10-24 22:47:06 +01:00
billz
a126b9c8c2 Standardized on col-md-6 2019-10-24 21:42:03 +01:00
billz
0287abf9ac Update labels with gettext alias _() 2019-10-22 09:02:21 +01:00
billz
5bbf52e3b6 Update label for gettext support 2019-10-22 09:01:44 +01:00
billz
314475050f Fix label to support gettext string match 2019-10-22 09:01:01 +01:00
billz
cdf925c31a Update labels with gettext alias _() 2019-10-22 08:59:55 +01:00
Bill Zimmerman
093080cb49
Merge branch 'master' into bootstrap4 2019-10-20 22:33:09 +02:00
billz
ccff8108f8 Removed text-gray class 2019-10-20 18:31:39 +01:00
billz
185115561a Migrate morris chart to chartjs 2019-10-19 22:13:50 +01:00
billz
237c246ee6 Adjusted toggle spacing 2019-10-18 09:12:54 +01:00
billz
193813feba Fix indents + comments 2019-10-15 21:08:27 +01:00
billz
d25b8cb4d9 Align rescan button 2019-10-15 21:07:44 +01:00
billz
b025048771 Stacked horizontal cards 2019-10-15 18:28:34 +01:00
billz
d264a888bc Work in progress 2019-10-15 13:47:34 +01:00
billz
05f466491f Update w/ new fontawesome icon 2019-10-15 13:46:10 +01:00
billz
457347836c Adjust layout, apply bootstrap4 classes 2019-10-15 13:45:35 +01:00
billz
3ecb5d2f49 Tweak bootstrap4-toggles 2019-10-15 13:44:47 +01:00
billz
d8e13795d9 Fix display issue, indents for readability 2019-10-15 10:17:29 +01:00
billz
1f60b72f30 Tweak bootstrap-toggle 2019-10-15 01:17:13 +01:00
billz
84d2f519d1 Update set linkQ 2019-10-15 00:04:17 +01:00
billz
58870076b1 Update info-item display 2019-10-15 00:01:22 +01:00
billz
8240be30d0 Rebase + fix indents 2019-10-14 23:18:39 +01:00
billz
ac3197f7f6 Numerous presentation fixes/tweaks 2019-10-14 21:57:29 +01:00
billz
73914b9c08 Update fontawesome class 2019-10-14 21:56:45 +01:00
billz
b3d736cb61 Tweak card-header 2019-10-14 21:21:56 +01:00
billz
ff17a0f7ad Tweak card-header + h4 margins 2019-10-14 21:21:00 +01:00
billz
0a4ee3a18b Tweak card-header spacing, add missing footer 2019-10-14 21:20:10 +01:00
billz
8238ae524c Tweak card-header spacing, add missing h4 2019-10-14 21:19:46 +01:00
billz
8b90d25a63 Added iface-status indicator 2019-10-14 21:18:16 +01:00
billz
04d2398c77 Add service-status indicator 2019-10-14 21:17:27 +01:00
billz
d517669c9f Add service-status indicator 2019-10-14 21:17:20 +01:00
billz
71fe3165e6 Shift wireless info left column + link quality meter 2019-10-14 11:32:40 +01:00
billz
5f79533ae7 Addded card-footer 2019-10-13 23:49:37 +01:00
billz
54816ec10f Fix header icons 2019-10-13 00:23:00 +01:00
billz
40e408dd98 Work in progress 2019-10-12 23:04:27 +01:00
billz
5b8f7056dc Update for sb-admin-2 4.0.7 2019-10-11 20:37:59 +01:00
Yusnel Rojas Garcia
4d45afa27b support dns options in dnsmasq configuration 2019-10-11 13:24:22 -04:00
billz
485ea29270 Update path 2019-10-08 19:10:41 +01:00
billz
80aa640ac4 Minor: mode change 2019-09-08 16:12:51 +01:00
billz
8be24381a8 Processed with phpcbf for PSR-2 coding standard 2019-09-07 16:42:31 +01:00
billz
ef406edc61 Added check for monitor setting. Resolves #378 2019-09-07 09:55:42 +01:00
billz
48c9880a92 Update panel class fix 2019-08-27 16:40:57 +01:00
glaszig
26fbd78156 replaced CheckPSK dom level 1 events with level 2 event listener-driven implementation 2019-08-19 22:37:22 +02:00
glaszig
611d953141 no need for js to reload the page 2019-08-19 22:37:22 +02:00
glaszig
c775744db5 improved password toggle 2019-08-19 22:37:22 +02:00
glaszig
259d3838b5 improved theme dropdown, selected theme detection 2019-08-19 22:37:22 +02:00
glaszig
b93763cef8 fixed up themes template 2019-08-19 22:37:22 +02:00
glaszig
2c64ff0b3e removed logic from system template 2019-08-19 22:37:22 +02:00
glaszig
680fa1de87 status messages always render in div tags; wrapping them in p tags is illegal in html 2019-08-19 22:37:22 +02:00
glaszig
df429064c6 fixed up dhcp template 2019-08-19 22:37:22 +02:00
glaszig
b04661171a fixed up data usage template 2019-08-19 22:37:22 +02:00
glaszig
82274ed1c9 fixed up about template 2019-08-19 22:37:22 +02:00
glaszig
2cd2082499 fixed up networking template 2019-08-19 22:37:22 +02:00
glaszig
89f3330606 use template for network page 2019-08-19 22:37:22 +02:00
glaszig
33b99c0ae7 use template for hostapd page 2019-08-19 22:37:22 +02:00
glaszig
9defff1cf4 use template for dhcp page 2019-08-19 22:37:22 +02:00
glaszig
c1f75a696a use template for data usage page 2019-08-19 22:37:22 +02:00
glaszig
7fcdd5e89c use template for dashboard 2019-08-19 22:37:22 +02:00
glaszig
d7ee29aeee use template for configure client page 2019-08-19 22:37:22 +02:00
glaszig
e4e9b5c5c1 use template for admin page 2019-08-19 22:35:30 +02:00
glaszig
2215b11c21 use template for themes page 2019-08-19 22:35:29 +02:00
glaszig
0608b6cb22 use template for system page 2019-08-19 22:35:29 +02:00
glaszig
76f905fe9d use template for about page 2019-08-19 22:35:29 +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