Commit graph

477 commits

Author SHA1 Message Date
glaszig
d9212737e5 fix layout issues, mainly margins and centering 2021-06-01 03:02:05 +01:00
glaszig
9dc1f14ccb separate connected from known from nearby wifi stations in ui 2021-06-01 03:02:04 +01:00
Christian Zeitnitz
b99752c4cd Implement login for Hilink devices 2021-05-21 14:57:14 +02:00
Bill Zimmerman
fabc48c7da
Merge pull request #884 from RaspAP/feature/reinitialize-wpa
Feature: reinitialize wpa_supplicant
2021-05-10 11:13:04 +02:00
billz
a3814cdf71 Wrap reinitialize w/ monitor mode condition 2021-05-08 19:40:19 +01:00
billz
a8d59c1479 Merge branch 'master' of https://github.com/RaspAP/raspap-webgui 2021-05-02 16:15:07 +01:00
billz
d6b3304c01 Apply dashboard widget layout to sysinfo 2021-05-02 16:12:50 +01:00
billz
3207ac75cd Minor: standardize labels 2021-04-30 14:40:47 +01:00
billz
d1fdbd9f25 Add wpa_reinit button to template 2021-04-30 08:38:49 +01:00
Bill Zimmerman
79393c48d0
Add reinitialize message on scan failure 2021-04-30 00:05:19 +02:00
glaszig
048848b2b5 make interface cards full width for legibility 2021-04-22 16:52:09 +01:00
glaszig
d1382cbabf make interface cards be of 100% height 2021-04-22 16:36:58 +01:00
glaszig
779bce7cc8 remove superfluous button container 2021-04-22 16:35:59 +01:00
glaszig
c624c36f31 fix indentation 2021-04-22 16:35:14 +01:00
glaszig
f6c4d2b1d8 Revert "fix markup in networking"
This reverts commit 8dbb2f3a1b.
2021-04-22 16:31:58 +01:00
glaszig
8dbb2f3a1b fix markup in networking 2021-04-22 16:31:20 +01:00
glaszig
e5ac7d23a3 improve table layout 'internet connection' 2021-04-22 16:31:20 +01:00
glaszig
1d21f524f1 remove superfluous quote 2021-04-22 16:31:20 +01:00
billz
14b6a72105 Add text-muted to tooltip, revise placement + text 2021-04-20 20:00:40 +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
billz
e4967e5045 Update en_US local, template + compile .mo 2021-04-16 13:42:51 +01:00
billz
dc8b39dc40 Output tab labels with gettext() 2021-04-15 09:05:01 +01:00
billz
e1c2770a76 Minor: formatting + status text 2021-04-15 09:04:20 +01:00
Bill Zimmerman
0c9152fff3
Merge branch 'master' into feature/zbchristian-clients 2021-04-15 09:00:48 +02:00
billz
d3c769b748 Layout fix: dashboard client widget + openvpn ipv4 2021-04-09 15:05:40 +01:00
billz
620fece123 Apply updated info-item layout to openvpn ipv4 2021-04-09 15:03:25 +01:00
billz
83d0a98979 Additional chart layout tweaks 2021-04-09 07:51:43 +01:00
billz
30c42b8ea3 Align signal strength meter w/ adjacent col 2021-04-07 09:25:28 +01:00
billz
f9e907e3ce Tweak layout of dashboard client widget 2021-04-06 22:59:40 +01:00
Bill Zimmerman
0f333bd261
Merge pull request #19 from RaspAP/zbchristian-mods-openvpn
Allow to configure OpenVPN with a client certificate
2021-04-06 14:22:09 +02:00
billz
d221c76e32 Spacing + remove extraneous div 2021-04-06 12:48:27 +01:00
billz
d3c830d69f Wrap strings w/ php gettext, update en_US locale + compile 2021-04-06 10:34:39 +01:00
billz
594c5dad1c Merge with upstream master 2021-04-05 10:06:44 +01:00
glaszig
6196bcd311 add 'default route' toggle to network interface configuration ui 2021-04-03 00:43:42 +01:00
root
b418212408 div => p 2021-04-02 17:25:45 +01:00
root
f2ec732bf0 add missing card-title class to headings 2021-04-02 17:25:45 +01:00
root
41e27cc546 improving layout, text and styles of wifi client box 2021-04-02 17:25:44 +01:00
billz
8cd71ce864 Merge with upstream repo 2021-03-31 19:56:13 +01:00
billz
8d4cf1c96d Update country_code optionv values 2021-03-31 19:48:34 +01:00
Christian Zeitnitz
20d2443468 Fix panel title for certificate option 2021-03-31 12:48:31 +02:00
Christian Zeitnitz
300f2c2457 Cleanup and fix for udev rules written for clients
Fix device type in client table
2021-03-29 15:16:23 +02:00
Christian Zeitnitz
6eb51a2d63 Add flag for client configuration 2021-03-28 14:44:05 +02:00
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