Commit graph

434 commits

Author SHA1 Message Date
Christian Zeitnitz
1715237529 Remove signal strength meter in case of unconfigured client 2021-03-28 11:59:57 +02:00
Christian Zeitnitz
fd3dcedb4a Fix Client status text 2021-03-28 11:15:46 +02:00
billz
61c550165d Update with form-control class 2021-03-27 19:34:35 +00:00
billz
20ef52de57 Bugfix: syntax error (echo) 2021-03-27 19:34:11 +00:00
Christian Zeitnitz
f583a3eeae modified text in case of unconfigured client 2021-03-27 18:00:40 +01:00
Christian Zeitnitz
5b9d4ca814 Add unconfigured client state to dashboard.php
Add tun device as client_udev_prototypes.json
2021-03-27 17:43:15 +01:00
Christian Zeitnitz
72ae09461d Fix form 2021-03-27 11:22:26 +01:00
Christian Zeitnitz
720e6c3e77 Add certificate option to openvpn GUI
add JS code to display options and selected ovpn file
2021-03-27 10:29:09 +01:00
zbchristian
e16844294b
Merge branch 'master' into feature/zbchristian-clients 2021-03-21 18:00:40 +01:00
Christian Zeitnitz
68ec5f7db5 Fix name of internal wlan interface 2021-03-20 10:24:19 +01:00
Christian Zeitnitz
f77fb660bf Fix missing mobiledata.ini and some cleanup 2021-03-16 19:11:40 +01:00
Christian Zeitnitz
8bccf1d077 Add modal message when start/stop client interface is pressed 2021-03-15 18:07:14 +01:00
billz
a89140435b Update peer template w/ download button 2021-03-15 10:30:36 +00:00
Christian Zeitnitz
2b4c9472e6 Replace switchClientState.sh by php function in get_clients.php
Cleanup display of client on dashboard
2021-03-12 12:20:34 +01:00
Christian Zeitnitz
76e2eecaec Correct internet device GUI and udev config 2021-03-10 23:45:04 +01:00
billz
cb58e31089 Handle server/peer enable states 2021-03-09 15:35:48 +00:00
billz
50901948e0 Added wg strings to en_US locale 2021-03-08 08:44:17 +00:00
billz
1e7438da23 Code cleanup, update Endpoint default value 2021-03-07 19:06:53 +00: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
0b3307ce1f Add required fields for validation 2021-03-07 13:20:52 +00:00
billz
ddc8c42746 Update peer template w/ additional fields 2021-03-07 10:25:21 +00:00
billz
4515ac95fb Improved private key handling (security) 2021-03-04 23:44:45 +00:00
billz
9beab1d2e7 Update server + peer hidden fields 2021-03-04 23:08:23 +00:00
billz
6b484d383c Progress commit: wg-qr-code 2021-03-02 23:15:47 +00:00
billz
cd045a34b8 Reorder inputs, QR client.conf WIP 2021-03-02 14:18:32 +00:00
billz
9bbf698b6a Reorder template fields 2021-02-24 18:06:18 +00:00
billz
b7ed2960c1 Update wg-keygen for server + peer 2021-02-24 10:32:07 +00:00
billz
796ed558f7 Handle peer defaults 2021-02-24 09:12:31 +00:00
billz
6076e277c8 Disambiguate var names 2021-02-24 08:48:07 +00:00
billz
9c2cd82562 Merge branch 'feature/wireguard' of https://github.com/RaspAP/raspap-insiders into feature/wireguard 2021-02-23 20:17:38 +00:00
billz
1eec097b80 Bugfix: Parse dhcp-host entries 2021-02-22 09:47:25 +00:00
billz
f7a441566e Optimize template layout 2021-02-22 08:01:41 +00:00
billz
9466e4fa70 Rework static leases tab 2021-02-21 23:53:14 +00:00
billz
faffbfea51 Update client settings tab 2021-02-12 19:02:58 +00:00
billz
677e06807a Update about template 2021-02-10 17:06:51 +00:00
billz
0f7ff60a81 Update about page 2021-02-10 16:20:43 +00:00
billz
76dc60ca41 Update logging template 2021-02-10 11:29:12 +00:00
billz
04edc3a185 Implement openvpn logging 2021-02-09 21:57:15 +00:00
billz
b9a87df343 Update openvpn template 2021-02-08 07:32:40 +00:00
billz
c073d18133 Cleanup + fadeOut deleted cfg 2021-02-07 18:51:21 +00:00
billz
361a37332a Update en_US locale + template 2021-02-07 15:24:45 +00:00
billz
f1b1e96df3 Progress commit: templates/openvpn 2021-02-07 11:52:58 +00:00
billz
fd62520355 Create openvpn subtemplates 2021-02-06 08:18:27 +00:00
Bill Zimmerman
eb1ba5933f
Merge pull request #799 from RaspAP/feature/modal-wificlient
Add modal dialog to configure wifi client
2021-02-04 08:49:10 +01:00
billz
8a4453b0f5 Migrate repo to organization 2021-02-03 09:07:15 +00:00
billz
e5ce7b9fb2 Add modal dialog to configure client 2021-02-02 16:55:46 +00:00
billz
b21ea0d28d Transfer template logic to includes, see #749 thx @mp035 2021-02-02 12:26:14 +00:00
Mark Pointing
6966bc7f3a Changed routing system to use the more common path approach instead of query strings. 2021-01-30 16:06:33 +00:00
billz
32099f9330 Update about template w/ docs link 2021-01-25 17:15:44 +00:00
billz
37ea945516 Normalize hostapd + dhcp log output, update en_US 2020-12-26 09:55:54 +00:00
billz
cb10bf684c Update en_US messages, compile .mo files 2020-12-26 08:51:45 +00:00
billz
8e8ce320d4 Implement hostapd modal dialog 2020-12-24 20:52:18 +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
Bill Zimmerman
16f4c47f00
Merge branch 'master' into feature/dhcp-eth0 2020-12-12 17:41:41 +01:00
billz
da0e714f86 Openvpn template layout, relative img paths. Closes #716 2020-12-07 11:37:57 +00:00
billz
3c4cdefc56 Minor: wrap msg w/ div 2020-12-06 08:27:18 +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
f8bc24ce6f Template fixes 2020-11-27 16:26:25 +00:00
billz
6d331c3ebd Add static IP fields, fallback, toggle state 2020-11-26 17:16:54 +00:00
billz
b63a53e182 Set default dhcp interface on page load 2020-11-21 13:52:20 +00:00
billz
d72661455e Minor: spacing 2020-11-19 12:36:02 +00:00
billz
e4856484d9 Add advanced fields to JSON response 2020-11-17 11:18:10 +00:00
billz
0f8e7b88b7 Add IDs to form elements for ajax 2020-11-16 18:20:39 +00:00
billz
17da7cfcab Move enable DHCP option to general tab 2020-11-15 10:51:51 +00:00
billz
0049518769 Minor: update label 2020-11-09 17:46:55 +00:00
billz
ab05bf15c7 Use dchp_eth0 to set toggle state 2020-11-06 09:05:43 +00:00
billz
6ca12a184b Add DHCP for eth0 option to advanced tab 2020-11-04 01:05:35 +00:00
billz
09f65e0252 Merge branch 'feature/wireguard' of https://github.com/billz/raspap-webgui into feature/wireguard 2020-10-15 10:46:07 +01:00
Bill Zimmerman
0ba767c387 Merge branch 'master' into feature/wireguard 2020-10-15 11:40:45 +02:00
billz
deaf393a2f Expose metric for network interfaces 2020-10-01 23:06:47 +01:00
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