Commit graph

965 commits

Author SHA1 Message Date
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
4s3ti
8603013fc3
fix(ufw): Fix ufw insert error
fix ufw error when inserting rules with an empty chain
2022-09-17 15:10:15 +02:00
4s3ti
955f268db2
fix(ufw): Remove space before commit
Remove the before commit on ufw rules
fix #1607
fix #1620
2022-09-17 11:32:54 +02:00
4s3ti
202c173dd7 fix(openvpn): makeOVPN Missing space
fix issue #1616
Add extra comments
2022-09-04 17:40:01 +02:00
4s3ti
e7d06d0545
docs(template): Update Issue template [skip ci] 2022-08-26 07:26:56 +02:00
4s3ti
f354286994
ci: fix wrong path to script 2022-08-25 02:19:51 +02:00
4s3ti
86d4949d14 fix(makeovpn): Fix wrong export
add missing "=" keynoPASS export
2022-08-25 02:03:50 +02:00
4s3ti
9485852c2c
ci: use correct repo and branch
fix tests to actually test the correct repository and branch
2022-08-25 01:33:09 +02:00
4s3ti
e5b9486c52
fix(makeovpn): Remove expect dependency
Remove dependency on expect
Fix issue #1600 and #1601
2022-08-25 00:27:55 +02:00
4s3ti
60f83d2d3f
docs: README
remove excessive ammount of information
consolidate information on single place
simplify sentences and use easier to read language
clarify and move contributing.md information into README
add information about contributing directly to PiVPN contributors
delete contributing.md
update changelog with info about releases
add semantic release badge
2022-08-22 22:47:39 +02:00
4s3ti
64be511cec
Merge pull request #1591 from 4s3ti/test
Ubuntu jammy Support and multiple updates to jammy
2022-08-21 20:48:55 +02:00
4s3ti
5d0cc9e072 feat(ossupport): Jammy Support & CI Updates
Add support for Ubuntu Jammy (22.04)
Add CI tests for Ubuntu Jammy
Remove CI tests for Ubuntu Xenial
Rename CI tests stages
Add new CI Scripts to get pipeline code more "DRY"
Update CI Scripts to exit on error with /bin/bash -e
Add semantic-release settings
Add CI Release step for PiVPN automated versioning
2022-08-17 22:11:48 +02:00
4s3ti
f59c693ba6
Merge pull request #1572 from giulio-coa/formatting_enhancements
Reformatted the code according to google bash code style.
2022-08-12 22:37:37 +02:00
Giulio Coa
8100537a7c fix: revert code style
Revert the code style of a piece of code
2022-08-11 17:28:31 +02:00