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

100 commits

Author SHA1 Message Date
544f3ec9d2 Fix typo in upgrade script 2024-04-19 15:59:01 +02:00
tituspijean
68edebace1
Create backup directory upon restore 2024-04-17 22:27:06 +02:00
tituspijean
88cd1ba5b7
Actually disable in-app backup, do not backup backups nor cache 2024-04-17 22:18:11 +02:00
Alexandre Aubin
27a8a16e08 Fuck the stupid broken PHP-FPM config, to be standardized and integrated in the core 2024-01-27 18:31:58 +01:00
tituspijean
91bf10cf0e
Fix downward compatibility 2023-04-30 19:06:05 +02:00
tituspijean
c744b47ccf
Fix PHP-FPM settings: init variables upon install 2023-04-27 23:33:32 +02:00
tituspijean
db4ee605e0
Fix SFTP setting: init password upon install 2023-04-27 23:28:39 +02:00
tituspijean
7d1e625008
Packaging v2 2023-04-27 23:04:55 +02:00
yalh76
610ce8172a Clean db_name 2022-10-06 04:17:55 +02:00
yalh76
f419bbf334 Fix phpversion 2022-10-06 01:22:04 +02:00
yalh76
a9a49c2725 Apply last example_ynh 2022-10-06 00:00:31 +02:00
tituspijean
9904f98be0
Merge pull request #108 from YunoHost-Apps/ssh-ftp
Add SSH and SFTP access settings
2022-08-05 17:08:32 +02:00
tituspijean
a1a7da4879
Fix plugin upgrade 2022-05-09 22:38:11 +02:00
tituspijean
6fa07b3149
Add SSH and SFTP access settings 2022-03-20 19:38:33 +01:00
tituspijean
0ca3096997
Fix permissions on cronjob 2022-02-08 20:37:55 +01:00
tituspijean
2e6b8416b8
No need to ynh_exec_as to make files in upgrade
There's a chown/chmod step right after it.
2021-12-01 10:38:17 +01:00
ericgaspar
18144afeeb Update install 2021-11-29 20:53:57 +01:00
ericgaspar
1a429372cd Fix 2021-11-29 20:45:27 +01:00
ericgaspar
aad6b2e2ef 4.3 2021-11-29 20:25:33 +01:00
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