1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grav_ynh.git synced 2024-09-03 19:16:01 +02:00
Commit graph

67 commits

Author SHA1 Message Date
tituspijean
e5a179b915 Make sure self-upgrade is run by system user, not root 2021-03-07 10:37:31 +01:00
tituspijean
896b40b2e4 Fix $phpversion to ${YNH_PHP_VERSION} 2021-02-11 11:31:33 +01:00
Kay0u
c8a764154c Add the cron job 2021-02-11 11:31:33 +01:00
tituspijean
a65dbe555d Say no to all prompts during plugin update
Despite --all-yes --no-interaction, plugins can still ask questions,
which makes upgrade hang
Closes #52
2021-01-23 18:57:25 +01:00
ericgaspar
8a2337b9e7
Remove redundant arguments 2021-01-21 22:40:50 +01:00
ericgaspar
8dc63d9719
Small typos 2021-01-20 08:52:18 +01:00
ericgaspar
7ac32a1fae
fix shasum 2021-01-20 08:46:17 +01:00
Kay0u
f8e758cb85 fix the ci/upgrade script 2021-01-06 19:20:19 +01:00
tituspijean
2909df6045
Upgrade to v1.6.26, YNH v3.7 permissions system, PHP version handling, fix CI badge (#39)
* Fix check_process (#34)

* Upgrade to 1.6.26, YNH v3.7 permissions system and PHP version handling (#37)

* [upg] grav 1.6.16
Makes the app agnostic regarding the needed PHP version.
Includes experimental helpers to install various PHP versions, if needed.
Includes Grav v1.6.16 with PHP 7.2.

* [enh] adding LDAP login for designated admin
It is a bit hacky, since YNH does not have yet LDAP groups support: groups=usernames.
To add more users, manually edit the configuration file in the admin.

* [enh] use the permissions system

* [enh] setting permissions up

* [enh] restore php before adding conf file

* [enh] avoid adding repo if sury list already exists
This prevents getting multiple warning messages about duplicated repos.

* [fix] remove order

* [fix] testing and setting permissions

* [upg] app version and remove php7.0-fpm dependency

* Fix check_process (#34)

* [upg] permissions configuration for install and upgrade

* [upg] grav v1.6.23

* [upg] new permissions system

* [fix] check_process is_public

* [fix] missing 1 more_set_headers in nginx.conf

* [fix] upgrade: allow visitors if was public

* [fix] experimental_helpers directory in remove

* [fix] retrieve phpversion in remove

* [fix] remove old php-fpm config if needed in upgrade

* [fix] helpers in subdirectory

* [enh] no default group needed

* [enh] update all plugins during upgrade

* [enh] adding progress messages

* [fix] specify phpversion in change_url

* [enh] to v3.7 standards

* [upg] grav v1.6.26

* [rem] ynh_permission_has_user is now official

* [upg] check_process

* [fix] php-fpm upgrade

* [fix] use YNH_PHP_VERSION instead of phpversion in restore

* [fix] php and chown in upgrade

* [fix] check_process

* [fix] app-upgrade.src

* [fix] php-fpm and [rem] progression --time

* [fix] restart php-fpm instead of reloading

* [fix] user home_dir and permissions

* [fix] upgrade publicness

* [fix] CI badge on README (#38)

* Fix failing check_process (#35)

* Fix check_process (#34)

* Fix CI badge on README

Co-authored-by: tituspijean <tituspijean@outlook.com>

Co-authored-by: Kayou <pierre.moltess@gmail.com>
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2020-07-10 19:22:37 +02:00
tituspijean
95dda324e8 [enh] adding progression messages in scripts
see #30
2019-10-26 13:25:19 +00:00
Jean-Baptiste Holcroft
923906e9d2 fix basic shellcheck warnings (doublequotes) 2019-02-17 22:41:58 +01:00
Jean-Baptiste Holcroft
cd8bd09c0e remove php-fpm.ini and set type=string for language 2019-02-17 22:20:38 +01:00
Jean-Baptiste Holcroft
45bf080f3d Remove gpm update 2018-10-20 20:44:04 +02:00
tituspijean
a4f4e7e344 [mod] Swap chown and plugins update
[mod] Use cd instead of pushd
2018-10-13 11:26:18 +02:00
tituspijean
d00b268e2c [enh] Update plugins after upgrade 2018-10-07 11:27:33 +02:00
tituspijean
1d87c5991b [enh] Comments in upgrade script 2018-09-13 09:56:07 +02:00
tituspijean
540e1acf75 [fix] Use update zip for upgrading
Fixes #5
2018-09-13 09:53:19 +02:00
Jean-Baptiste Holcroft
fa6064fcd4 Dedicated user 2018-09-03 23:39:42 +02:00
Jean-Baptiste Holcroft
ddd6415dac Full rewrite 2018-09-03 23:31:52 +02:00
Jean-Baptiste Holcroft
7a640eebe4 Fix installation (php-zip was missing) 2018-09-03 21:35:41 +02:00
magikcypress
74edf64dc2 [fix] add .fonctions for remove 2017-04-04 17:13:01 +02:00
magikcypress
df99bf020e [fix] Use SECURE_REMOVE fonction 2017-04-03 14:38:59 +02:00
magikcypress
7bb87c5d0c [fix] restore god owner 2017-04-01 17:08:00 +02:00
magikcypress
f1b9279368 update version 2017-04-01 17:03:40 +02:00
magikcypress
6bd9c67680 Clean 2017-03-29 19:25:52 +02:00
magikcypress
6ad1298170 systemctl à la place de service 2017-03-29 00:08:35 +02:00
magikcypress
380a554ef1 systemctl à la place de service 2017-03-28 23:57:02 +02:00
magikcypress
f54fdcd0bc Supprimer une vérification qui ne sert à rien 2017-03-26 16:49:46 +02:00
magikcypress
e01eec04a5 systemctl à la place de service 2017-03-26 16:29:13 +02:00
magikcypress
41db2e2da8 Supprimer les options multisite 2017-03-26 15:39:54 +02:00
magikcypress
97f9c0dae3 Fix problème de conf php-fpm à la mise à jour + pétouille 2017-03-26 15:06:37 +02:00
magikcypress
0553c945fb On supprime l'argument dans la fonction SETUP_SOURCE 2017-03-26 01:02:03 +01:00
magikcypress
b6f63ecbc9 Récupérer la version stable lors de l'upgrade 2017-03-23 14:44:42 +01:00
magikcypress
51e9894a8a Correction bug dans upgrade 2017-03-15 16:24:41 +01:00
magikcypress
8aaabf3782 Suppression de show progress dans le wget 2017-03-15 15:58:00 +01:00
magikcypress
8b7bf371cc + set eu 2017-03-15 00:18:41 +01:00
magikcypress
69ca0f21c3 set eu 2017-03-15 00:09:13 +01:00
magikcypress
9c81b13e01 [test] bug fichier restore 2017-03-14 17:28:36 +01:00
magikcypress
b0c590b516 [test] bug fichier restore 2017-03-14 15:45:05 +01:00
magikcypress
f6f1671df3 Corrige la bêtise sur la vérif des fichiers de conf 2017-03-14 15:38:38 +01:00
magikcypress
cb28a9999c Corrige la bêtise sur la vérif des fichiers de conf 2017-03-14 15:22:14 +01:00
magikcypress
3ebf0a4c19 Comment md5sum + sudo wget .fonctions 2017-03-14 13:56:34 +01:00
magikcypress
5cc3bcd1d8 Accolade sur les variables 2017-03-14 13:20:08 +01:00
magikcypress
203369583d Supprimer mysql dans le manifest 2017-03-11 13:57:40 +01:00
magikcypress
a57a21831b Saut en fin de ligne 2017-03-11 13:00:23 +01:00
magikcypress
4c15f75c0b Saut en fin de ligne 2017-03-11 12:36:13 +01:00
magikcypress
54d93936cf Double quote sur la variable du chown 2017-03-11 12:20:28 +01:00
magikcypress
261badc7eb fin de fichier prématurée sur restore ? 2017-03-11 00:57:00 +01:00
magikcypress
06fe200ca3 Saut de ligne dernière ligne pour fixer erreur fin de ligne prématurée 2017-03-10 23:02:23 +01:00
magikcypress
4666ebb5ac Suppression ligne de fin sur restore 2017-03-10 22:26:50 +01:00