Commit graph

901 commits

Author SHA1 Message Date
billz
2b543c605f Fix miscellaneous php warnings 2023-10-28 17:00:34 +01:00
billz
94174a3920 Update release version 2023-10-27 12:41:43 +01:00
Bill Zimmerman
ce001aeffa
Merge pull request #1432 from RaspAP/fix/parse-config
Fix: prevent duplicate array values in ParseConfig()
2023-10-27 13:39:07 +02:00
Bill Zimmerman
4f3e00fe56
Merge pull request #1416 from RaspAP/feat/vpn-providers
Custom VPN provider support
2023-10-27 13:38:54 +02:00
billz
6ba718985d Restore insiders navbar item 2023-10-27 08:31:41 +01:00
billz
574113bf28 Update exec mullvad connect w/ location set 2023-10-26 15:29:32 +01:00
billz
bc03b329ca Remove connect delay, strip ANSI sequences from connect output 2023-10-26 09:57:06 +01:00
billz
601f587cb0 Cleanup provider disconnect status msgs 2023-10-25 17:01:26 +01:00
billz
63f2c38f4c Update provider status regex, validate country select 2023-10-25 14:38:49 +01:00
billz
20e3633541 Set defaults, check if binary is executable 2023-10-25 14:08:38 +01:00
billz
b93a12fcf4 Update release version 2023-10-25 14:08:38 +01:00
billz
65578d33eb Create vnstat db entry for AP interface 2023-10-25 14:08:38 +01:00
billz
45dc1142cb Reduce service restart speed + UI tweaks 2023-10-25 14:08:38 +01:00
billz
dc65af9045 Read/set log-dhcp + log-queries in conf 2023-10-25 14:08:38 +01:00
billz
6cad8606c6 Fix: prevent duplicate array value in ParseConfig() 2023-10-25 08:56:19 +01:00
billz
fc75567b0d Update release version 2023-10-23 12:39:35 +01:00
billz
32a6110d3d Create vnstat db entry for AP interface 2023-10-23 10:30:22 +01:00
Bill Zimmerman
3fe3a8db1d
Merge pull request #1429 from RaspAP/feat/hostapd-restart
Reduce hostapd service restart speed + UI tweaks
2023-10-23 10:49:40 +02:00
billz
ee662ada09 Update cmd_overrides + stripArtifacts regex 2023-10-21 19:12:44 +01:00
billz
3e404b0202 Reduce service restart speed + UI tweaks 2023-10-21 15:43:49 +01:00
billz
4973d794a6 Read/set log-dhcp + log-queries in conf 2023-10-21 10:16:36 +01:00
billz
1e6d94585a Parse mullvad relay list output, add getProviderVersion() 2023-10-20 16:43:59 +01:00
billz
e51c6b0968 Minor: label change 2023-10-19 18:18:14 +02:00
billz
9a1457c6c8 Refactor getCountries w/ regexes, add getAccountInfo() 2023-10-19 14:07:26 +02:00
billz
99f8838fe2 Populate country select, get provider log, connect to country 2023-10-18 09:50:57 +02:00
billz
53f4645c2f Implement CLI overrides, get countries + status functions 2023-10-16 10:44:46 +02:00
billz
ac863f5c8a Status message when CLI binary not found, fetch provider countries, status, user account 2023-10-15 21:29:34 +02:00
billz
a09ee1e86b Initial commit 2023-10-13 19:46:44 +02:00
billz
a2394c0742 Update UI, page actions + functions for basic provider support 2023-10-12 19:21:23 +02:00
billz
81875fae10 Update release version 2023-10-09 08:59:20 +02:00
Bill Zimmerman
509af62586
Merge pull request #1411 from RaspAP/fix/wpa-passphrase
Correctly handle 64 hex digit passkey
2023-10-09 08:43:22 +02:00
Bill Zimmerman
c331ef9aaf
Merge pull request #1412 from RaspAP/fix/sys-functions
Ajaxifies system reboot + shutdown
2023-10-09 08:42:34 +02:00
billz
21f703b5a9 Ajaxify system reboot/shutdown 2023-10-08 19:21:43 +02:00
billz
ff3f6ddb90 fwrite priority to wpa network if defined 2023-10-08 11:49:56 +02:00
billz
deac75af89 Fix: handle 64 char passkey in absence of 8-63 char passhprase 2023-10-08 11:46:12 +02:00
billz
2e8d2b1e16 Update adblock logging regex 2023-10-06 14:42:33 +02:00
billz
2270fe4953 Update release version 2023-10-02 10:22:57 +01:00
billz
a4e8beabdf Fix theme select for material variants 2023-09-17 10:38:01 +02:00
billz
33c596189d Apply autoloader support for status messages 2023-09-16 11:46:11 +02:00
billz
c2d740ef44 Implement PSR-4 compliant class autoloader 2023-09-16 10:43:05 +02:00
billz
0116d87445 Create loadFooterScripts(), update page_actions + formatting 2023-09-15 20:02:37 +02:00
billz
8ff2a89cac Update sidebar items, formatting + bump reported php-cgi version 2023-09-14 19:47:37 +02:00
billz
f9d27e3bae Reorg index components into includes 2023-09-14 15:14:02 +02:00
billz
1e5ac9b3fc Apply patch from RaspAP/raspap-insiders#209 2023-09-13 21:26:19 +02:00
billz
7831afa29a Update release version 2023-09-10 10:11:12 +02:00
billz
ceea867c69 Fix php warning + undefined var notice 2023-09-06 12:25:39 +02:00
billz
c64bdb42c8 Fix php notices w/ proper var checks 2023-09-06 09:54:20 +02:00
billz
55c0a49911 Fix php warnings + general code cleanup 2023-09-03 09:47:51 +02:00
Bill Zimmerman
16a413aa9f
Merge pull request #1380 from marek-guran/material-theme
Dynamic Material Theme (Dark/Light)
2023-08-30 01:24:44 -07:00
Marek Guráň
a259a4f868
Small fix (removed forgotten insiders part) 2023-08-30 10:00:15 +02:00
Marek Guráň
877ed4698e
Removed mistakenly added insiders code 2023-08-30 09:54:26 +02:00
Marek Guráň
49634a4e58
Renamed theme to Material 2023-08-29 12:28:08 +02:00
Marek Guráň
3cf88d98b2
Small changes to system.php
Removed dark theme since it will be enabled by switch at top bar
2023-08-28 23:12:04 +02:00
billz
9d0b565155 Revert "Add Insiders to raspi_version"
This reverts commit 563e0216cc.
2023-08-16 03:53:40 +02:00
billz
563e0216cc Add Insiders to raspi_version 2023-08-16 03:50:36 +02:00
Marek Guráň
7b07869d68
Added themes to settings 2023-08-07 12:14:53 +02:00
billz
5cbc70cd6f Add locale support for sk_SK - thx @marek-guran 2023-08-03 18:19:36 +02:00
billz
fd201207b4 Update release version 2023-08-01 06:06:02 +02:00
Bill Zimmerman
41445b191d
Merge pull request #1354 from RaspAP/maint/debian12-distros
Extend support to latest Debian distros (non-RPi OS)
2023-07-31 20:55:11 -07:00
billz
da091b9142 Add system time to System > Basic tab 2023-06-04 15:27:54 +00:00
billz
6b01e6afae Fix php8 uncaught fatal error: Unsupported operand types string * int 2023-06-04 14:19:28 +00:00
billz
5c9e842244 Fix php8 uncaught fatal error: ($value) must be of type Countable 2023-06-03 18:47:53 +00:00
billz
98d392d473 Implements nohook wpa_supplicant flag 2023-05-19 12:18:25 +01:00
billz
c971c5c9bc Installer hotfix + update release version 2023-04-12 21:09:01 +01:00
billz
c5eb4bc068 Update release version 2023-04-11 23:31:00 +01:00
billz
810114613b Update release version 2023-04-11 10:14:22 +02:00
billz
157f29b858 Update sanitize wifi_client_interface var 2023-04-07 12:32:01 +02:00
billz
7adbfe143d Update connect var sanitization 2023-04-06 11:42:11 +02:00
billz
a07be6e3bd Input sanitization for wpa client 2023-04-03 15:20:01 +02:00
eldstal
db6bf4c6b4 Additional type check on sensitive network ID parameter 2023-03-31 22:20:10 +02:00
eldstal
30e35574a1 Input sanitization for wpa client, Fix for #1325 2023-03-30 12:18:38 +02:00
billz
592bce02bf Update release version 2023-03-29 10:16:51 +02:00
billz
7760a1d7cb Update sanitize var method 2023-03-29 09:35:25 +02:00
billz
1e52ff598b Sanitize input with escapeshellarg() 2023-03-29 08:25:18 +02:00
Bill Zimmerman
1532b3e58f
Merge pull request #1317 from RaspAP/maint/system-tab
Move theme UI under System tab
2023-03-25 12:05:28 +01:00
billz
fcdd966619 Update w/ gettext 2023-03-25 08:52:56 +01:00
billz
26bde30e95 Create getSignalBars(), add max/min RSSI constants 2023-03-24 12:01:47 +01:00
billz
39d7151da4 Move theme UI under System tab 2023-03-22 20:39:00 +01:00
billz
7b3a7dba1d Move template logic to includes + code cleanup 2023-03-20 20:14:42 +01:00
billz
24abe9c53c Update wireless mode items 2023-03-20 20:00:28 +01:00
billz
e95f12e91e Add 802.11ac tooltip help text, update messages + compile .mo 2023-03-20 19:14:24 +01:00
billz
d5eb3c510e Update en_US locale w/ new messsages 2023-03-19 16:47:55 +01:00
billz
67bf364b04 Add function getTooltip() 2023-03-19 16:44:18 +01:00
billz
fce63f1c35 Update release version 2023-03-09 11:36:20 +01:00
billz
65c1e58f77 Limit preg_split to 2 parts 2023-02-09 18:27:51 +01:00
billz
3e1fbdf298 Fix for getNetConfig() resolving local server 2023-02-05 13:52:42 +01:00
billz
5a3e464c23 Update release version 2023-01-26 11:21:56 +01:00
billz
60450b5165 Add wext driver wrapper as a fallback, if unknown in nl80211 wrapper 2023-01-25 13:14:10 +01:00
billz
56b15a8eb8 Handle infinite value when constructing cfg 2023-01-17 18:23:50 +01:00
billz
c7ba2e1ec5 Fix handling of infinite lease time. 2023-01-17 18:10:13 +01:00
billz
4c4b3bae53 Update regex for optional src attribute 2023-01-05 22:36:09 +01:00
billz
43c9997f07 Improve handling of wpa_cli output 2022-12-29 06:27:32 +01:00
billz
d76984517c Add RASPI_AUTH_ENABLED flag to config #280 2022-12-12 12:44:20 +01:00
billz
a87d5829f3 Update release version 2022-10-24 09:52:02 +02:00
Megan Howell
78156484bf
Update to not freak out over vlans
https://www.reddit.com/r/RaspAP/comments/w0mm0v/how_to_configure_dhcp_on_vlan_interfaces/
2022-07-16 16:07:39 -07:00
billz
f0ef11bcf5 Update release version 2022-06-24 06:25:11 +01:00
Bill Zimmerman
e6b6e8eafc
Merge pull request #1183 from RaspAP/feature/ubuntu20-armbian22
Extend support to Ubuntu 20.04 / Armbian 22
2022-06-23 18:12:10 +02:00
billz
7f593bfe31 Add timeout to wget to extract public IP, thx @zbchristian 2022-06-22 14:04:53 +01:00
billz
7674feaf61 Add operatingSystem check to bridge option 2022-06-22 11:50:00 +01:00
billz
a4960f89ac Get system->operatingSystem() 2022-06-08 17:29:23 +00:00
billz
affc0396f1 Display os + kernel info on system > basic tab 2022-06-08 17:22:52 +00:00
billz
f0d1fe9b84 Implement routing table raw output 2022-04-21 09:52:09 +01:00
billz
0aad7c8f0e Fix: filter dhcdpcd.log for ad block 2022-03-31 10:47:55 +01:00
billz
4299d4d7cc Update release version 2022-01-25 08:42:09 +00:00
billz
4b6db8bb1b Apply zbchristian/fix-wireguard conf 2022-01-25 08:36:14 +00:00
billz
f549a3735d Update release version 2022-01-05 12:52:18 +00:00
Bill Zimmerman
95d9cbd65d
Update wireguard.php 2022-01-05 13:17:07 +01:00
Bill Zimmerman
21da37712b
Fix: assign iw reg cc value if empty 2022-01-05 11:19:40 +01:00
billz
d10e963845 Merge branch 'master' of https://github.com/RaspAP/raspap-webgui 2022-01-04 20:48:02 +00:00
billz
b44bc01644 Update release version 2022-01-04 20:47:22 +00:00
Bill Zimmerman
793bbfac53
Bugfix: rewrite selected wlan dhcpcd cfg 2022-01-04 19:02:12 +01:00
billz
6905dd36bd Update release version 2022-01-01 22:53:19 +00:00
billz
c06bd30fed Added Romainian language support - thx Drago! 2021-12-31 14:59:55 +00:00
billz
031df3195c Update release version 2021-12-31 13:12:38 +00:00
billz
acb9fb270e Merge branch 'billz/insiders-merge' of https://github.com/RaspAP/raspap-webgui into billz/insiders-merge 2021-12-31 13:10:41 +00:00
billz
0af3e7a7c6 Update wg logging facility 2021-12-31 13:10:27 +00:00
Bill Zimmerman
90470cbaf9
Merge branch 'master' into billz/insiders-merge 2021-12-29 17:04:09 +01:00
billz
0c5ecb549d Update release version - First Insiders Edition 2021-12-29 13:27:34 +00:00
billz
c2665ae528 Resolve merge conflict 2021-12-29 12:41:35 +00:00
billz
2ca5f25dff Merge First Edition of RaspAP/raspap-insiders 2021-12-29 12:35:57 +00:00
billz
730c3c3cc8 Update release version 2021-11-28 09:07:16 +00:00
Bill Zimmerman
d0564ec946
Merge pull request #49 from RaspAP/feature-firewall
Feature: firewall settings
2021-11-26 22:48:14 +01:00
billz
6b777ff8c2 Update release version 2021-11-25 09:02:59 +00:00
billz
4d00bd9e94 Update default getColorOpt() 2021-11-25 08:06:17 +00:00
billz
37bc68c91a Update default getColorOpt() 2021-11-25 08:05:38 +00:00
zbchristian
4408940a3d Improve detection of escaped hex bytes in ssid name 2021-11-24 23:02:07 +00:00
zbchristian
db9f76eb5c only lower case hex sequences in non-ASCII SSID 2021-11-24 22:52:59 +00:00
zbchristian
634eb72760 Convert non ASCII ssid for display to utf8
Convert hex bytes to binary. Assumes utf8 encoding
2021-11-24 22:49:05 +00:00
zbchristian
5cbb785529 Handle non-ASCII SSID
Non-ASCII SSID has to be stored in wpa_supplicant.conf identical to the string given by wpa_cli scan. This includes the escaped special chars (e.g. ö = \xc3\xb9 ), with a prescript "P".
To obtain a valid psk from wpa_passphrase, the UTF8 string is passed (ssid2utf8 replaces the \x bytes by their binary value) to the exec(). For this to work the shell locale has to be UTF8 (via putenv()). Otherwise the string is converted to the shell encoding.
2021-11-24 22:49:05 +00:00
zbchristian
74b6a15a75 Correct non-ASCII SSID read from wpa_supplicant 2021-11-24 22:47:39 +00:00
zbchristian
d8626bd790 Zbchristian fix wifi client connect #53 2021-11-24 19:50:06 +00:00
Bill Zimmerman
b90777b550
Merge pull request #54 from RaspAP/workaround-nonASCII-ssid-names
Fix handling of non ASCII ssid names
2021-11-24 16:59:18 +01:00
Bill Zimmerman
872d76e9c4
Merge pull request #53 from RaspAP/zbchristian-fix-wifi-client-connect
Zbchristian fix wifi client connect
2021-11-24 00:13:00 +01:00
billz
83373cf1c8 Update release version 2021-11-18 16:57:44 +00:00
billz
63ec96dde3 Update release version 2021-11-18 16:39:30 +00:00
billz
f35663f0aa Minor: typo fixes 2021-11-17 21:39:21 +00:00
billz
fc4fe6ea58 Update release version 2021-11-17 18:21:06 +00:00
billz
e75333e29d Define RASPI_DHCPCD_LOG 2021-11-17 18:20:03 +00:00
billz
816f760dad Update release version 2021-11-17 18:07:47 +00:00
billz
f077aedde0 Define RASPI_DHCPCD_LOG. Resolves #1058 2021-11-17 18:06:43 +00:00
billz
8cef08cc81 Update release version 2021-11-15 22:15:16 +00:00
billz
a2e1b4bb68 Update release version 2021-11-15 17:48:09 +00:00
billz
84bd141025 Update release version 2021-11-04 09:50:21 +00:00
billz
921d5a0c5f Update release version 2021-10-13 21:56:33 +01:00
smurphy
6c0b2d8b82 Fix for issue #1016 DHCP serves wrong Subnet Mask after updaiting in the webapp 2021-09-24 12:32:07 -04:00
smurphy
43088d3d1d Fix for issue #1016 DHCP serves wrong Subnet Mask after updaiting in the webapp 2021-09-24 12:31:28 -04:00
zbchristian
45bd02ecb7 Improve detection of escaped hex bytes in ssid name 2021-09-08 14:46:19 +02:00
zbchristian
d07fd0a327 Implement update firewall function
- cleanup firewall.php
- add function updateFirewall
- add standalone script update_firewall.sh to update the firewall rules
2021-09-08 10:59:58 +02:00
billz
a634e0dfaa Merge from upstream master: Pass $upstreamServers to template 2021-09-07 17:05:58 +01:00
billz
c24104008a Pass $upstreamServers to template, resolves #994 thx @SephGER 2021-09-07 17:04:00 +01:00