Commit graph

955 commits

Author SHA1 Message Date
DerDanilo
96102d009c
Merge pull request #1 from pivpn/master
update to current state
2021-06-06 00:57:32 +02:00
4s3ti
5aa0de636f IRC From freenode to libera.chat
Changed info about IRC Chanel,
Chanel moved from freenode to libera.chat
2021-05-31 21:02:44 +02:00
4s3ti
fb4df6d7bc IRC From freenode to libera.chat
Changed info about IRC Chanel,
Chanel moved from freenode to libera.chat
2021-05-31 21:01:46 +02:00
4s3ti
5179168c84
Merge pull request #1313 from orazioedoardo/remove-kernel-check
Remove kernel version check on Raspbian
2021-05-24 22:41:56 +02:00
Orazio
8c030c5e15
Merge pull request #1312 from orazioedoardo/debug-update
Debug update
2021-05-24 15:43:57 +02:00
Orazio
ba4ef93297 More compact commit log
- Do not show the full commit body
  - Show the branch
2021-05-12 18:17:35 +02:00
Orazio
88f6fca36e Changed link for the FAQ to https://docs.pivpn.io/faq 2021-05-11 15:22:52 +02:00
Orazio
82677135f8 Remove kernel version check on Raspbian
- Raspbian images have been shipping with kernel 5.10.17 since March 4.
    This kernel version has the WireGuard module built in which means we
    don't need to check if the user has updated, neither to install the
    module via DKMS.
2021-05-11 13:38:55 +02:00
4s3ti
4a5804a24c Multiple fixes and Shellcheck complaiance
fixes for Issue #1306, qrcode now defaults to ansiutf8,
added flag -a256 or --ansi256 if their fonts are having trouble

Shellcheck compliance #1233 for qrcodeCONF.sh,
LIST array is now created with mapfile instead
quoted multiple variables.

fixes for Issue #1307, User creation won't allow user creation with name
starting with "-", qrcodeCONF.sh won't accept wrong options or users starting with "-"
and exit with error code 1
2021-05-08 15:51:27 +02:00
4s3ti
9de9f84ff0 Update pivpn status page link
uptimerobot is no longer supporting custom domains on their free
offering, updated link to status page to use their regular link.
2021-05-07 22:24:29 +02:00
4s3ti
ec75c44f92 Pre-merge commit
Updated latestUpdate.md with changes going into next merge to master
2021-05-07 21:09:59 +02:00
4s3ti
18c115da48
Merge pull request #1305 from GHPS/master
Fix corrupted QR code image in various fonts
2021-05-07 01:31:56 +02:00
GHPS
615c2a41f4
Fix corrupted QR code image in various fonts
(affected fonts include Ubuntu Mono, Mitra Mono, InconsolataGo Nerd Mono)
2021-05-06 16:52:25 +02:00
4s3ti
bf7c4593d0
Merge pull request #1279 from DerDanilo/support_setupvars_for_wg_net_and_allowed_ips
Support setupVars for pivpnNET, subnetClass and ALLOWED_IPS via unattended setup
2021-04-21 23:52:56 +02:00
DerDanilo
70ebefdb78
Merge branch 'test' into support_setupvars_for_wg_net_and_allowed_ips 2021-04-16 21:37:07 +02:00
4s3ti
8a17b55ff7
Merge pull request #1272 from mkoester/patch-2
ufw: add comment
2021-03-29 11:47:49 +02:00
4s3ti
dcd852e02e
Merge pull request #1278 from DerDanilo/add_mtu_support
add Wireguard MTU support via setupVARS.conf
2021-03-29 11:46:21 +02:00
4s3ti
9ba27efa33
Merge pull request #1280 from codacy-badger/codacy-badge
Add a Codacy badge to README.md
2021-03-16 13:05:09 +01:00
Orazio
ba92faa15d
Merge pull request #1276 from orazioedoardo/disable-progress-bar
Disable progress bar when running unattended
2021-03-16 12:25:39 +01:00
Mirko Köster
73eb1c501d
requested change
see comment https://github.com/pivpn/pivpn/pull/1272/files#r595064063
2021-03-16 12:06:15 +01:00
The Codacy Badger
8569ef35b5 Add Codacy badge 2021-03-16 08:43:33 +00:00
DerDanilo
a3d652755c support ALLOWED_IPS from setupVARs.conf 2021-03-15 18:33:47 +01:00
DerDanilo
d3e009d171 support pivpnNET from setupVARs.conf 2021-03-15 18:33:21 +01:00
DerDanilo
805de5f77f support subnetClass from setupVARs.conf 2021-03-15 18:32:40 +01:00
DerDanilo
3c7175a41c remove uncessary vars from wireguard example file 2021-03-15 18:26:23 +01:00
DerDanilo
94744c77a9 add Wireguard MTU support via setupVARS.conf 2021-03-15 18:03:05 +01:00
Orazio
931b742862 Disable progress bar when running unattended 2021-03-15 13:54:56 +01:00
Mirko Köster
12d0efcea6
ufw: add comment
if you have a lot of ufw rules and look at them via `sudo ufw status` it would be beneficial to have comments indicating the purpose of a rule
2021-03-08 17:26:20 +01:00
4s3ti
cd54260733
Merge pull request #1256 from DundarGoc/SC2027
Fixed shellcheck warning SC2027
2021-02-14 19:11:22 +01:00
4s3ti
6406fcfafd
Merge pull request #1254 from DundarGoc/SC2178
Fixed shellcheck warnings SC2178 and SC2128.
2021-02-14 19:10:44 +01:00
4s3ti
c37b0cf2eb
Merge pull request #1253 from DundarGoc/SC2034
Fixed shellcheck warning SC2034
2021-02-14 19:09:29 +01:00
4s3ti
3a1fc8c9a1
Merge pull request #1252 from DundarGoc/SC2148
Fixed shellcheck issue SC2148
2021-02-14 19:06:40 +01:00
Dundar Göc
ba1040f13e Fixed shellcheck warning SC2027:
SC2027: The surrounding quotes actually unquote this. Remove or escape them.
2021-02-14 15:31:44 +01:00
Dundar Göc
9cdca47689 Fixed shellcheck warnings SC2178 and SC2128.
SC2178: Variable was used as an array but is now assigned a string.
SC2128: Expanding an array without an index only gives the first element.

It's apparently a known bug that shellcheck can't both declare a
variable local and assign a value to it without raising this issue.
https://github.com/koalaman/shellcheck/wiki/SC2178
2021-02-14 14:23:01 +01:00
Dundar Göc
c0131f2a17 Fixed shellcheck warning SC2034
SC2034: ___ appears unused. Verify use (or export if used externally).

I opted to remove the variables since they didn't seem to be used
anywhere.
2021-02-14 14:07:56 +01:00
Dundar Göc
7438b49961 Fixed shellcheck issue SC2148
SC2148: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
2021-02-14 13:43:35 +01:00
Orazio
58af83b882
Merge pull request #1250 from DundarGoc/test
Fixed wrong path to script in the travis file.
2021-02-14 09:49:06 +01:00
Dundar Göc
aab8bc2563 Fixed wrong path to script in the travis file. 2021-02-13 23:52:27 +01:00
4s3ti
f559bfcb9f
Merge pull request #1249 from DundarGoc/test
Fixed shellcheck issue SC2015
2021-02-13 23:23:27 +01:00
Dundar Göc
8aa4607e5e Fixed shellcheck issue SC2015: Note that A && B || C is not if-then-else. C may run when A is true.
Replaced [ $1 -gt 1 ] && shift $1 || shift with shift $1 since
shift 1 is identical to shift.
2021-02-13 22:40:05 +01:00
4s3ti
48052e2f24
Merge pull request #1247 from DundarGoc/test
Fixed shellcheck SC2155: "Declare and assign separately to avoid masking return values."
2021-02-13 20:43:33 +01:00
Dundar Göc
3517f27d5b Fixed shellcheck warning SC2155: "Declare and assign separately to avoid masking return values." 2021-02-13 13:02:10 +01:00
Orazio
309c2cc7d5
Merge pull request #1246 from DundarGoc/test
Fixed shellcheck warning SC2164: "Use 'cd ... || exit' or 'cd ... || ……return' in case cd fails."
2021-02-13 12:48:30 +01:00
Dundar Göc
fe636e3f43 Fixed shellcheck warning SC2164: "Use 'cd ... || exit' or 'cd ... || return' in case cd fails." 2021-02-13 12:11:49 +01:00
Orazio
8d2a800851
Merge pull request #1245 from orazioedoardo/default-no
Default VPN protocols to unsupported (workaround for issue #1239)
2021-02-12 10:58:12 +01:00
Orazio
342d8dfa2c Default VPN protocols to unsupported (workaround for issue #1239) 2021-02-11 15:27:43 +01:00
Orazio
435c4f39c7
Merge pull request #1243 from MichaIng/patch-1
Skip WireGuard module build on Raspbian if it's built-in
2021-02-08 21:32:38 +01:00
MichaIng
7cc5da39cb Skip WireGuard module build on Raspbian if it's built-in
Meanwhile the Raspberry Pi kernel package with Linux 5.10 and built-in WireGuard module has been released. It hence became effective to make use of the built-in module check on Raspbian as well to skip the overhead of kernel headers install and DKMS module build.

Additionally, when adding Bullseye repositories to make available the WireGuard packages, say so explicitly. "Adding Debian repository" / "Adding Raspbian repository" is confusing when running a Debian / Raspbian system with those repositories added already, only with an distro release.

Signed-off-by: MichaIng <micha@dietpi.com>
2021-02-08 15:52:56 +01:00
Orazio
c2b912c2ff
Merge pull request #1242 from DundarGoc/test
Fixed shellcheck warning SC2004, SC2006, SC2129, SC2219. Issue #1233.
2021-02-08 08:34:26 +01:00
Dundar Göc
513c2afc2e Fixed shellcheck warning SC2004, SC2006, SC2129, SC2219. Issue #1233.
SC2004: "$/${} is unnecessary on arithmetic variables."
SC2006: "Use $(...) notation instead of legacy backticked `...`."
SC2129: "Consider using { cmd1; cmd2; } >> file instead of individual redirects."
SC2219: "Instead of 'let expr', prefer (( expr ))."
2021-02-07 21:31:13 +01:00