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

541 Commits

Author SHA1 Message Date
billz
1c6d837a80 Bugfix: handle subnetmask null value 2020-12-03 10:29:11 +00:00
billz
8420bbb0da Read/apply dhcp settings from json 2020-12-01 22:52:15 +00:00
billz
15fb1b714c Minor: cleanup 2020-12-01 22:51:00 +00:00
billz
160c47defe Create network.json + RASPI_CONFIG_NETWORK 2020-12-01 19:48:59 +00:00
billz
66bd5d5927 Added getNetConfig() 2020-12-01 18:38:57 +00:00
billz
5b1325803a Added cidr2mask() 2020-11-30 12:09:56 +00:00
billz
5cc7794cb0 Update fallback static profile, subnet mask 2020-11-30 12:09:22 +00:00
billz
2ff8f6f179 Bugfix: add/update/delete config 2020-11-27 16:28:37 +00:00
billz
5045cbfd33 Fixup dhcp cfg save/update 2020-11-26 17:20:12 +00:00
billz
b63a53e182 Set default dhcp interface on page load 2020-11-21 13:52:20 +00:00
billz
a0a8ff0734 Cleanup: procedural code into functions 2020-11-20 07:35:36 +00:00
billz
eca6c5ae2f Bugfix: set preg_replace limit 2020-11-20 07:32:52 +00:00
billz
3c7eab702c enable log-facility + conf-dir on default iface 2020-11-19 12:35:38 +00:00
billz
fc4c8867f4 Update constant, saf merge dhcp config 2020-11-19 12:34:55 +00:00
billz
70efa660e0 Remove RASPI_DNSMASQ_CONFIG (deprecated) 2020-11-19 12:32:38 +00:00
billz
ebbd6f4399 Refactor, create SaveDHCPConfig() 2020-11-17 11:21:04 +00:00
billz
209d741363 Remove parse DHCP, moved to AJAX handler 2020-11-16 18:21:31 +00:00
billz
daa6b877e6 Enable DHCP option for all interfaces 2020-11-15 10:55:33 +00:00
billz
e54e8b5bc0 Update const RASPI_DNSMASQ_PREFIX 2020-11-15 10:51:09 +00:00
billz
e5f1d4ed0e Safe write dhcpcd.conf, validate static IP, handle revert cfg 2020-11-11 12:40:22 +00:00
billz
6d14cbaee5 Handle dhcp for eth0, udpdate dhcpcd + dnsmasq.conf 2020-11-09 17:48:32 +00:00
billz
a20877c377 Add RASPI_DNSMASQ_ETH0 to default config 2020-11-06 09:04:22 +00:00
billz
2c60b34084 Added RASPI_5GHZ_MAX_CHANNEL to defaults 2020-10-25 08:00:17 +00:00
billz
b095073043 Validate channel w/ RASPI_5GHZ_MAX_CHANNEL, addresses #450 2020-10-25 07:48:41 +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
cbee0996b8 Added Polish language support, thx Patryk Kubiak 2020-10-01 07:54:40 +01:00
billz
31edb21a76 Fix merge error 2020-09-23 09:10:44 +01:00
billz
f8b5f8fdfc Merge branch 'master' into feature/wireguard 2020-09-22 18:23:36 +01:00
Robert Duncan
2108d5b79f
Update dashboard.php 2020-09-22 11:25:24 -04:00
billz
3c5737224e Check for empty strings 2020-09-20 09:42:13 +01:00
billz
9b02fc5b27 Remove debug output 2020-09-20 07:38:21 +01:00
billz
24eb3afc59 Merge branch 'master' into feature/wireguard 2020-09-19 22:51:15 +01:00
billz
3644109cec Validate/handle custom hosts input 2020-09-19 22:26:52 +01:00
billz
5189853c19 Added validate_host() 2020-09-19 22:24:15 +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
zbchristian
46946ecebc
Update to list of default routes
Add the default route entries, which are done via a "scope link" to a network device.
2020-09-03 08:46:57 +02:00
billz
af0721e021 Save wg config, template fixes 2020-08-28 23:42:55 +01:00
billz
34b5b4c1b2 Add validateCidr() 2020-08-28 23:40:46 +01:00
billz
4f7784215d Merge branch 'master' into feature/wireguard 2020-08-27 23:20:32 +01:00
billz
04d8433d1c Update release version 2020-08-27 15:15:54 +01:00
billz
aff035122b Validate, save & display wg config 2020-08-26 23:54:49 +01:00
billz
22651a86b7 Simplify wg config handling 2020-08-25 22:11:57 +01:00
billz
543791f723 WIP: handle input 2020-08-25 22:11:27 +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
b0ebd7bf00 Add validate serverBind, save settings 2020-08-05 18:57:42 +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
3d901ae5f9 Set country_code from iw reg if undefined 2020-07-10 18:28:28 +01:00
billz
b02660d5ff Update release version 2020-07-03 12:43:47 +01:00
billz
ed7ed04475 Create RASPI_BRAND_TEXT 2020-07-01 09:13:38 +01:00
billz
29be22a8d3 Create dashboard functions 2020-06-30 23:35:46 +01:00
billz
2916bd1998 Dynamic theme color support 2020-06-30 16:54:30 +01:00
billz
9fef770143 Create getThemeOpt 2020-06-30 16:53:52 +01:00
billz
3603e099fe Update extraFooterScripts 2020-06-30 16:50:21 +01:00
zbchristian
42032e0df0
Typo corrected 2020-06-29 13:36:38 +02:00
zbchristian
4623060f08
Simplify and cleanup handling of return values of system calls
Handling of return values done in a single line.
Determine only, if access is possible not not (true, false). The actual displayed text has to be determined, when displaying the result of the access check.
2020-06-29 13:12:29 +02:00
billz
36141d1e9c Update defaults w/ new constants 2020-06-28 17:08:29 +01:00
billz
e5f2c218e1 Processed with phpcbf, removed tabs 2020-06-28 16:58:42 +01:00
zbchristian
90e5f50da6
reset input vars to exec before call 2020-06-25 17:18:23 +02:00
zbchristian
dc790b246b
fix failed copy/paste lines 2020-06-25 16:55:25 +02:00
zbchristian
850f52e128
Create internetRoute.php 2020-06-25 15:54:56 +02:00
zbchristian
e6652c025d
Remove check on existing SESSION variable 2020-06-14 18:22:51 +02:00
zbchristian
417e9489bb
disable check on existing session variable 2020-06-14 17:40:50 +02:00
billz
b9ba2946a5 Fix: display AP interface stats 2020-06-10 09:09:10 +01:00
christian Zeitnitz
656ba9234b Fix intial assignment of $_SESSION['ap_interface'] 2020-06-09 20:53:11 +02:00
christian Zeitnitz
f8a094134b Add Session variable "wifi_client_interface" 2020-06-09 20:25:19 +02:00
billz
1a85237d15 Rename var for clarity 2020-06-09 17:01:58 +01:00
billz
9d1659b97b Document getWifiInterface 2020-06-09 15:44:21 +01:00
billz
8ae1e5a8f2 Rename constant for clarity 2020-06-09 15:34:19 +01:00
billz
2ca9bf5b6f Rename ambiguous variable for clarity 2020-06-09 15:32:49 +01:00
billz
e9470aaf7f Get 1st wireless iface, fixes client dashboard widget 2020-06-09 13:09:58 +01:00
zbchristian
633f389f4e
Check for second wifi interface as wifi client 2020-06-09 10:15:21 +02:00
billz
2814ab5d55 Bugfix: typo 2020-06-08 09:16:10 +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
billz
e3c378427b Added getWifiInterface 2020-06-07 17:13:43 +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
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
7cc196f4f5 Update release version 2020-05-27 09:40:44 +01:00
billz
7410b45c05 Return model info for non-Pi devices 2020-05-27 08:31:54 +01:00
Bill Zimmerman
8c6f0bd5fc
Merge pull request #589 from billz/zbchristian/wifi-sorting
Sort and filter available client networks
2020-05-26 09:52:51 +02:00
billz
4b7262a98b Remove 802.11w option from UI 2020-05-26 07:49:04 +01:00
billz
eb6f2c5db7 Fix build error 2020-05-24 08:30:32 +01: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
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
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
7c7b8941cb Update stop/start, status 2020-04-22 10:01:31 +01:00