From 0f0c73de0f98f39557e842a436efb78ef88674a6 Mon Sep 17 00:00:00 2001
From: Bill Zimmerman
Date: Mon, 8 Mar 2021 09:08:59 +0100
Subject: [PATCH 01/50] Update BACKERS.md
---
BACKERS.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/BACKERS.md b/BACKERS.md
index 8ea2c184..fda9b737 100644
--- a/BACKERS.md
+++ b/BACKERS.md
@@ -21,6 +21,7 @@ When backers were asked which feature they'd most like to see added to RaspAP, t
✅ OpenVPN service logging
✅ Night mode toggle
✅ Restrict network to static clients
+✅ WireGuard support
⚙️ Traffic shaping (in progress)
Look for the list above to grow as we add more exclusive features.
@@ -33,6 +34,7 @@ Below is a list of funding targets. When a funding target is reached, the featur
✅ OpenVPN service logging
✅ Night mode toggle
✅ Restrict network to static clients
+✅ WireGuard support
⚙️ Traffic shaping (in progress)
### Frequently asked questions
From c62d99aab9d29cf1b3b7951f8cc34a54a7d65ffd Mon Sep 17 00:00:00 2001
From: billz
Date: Tue, 9 Mar 2021 11:38:40 +0000
Subject: [PATCH 02/50] Adds @zbchristian's token option, fix private repo
handling
---
installers/common.sh | 60 +++++++++++++++++++++++++++++++++++++++---
installers/raspbian.sh | 36 ++++++++++++++++---------
2 files changed, 80 insertions(+), 16 deletions(-)
diff --git a/installers/common.sh b/installers/common.sh
index dba8a0b9..8b532be3 100755
--- a/installers/common.sh
+++ b/installers/common.sh
@@ -28,7 +28,12 @@ readonly raspap_network="$raspap_dir/networking/"
readonly rulesv4="/etc/iptables/rules.v4"
readonly notracking_url="https://raw.githubusercontent.com/notracking/hosts-blocklists/master/"
webroot_dir="/var/www/html"
-git_source_url="https://github.com/$repo" # $repo from install.raspap.com
+
+if [ "$insiders" == 1 ]; then
+ repo="RaspAP/raspap-insiders"
+ branch=${RASPAP_INSIDERS_LATEST}
+fi
+git_source_url="https://github.com/$repo"
# NOTE: all the below functions are overloadable for system-specific installs
function _install_raspap() {
@@ -50,6 +55,7 @@ function _install_raspap() {
_configure_networking
_prompt_install_adblock
_prompt_install_openvpn
+ _prompt_install_wireguard
_patch_system_files
_install_complete
}
@@ -77,7 +83,7 @@ function _config_installation() {
fi
echo "${opt[1]} lighttpd directory: ${webroot_dir}"
if [ "$upgrade" == 1 ]; then
- echo "This will upgrade your existing install to version ${RASPAP_LATEST}"
+ echo "This will upgrade your existing install to version ${RASPAP_RELEASE}"
echo "Your configuration will NOT be changed"
fi
echo -n "Complete ${opt[2]} with these values? [Y/n]: "
@@ -170,6 +176,8 @@ function _create_raspap_directories() {
# Create a directory to store networking configs
echo "Creating $raspap_dir/networking"
sudo mkdir -p "$raspap_dir/networking"
+ echo "Changing file ownership of $raspap_dir"
+ sudo chown -R $raspap_user:$raspap_user "$raspap_dir" || _install_status 1 "Unable to change file ownership for '$raspap_dir'"
}
# Generate hostapd logging and service control scripts
@@ -313,6 +321,49 @@ function _prompt_install_openvpn() {
fi
}
+# Prompt to install WireGuard
+function _prompt_install_wireguard() {
+ if [ "$insiders" == 1 ]; then
+ _install_log "Configure WireGuard support"
+ echo -n "Install WireGuard and enable VPN tunnel configuration? [Y/n]: "
+ if [ "$assume_yes" == 0 ]; then
+ read answer < /dev/tty
+ if [ "$answer" != "${answer#[Nn]}" ]; then
+ echo -e
+ else
+ _install_wireguard
+ fi
+ elif [ "$wg_option" == 1 ]; then
+ _install_wireguard
+ else
+ echo "(Skipped)"
+ fi
+ fi
+}
+
+# Install Wireguard from the Debian unstable distro
+function _install_wireguard() {
+ _install_log "Configure WireGuard support"
+ if [ "$OS" == "Raspbian" ]; then
+ echo "Installing raspberrypi-kernel-headers"
+ sudo apt-get install $apt_option raspberrypi-kernel-headers || _install_status 1 "Unable to install raspberrypi-kernel-headers"
+ fi
+ echo "Installing WireGuard from Debian unstable distro"
+ echo "Adding Debian distro"
+ echo "deb http://deb.debian.org/debian/ unstable main" | sudo tee --append /etc/apt/sources.list.d/unstable.list || _install_status 1 "Unable to append to sources.list"
+ sudo apt-get install dirmngr || _install_status 1 "Unable to install dirmngr"
+ echo "Adding Debian distro keys"
+ sudo wget -q -O - https://ftp-master.debian.org/keys/archive-key-$(lsb_release -sr).asc | sudo apt-key add - || _install_status 1 "Unable to add keys"
+ printf 'Package: *\nPin: release a=unstable\nPin-Priority: 150\n' | sudo tee --append /etc/apt/preferences.d/limit-unstable || _install_status 1 "Unable to append to preferences.d"
+ echo "Installing WireGuard"
+ sudo apt-get update && sudo apt-get install $apt_option wireguard || _install_status 1 "Unable to install wireguard"
+ echo "Enabling wg-quick@wg0"
+ sudo systemctl enable wg-quick@wg0 || _install_status 1 "Failed to enable wg-quick service"
+ echo "Enabling WireGuard management option"
+ sudo sed -i "s/\('RASPI_WIREGUARD_ENABLED', \)false/\1true/g" "$webroot_dir/includes/config.php" || _install_status 1 "Unable to modify config.php"
+ _install_status 0
+}
+
# Install openvpn and enable client configuration option
function _install_openvpn() {
_install_log "Installing OpenVPN and enabling client configuration"
@@ -329,9 +380,10 @@ function _create_openvpn_scripts() {
_install_log "Creating OpenVPN control scripts"
sudo mkdir $raspap_dir/openvpn || _install_status 1 "Unable to create directory '$raspap_dir/openvpn'"
- # Move service auth control shell scripts
+ # Move service auth control & logging shell scripts
sudo cp "$webroot_dir/installers/"configauth.sh "$raspap_dir/openvpn" || _install_status 1 "Unable to move auth control script"
- # Make configauth.sh writable by www-data group
+ sudo cp "$webroot_dir/installers/"openvpnlog.sh "$raspap_dir/openvpn" || _install_status 1 "Unable to move logging script"
+ # Make scripts executable by www-data group
sudo chown -c root:"$raspap_user" "$raspap_dir/openvpn/"*.sh || _install_status 1 "Unable change owner and/or group"
sudo chmod 750 "$raspap_dir/openvpn/"*.sh || _install_status 1 "Unable to change file permissions"
_install_status 0
diff --git a/installers/raspbian.sh b/installers/raspbian.sh
index 469fff7f..fed9b619 100755
--- a/installers/raspbian.sh
+++ b/installers/raspbian.sh
@@ -17,6 +17,7 @@
# -a, --adblock Used with -y, --yes, sets Adblock install option (0=no install)
# -r, --repo, --repository Overrides the default GitHub repo (raspap/raspap-webgui)
# -b, --branch Overrides the default git branch (master)
+# -t, --token Token to access a private repository
# -u, --upgrade Upgrades an existing installation to the latest release version
# -i, --insiders Installs from the Insiders Edition (raspap/raspap-insiders)
# -v, --version Outputs release info and exits
@@ -36,8 +37,7 @@ set -eo pipefail
function _main() {
# set defaults
- repo="raspap/raspap-webgui" # override with -r, --repo option
-
+ repo="RaspAP/raspap-webgui" # override with -r, --repo option
_parse_params "$@"
_setup_colors
_log_output
@@ -50,6 +50,8 @@ function _parse_params() {
upgrade=0
ovpn_option=1
adblock_option=1
+ insiders=0
+ acctoken=""
while :; do
case "${1-}" in
@@ -83,7 +85,10 @@ function _parse_params() {
upgrade=1
;;
-i|--insiders)
- repo="raspap/raspap-insiders"
+ insiders=1
+ ;;
+ -t|--token)
+ acctoken="$2"
;;
-v|--version)
_version
@@ -129,6 +134,7 @@ OPTIONS:
-a, --adblock Used with -y, --yes, sets Adblock install option (0=no install)
-r, --repo, --repository Overrides the default GitHub repo (raspap/raspap-webgui)
-b, --branch Overrides the default git branch (latest release)
+-t, --token Token to access a private repository
-u, --upgrade Upgrades an existing installation to the latest release version
-i, --insiders Installs from the Insiders Edition (raspap/raspap-insiders)
-v, --version Outputs release info and exits
@@ -153,7 +159,7 @@ EOF
function _version() {
_get_release
- echo -e "RaspAP v${RASPAP_LATEST} - Simple wireless AP setup & management for Debian-based devices"
+ echo -e "RaspAP v${RASPAP_RELEASE} - Simple wireless AP setup & management for Debian-based devices"
exit
}
@@ -167,18 +173,19 @@ function _display_welcome() {
echo -e " 88 88 88. .88 88 88. .88 88 88 88"
echo -e " dP dP 88888P8 88888P 88Y888P 88 88 dP"
echo -e " 88"
- echo -e " dP version ${RASPAP_LATEST}"
+ echo -e " dP version ${RASPAP_RELEASE}"
echo -e "${ANSI_GREEN}"
echo -e "The Quick Installer will guide you through a few easy steps${ANSI_RESET}\n\n"
}
-# Fetch latest release from GitHub API
+# Fetch latest release from GitHub or RaspAP Installer API
function _get_release() {
- if [ "$repo" == "raspap/raspap-insiders" ]; then
- readonly RASPAP_LATEST="Insiders"
- branch="master"
+ readonly RASPAP_LATEST=$(curl -s "https://api.github.com/repos/$repo/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")' )
+ if [ "$insiders" == 1 ]; then
+ RASPAP_INSIDERS_LATEST=$(curl -s "https://install.raspap.com/repos/RaspAP/raspap-insiders/releases/latest/" | grep -Po '"tag_name": "\K.*?(?=")' )
+ RASPAP_RELEASE="${RASPAP_INSIDERS_LATEST} Insiders"
else
- readonly RASPAP_LATEST=$(curl -s "https://api.github.com/repos/$repo/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")' )
+ RASPAP_RELEASE="${RASPAP_LATEST}"
fi
}
@@ -214,6 +221,7 @@ function _update_system_packages() {
# Fetch required installer functions
function _load_installer() {
+
# fetch latest release tag
_get_release
@@ -223,14 +231,18 @@ function _load_installer() {
fi
UPDATE_URL="https://raw.githubusercontent.com/$repo/$branch/"
+ header=()
+ if [[ ! -z "$acctoken" ]]; then
+ header=(--header "Authorization: token $acctoken")
+ fi
if [ "${install_cert:-}" = 1 ]; then
source="mkcert"
- wget -q ${UPDATE_URL}installers/${source}.sh -O /tmp/raspap_${source}.sh
+ wget "${header[@]}" -q ${UPDATE_URL}installers/${source}.sh -O /tmp/raspap_${source}.sh
source /tmp/raspap_${source}.sh && rm -f /tmp/raspap_${source}.sh
_install_certificate || _install_status 1 "Unable to install certificate"
else
source="common"
- wget -q ${UPDATE_URL}installers/${source}.sh -O /tmp/raspap_${source}.sh
+ wget "${header[@]}" -q ${UPDATE_URL}installers/${source}.sh -O /tmp/raspap_${source}.sh
source /tmp/raspap_${source}.sh && rm -f /tmp/raspap_${source}.sh
_install_raspap || _install_status 1 "Unable to install RaspAP"
fi
From 45965c4ae0d5954eeca0a6dee6c1ee7fe27a9404 Mon Sep 17 00:00:00 2001
From: billz
Date: Tue, 9 Mar 2021 11:43:22 +0000
Subject: [PATCH 03/50] Add openvpnlog.sh
---
installers/openvpnlog.sh | 3 +++
1 file changed, 3 insertions(+)
create mode 100755 installers/openvpnlog.sh
diff --git a/installers/openvpnlog.sh b/installers/openvpnlog.sh
new file mode 100755
index 00000000..96e79e2d
--- /dev/null
+++ b/installers/openvpnlog.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+touch /tmp/openvpn.log
+grep -m 100 openvpn /var/log/syslog | sudo tee /tmp/openvpn.log
From 13997d57a98122a8abcc83400b6c8d4fb4b276f1 Mon Sep 17 00:00:00 2001
From: billz
Date: Tue, 9 Mar 2021 12:12:11 +0000
Subject: [PATCH 04/50] Minor: cleanup + comments
---
installers/raspbian.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/installers/raspbian.sh b/installers/raspbian.sh
index fed9b619..ab1dabf9 100755
--- a/installers/raspbian.sh
+++ b/installers/raspbian.sh
@@ -221,7 +221,6 @@ function _update_system_packages() {
# Fetch required installer functions
function _load_installer() {
-
# fetch latest release tag
_get_release
@@ -230,11 +229,13 @@ function _load_installer() {
branch=$RASPAP_LATEST
fi
- UPDATE_URL="https://raw.githubusercontent.com/$repo/$branch/"
+ # add optional auth token header if defined with -t, --token option
header=()
if [[ ! -z "$acctoken" ]]; then
header=(--header "Authorization: token $acctoken")
fi
+
+ UPDATE_URL="https://raw.githubusercontent.com/$repo/$branch/"
if [ "${install_cert:-}" = 1 ]; then
source="mkcert"
wget "${header[@]}" -q ${UPDATE_URL}installers/${source}.sh -O /tmp/raspap_${source}.sh
From 113ffa2d800163c16fd1106342d1af21651d82a1 Mon Sep 17 00:00:00 2001
From: billz
Date: Tue, 9 Mar 2021 12:21:34 +0000
Subject: [PATCH 05/50] Minor: comments + whitespace
---
installers/raspbian.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/installers/raspbian.sh b/installers/raspbian.sh
index ab1dabf9..f0e2eb4a 100755
--- a/installers/raspbian.sh
+++ b/installers/raspbian.sh
@@ -17,7 +17,7 @@
# -a, --adblock Used with -y, --yes, sets Adblock install option (0=no install)
# -r, --repo, --repository Overrides the default GitHub repo (raspap/raspap-webgui)
# -b, --branch Overrides the default git branch (master)
-# -t, --token Token to access a private repository
+# -t, --token Specify a GitHub token to access a private repository
# -u, --upgrade Upgrades an existing installation to the latest release version
# -i, --insiders Installs from the Insiders Edition (raspap/raspap-insiders)
# -v, --version Outputs release info and exits
@@ -134,7 +134,7 @@ OPTIONS:
-a, --adblock Used with -y, --yes, sets Adblock install option (0=no install)
-r, --repo, --repository Overrides the default GitHub repo (raspap/raspap-webgui)
-b, --branch Overrides the default git branch (latest release)
--t, --token Token to access a private repository
+-t, --token Specify a GitHub token to access a private repository
-u, --upgrade Upgrades an existing installation to the latest release version
-i, --insiders Installs from the Insiders Edition (raspap/raspap-insiders)
-v, --version Outputs release info and exits
@@ -243,7 +243,7 @@ function _load_installer() {
_install_certificate || _install_status 1 "Unable to install certificate"
else
source="common"
- wget "${header[@]}" -q ${UPDATE_URL}installers/${source}.sh -O /tmp/raspap_${source}.sh
+ wget "${header[@]}" -q ${UPDATE_URL}installers/${source}.sh -O /tmp/raspap_${source}.sh
source /tmp/raspap_${source}.sh && rm -f /tmp/raspap_${source}.sh
_install_raspap || _install_status 1 "Unable to install RaspAP"
fi
From dd46f6d4832d1c161fcdda50633fbd6216bc35bb Mon Sep 17 00:00:00 2001
From: billz
Date: Tue, 9 Mar 2021 13:26:30 +0000
Subject: [PATCH 06/50] Update release version
---
README.md | 2 +-
includes/defaults.php | 2 +-
index.php | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 4ceebd7a..7386f445 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
![](https://i.imgur.com/xeKD93p.png)
-[![Release 2.6.2](https://img.shields.io/badge/release-v2.6.2-green)](https://github.com/raspap/raspap-webgui/releases) [![Awesome](https://awesome.re/badge.svg)](https://github.com/thibmaek/awesome-raspberry-pi) [![Financial Contributors on Open Collective](https://opencollective.com/raspap/all/badge.svg?label=financial+contributors)](https://opencollective.com/raspap) ![https://travis-ci.com/github/raspap/raspap-webgui/](https://api.travis-ci.org/RaspAP/raspap-webgui.svg) [![Crowdin](https://badges.crowdin.net/raspap/localized.svg)](https://crowdin.com/project/raspap) [![Twitter URL](https://img.shields.io/twitter/url?label=%40RaspAP&logoColor=%23d8224c&url=https%3A%2F%2Ftwitter.com%2Frasp_ap)](https://twitter.com/rasp_ap) [![Subreddit subscribers](https://img.shields.io/reddit/subreddit-subscribers/RaspAP?style=social)](https://www.reddit.com/r/RaspAP/)
+[![Release 2.6.3](https://img.shields.io/badge/release-v2.6.3-green)](https://github.com/raspap/raspap-webgui/releases) [![Awesome](https://awesome.re/badge.svg)](https://github.com/thibmaek/awesome-raspberry-pi) [![Financial Contributors on Open Collective](https://opencollective.com/raspap/all/badge.svg?label=financial+contributors)](https://opencollective.com/raspap) ![https://travis-ci.com/github/raspap/raspap-webgui/](https://api.travis-ci.org/RaspAP/raspap-webgui.svg) [![Crowdin](https://badges.crowdin.net/raspap/localized.svg)](https://crowdin.com/project/raspap) [![Twitter URL](https://img.shields.io/twitter/url?label=%40RaspAP&logoColor=%23d8224c&url=https%3A%2F%2Ftwitter.com%2Frasp_ap)](https://twitter.com/rasp_ap) [![Subreddit subscribers](https://img.shields.io/reddit/subreddit-subscribers/RaspAP?style=social)](https://www.reddit.com/r/RaspAP/)
RaspAP lets you quickly get a wireless access point up and running to share the connectivity of many popular [Debian-based devices](#supported-operating-systems), including the Raspberry Pi. Our popular [Quick installer](#quick-installer) creates a known-good default configuration that "just works" on all current Raspberry Pis with onboard wireless. A responsive interface gives you control over the relevant services and networking options. Advanced DHCP settings, OpenVPN client support, SSL, security audits, themes and multilingual options are included.
diff --git a/includes/defaults.php b/includes/defaults.php
index dfdb7ccb..81803f14 100755
--- a/includes/defaults.php
+++ b/includes/defaults.php
@@ -6,7 +6,7 @@ if (!defined('RASPI_CONFIG')) {
$defaults = [
'RASPI_BRAND_TEXT' => 'RaspAP',
- 'RASPI_VERSION' => '2.6.2',
+ 'RASPI_VERSION' => '2.6.3',
'RASPI_CONFIG_NETWORK' => RASPI_CONFIG.'/networking/defaults.json',
'RASPI_ADMIN_DETAILS' => RASPI_CONFIG.'/raspap.auth',
'RASPI_WIFI_AP_INTERFACE' => 'wlan0',
diff --git a/index.php b/index.php
index b69f89b9..3b7a78dd 100755
--- a/index.php
+++ b/index.php
@@ -14,7 +14,7 @@
* @author Lawrence Yau
* @author Bill Zimmerman
* @license GNU General Public License, version 3 (GPL-3.0)
- * @version 2.6.2
+ * @version 2.6.3
* @link https://github.com/raspap/raspap-webgui/
* @link https://raspap.com/
* @see http://sirlagz.net/2013/02/08/raspap-webgui/
From 860a5d21d8c77aae358c0382fc045926dd9d038a Mon Sep 17 00:00:00 2001
From: Bill Zimmerman
Date: Tue, 9 Mar 2021 23:27:24 +0100
Subject: [PATCH 07/50] Update README.md
---
README.md | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 7386f445..8ae3d81d 100644
--- a/README.md
+++ b/README.md
@@ -16,6 +16,7 @@ We hope you enjoy using RaspAP as much as we do creating it. Tell us how you use
- [Prerequisites](#prerequisites)
- [Quick installer](#quick-installer)
+ - [WireGuard support](#wireguard-support)
- [Ad Blocking](#ad-blocking)
- [Bridged AP](#bridged-ap)
- [Simultaneous AP and Wifi client](#simultaneous-ap-and-wifi-client)
@@ -65,6 +66,16 @@ configured as an access point as follows:
Please [read this](https://docs.raspap.com/issues/) before reporting an issue.
+## WireGuard support
+
+![](https://i.imgur.com/5YDv37e.png)
+
+WireGuard® is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be considerably more performant than OpenVPN, and is generally regarded as the most secure, easiest to use, and simplest VPN solution for modern Linux distributions.
+
+WireGuard may be optionally installed by the [Quick Installer](https://docs.raspap.com/quick/). Once this is done, you can manage local (server) settings, create a peer configuration and control the `wg-quick` service with RaspAP.
+
+Details are [provided here](https://docs.raspap.com/wireguard/).
+
## Ad Blocking
This feature uses DNS blacklisting to block requests for ads, trackers and other undesirable hosts. To enable ad blocking, simply respond to the prompt during the installation. As a beta release, we encourage testing and feedback from users of RaspAP.
@@ -73,8 +84,6 @@ Details are [provided here](https://docs.raspap.com/adblock/).
## Bridged AP
By default RaspAP configures a routed AP for your clients to connect to. A bridged AP configuration is also possible. Slide the **Bridged AP mode** toggle under the **Advanced** tab of **Configure hotspot**, then save and restart the hotspot.
-![](https://i.imgur.com/J5VKSay.png)
-
**Note:** In bridged mode, all routing capabilities are handled by your upstream router. Because your router assigns IP addresses to your device's hotspot and its clients, you might not be able to reach the RaspAP web interface from the default `10.3.141.1` address. Instead use your RPi's hostname followed by `.local` to access the RaspAP web interface. With Raspbian default settings, this should look like `raspberrypi.local`. Alternate methods are [discussed here](https://www.raspberrypi.org/documentation/remote-access/ip-address.md).
More information on Bridged AP mode is provided [in our documentation](https://docs.raspap.com/bridged/).
@@ -85,7 +94,7 @@ RaspAP lets you create an AP with a Wifi client configuration, often called [AP-
**Note:** This option is disabled until you configure your system as a wireless client. For a device operating in [managed mode](https://docs.raspap.com/faq/#headless) without an `eth0` connection, this configuration must be enabled [_before_ a reboot](https://docs.raspap.com/ap-sta/).
## Support us
-RaspAP is free software, but powered by your support. If you find RaspAP useful for your personal or commercial projects, [become a GitHub sponsor](https://github.com/sponsors/RaspAP/) and get access to exclusive features in the [Insiders Edition](https://github.com/sponsors/RaspAP/).
+RaspAP is free software, but powered by _your_ support. If you find RaspAP useful for your personal or commercial projects, [become an Insider](https://github.com/sponsors/RaspAP/) and get early access to exclusive features in the [Insiders Edition](https://docs.raspap.com/insiders/).
## Manual installation
Detailed manual setup instructions are provided [on our documentation site](https://docs.raspap.com/manual/).
@@ -155,7 +164,7 @@ Development of RaspAP is made possible thanks to a sponsorware release model. Th
[![](https://i.imgur.com/azMTmuP.png)](https://github.com/sponsors/RaspAP/)
-Learn more about [how sponsorship works](https://github.com/sponsors/RaspAP), and how easy it is to get access to Insiders.
+Learn more about [how sponsorship works](https://docs.raspap.com/insiders/#how-sponsorship-works), and how easy it is to get access to Insiders.
## License
See the [LICENSE](./LICENSE) file.
From f905434b0b6494c41dbd2e46cebe3f2699554b64 Mon Sep 17 00:00:00 2001
From: billz
Date: Wed, 10 Mar 2021 06:27:29 +0000
Subject: [PATCH 08/50] Minor: comments + get_release()
---
installers/common.sh | 5 +++--
installers/raspbian.sh | 20 ++++++++++----------
2 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/installers/common.sh b/installers/common.sh
index 8b532be3..986822d3 100755
--- a/installers/common.sh
+++ b/installers/common.sh
@@ -640,9 +640,10 @@ function _optimize_php() {
function _install_complete() {
_install_log "Installation completed"
- echo "Join RaspAP Insiders for access to exclusive features:"
+ echo "Join RaspAP Insiders for early access to exclusive features!"
echo -e "${ANSI_RASPBERRY}"
- echo "> https://github.com/sponsors/RaspAP"
+ echo "> https://docs.raspap.com/insiders/"
+ echo "> https://github.com/sponsors/RaspAP/"
echo -e "${ANSI_RESET}"
if [ "$assume_yes" == 0 ]; then
# Prompt to reboot if wired ethernet (eth0) is connected.
diff --git a/installers/raspbian.sh b/installers/raspbian.sh
index f0e2eb4a..031f6d56 100755
--- a/installers/raspbian.sh
+++ b/installers/raspbian.sh
@@ -15,11 +15,11 @@
# -c, --cert, --certficate Installs mkcert and generates an SSL certificate for lighttpd
# -o, --openvpn Used with -y, --yes, sets OpenVPN install option (0=no install)
# -a, --adblock Used with -y, --yes, sets Adblock install option (0=no install)
-# -r, --repo, --repository Overrides the default GitHub repo (raspap/raspap-webgui)
+# -r, --repo, --repository Overrides the default GitHub repo (RaspAP/raspap-webgui)
# -b, --branch Overrides the default git branch (master)
# -t, --token Specify a GitHub token to access a private repository
# -u, --upgrade Upgrades an existing installation to the latest release version
-# -i, --insiders Installs from the Insiders Edition (raspap/raspap-insiders)
+# -i, --insiders Installs from the Insiders Edition (RaspAP/raspap-insiders)
# -v, --version Outputs release info and exits
# -h, --help Outputs usage notes and exits
#
@@ -45,7 +45,7 @@ function _main() {
}
function _parse_params() {
- # default flag values
+ # default option values
assume_yes=0
upgrade=0
ovpn_option=1
@@ -132,11 +132,11 @@ OPTIONS:
-c, --cert, --certificate Installs an SSL certificate for lighttpd
-o, --openvpn Used with -y, --yes, sets OpenVPN install option (0=no install)
-a, --adblock Used with -y, --yes, sets Adblock install option (0=no install)
--r, --repo, --repository Overrides the default GitHub repo (raspap/raspap-webgui)
+-r, --repo, --repository Overrides the default GitHub repo (RaspAP/raspap-webgui)
-b, --branch Overrides the default git branch (latest release)
-t, --token Specify a GitHub token to access a private repository
-u, --upgrade Upgrades an existing installation to the latest release version
--i, --insiders Installs from the Insiders Edition (raspap/raspap-insiders)
+-i, --insiders Installs from the Insiders Edition (RaspAP/raspap-insiders)
-v, --version Outputs release info and exits
-h, --help Outputs usage notes and exits
@@ -173,19 +173,19 @@ function _display_welcome() {
echo -e " 88 88 88. .88 88 88. .88 88 88 88"
echo -e " dP dP 88888P8 88888P 88Y888P 88 88 dP"
echo -e " 88"
- echo -e " dP version ${RASPAP_RELEASE}"
+ echo -e " dP version ${RASPAP_RELEASE}"
echo -e "${ANSI_GREEN}"
echo -e "The Quick Installer will guide you through a few easy steps${ANSI_RESET}\n\n"
}
# Fetch latest release from GitHub or RaspAP Installer API
function _get_release() {
- readonly RASPAP_LATEST=$(curl -s "https://api.github.com/repos/$repo/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")' )
if [ "$insiders" == 1 ]; then
- RASPAP_INSIDERS_LATEST=$(curl -s "https://install.raspap.com/repos/RaspAP/raspap-insiders/releases/latest/" | grep -Po '"tag_name": "\K.*?(?=")' )
- RASPAP_RELEASE="${RASPAP_INSIDERS_LATEST} Insiders"
+ readonly RASPAP_INSIDERS_LATEST=$(curl -s "https://install.raspap.com/repos/RaspAP/raspap-insiders/releases/latest/" | grep -Po '"tag_name": "\K.*?(?=")' )
+ readonly RASPAP_RELEASE="${RASPAP_INSIDERS_LATEST} Insiders"
else
- RASPAP_RELEASE="${RASPAP_LATEST}"
+ readonly RASPAP_LATEST=$(curl -s "https://api.github.com/repos/$repo/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")' )
+ readonly RASPAP_RELEASE="${RASPAP_LATEST}"
fi
}
From 4777da48e6f19e4e60fa21dd01345422b302004d Mon Sep 17 00:00:00 2001
From: billz
Date: Wed, 10 Mar 2021 06:29:11 +0000
Subject: [PATCH 09/50] Update get_release()
---
installers/raspbian.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/installers/raspbian.sh b/installers/raspbian.sh
index 031f6d56..e61be385 100755
--- a/installers/raspbian.sh
+++ b/installers/raspbian.sh
@@ -181,11 +181,11 @@ function _display_welcome() {
# Fetch latest release from GitHub or RaspAP Installer API
function _get_release() {
if [ "$insiders" == 1 ]; then
- readonly RASPAP_INSIDERS_LATEST=$(curl -s "https://install.raspap.com/repos/RaspAP/raspap-insiders/releases/latest/" | grep -Po '"tag_name": "\K.*?(?=")' )
- readonly RASPAP_RELEASE="${RASPAP_INSIDERS_LATEST} Insiders"
+ RASPAP_INSIDERS_LATEST=$(curl -s "https://install.raspap.com/repos/RaspAP/raspap-insiders/releases/latest/" | grep -Po '"tag_name": "\K.*?(?=")' )
+ RASPAP_RELEASE="${RASPAP_INSIDERS_LATEST} Insiders"
else
- readonly RASPAP_LATEST=$(curl -s "https://api.github.com/repos/$repo/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")' )
- readonly RASPAP_RELEASE="${RASPAP_LATEST}"
+ RASPAP_LATEST=$(curl -s "https://api.github.com/repos/$repo/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")' )
+ RASPAP_RELEASE="${RASPAP_LATEST}"
fi
}
From b6e308351fa0e19e869dd540e6823f83ed38d22a Mon Sep 17 00:00:00 2001
From: billz
Date: Wed, 10 Mar 2021 06:37:12 +0000
Subject: [PATCH 10/50] Update get_release()
---
installers/raspbian.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/installers/raspbian.sh b/installers/raspbian.sh
index e61be385..63a43a11 100755
--- a/installers/raspbian.sh
+++ b/installers/raspbian.sh
@@ -180,11 +180,11 @@ function _display_welcome() {
# Fetch latest release from GitHub or RaspAP Installer API
function _get_release() {
+ RASPAP_LATEST=$(curl -s "https://api.github.com/repos/$repo/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")' )
if [ "$insiders" == 1 ]; then
RASPAP_INSIDERS_LATEST=$(curl -s "https://install.raspap.com/repos/RaspAP/raspap-insiders/releases/latest/" | grep -Po '"tag_name": "\K.*?(?=")' )
RASPAP_RELEASE="${RASPAP_INSIDERS_LATEST} Insiders"
else
- RASPAP_LATEST=$(curl -s "https://api.github.com/repos/$repo/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")' )
RASPAP_RELEASE="${RASPAP_LATEST}"
fi
}
From 18bcc3032a683d0a34c6257412fc212c261872aa Mon Sep 17 00:00:00 2001
From: Bill Zimmerman
Date: Thu, 11 Mar 2021 11:32:48 +0100
Subject: [PATCH 11/50] Update README.md
---
README.md | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/README.md b/README.md
index 8ae3d81d..b912008c 100644
--- a/README.md
+++ b/README.md
@@ -17,6 +17,7 @@ We hope you enjoy using RaspAP as much as we do creating it. Tell us how you use
- [Prerequisites](#prerequisites)
- [Quick installer](#quick-installer)
- [WireGuard support](#wireguard-support)
+ - [OpenVPN support](#openvpn-support)
- [Ad Blocking](#ad-blocking)
- [Bridged AP](#bridged-ap)
- [Simultaneous AP and Wifi client](#simultaneous-ap-and-wifi-client)
@@ -26,7 +27,6 @@ We hope you enjoy using RaspAP as much as we do creating it. Tell us how you use
- [Supported operating systems](#supported-operating-systems)
- [Multilingual support](#multilingual-support)
- [HTTPS support](#https-support)
- - [OpenVPN support](#openvpn-support)
- [How to contribute](#how-to-contribute)
- [Reporting issues](#reporting-issues)
- [License](#license)
@@ -76,6 +76,14 @@ WireGuard may be optionally installed by the [Quick Installer](https://docs.rasp
Details are [provided here](https://docs.raspap.com/wireguard/).
+## OpenVPN support
+OpenVPN may be optionally installed by the Quick Installer. Once this is done, you can [manage client configurations](https://docs.raspap.com/openvpn/) and the `openvpn-client` service with RaspAP.
+
+To configure an OpenVPN client, upload a valid .ovpn file and, optionally, specify your login credentials. RaspAP will store your client configuration and add firewall rules to forward traffic from OpenVPN's `tun0` interface to your configured wireless interface.
+
+See our [OpenVPN documentation](https://docs.raspap.com/openvpn/) for more information.
+
+
## Ad Blocking
This feature uses DNS blacklisting to block requests for ads, trackers and other undesirable hosts. To enable ad blocking, simply respond to the prompt during the installation. As a beta release, we encourage testing and feedback from users of RaspAP.
@@ -134,13 +142,6 @@ curl -sL https://install.raspap.com | bash -s -- --cert
More information on SSL certificates and HTTPS support is available [in our documentation](https://docs.raspap.com/ssl-quick/).
-## OpenVPN support
-OpenVPN may be optionally installed by the Quick Installer. Once this is done, you can manage client configuration and the `openvpn-client` service with RaspAP.
-
-To configure an OpenVPN client, upload a valid .ovpn file and, optionally, specify your login credentials. RaspAP will store your client configuration and add firewall rules to forward traffic from OpenVPN's `tun0` interface to your configured wireless interface.
-
-**Note**: this feature is currently in beta. Please [read this](https://docs.raspap.com/faq/#openvpn-fails) before reporting an issue.
-
## How to contribute
1. Fork the project in your account and create a new branch: `your-great-feature`.
2. Open an issue in the repository describing the feature contribution you'd like to make.
From 3e5ac1e2672cc8f78637abf69377b0b26ce68875 Mon Sep 17 00:00:00 2001
From: Bill Zimmerman
Date: Thu, 11 Mar 2021 13:00:59 +0100
Subject: [PATCH 12/50] Update README.md
---
README.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/README.md b/README.md
index b912008c..f08be583 100644
--- a/README.md
+++ b/README.md
@@ -77,6 +77,9 @@ WireGuard may be optionally installed by the [Quick Installer](https://docs.rasp
Details are [provided here](https://docs.raspap.com/wireguard/).
## OpenVPN support
+
+![](https://i.imgur.com/ta7tCon.png)
+
OpenVPN may be optionally installed by the Quick Installer. Once this is done, you can [manage client configurations](https://docs.raspap.com/openvpn/) and the `openvpn-client` service with RaspAP.
To configure an OpenVPN client, upload a valid .ovpn file and, optionally, specify your login credentials. RaspAP will store your client configuration and add firewall rules to forward traffic from OpenVPN's `tun0` interface to your configured wireless interface.
From 3a3f577a996cf32021556bc1e203274878de93a8 Mon Sep 17 00:00:00 2001
From: billz
Date: Sun, 14 Mar 2021 17:03:11 +0000
Subject: [PATCH 13/50] Fix for -t,--token option
---
installers/raspbian.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/installers/raspbian.sh b/installers/raspbian.sh
index 63a43a11..e76adbe0 100755
--- a/installers/raspbian.sh
+++ b/installers/raspbian.sh
@@ -89,6 +89,7 @@ function _parse_params() {
;;
-t|--token)
acctoken="$2"
+ shift
;;
-v|--version)
_version
From af1fab30ed367cfa6eefd20f88226bb88f8f7524 Mon Sep 17 00:00:00 2001
From: Bill Zimmerman
Date: Mon, 15 Mar 2021 16:48:51 +0100
Subject: [PATCH 14/50] Update issue templates
---
.github/ISSUE_TEMPLATE/bug_report.md | 66 +++++++++++++++-------------
1 file changed, 36 insertions(+), 30 deletions(-)
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index a2fbbfc2..b76d8f30 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -7,43 +7,49 @@ assignees: ''
---
-**Before submitting an issue**
+
+
+
-**Your environment**
-* Raspberry Pi hardware (examples: Pi 3 Model B+, Pi Zero W)
-* Raspbian version (examples: RPi OS Lite, Armbian)
-* RaspAP version (reported by the Quick Installer)
-* Followed the project prerequisites? (Y/N)
-* Checked the project FAQ? (Y/N)
-* RaspAP Quick Install or Manual setup?
-* Using default configuration? (Y/N)
-* Simultaneous AP and managed mode? (Y/N)
-* Onboard wireless chipset or external adapter?
-* Other software or services running with RaspAP?
+## Checklist
+
+- [ ] This is a bug report
+- [ ] I have searched this repository for existing issues and pull requests
+- [ ] I checked the FAQ and official documentation before creating this issue
+- [ ] I have read and understand the issue reporting guidelines
-**Steps to reproduce**
-Tell us how to reproduce this issue. Provide as much detailed information as possible.
+## Bug description
+
-**Expected behavior**
-A clear and concise description of what you expected to happen.
+## Your environment
+1. Operating System: **ENTER HERE**
+2. Hardware and version:
+3. RaspAP version (reported by the Quick Installer or About page):
+4. Followed the project prerequisites?
+5. RaspAP Quick Install or Manual setup?
+6. Using default configuration?
+7. Simultaneous AP and managed mode?
+8. Onboard wireless chipset or external adapter?
+9. Other software or services running with RaspAP?
-**Actual behavior**
-Tell us what you observed instead.
+## Steps to Reproduce
+
-**Screenshots**
-If applicable, add screenshots to help explain your problem.
+## Screenshots
+
-**Additional context**
-Add any other context about the problem here.
+## Additional context
+
From 04376dd3a1483c3ca7a728089296045e3b03b647 Mon Sep 17 00:00:00 2001
From: Bill Zimmerman
Date: Mon, 15 Mar 2021 16:52:30 +0100
Subject: [PATCH 15/50] Update bug_report.md
---
.github/ISSUE_TEMPLATE/bug_report.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index b76d8f30..9379209c 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -20,14 +20,14 @@ https://docs.raspap.com/faq/
Do you have a question or want to suggest a new feature? Start a Discussion here:
https://github.com/RaspAP/raspap-docker/discussions
-Be sure that there are no issues similar to yours already open. You can check this by searching the issues this repository. If there is a duplicate issue, please close this one and add a comment to the existing issue instead.
+Be sure there are no issues similar to yours that are already open. You can check this by searching the issues in this repository. If there is a duplicate issue, please close this one and add a comment to the existing issue instead.
-->
## Checklist
- [ ] This is a bug report
-- [ ] I have searched this repository for existing issues and pull requests
+- [ ] I have searched this repository for existing issues
- [ ] I checked the FAQ and official documentation before creating this issue
- [ ] I have read and understand the issue reporting guidelines
From b467e5b324b58d6ac8ce1ea7e8861d9c085e930b Mon Sep 17 00:00:00 2001
From: Bill Zimmerman
Date: Mon, 15 Mar 2021 16:55:14 +0100
Subject: [PATCH 16/50] Update bug_report.md
---
.github/ISSUE_TEMPLATE/bug_report.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index 9379209c..6c8e00f2 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -18,7 +18,7 @@ Refer to the frequently asked questions (FAQ) and official documentation here:
https://docs.raspap.com/faq/
Do you have a question or want to suggest a new feature? Start a Discussion here:
-https://github.com/RaspAP/raspap-docker/discussions
+https://github.com/RaspAP/raspap-webgui/discussions
Be sure there are no issues similar to yours that are already open. You can check this by searching the issues in this repository. If there is a duplicate issue, please close this one and add a comment to the existing issue instead.
-->
@@ -37,7 +37,7 @@ Be sure there are no issues similar to yours that are already open. You can chec
## Your environment
1. Operating System: **ENTER HERE**
2. Hardware and version:
-3. RaspAP version (reported by the Quick Installer or About page):
+3. RaspAP version:
4. Followed the project prerequisites?
5. RaspAP Quick Install or Manual setup?
6. Using default configuration?
@@ -45,7 +45,7 @@ Be sure there are no issues similar to yours that are already open. You can chec
8. Onboard wireless chipset or external adapter?
9. Other software or services running with RaspAP?
-## Steps to Reproduce
+## Steps to reproduce
## Screenshots
From 728a875eed3c55e815a60e3a2ece6c56fe588db9 Mon Sep 17 00:00:00 2001
From: Bill Zimmerman
Date: Thu, 18 Mar 2021 14:50:34 +0100
Subject: [PATCH 17/50] Delete CNAME
---
CNAME | 1 -
1 file changed, 1 deletion(-)
delete mode 100644 CNAME
diff --git a/CNAME b/CNAME
deleted file mode 100644
index 0949dd03..00000000
--- a/CNAME
+++ /dev/null
@@ -1 +0,0 @@
-raspap.com
\ No newline at end of file
From bac9eaaeae3940aa6eae42d9208caf4125fc2347 Mon Sep 17 00:00:00 2001
From: Bill Zimmerman
Date: Sat, 20 Mar 2021 10:31:05 +0100
Subject: [PATCH 18/50] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index f08be583..89004fb8 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-![](https://i.imgur.com/xeKD93p.png)
+![](https://i.imgur.com/uhBFoOB.png)
[![Release 2.6.3](https://img.shields.io/badge/release-v2.6.3-green)](https://github.com/raspap/raspap-webgui/releases) [![Awesome](https://awesome.re/badge.svg)](https://github.com/thibmaek/awesome-raspberry-pi) [![Financial Contributors on Open Collective](https://opencollective.com/raspap/all/badge.svg?label=financial+contributors)](https://opencollective.com/raspap) ![https://travis-ci.com/github/raspap/raspap-webgui/](https://api.travis-ci.org/RaspAP/raspap-webgui.svg) [![Crowdin](https://badges.crowdin.net/raspap/localized.svg)](https://crowdin.com/project/raspap) [![Twitter URL](https://img.shields.io/twitter/url?label=%40RaspAP&logoColor=%23d8224c&url=https%3A%2F%2Ftwitter.com%2Frasp_ap)](https://twitter.com/rasp_ap) [![Subreddit subscribers](https://img.shields.io/reddit/subreddit-subscribers/RaspAP?style=social)](https://www.reddit.com/r/RaspAP/)
RaspAP lets you quickly get a wireless access point up and running to share the connectivity of many popular [Debian-based devices](#supported-operating-systems), including the Raspberry Pi. Our popular [Quick installer](#quick-installer) creates a known-good default configuration that "just works" on all current Raspberry Pis with onboard wireless. A responsive interface gives you control over the relevant services and networking options. Advanced DHCP settings, OpenVPN client support, SSL, security audits, themes and multilingual options are included.
From fbe1688b2aed4c9968a12e56c34801bbb4ec08bb Mon Sep 17 00:00:00 2001
From: Bill Zimmerman
Date: Sat, 20 Mar 2021 10:33:51 +0100
Subject: [PATCH 19/50] Update README.md
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 89004fb8..b7e79b3a 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-![](https://i.imgur.com/uhBFoOB.png)
+![](https://i.imgur.com/xeKD93p.png)
[![Release 2.6.3](https://img.shields.io/badge/release-v2.6.3-green)](https://github.com/raspap/raspap-webgui/releases) [![Awesome](https://awesome.re/badge.svg)](https://github.com/thibmaek/awesome-raspberry-pi) [![Financial Contributors on Open Collective](https://opencollective.com/raspap/all/badge.svg?label=financial+contributors)](https://opencollective.com/raspap) ![https://travis-ci.com/github/raspap/raspap-webgui/](https://api.travis-ci.org/RaspAP/raspap-webgui.svg) [![Crowdin](https://badges.crowdin.net/raspap/localized.svg)](https://crowdin.com/project/raspap) [![Twitter URL](https://img.shields.io/twitter/url?label=%40RaspAP&logoColor=%23d8224c&url=https%3A%2F%2Ftwitter.com%2Frasp_ap)](https://twitter.com/rasp_ap) [![Subreddit subscribers](https://img.shields.io/reddit/subreddit-subscribers/RaspAP?style=social)](https://www.reddit.com/r/RaspAP/)
RaspAP lets you quickly get a wireless access point up and running to share the connectivity of many popular [Debian-based devices](#supported-operating-systems), including the Raspberry Pi. Our popular [Quick installer](#quick-installer) creates a known-good default configuration that "just works" on all current Raspberry Pis with onboard wireless. A responsive interface gives you control over the relevant services and networking options. Advanced DHCP settings, OpenVPN client support, SSL, security audits, themes and multilingual options are included.
@@ -7,7 +7,7 @@ RaspAP has been featured on sites such as [Instructables](http://www.instructabl
We hope you enjoy using RaspAP as much as we do creating it. Tell us how you use this with [your own projects](https://github.com/raspap/raspap-awesome).
-![](https://i.imgur.com/ikWvsMG.gif)
+![](https://i.imgur.com/uhBFoOB.png)
![](https://i.imgur.com/EiIpdOS.gif)
![](https://i.imgur.com/eCjUS1H.gif)
![](https://i.imgur.com/5FT2BcS.gif)
From 9d00d503137544b5568215903db7270fda5634c1 Mon Sep 17 00:00:00 2001
From: billz
Date: Sat, 20 Mar 2021 14:57:20 +0000
Subject: [PATCH 20/50] Update it_IT locale, thx Ioma Taani
---
locale/it_IT/LC_MESSAGES/messages.mo | Bin 18771 -> 23425 bytes
locale/it_IT/LC_MESSAGES/messages.po | 136 ++++++++++++++++++++++++++-
2 files changed, 134 insertions(+), 2 deletions(-)
diff --git a/locale/it_IT/LC_MESSAGES/messages.mo b/locale/it_IT/LC_MESSAGES/messages.mo
index b5846ff2943291add9219750e361d479886eea0c..b894df8cefc28249c15f80a7f87b6f693a892c6b 100644
GIT binary patch
delta 9693
zcmbuE2YemHwTJh*%S|rWmTb#jTP|{uEZZ35g0XDN1sCK>HD-0Sme#(ySH4BE9Ly!A
zhL*rW0;cx>p(@}PFwJyAOK7GO+T+ne=p-b(@4q|O5|HG*-+S}(x!;+Y-I+7zoS9j{
zGiOJBx-*h}tzV~eElO#`vWCJF@+|8t^bh-~)w0S9Evp1hhH-c}>eeM4ZZ^h
z!H?lm*k!O~9Sm1N4Rr_5iF|5Ir=
zn+Ed6dI*k&Z$P=O%Lv>E^Wk_{0_CYyP_EwyW%xG88mtGP-h0c`KZG{*9wS4KOoR&U
zY$%Vd9hnVR>eA4QhRtv?%t9+-S+~Fp>aE2HEE#24hrpNN3^)~Q*TXnG6g~+n;Mg%C
zkA`yn`B0v?3@S9YKzaWDEQ&0D7Ru$HL0R}6)Jg}9wJf}5l|enX9Cm>XP%clyPViW$
z=Z`n-J52pbC{Nu9<(Vg;4PSs=VfJej4X917n01AUaS>GVlo(Ef*ksLxGRQOhnc=li
zo_o~P{|4D%){t?b;rm0PVXcKSd<$g0thF6Qu{aMZ*{*?F$u1~YJp<*scVK_`1?&d%
zNC@Vz`awl&Cd`9JLG{-|jk6hQoKs+TxC3e-SHYgz|Bs`{(idTO_ytsKtO?;dN*E{96q!=c_!oAxY}XHSE2_1RDc?SOjj7TA;dtz9TOfF6ai{B5WgK7zrD
zp*)kvrWJ?5z!0dUoeO)yYN&;*gZ#5v_|Z65Lrr`mR4zOSwVn6CtSos2MM?CZP%Hfq
zYNBsp57@Uf>@R{ca3r+h1gHU*LalT?)OZ`94BQOm$>X35ISY1%=bQdZO7Xv5ypaa2
z^fsvaqo)2eltFJBes0=3m4yZsK;=LY>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6QqaF8^&IEhA!Rab;E7=!)X<%Ch3B=@r?&p)*U0eWQviCzh6#
zO$j7lnHuD_&OYP@_Zs8Q>oqyhy!Uv=t?D!1ozS;c;GVw0j(a#~cpxJ;%W?NzHQdeZ
z_o*9~wF(BP>a|g9@BL}s0ZyS^x*feOn6IfV~-~>J#GR1LAhK&v!8rCl;
zFk(bA$E_%u5NI>9$Z_u&^++IjbdKY`cJ)N}^)dPG$g!&fq2qFc+~=>E6+5NeS6W$G
XGIREn>E)%SxT2!8vWk(L%9-XbNJp@Y
diff --git a/locale/it_IT/LC_MESSAGES/messages.po b/locale/it_IT/LC_MESSAGES/messages.po
index 328f5ea7..63163cf1 100644
--- a/locale/it_IT/LC_MESSAGES/messages.po
+++ b/locale/it_IT/LC_MESSAGES/messages.po
@@ -3,8 +3,8 @@ msgstr ""
"Project-Id-Version: raspap\n"
"Report-Msgid-Bugs-To: Bill Zimmerman \n"
"POT-Creation-Date: 2017-10-19 08:56+0000\n"
-"PO-Revision-Date: 2021-01-21 10:40\n"
-"Last-Translator: Luca Sasdelli\n"
+"PO-Revision-Date: 2021-03-20 14:38\n"
+"Last-Translator: Ioma Taani (iomataani)\n"
"Language-Team: Italian\n"
"Language: it_IT\n"
"MIME-Version: 1.0\n"
@@ -361,6 +361,24 @@ msgstr "Registra le richieste DHCP"
msgid "Log DNS queries"
msgstr "Registra query DNS"
+msgid "Restrict access"
+msgstr "Limita l'accesso"
+
+msgid "Limit network access to static clients"
+msgstr "Limita l'accesso di rete ai client statici"
+
+msgid "Enable this option if you want RaspAP to ignore any clients which are not specified in the static leases list."
+msgstr "Abilita questa opzione se vuoi che RaspAP ignori qualsiasi client non sono specificato nell'elenco dei lease statici."
+
+msgid "This option adds dhcp-ignore to the dnsmasq configuration."
+msgstr "Questa opzione aggiunge dhcp-ignore alla configurazione di dnsmasq."
+
+msgid "Clients with a particular hardware MAC address can always be allocated the same IP address."
+msgstr "I client con un particolare indirizzo MAC possono essere assegnati sempre allo stesso indirizzo IP."
+
+msgid "This option adds dhcp-host entries to the dnsmasq configuration."
+msgstr "Questa opzione aggiunge dhcp-host alla configurazione dnsmasq."
+
#: includes/hostapd.php
msgid "Basic"
msgstr "Base"
@@ -676,6 +694,36 @@ msgstr "Tentativo di avviare openvpn in corso"
msgid "Attempting to stop openvpn"
msgstr "Tentativo di arrestare openvpn in corso"
+msgid "Configurations"
+msgstr "Configurazioni"
+
+msgid "Currently available OpenVPN client configurations are displayed below."
+msgstr "Le configurazioni client OpenVPN attualmente disponibili sono visualizzate di seguito."
+
+msgid "Activating a configuraton will restart the openvpn-client service."
+msgstr "Attivando la configurazione si riavvierà il servizio openvpn-client."
+
+msgid "Delete OpenVPN client"
+msgstr "Elimina client OpenVPN"
+
+msgid "Delete client configuration? This cannot be undone."
+msgstr "Eliminare la configurazione del client? Questa operazione non può essere annullata."
+
+msgid "Activate OpenVPN client"
+msgstr "Attiva client OpenVPN"
+
+msgid "Activate client configuration? This will restart the openvpn-client service."
+msgstr "Attivare la configurazione del client? Questo riavvierà il servizio openvpn-client."
+
+msgid "Activate"
+msgstr "Attiva"
+
+msgid "Cancel"
+msgstr "Annulla"
+
+msgid "Enable this option to log openvpn activity."
+msgstr "Abilita questa opzione per registrare l'attività di openvpn."
+
#: includes/torproxy.php
msgid "TOR is not running"
msgstr "TOR non è in esecuzione"
@@ -799,3 +847,87 @@ msgstr "Host personalizzato non valido trovato sulla riga "
msgid "Invalid custom host found on line "
msgstr "Host personalizzato non valido trovato sulla riga "
+msgid "Tunnel settings"
+msgstr "Impostazioni del tunnel"
+
+msgid "Enable server"
+msgstr "Abilita il server"
+
+msgid "Enable this option to encrypt traffic by creating a tunnel between RaspAP and configured peers."
+msgstr "Abilita questa opzione per cifrare il traffico creando un tunnel tra RaspAP e peer configurati."
+
+msgid "This option adds wg0.conf to the WireGuard configuration."
+msgstr "Questa opzione aggiunge wg0.conf alla configurazione di WireGuard."
+
+msgid "Local public key"
+msgstr "Chiave pubblica locale"
+
+msgid "Local Port"
+msgstr "Porta locale"
+
+msgid "IP Address"
+msgstr "Indirizzo IP"
+
+msgid "DNS"
+msgstr "DNS"
+
+msgid "Peer"
+msgstr "Peer"
+
+msgid "Enable peer"
+msgstr "Abilita peer"
+
+msgid "Enable this option to encrypt traffic by creating a tunnel between RaspAP and this peer."
+msgstr "Abilita questa opzione per cifrare il traffico creando un tunnel tra RaspAP e questo peer."
+
+msgid "This option adds client.conf to the WireGuard configuration."
+msgstr "Questa opzione aggiunge client.conf alla configurazione di WireGuard."
+
+msgid "Peer public key"
+msgstr "Chiave pubblica del peer"
+
+msgid "Endpoint address"
+msgstr "Indirizzo di endpoint"
+
+msgid "Allowed IPs"
+msgstr "IP consentiti"
+
+msgid "Persistent keepalive"
+msgstr "Keepalive permanente"
+
+msgid "Display WireGuard status"
+msgstr "Mostra lo stato di WireGuard"
+
+msgid "Enable this option to display an updated WireGuard status."
+msgstr "Abilita questa opzione per visualizzare lo stato aggiornato di WireGuard."
+
+msgid "Scan this QR code with your client to connect to this tunnel"
+msgstr "Scansiona questo codice QR con il tuo client per connetterti a questo tunnel"
+
+msgid "or download the client.conf file to your device."
+msgstr "o scarica il file client.conf sul tuo dispositivo."
+
+msgid "Download"
+msgstr "Scarica"
+
+msgid "Start WireGuard"
+msgstr "Avvia WireGuard"
+
+msgid "Stop WireGuard"
+msgstr "Ferma WireGuard"
+
+msgid "Information provided by wireguard"
+msgstr "Informazioni fornite da wireguard"
+
+msgid "Attempting to start WireGuard"
+msgstr "Tentativo di avviare WireGuard in corso"
+
+msgid "Attempting to stop WireGuard"
+msgstr "Tentativo di arrestare WireGuard in corso"
+
+msgid "WireGuard configuration updated successfully"
+msgstr "Configurazione WireGuard aggiornata con successo"
+
+msgid "WireGuard configuration failed to be updated"
+msgstr "Impossibile aggiornare la configurazione di WireGuard"
+
From b2b19cd1595115f4d0c1daef56024f42fdbcf839 Mon Sep 17 00:00:00 2001
From: billz
Date: Sun, 21 Mar 2021 17:32:37 +0000
Subject: [PATCH 21/50] Update w/ api.raspap.com
---
installers/raspbian.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/installers/raspbian.sh b/installers/raspbian.sh
index f340b638..67a77c96 100755
--- a/installers/raspbian.sh
+++ b/installers/raspbian.sh
@@ -183,7 +183,7 @@ function _display_welcome() {
function _get_release() {
readonly RASPAP_LATEST=$(curl -s "https://api.github.com/repos/$repo/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")' )
if [ "$insiders" == 1 ]; then
- readonly RASPAP_INSIDERS_LATEST=$(curl -s "https://install.raspap.com/repos/RaspAP/raspap-insiders/releases/latest/" | grep -Po '"tag_name": "\K.*?(?=")' )
+ readonly RASPAP_INSIDERS_LATEST=$(curl -s "https://api.raspap.com/repos/RaspAP/raspap-insiders/releases/latest/" | grep -Po '"tag_name": "\K.*?(?=")' )
readonly RASPAP_RELEASE="${RASPAP_INSIDERS_LATEST} Insiders"
else
readonly RASPAP_RELEASE="${RASPAP_LATEST}"
From 0c056b3833036030982f64562b1a92815895203a Mon Sep 17 00:00:00 2001
From: billz
Date: Sun, 21 Mar 2021 17:32:51 +0000
Subject: [PATCH 22/50] Update w/ api.raspap.com
---
installers/raspbian.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/installers/raspbian.sh b/installers/raspbian.sh
index e76adbe0..2750ff13 100755
--- a/installers/raspbian.sh
+++ b/installers/raspbian.sh
@@ -183,7 +183,7 @@ function _display_welcome() {
function _get_release() {
RASPAP_LATEST=$(curl -s "https://api.github.com/repos/$repo/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")' )
if [ "$insiders" == 1 ]; then
- RASPAP_INSIDERS_LATEST=$(curl -s "https://install.raspap.com/repos/RaspAP/raspap-insiders/releases/latest/" | grep -Po '"tag_name": "\K.*?(?=")' )
+ RASPAP_INSIDERS_LATEST=$(curl -s "https://api.raspap.com/repos/RaspAP/raspap-insiders/releases/latest/" | grep -Po '"tag_name": "\K.*?(?=")' )
RASPAP_RELEASE="${RASPAP_INSIDERS_LATEST} Insiders"
else
RASPAP_RELEASE="${RASPAP_LATEST}"
From 720e6c3e77bf552164dcaac914dc821c0dcb8818 Mon Sep 17 00:00:00 2001
From: Christian Zeitnitz
Date: Sat, 27 Mar 2021 10:29:09 +0100
Subject: [PATCH 23/50] Add certificate option to openvpn GUI add JS code to
display options and selected ovpn file
---
app/js/custom.js | 16 +++++++
includes/openvpn.php | 2 +-
templates/openvpn/configs.php | 6 +--
templates/openvpn/general.php | 83 ++++++++++++++++++++++++-----------
4 files changed, 77 insertions(+), 30 deletions(-)
diff --git a/app/js/custom.js b/app/js/custom.js
index d5047558..cd142a89 100644
--- a/app/js/custom.js
+++ b/app/js/custom.js
@@ -281,6 +281,22 @@ $('#ovpn-confirm-activate').on('shown.bs.modal', function (e) {
$('.btn-activate', this).data('recordId', data.recordId);
});
+$('#ovpn-userpw,#ovpn-certs').on('click', function (e) {
+// e.stopPropagation();
+ if (this.id == 'ovpn-userpw') {
+ $('#PanelCerts').hide();
+ $('#PanelUserPW').show();
+ } else if (this.id == 'ovpn-certs') {
+ $('#PanelUserPW').hide();
+ $('#PanelCerts').show();
+ }
+});
+
+// Add the following code if you want the name of the file appear on select
+$(".custom-file-input").on("change", function() {
+ var fileName = $(this).val().split("\\").pop();
+ $(this).siblings(".custom-file-label").addClass("selected").html(fileName);
+});
/*
Sets the wirelss channel select options based on hw_mode and country_code.
diff --git a/includes/openvpn.php b/includes/openvpn.php
index 810746a2..c5b00d1c 100755
--- a/includes/openvpn.php
+++ b/includes/openvpn.php
@@ -53,7 +53,7 @@ function DisplayOpenVPNConfig()
$authUser = current($auth);
$authPassword = next($auth);
}
- $clients = preg_grep('~\login.(conf)$~', scandir(pathinfo(RASPI_OPENVPN_CLIENT_LOGIN, PATHINFO_DIRNAME)));
+ $clients = preg_grep('/client.(conf)$/', scandir(pathinfo(RASPI_OPENVPN_CLIENT_CONFIG, PATHINFO_DIRNAME)));
$logEnable = 0;
if (!empty($_POST) && !isset($_POST['log-openvpn'])) {
diff --git a/templates/openvpn/configs.php b/templates/openvpn/configs.php
index 6f8056fd..dc624c63 100644
--- a/templates/openvpn/configs.php
+++ b/templates/openvpn/configs.php
@@ -8,11 +8,11 @@
From fc83727408d9948c244954edea1fe9d04f17eb45 Mon Sep 17 00:00:00 2001
From: Christian Zeitnitz
Date: Wed, 31 Mar 2021 12:54:43 +0200
Subject: [PATCH 29/50] Use client.conf to get path and name of configuration
---
ajax/openvpn/activate_ovpncfg.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ajax/openvpn/activate_ovpncfg.php b/ajax/openvpn/activate_ovpncfg.php
index b8f822c2..2a8542a9 100644
--- a/ajax/openvpn/activate_ovpncfg.php
+++ b/ajax/openvpn/activate_ovpncfg.php
@@ -5,11 +5,11 @@ require_once '../../includes/functions.php';
if (isset($_POST['cfg_id'])) {
$ovpncfg_id = $_POST['cfg_id'];
- $ovpncfg_path = pathinfo(RASPI_OPENVPN_CLIENT_LOGIN, PATHINFO_DIRNAME).'/';
+ $ovpncfg_path = pathinfo(RASPI_OPENVPN_CLIENT_CONFIG, PATHINFO_DIRNAME).'/';
$ovpncfg_files = $ovpncfg_path .$ovpncfg_id.'_*.conf';
// move currently active profile
- $meta = file_get_meta(RASPI_OPENVPN_CLIENT_LOGIN,'#\sfilename\s(.*)');
+ $meta = file_get_meta(RASPI_OPENVPN_CLIENT_CONFIG,'#\sfilename\s(.*)');
$ovpncfg_client = $ovpncfg_path .$meta.'_client.conf';
$ovpncfg_login = $ovpncfg_path .$meta.'_login.conf';
exec("sudo mv ".RASPI_OPENVPN_CLIENT_CONFIG." $ovpncfg_client", $return);
From 8d4cf1c96d9085c5b3af335cc636ec323c83e168 Mon Sep 17 00:00:00 2001
From: billz
Date: Wed, 31 Mar 2021 19:48:34 +0100
Subject: [PATCH 30/50] Update country_code optionv values
---
templates/hostapd/advanced.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/templates/hostapd/advanced.php b/templates/hostapd/advanced.php
index d0559cfe..f7c9ee93 100644
--- a/templates/hostapd/advanced.php
+++ b/templates/hostapd/advanced.php
@@ -233,7 +233,7 @@
-
+
@@ -281,7 +281,7 @@
-
+
From b08373a72fc2e6a01f4aae5bb5232acd01d9117d Mon Sep 17 00:00:00 2001
From: Bill Zimmerman
Date: Thu, 1 Apr 2021 06:56:59 +0200
Subject: [PATCH 31/50] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index b7e79b3a..b16ae839 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
![](https://i.imgur.com/xeKD93p.png)
-[![Release 2.6.3](https://img.shields.io/badge/release-v2.6.3-green)](https://github.com/raspap/raspap-webgui/releases) [![Awesome](https://awesome.re/badge.svg)](https://github.com/thibmaek/awesome-raspberry-pi) [![Financial Contributors on Open Collective](https://opencollective.com/raspap/all/badge.svg?label=financial+contributors)](https://opencollective.com/raspap) ![https://travis-ci.com/github/raspap/raspap-webgui/](https://api.travis-ci.org/RaspAP/raspap-webgui.svg) [![Crowdin](https://badges.crowdin.net/raspap/localized.svg)](https://crowdin.com/project/raspap) [![Twitter URL](https://img.shields.io/twitter/url?label=%40RaspAP&logoColor=%23d8224c&url=https%3A%2F%2Ftwitter.com%2Frasp_ap)](https://twitter.com/rasp_ap) [![Subreddit subscribers](https://img.shields.io/reddit/subreddit-subscribers/RaspAP?style=social)](https://www.reddit.com/r/RaspAP/)
+[![Release 2.6.3](https://img.shields.io/badge/release-v2.6.3-green)](https://github.com/raspap/raspap-webgui/releases) [![Awesome](https://awesome.re/badge.svg)](https://github.com/thibmaek/awesome-raspberry-pi) [![Get Insiders](https://img.shields.io/static/v1?label=Get%20Insiders&message=%E2%9D%A4&logo=GitHub&color=ff69b4)](https://github.com/sponsors/RaspAP) ![https://travis-ci.com/github/raspap/raspap-webgui/](https://api.travis-ci.org/RaspAP/raspap-webgui.svg) [![Crowdin](https://badges.crowdin.net/raspap/localized.svg)](https://crowdin.com/project/raspap) [![Twitter URL](https://img.shields.io/twitter/url?label=%40RaspAP&logoColor=%23d8224c&url=https%3A%2F%2Ftwitter.com%2Frasp_ap)](https://twitter.com/rasp_ap) [![Subreddit subscribers](https://img.shields.io/reddit/subreddit-subscribers/RaspAP?style=social)](https://www.reddit.com/r/RaspAP/)
RaspAP lets you quickly get a wireless access point up and running to share the connectivity of many popular [Debian-based devices](#supported-operating-systems), including the Raspberry Pi. Our popular [Quick installer](#quick-installer) creates a known-good default configuration that "just works" on all current Raspberry Pis with onboard wireless. A responsive interface gives you control over the relevant services and networking options. Advanced DHCP settings, OpenVPN client support, SSL, security audits, themes and multilingual options are included.
From 12d52dfd3ca14d7b01727aea829fc5cc5db1558b Mon Sep 17 00:00:00 2001
From: Bill Zimmerman
Date: Thu, 1 Apr 2021 06:58:36 +0200
Subject: [PATCH 32/50] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index df67af3e..9ff0fe56 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
![](https://i.imgur.com/TCJKWT4.png)
-[![Release 2.7.2](https://img.shields.io/badge/release-v2.7.2-green)](https://github.com/raspap/raspap-insiders/releases) [![Awesome](https://awesome.re/badge.svg)](https://github.com/thibmaek/awesome-raspberry-pi) [![Financial Contributors on Open Collective](https://opencollective.com/raspap/all/badge.svg?label=financial+contributors)](https://opencollective.com/raspap) ![https://travis-ci.com/github/raspap/raspap-webgui/](https://api.travis-ci.org/RaspAP/raspap-webgui.svg) [![Crowdin](https://badges.crowdin.net/raspap/localized.svg)](https://crowdin.com/project/raspap) [![Twitter URL](https://img.shields.io/twitter/url?label=%40RaspAP&logoColor=%23d8224c&url=https%3A%2F%2Ftwitter.com%2Frasp_ap)](https://twitter.com/rasp_ap) [![Subreddit subscribers](https://img.shields.io/reddit/subreddit-subscribers/RaspAP?style=social)](https://www.reddit.com/r/RaspAP/)
+[![Release 2.7.2](https://img.shields.io/badge/release-v2.7.2-green)](https://github.com/raspap/raspap-insiders/releases) [![Awesome](https://awesome.re/badge.svg)](https://github.com/thibmaek/awesome-raspberry-pi) [![Insiders Edition](https://img.shields.io/static/v1?label=Insiders%20Edition&message=%E2%9D%A4&logo=GitHub&color=ff69b4)](https://github.com/sponsors/RaspAP) ![https://travis-ci.com/github/raspap/raspap-webgui/](https://api.travis-ci.org/RaspAP/raspap-webgui.svg) [![Crowdin](https://badges.crowdin.net/raspap/localized.svg)](https://crowdin.com/project/raspap) [![Twitter URL](https://img.shields.io/twitter/url?label=%40RaspAP&logoColor=%23d8224c&url=https%3A%2F%2Ftwitter.com%2Frasp_ap)](https://twitter.com/rasp_ap) [![Subreddit subscribers](https://img.shields.io/reddit/subreddit-subscribers/RaspAP?style=social)](https://www.reddit.com/r/RaspAP/)
Welcome to **RaspAP Insiders**. You, the members of the Insiders community, support the sponsorware release model, which means that new features are first exclusively released to sponsors as part of Insiders. Read on for details about how this strategy works—and *thank you* for joining us on this journey.
From 98bd74372f00815c9ddc3aa7b45173425bc4764e Mon Sep 17 00:00:00 2001
From: Bill Zimmerman
Date: Thu, 1 Apr 2021 12:07:16 +0200
Subject: [PATCH 33/50] Update README.md
---
README.md | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index b16ae839..e6672109 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
![](https://i.imgur.com/xeKD93p.png)
-[![Release 2.6.3](https://img.shields.io/badge/release-v2.6.3-green)](https://github.com/raspap/raspap-webgui/releases) [![Awesome](https://awesome.re/badge.svg)](https://github.com/thibmaek/awesome-raspberry-pi) [![Get Insiders](https://img.shields.io/static/v1?label=Get%20Insiders&message=%E2%9D%A4&logo=GitHub&color=ff69b4)](https://github.com/sponsors/RaspAP) ![https://travis-ci.com/github/raspap/raspap-webgui/](https://api.travis-ci.org/RaspAP/raspap-webgui.svg) [![Crowdin](https://badges.crowdin.net/raspap/localized.svg)](https://crowdin.com/project/raspap) [![Twitter URL](https://img.shields.io/twitter/url?label=%40RaspAP&logoColor=%23d8224c&url=https%3A%2F%2Ftwitter.com%2Frasp_ap)](https://twitter.com/rasp_ap) [![Subreddit subscribers](https://img.shields.io/reddit/subreddit-subscribers/RaspAP?style=social)](https://www.reddit.com/r/RaspAP/)
+[![Release 2.6.3](https://img.shields.io/badge/release-v2.6.3-green)](https://github.com/raspap/raspap-webgui/releases) [![Awesome](https://awesome.re/badge.svg)](https://github.com/thibmaek/awesome-raspberry-pi) [![Join Insiders](https://img.shields.io/static/v1?label=Join%20Insiders&message=%E2%9D%A4&logo=GitHub&color=ff69b4)](https://github.com/sponsors/RaspAP) ![https://travis-ci.com/github/raspap/raspap-webgui/](https://api.travis-ci.org/RaspAP/raspap-webgui.svg) [![Crowdin](https://badges.crowdin.net/raspap/localized.svg)](https://crowdin.com/project/raspap) [![Twitter URL](https://img.shields.io/twitter/url?label=%40RaspAP&logoColor=%23d8224c&url=https%3A%2F%2Ftwitter.com%2Frasp_ap)](https://twitter.com/rasp_ap) [![Subreddit subscribers](https://img.shields.io/reddit/subreddit-subscribers/RaspAP?style=social)](https://www.reddit.com/r/RaspAP/)
-RaspAP lets you quickly get a wireless access point up and running to share the connectivity of many popular [Debian-based devices](#supported-operating-systems), including the Raspberry Pi. Our popular [Quick installer](#quick-installer) creates a known-good default configuration that "just works" on all current Raspberry Pis with onboard wireless. A responsive interface gives you control over the relevant services and networking options. Advanced DHCP settings, OpenVPN client support, SSL, security audits, themes and multilingual options are included.
+RaspAP is feature-rich wireless router software that _just works_ on many popular [Debian-based devices](#supported-operating-systems), including the Raspberry Pi. Our popular [Quick installer](#quick-installer) creates a known-good default configuration for all current Raspberry Pis with onboard wireless. A fully responsive, mobile-ready interface gives you control over the relevant services and networking options. Advanced DHCP settings, WireGuard and OpenVPN support, [SSL certificates](https://docs.raspap.com/ssl-quick/), security audits, [captive portal integration](https://docs.raspap.com/captive/), themes and [multilingual options](https://docs.raspap.com/translations/) are included.
RaspAP has been featured on sites such as [Instructables](http://www.instructables.com/id/Raspberry-Pi-As-Completely-Wireless-Router/), [Adafruit](https://blog.adafruit.com/2016/06/24/raspap-wifi-configuration-portal-piday-raspberrypi-raspberry_pi/), [Raspberry Pi Weekly](https://www.raspberrypi.org/weekly/commander/) and [Awesome Raspberry Pi](https://project-awesome.org/thibmaek/awesome-raspberry-pi) and implemented in countless projects.
@@ -16,12 +16,12 @@ We hope you enjoy using RaspAP as much as we do creating it. Tell us how you use
- [Prerequisites](#prerequisites)
- [Quick installer](#quick-installer)
+ - [Join Insiders](#join-insiders)
- [WireGuard support](#wireguard-support)
- [OpenVPN support](#openvpn-support)
- [Ad Blocking](#ad-blocking)
- [Bridged AP](#bridged-ap)
- [Simultaneous AP and Wifi client](#simultaneous-ap-and-wifi-client)
- - [Support us](#support-us)
- [Manual installation](#manual-installation)
- [802.11ac 5GHz support](#80211ac-5ghz-support)
- [Supported operating systems](#supported-operating-systems)
@@ -58,7 +58,7 @@ configured as an access point as follows:
* IP address: 10.3.141.1
* Username: admin
* Password: secret
-* DHCP range: 10.3.141.50 to 10.3.141.255
+* DHCP range: 10.3.141.50 — 10.3.141.255
* SSID: `raspi-webgui`
* Password: ChangeMe
@@ -66,6 +66,11 @@ configured as an access point as follows:
Please [read this](https://docs.raspap.com/issues/) before reporting an issue.
+## Join Insiders
+RaspAP is free software, but powered by _your_ support. If you find RaspAP useful for your personal or commercial projects, [become an Insider](https://github.com/sponsors/RaspAP/) and get early access to exclusive features in the [Insiders Edition](https://docs.raspap.com/insiders/).
+
+A tangible side benefit of sponsorship is that **Insiders** are able to help _steer future development of RaspAP_. This is done through Insiders' team access to discussions, feature requests, issues and more in the private GitHub repository.
+
## WireGuard support
![](https://i.imgur.com/5YDv37e.png)
@@ -104,9 +109,6 @@ RaspAP lets you create an AP with a Wifi client configuration, often called [AP-
**Note:** This option is disabled until you configure your system as a wireless client. For a device operating in [managed mode](https://docs.raspap.com/faq/#headless) without an `eth0` connection, this configuration must be enabled [_before_ a reboot](https://docs.raspap.com/ap-sta/).
-## Support us
-RaspAP is free software, but powered by _your_ support. If you find RaspAP useful for your personal or commercial projects, [become an Insider](https://github.com/sponsors/RaspAP/) and get early access to exclusive features in the [Insiders Edition](https://docs.raspap.com/insiders/).
-
## Manual installation
Detailed manual setup instructions are provided [on our documentation site](https://docs.raspap.com/manual/).
From 41cb105b2ab86a75a59776751b86a8853ec6b268 Mon Sep 17 00:00:00 2001
From: billz
Date: Thu, 1 Apr 2021 16:46:07 +0100
Subject: [PATCH 34/50] Unlink existing 50-raspap-router in conf-enabled
---
installers/common.sh | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/installers/common.sh b/installers/common.sh
index 986822d3..26f3e92f 100755
--- a/installers/common.sh
+++ b/installers/common.sh
@@ -25,6 +25,7 @@ readonly raspap_wlan0="/etc/dnsmasq.d/090_wlan0.conf"
readonly raspap_adblock="/etc/dnsmasq.d/090_adblock.conf"
readonly raspap_sysctl="/etc/sysctl.d/90_raspap.conf"
readonly raspap_network="$raspap_dir/networking/"
+readonly raspap_router="/etc/lighttpd/conf-available/50-raspap-router.conf"
readonly rulesv4="/etc/iptables/rules.v4"
readonly notracking_url="https://raw.githubusercontent.com/notracking/hosts-blocklists/master/"
webroot_dir="/var/www/html"
@@ -220,20 +221,25 @@ function _install_lighttpd_configs() {
CONFSRC="$webroot_dir/config/50-raspap-router.conf"
LTROOT=$(grep "server.document-root" /etc/lighttpd/lighttpd.conf | awk -F '=' '{print $2}' | tr -d " \"")
- # compare values and get difference
+ # Compare values and get difference
HTROOT=${webroot_dir/$LTROOT}
- # remove trailing slash if present
+ # Remove trailing slash if present
HTROOT=$(echo "$HTROOT" | sed -e 's/\/$//')
- # substitute values
+ # Substitute values
awk "{gsub(\"/REPLACE_ME\",\"$HTROOT\")}1" $CONFSRC > /tmp/50-raspap-router.conf
- # copy into place
+ # Copy into place
sudo cp /tmp/50-raspap-router.conf /etc/lighttpd/conf-available/ || _install_status 1 "Unable to copy lighttpd config file into place."
- # link into conf-enabled
+ # Link into conf-enabled
echo "Creating link to /etc/lighttpd/conf-enabled"
+ if ! [ -L $raspap_router ]; then
+ echo "Existing 50-raspap-router.conf found. Unlinking."
+ sudo unlink "/etc/lighttpd/conf-enabled/50-raspap-router.conf"
+ fi
+ echo "Linking 50-raspap-router.conf to /etc/lighttpd/conf-enabled/"
sudo ln -s "/etc/lighttpd/conf-available/50-raspap-router.conf" "/etc/lighttpd/conf-enabled/50-raspap-router.conf" || _install_status 1 "Unable to symlink lighttpd config file (this is normal if the link already exists)."
sudo systemctl restart lighttpd.service || _install_status 1 "Unable to restart lighttpd"
_install_status 0
From a1097988033b1deb52ef53ed7b75fccde2f0ea80 Mon Sep 17 00:00:00 2001
From: Bill Zimmerman
Date: Thu, 1 Apr 2021 20:05:54 +0200
Subject: [PATCH 35/50] Update README.md
---
README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index e6672109..47c5dba5 100644
--- a/README.md
+++ b/README.md
@@ -67,7 +67,9 @@ configured as an access point as follows:
Please [read this](https://docs.raspap.com/issues/) before reporting an issue.
## Join Insiders
-RaspAP is free software, but powered by _your_ support. If you find RaspAP useful for your personal or commercial projects, [become an Insider](https://github.com/sponsors/RaspAP/) and get early access to exclusive features in the [Insiders Edition](https://docs.raspap.com/insiders/).
+[![](https://i.imgur.com/eml7k0b.png)](https://github.com/sponsors/RaspAP/)
+
+RaspAP is free software, but powered by _your_ support. If you find RaspAP useful for your personal or commercial projects, [become an Insider](https://github.com/sponsors/RaspAP/) and get early access to [exclusive features](https://docs.raspap.com/insiders/#exclusive-features) in the [Insiders Edition](https://docs.raspap.com/insiders/).
A tangible side benefit of sponsorship is that **Insiders** are able to help _steer future development of RaspAP_. This is done through Insiders' team access to discussions, feature requests, issues and more in the private GitHub repository.
@@ -168,8 +170,6 @@ This project exists thanks to all the awesome people who [contribute](CONTRIBUTI
### Financial Contributors
Development of RaspAP is made possible thanks to a sponsorware release model. This means that new features are first exclusively released to sponsors as part of [**Insiders**](https://github.com/sponsors/RaspAP).
-[![](https://i.imgur.com/azMTmuP.png)](https://github.com/sponsors/RaspAP/)
-
Learn more about [how sponsorship works](https://docs.raspap.com/insiders/#how-sponsorship-works), and how easy it is to get access to Insiders.
## License
From b10ee7a98f9620c3c689d1afd435db7a2a55a70a Mon Sep 17 00:00:00 2001
From: root
Date: Thu, 1 Apr 2021 23:35:19 +0100
Subject: [PATCH 36/50] sort interface list for hostapd
---
includes/hostapd.php | 2 ++
1 file changed, 2 insertions(+)
diff --git a/includes/hostapd.php b/includes/hostapd.php
index 43e04bd1..e364dd15 100755
--- a/includes/hostapd.php
+++ b/includes/hostapd.php
@@ -27,6 +27,8 @@ function DisplayHostAPDConfig()
$arrEncType = array('TKIP' => 'TKIP', 'CCMP' => 'CCMP', 'TKIP CCMP' => 'TKIP+CCMP');
$managedModeEnabled = false;
exec("ip -o link show | awk -F': ' '{print $2}'", $interfaces);
+ sort($interfaces);
+
exec("iw reg get | awk '/country / { sub(/:/,\"\",$2); print $2 }'", $country_code);
if (!RASPI_MONITOR_ENABLED) {
From ec3fa1002bb6de76a6a96ff59e3486588b16d755 Mon Sep 17 00:00:00 2001
From: root
Date: Thu, 1 Apr 2021 23:00:06 +0100
Subject: [PATCH 37/50] improving layout, text and styles of wifi client box
---
app/css/custom.php | 5 +++--
templates/dashboard.php | 32 ++++++++++++++++----------------
2 files changed, 19 insertions(+), 18 deletions(-)
diff --git a/app/css/custom.php b/app/css/custom.php
index a4f98d72..6726a0a8 100644
--- a/app/css/custom.php
+++ b/app/css/custom.php
@@ -119,8 +119,9 @@ i.fa.fa-bars:hover{
}
.info-item {
- width: 10rem;
- float: left;
+ text-transform: uppercase;
+ font-size: 0.7em;
+ color: #858796;
}
.info-item-xs {
diff --git a/templates/dashboard.php b/templates/dashboard.php
index ab1d3d8f..a1a2fac4 100755
--- a/templates/dashboard.php
+++ b/templates/dashboard.php
@@ -35,23 +35,23 @@
From aa6df37801df13e96ad73693362f7472948a9332 Mon Sep 17 00:00:00 2001
From: Bill Zimmerman
Date: Tue, 6 Apr 2021 14:24:36 +0200
Subject: [PATCH 48/50] Update README.md
---
README.md | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/README.md b/README.md
index 9ff0fe56..ba9ff12d 100644
--- a/README.md
+++ b/README.md
@@ -27,11 +27,12 @@ As part of the initial rollout of Insiders, all previous one-time backers of Ras
## Exclusive features
The following features are currently available exclusively to sponsors. A tangible side benefit of sponsorship is that Insiders are able to help steer future development of RaspAP. This is done through your Insiders access to discussions, feature requests, issues and pull requests in the private GitHub repository.
-✅ Manage OpenVPN client configs
+✅ [Manage OpenVPN client configs](https://docs.raspap.com/openvpn/#multiple-client-configs)
+✅ [OpenVPN certificate authentication](https://docs.raspap.com/openvpn/#certificate-authentication)
✅ OpenVPN service logging
✅ Night mode toggle
✅ Restrict network to static clients
-✅ WireGuard support
+✅ [WireGuard support](https://docs.raspap.com/wireguard/)
⚙️ Traffic shaping (in progress)
Look for the list above to grow as we add more exlcusive features. Have an idea or suggestion for a future enhancement? Start or join an [Insiders discussion](https://github.com/RaspAP/raspap-insiders/discussions) and let us know!
@@ -40,12 +41,7 @@ Look for the list above to grow as we add more exlcusive features. Have an idea
Following is a list of funding targets. When a funding target is reached, the features that are tied to it are merged back into RaspAP and released to the public for general availability.
### $500
-✅ Manage OpenVPN client configs
-✅ OpenVPN service logging
-✅ Night mode toggle
-✅ Restrict network to static clients
-✅ WireGuard support
-⚙️ Traffic shaping (in progress)
+The first **Insiders Edition** includes the exclusive features listed above.
## Frequently asked questions
From d3c769b7484536318f7b78b4791b95978c4187fd Mon Sep 17 00:00:00 2001
From: billz
Date: Fri, 9 Apr 2021 15:05:40 +0100
Subject: [PATCH 49/50] Layout fix: dashboard client widget + openvpn ipv4
---
app/css/custom.php | 5 +++++
app/css/hackernews.css | 5 +++++
app/css/lightsout.css | 5 +++++
templates/dashboard.php | 34 ++++++++++++++++++++++++----------
templates/openvpn/general.php | 6 ++++--
5 files changed, 43 insertions(+), 12 deletions(-)
diff --git a/app/css/custom.php b/app/css/custom.php
index 6726a0a8..273a9629 100644
--- a/app/css/custom.php
+++ b/app/css/custom.php
@@ -124,6 +124,11 @@ i.fa.fa-bars:hover{
color: #858796;
}
+.info-value {
+ font-size: 0.7rem;
+ margin-left: 0.7rem;
+}
+
.info-item-xs {
font-size: 0.7rem;
margin-left: 0.3rem;
diff --git a/app/css/hackernews.css b/app/css/hackernews.css
index 2d76492c..6aef443b 100644
--- a/app/css/hackernews.css
+++ b/app/css/hackernews.css
@@ -155,6 +155,11 @@ ul.nav-tabs, .nav-tabs .nav-link {
color: #858796;
}
+.info-value {
+ font-size: 0.7rem;
+ margin-left: 0.7rem;
+}
+
.info-item-xs {
font-size: 0.7rem;
margin-left: 0.3rem;
diff --git a/app/css/lightsout.css b/app/css/lightsout.css
index cc020f22..3e8e6e76 100644
--- a/app/css/lightsout.css
+++ b/app/css/lightsout.css
@@ -254,6 +254,11 @@ hr {
color: #858796;
}
+.info-value {
+ font-size: 0.7rem;
+ margin-left: 0.7rem;
+}
+
.info-item-xs {
font-size: 0.7rem;
line-height: 1.5em;
diff --git a/templates/dashboard.php b/templates/dashboard.php
index 47443ee8..597dc6b5 100755
--- a/templates/dashboard.php
+++ b/templates/dashboard.php
@@ -34,17 +34,31 @@