Commit graph

978 commits

Author SHA1 Message Date
Orazio
07d65b66fc feat(install): Mark upcoming Ubuntu 24.04 as explicity supported, drop EOL Debian version 2024-04-13 10:51:06 +02:00
Orazio
86450675b0 Re-enable issues and pull requests 2024-04-13 10:22:32 +02:00
4s3ti
2f64b12ec1
docs: Add lockdown workflow
Add workflow to automatically close any issue or pull request
2024-04-06 12:53:42 +02:00
4s3ti
ecd75e77ab
chore: Disable bug reports 2024-04-06 11:49:16 +02:00
4s3ti
f524eaed75
docs: Add unmaintained warning 2024-04-06 11:11:42 +02:00
Jonathan
d0729779a1
feat(install): Add possibility to use Pi-hole in unattended install (#1825)
In unattended install, there is no possibility to
specify if user wants to use Pi-hole DNS as DNS.

Introducing a --use-pihole argument, user can decide
if PiVPN configuration should be aligned to the
Pi-hole installation.
2024-04-05 22:14:20 +02:00
Orazio
850e665642
Updates to subnet generation and client creation (#1782)
* refactor(core): allow any subnet and netmask

* fix(scripts): prevent adding more clients than the subnet allows

* fix(scripts): correctly remove leading zeros from ipv6 quartets

* refactor(core): new probabilistic subnet generation with fallback to other RFC1918 subnets
2024-04-05 22:14:19 +02:00
Orazio
20d3a4ccd4
fix(install): don't treat http errors as unavailable ipv6 2024-01-29 08:53:41 +01:00
4s3ti
4f88a56407
build: publish-install.yml
Publish install script to github pages
2024-01-28 22:53:07 +01:00
Orazio
a85d3752ef
fix(scripts): disallow using server's name as client name (#1791) 2023-12-13 18:09:55 +01:00
kokomo123
701a817fed
refactor(core): Change wording on the window (#1779)
* Change wording on the user selection window
2023-11-07 20:46:43 +01:00
Orazio
0a3dd62ee7
fix(scripts): correct link to backup doc 2023-11-07 12:30:19 +01:00
4s3ti
13ac5ceeb0
feat(Network): Add support for network manager
fix #1774: Add support for network manager running on Raspberrypi OS bookworm
2023-11-04 18:46:17 +01:00
camdenAR
f9ae9662ec fix(scripts): Match full client name when disabling
This fix prevents "pivpn -off" from failing to disable a client when another client is already disabled and the disabled client name starts with the client name you're trying to disable.
e.g. "user-1" wasn't able to be disabled if "user" was already disabled.
2023-10-21 21:19:07 +02:00
4s3ti
16189edc7b
fix(core): typo on distroCheck 2023-08-03 23:33:23 +02:00
Dennis Roth
4446ea0c2f add alpine container support 2023-07-19 10:37:16 +02:00
4s3ti
ef6b0e825d
feat: Support debian 12(Bookworm) 2023-07-02 11:19:29 +02:00
Najm Ajmal
87acb3d48b
Docs: Update README.md (#1744) 2023-07-02 11:02:21 +02:00
Najm Ajmal
1567ed4d46
Docs(README): Updated README.md (#1743)
* Swapped Buildstatus into order of importance

Moved test branch to be under the main branch

* Made OpenVPN bold

* Made Wireguard bold
2023-07-02 11:01:47 +02:00
sulaymaanajmal
4c9b092bd7
docs: Update README.md (#1741)
Line 23 That being said rid of elipses
2023-06-27 04:39:30 +02:00
Najm Ajmal
6b176abff9
Docs: Made the "c" capital in Contributions, in README.md (#1740) 2023-06-25 21:41:21 +02:00
Dolorosus
d54e0a452d
fix(scripts): #issue-1747767321 ensure only "user" is disabled
* fix common https://github.com/pivpn/pivpn/issues/1733#issue-1747767321 

pivpn -off/-on user (en-/dis-)ables also user-1, user-2...user-n
this fix prevents from (en-/dis-)ableing user-1 ...user-n
2023-06-09 15:13:36 +02:00
Thad Guidry
241d7c4209
feat(core): OS Support
Add Ubuntu lunar support
2023-05-13 12:03:10 +02:00
Sriram Keerthi Madhava Kunjathur
23337523fa fix(core): Use absolute path for git
On installations such as OctoPi, git is shadowed by /root/bin/git. This change forces the script to use /usr/bin/git which isn't affected by other executables with the name 'git' in the path.
2023-04-08 01:50:53 +02:00
4s3ti
4032a55c80
docs(issues): Remove old markdown template 2023-03-29 14:54:19 +02:00
4s3ti
e8ee651661
docs(issues): Add new issue form templates 2023-03-29 14:53:06 +02:00
4s3ti
96dc4f0c04
refactor(scripts): Fix codestyle 2023-03-16 01:27:13 +01:00
4s3ti
50bc333962
refactor(scripts): preserve exit codes (SC2320)
SC2320: Set error code to variable to preserve it after other commands.
2023-03-16 01:17:50 +01:00
4s3ti
c9e2537c19
ci(scripts): Fix malformated shebang 2023-03-16 01:13:50 +01:00
4s3ti
fe03be4396
refactor(core): Ignore SC2317 2023-03-16 01:13:08 +01:00
4s3ti
b3f07b43e3 ci: Use xargs instead of find -exec
Use pipe to xargs instead of find -exec to properly catch exit codes
2023-03-16 01:09:37 +01:00
4s3ti
81646f30ff
feat(Core): Drop Support for Stretch and Xenial
Drop support for Debian 9 Stretch
Drop support for Ubuntu 16.04 Xenial
2023-03-15 21:44:25 +01:00
Austin English
c1097ca69c feat(scripts): allow generating a QR code from a filename
Instead of returning an error, use the filename to generate the QR code.
2023-02-27 16:57:32 +01:00
4s3ti
f1d0d974b2
Merge pull request #1697 from CoolCat467/master
fix(scripts): made indicated reply defaults work correctly
2023-02-25 00:01:04 +01:00
CoolCat467
ab8e372e83 fix(scripts): fix default handling
fix #1663: made indicated reply defaults work correctly
2023-02-24 16:18:26 -06:00
Leon
36c3bf5af7
Fix typo in README (#1662) 2022-12-22 12:20:52 +01:00
4s3ti
1e1c8fa7cb
Merge pull request #1661 from astroganga/master
Show correct information and fix error caused by dash on printf in clientStat.sh
2022-12-01 11:48:00 +01:00
mgiuliano
90c070a9ad fix(scripts): clientStat.sh
show correct information and fix error caused by dash on printf
2022-12-01 11:15:47 +01:00
4s3ti
704d9f9795
refactor: Harmonize ownership
fix #1608: Use same moethod to define ownership in bot makeOVPN and makeCONF scripts
2022-11-29 00:05:34 +01:00
4s3ti
f7f81e1bf4 fix(scripts): uninstall default option
fix #1653: update prompt to match the default action of script
2022-11-28 23:34:45 +01:00
4s3ti
df74230e77
Merge pull request #1642 from rwall/patch-2
fix(dev-infra): move source to before var ref
2022-10-20 20:12:24 +02:00
rwall
c25e82fc0f
fix(dev-infra): move source to before var ref
move file sourcing above first references to the variables it loads
2022-10-19 16:48:51 -05:00
4s3ti
ab1fe20399
fix(ufw): set missing openvpn ipv6 variables
fix #1607
Add missing pivpnNETv6 variable definition for OpenVPN
2022-10-08 02:39:53 +02:00
4s3ti
5fd030c7ba
fix(ovpn): clientstat.sh
Add new line at the end of output
2022-10-08 01:22:00 +02:00
4s3ti
71f7ca9b3b
refactor(scripts): Structure code as per codestyle
Fix #1636
Refactor code according to code style
Constants, Functions, Script
2022-10-08 01:11:10 +02:00
4s3ti
79f7caf4d3
fix(scripts): Evaluate client names correctly
Fix issue #1639
Add extra check for empty spaces
Fix client names not being checked when using pivpn add -n
2022-10-07 23:59:57 +02:00
4s3ti
469a765916
Merge pull request #1633 from rwall/patch-1
fix(dev-infra): move function before use
2022-10-03 12:34:21 +02:00
Rob Wall
0e78a1148c fix(dev-infra): move function before use
move err function above where it is first called
2022-10-01 01:55:06 -05:00
4s3ti
5ee9425ad4
fix(install): Correct dev on PiHole iptables rule
Change PiHole iptables rule from IPv4dev to pivpnDEV
2022-09-17 16:40:17 +02:00
4s3ti
a544a86712
fix(install): Add Pi-hole iptables rule
fix #1559
add iptables rule to allow dns requests
2022-09-17 16:31:38 +02:00