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

81 commits

Author SHA1 Message Date
tituspijean
f069ac6eaf
Do not rely on GPM to update LDAP plugin 2021-11-05 12:54:52 +01:00
tituspijean
c3c84311cc Directly install LDAP plugin, no need for GPM 2021-09-15 11:46:32 +02:00
ericgaspar
8a91ad7816 patch 2021-09-15 11:46:32 +02:00
tituspijean
e663e16092 Upgrade to v1.7.17 2021-06-29 23:11:21 +02:00
tituspijean
7d16d0560c Upgrade to v1.7.15 2021-05-20 00:32:46 +02:00
tituspijean
5606ee2b8b Permissions in upgrade should be for downward compatibility 2021-04-07 18:40:42 +02:00
tituspijean
63505e06e3 Silence yes "broken pipe" 2021-04-07 18:36:09 +02:00
tituspijean
eb595bbb97 Handle failing plugin upgrade 2021-04-06 22:43:07 +02:00
tituspijean
8472da0efe bin/gpm has to be run from $final_path 2021-04-05 13:57:11 +02:00
tituspijean
a3ffdb415e Use ynh_legacy_permissions_exists helper 2021-03-27 00:23:00 +01:00
tituspijean
561098119e Fix group permissions 2021-03-27 00:19:32 +01:00
tituspijean
19c753acf2 Sanitize permissions assignment and commands execution 2021-03-26 19:57:20 +01:00
tituspijean
1c1c954256 Use ynh_add_config helper for LDAP config 2021-03-26 19:13:19 +01:00
tituspijean
defa321bb5 Remove all 'others' permissions in final_path 2021-03-25 08:38:38 +01:00
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