182 Commits

Author SHA1 Message Date
Alexandre Aubin
bbc821a632 ynh_die does not exists before helpers sourcing 2018-12-02 23:49:24 +01:00
Alexandre Aubin
2f04d16d4f At the end of the upgrade, restart vpnclient only if it's already active 2018-12-02 23:27:35 +01:00
pitchum
1c06d02d49 [mod] Make package_linter happier than ever. 2018-12-02 19:15:27 +01:00
pitchum
9edd5f3b96 [mod] Reenable abort_if_erros in upgrade script (to make package_linter happy). 2018-12-02 18:52:17 +01:00
Alexandre Aubin
0133fa19cc Update manifest.json ? (#46) 2018-12-02 18:39:34 +01:00
pitchum
0b3ee4e6b6 [mod] Tell package_check that LDAP integration is irrelevent here. 2018-12-02 16:45:32 +01:00
pitchum
f9ab657dbb [mod] Make our package_linter happy again. 2018-12-02 16:29:54 +01:00
pitchum
0e1504556b [mod] Release v1.3.0 1.3.0 2018-12-02 13:30:27 +01:00
pitchum
62ed195729 [fix] Remove sudoers file on app remove. 2018-12-02 13:30:27 +01:00
pitchum
4929faf2be [fix] Backport fixes from my old dev branch. 2018-12-02 13:03:23 +01:00
pitchum
e86d83049e [fix] upgrade script needs sourcing _common.sh and helpers. 2018-12-02 12:23:30 +01:00
pitchum
97c32df3cc [enh] Purge apt dependencies on remove. 2018-12-02 11:22:22 +01:00
pitchum
94bbcdb2db [fix] Create a dedicated system user with proper sudo permissions.
Ref. #41.
2018-12-02 11:22:19 +01:00
pitchum
9d2bc631e5 [wip] Disabling backup and restore scripts (temporarily). 2018-12-02 11:21:48 +01:00
pitchum
639ee4992d [mod] Release v1.2.1 2018-12-02 11:21:07 +01:00
pitchum
53ccf1d4e1 [fix] user/group = www-data in php-fpm config. 2018-12-02 11:20:39 +01:00
pitchum
06089130b2 [mod] Release v1.2.0 2018-12-02 11:20:37 +01:00
pitchum
9bc126ebd3 [fix] upgrade script sets 'final_path' setting. 2018-12-02 11:19:55 +01:00
pitchum
c004113529 Removed hard-coded "vpnadmin" string. 2018-12-02 11:19:55 +01:00
pitchum
993441d89f Rewriting packages scripts. backup (WIP). 2018-12-02 11:19:50 +01:00
pitchum
c47d8e2195 Moar experimental helpers needed. 2018-12-02 11:18:38 +01:00
pitchum
ed17abfd32 Bugfix: revert changes not compatible with stable yunohost. 2018-12-02 11:18:38 +01:00
pitchum
8294528c67 Add missing helpers.
- read_json
- read_manifest
- abort_if_up_to_date
2018-12-02 11:18:38 +01:00
pitchum
432569620c [mod] upgrade, disable auto-backup/restore 2018-12-02 11:18:38 +01:00
pitchum
abd0145d4e [fix] Do not start vpnclient service on first install. 2018-12-02 11:18:38 +01:00
pitchum
abce6aef00 [mod] install and upgrade scripts share some common code. 2018-12-02 11:18:36 +01:00
pitchum
8cbe81be03 [mod] backup script rewritten (inspired and adpated from example_ynh).
Currently neither backup nor restore are useful but are safe enough to
not break the upgrade script. That's what matters for now.
2018-12-02 11:15:06 +01:00
pitchum
f6165c5dc6 [fix] upgrade script renames paths to comply with the new ones. 2018-12-02 11:04:43 +01:00
pitchum
5ff35acd1c [mod] upgrade script simplified: does nothing except a backup. 2018-12-02 11:00:10 +01:00
pitchum
124d11cebe [mod] Hard-coded occurrences of "vpnadmin" replaced with ${app} (where appropriate). 2018-12-02 10:57:10 +01:00
pitchum
0c53667839 [mod] Created file check_process for driving CI builds. 2018-12-02 10:51:58 +01:00
realitygaps
be0f2f54a6 Change password field to type 'password' 2018-12-01 18:56:24 +01:00
Alexandre Aubin
8356355da6 Fix upgrade maybe :< 2018-12-01 18:52:59 +01:00
pitchum
56fa7d6268 Force reloading VPN Settings page after validating form. 2018-11-25 21:39:19 +01:00
Gabriel Corona
d8a5cc54f6 CSRF protection (#44) 2018-11-25 21:25:27 +01:00
ljf (zamentur)
d452b139d7
Merge pull request #42 from labriqueinternet/testing
Testing
2018-10-02 23:44:17 +02:00
agentcobra
4c00ff92ef Update README.md
add integration from jenkins
2018-10-02 23:41:31 +02:00
Sebastien Badia
8f2ba6cdcd doc: s/NextCloud/LaBriqueInterNet VPNclient/ thx agentcorba 2018-10-02 23:41:14 +02:00
Sebastien Badia
2e0fbfddff doc: Update syntax (badges) 2018-10-02 23:40:52 +02:00
Sebastien Badia
4aa7062213 doc: Added install badge 2018-10-02 23:40:18 +02:00
ljf (zamentur)
033abdcb69 [enh] Update version number 2018-10-02 23:35:39 +02:00
ljf (zamentur)
84a4e1a319 [fix] Sync the date with http if ntp can't (#37)
* [fix] Sync the date with http if ntp can't
2018-10-02 23:31:46 +02:00
agentcobra
8b3a04fb90 emergency fix
with 
- 5654b6d0b266b14a5432bcd2f3e8428ef0f53ac9
- 081447008c7854ac3a1ae84e4e33eb112572b783
- a642a010291a010ee6d88ee6473fc34d1654d5a2
2018-09-10 21:50:47 +02:00
Julien Vaubourg
355b24ea0c Add time syncing before launching openvpn, to avoid issues due to 'certificate not yet valid' 1.0.0 2017-09-06 01:54:35 +02:00
Julien Vaubourg
33aafd1196 Set dns in resolv.dnsmasq.conf if available and restore the original file when the service is stopped 2017-08-30 14:28:45 +02:00
Julien Vaubourg
50c3346c26 Use systemctl helper to avoid deadlocks with ynh 2.7 and check path avaibility with no deprecated method 2017-08-30 14:27:56 +02:00
Julien Vaubourg
df431e8f78
Improve vpn client checker 2016-08-15 13:22:39 +02:00
Julien Vaubourg
0ce8634736 Merge pull request #29 from labriqueinternet/tests_upgrades
Add kind of backups when upgrading, and add a timer to be sure to have vpnclient started
2016-08-14 23:45:10 +02:00
Julien Vaubourg
cd197483cd
Rollbacks as archives 2016-08-14 23:20:26 +02:00
Julien Vaubourg
a999bcf80b
Ok guys, all of this is very crappy, but u know, we do the best 2016-08-14 22:57:48 +02:00