1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wireguard_ynh.git synced 2024-09-03 20:35:58 +02:00
Commit graph

104 commits

Author SHA1 Message Date
tituspijean
60c7556a30 Add "VPN" to service description 2021-03-22 20:49:14 +01:00
tituspijean
1a9595752d Enchance services more 2021-03-22 20:49:14 +01:00
tituspijean
1f64caad7a Enhance services 2021-03-22 20:49:14 +01:00
tituspijean
927ee7b3ed Use backports repo key also in restore 2021-03-21 14:51:49 +01:00
tituspijean
b58e5efec7 Remove prompt for path_url
The web UI does not handle yet installation on a subpath
2021-03-20 18:37:18 +01:00
tituspijean
e9525eb25c
Install backports repo gpg key and linux-headers (#18)
* Install backports repo gpg key

* Add linux-headers dependency

* Fix repo key

* Remove linux-headers dependency
It is handled by the wireguard dependencies
2021-03-20 18:36:54 +01:00
tituspijean
0cbc000b24 Fix port discovery in install 2021-03-08 21:30:11 +01:00
tituspijean
59d1f06fcc Close all ports upon removal
Closes #12
2021-03-06 16:57:51 +01:00
tituspijean
12f5f3566a Try to appease the CI 2021-01-21 22:15:43 +01:00
tituspijean
36e0600016 Improve visitor permission removal 2021-01-21 22:04:04 +01:00
tituspijean
4ea4acffcc Make sure the app stay private 2021-01-21 21:35:22 +01:00
tituspijean
b36f91407f Detect successful start or stop of UI service 2021-01-21 21:34:52 +01:00
tituspijean
d2b10120d7 Remove is_public argument 2021-01-21 19:55:16 +01:00
tituspijean
e811a176d5 Better detection of ports conflict 2021-01-21 19:39:11 +01:00
tituspijean
831a048693 Comments cleanup 2021-01-11 23:16:53 +01:00
tituspijean
c7c7cd7e3f User directive in WireGuard service 2021-01-11 23:03:04 +01:00
tituspijean
823fe2e97e No need for permissions handling in restore 2021-01-11 23:03:04 +01:00
tytan652
758aef11a8 fix(really): backports kernel removal
Just forget how to create bash variable
2021-01-11 23:03:04 +01:00
tytan652
2204e15983 fix: backports kernel removal 2021-01-11 23:03:04 +01:00
tytan652
1f5416ebc2 feat: remove backports kernel if in use 2021-01-11 23:03:04 +01:00
tytan652
58ef74e961 doc: replace new kernel mentions by dkms ones 2021-01-11 23:03:04 +01:00
tytan652
f633f6c40b fix: allow downgrade for linux-image install 2021-01-11 23:03:04 +01:00
tytan652
b8b855f59b fix: remove "--no-remove" for linux-image install
If we let it this way it may prevent linux-image-$arch to be downgraded
2021-01-11 23:03:04 +01:00
tytan652
f9256d4466 build: remove the removal of linux-image-$arch 2021-01-11 23:03:04 +01:00
tytan652
ae1cc8ddae build: add a way to restore the right linux-image 2021-01-11 23:03:04 +01:00
tytan652
9726a65f3e fix: add --priority= on ynh_pin_repo call 2021-01-11 23:03:04 +01:00
tytan652
44a050d71c build: update restore and upgrade script 2021-01-11 23:03:04 +01:00
tytan652
11e947d4f9 build: add repo with custom package pin-priority 2021-01-11 23:03:04 +01:00
tytan652
ab195dd21f Revert "build: set extra repo priotity to -1"
This reverts commit f23ed373284c45dd51e4c06a90f61279c002a707.
2021-01-11 23:03:04 +01:00
tytan652
1eefdce409 build: set extra repo priotity to -1 2021-01-11 23:03:04 +01:00
tytan652
ffe90adfc3 build: add wireguard-dkms as dependencie 2021-01-11 23:03:04 +01:00
tituspijean
b026186df2 There is no Fail2Ban config to back up 2021-01-08 19:06:50 +01:00
tituspijean
9b30e20e26 Swap service removal order
Prevents warning about wireguard.service being still activable
if wireguard.path is not removed first
2021-01-08 19:06:50 +01:00
tytan652
80782d4fc5 doc: remove and edit some comments 2021-01-08 19:06:50 +01:00
tituspijean
b19e90561c Add test_status for wireguard service 2021-01-08 19:06:50 +01:00
tytan652
39d8e22986 build(level 5): set --weight and remove --time 2021-01-08 19:06:50 +01:00
tytan652
31ad24bcad fix(level 5): add --quiet to systemctl in restore 2021-01-08 19:06:50 +01:00
tytan652
6af8da90dc fix(level 3): use the right src file 2021-01-08 19:06:50 +01:00
tytan652
8dea863026 refactor(level 3): move some code to right section 2021-01-08 19:06:50 +01:00
tytan652
a49c6c50ce feat(level 3): add new port setter in upgrade 2021-01-08 19:06:50 +01:00
tytan652
dc1278c60a feat(level 4): add is_public in restore 2021-01-08 19:06:50 +01:00
tytan652
de7a77364c refactor(level 3): WG service set in upgrade 2021-01-08 19:06:50 +01:00
tytan652
c8a39fe613 fix(level 3): add disable wireguard.path 2021-01-08 19:06:50 +01:00
tytan652
4b6e8af051 fix(level 3): add missing WG UI port in upgrade 2021-01-08 19:06:50 +01:00
tytan652
2737fee538 fix(level 4): add missing files 2021-01-08 19:06:50 +01:00
tytan652
dfbc0bae8f fix(level 4): add missing WG UI port in restore
Needed for nginx config
2021-01-08 19:06:50 +01:00
tytan652
ce1dcbca7b fix(level 3-4): unify files permissions 2021-01-08 19:06:50 +01:00
tytan652
8d4b70de05 fix(level 5): add --quiet to systemctl in install 2021-01-08 19:06:50 +01:00
tytan652
e4f1425180 fix(level 5): remove some inconsistencies 2021-01-08 19:06:50 +01:00
tytan652
e88dc07bcc fix(level 1-2): use is_public to pass some check
For example: root installation doesn't seem to support private install
2021-01-08 19:06:50 +01:00
tytan652
f222956185 fix: change port for WireGuard UI
I changed the UI one because it's behind nginx reverse proxy
2021-01-08 19:06:50 +01:00
tituspijean
8b600e53d1 [fix] close ports upon removal 2020-10-11 16:37:47 +02:00
tituspijean
d52f7365f8 [fix] use proper backports repository 2020-10-11 16:35:19 +02:00
tituspijean
781097d766 Initial commit 2020-10-11 14:45:13 +02:00