* Apply example_ynh
* Cleanup ynh_clean_setup
* Fix "php conf location" breaking backup script
See https://github.com/YunoHost-Apps/dokuwiki_ynh/issues/96
the bug:
> php file is still in folder: '/etc/php/7.4/fpm/pool.d/' after upgrade
> instead of '8.1' folder.
Changing the "ynh_add_fpm_config" for the fix. The helper should do the
"php version handling" instead of the package itself
Example taken on the package:
https://github.com/YunoHost-Apps/wordpress_ynh/blob/testing/scripts/upgrade
* enh use helper "ynh_add_config" to manage file
* bump package version and changelog
* Auto-update README
* Version 2 (#98)
* v2
* v2
* Auto-update README
* Update tests.toml
* Update manifest.toml
* Update LICENSE
* cleaning
* cleaning
---------
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
---------
Co-authored-by: yalh76 <yalh@yahoo.com>
Co-authored-by: Gofannon <gofannon+github@riseup.net>
Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
See https://github.com/YunoHost-Apps/dokuwiki_ynh/pull/37#issuecomment-404597751
Just one last thing, if you put the yunohost requirement at 2.7.14 (last jessie version), you can remove any reference to #sub_path_only in nginx into your install script, as well as upgrade and change_url scripts.
This fix, alias_traversal, is now handled by the helper itself.
- migrate from custom helper '.fonctions' to official helpers
- Use '_common.sh' + various templates from 'example_ynh'
- update 'manifest' with new Yunohost version requirement
- redo 'install' script
* [fix] Reactivate integrity check #26
* [fix] Use boolean type for is_public #25
* [fix] isolate user with php-fpm
* [fix] boolean is_public for check_process
* [fix] Create user for upgrade and restore
* [fix] delete choices manifest.json
* [fix] load generic function
* [fix] delete reload php5-fpm
* [fix] owner file with user dokuwiki
* [fix] correctly ssowat config for install
* [fix] Get file fonction if not been to the current directory
* [fix] owner file with user dokuwiki - upgrade
* [fix] Clean code
* Reload php-fpm et after remove user
* [fix] upgrade php5-fpm with a good user
* [fix] owner root for all files & owner dokuwiki for write access
* [fix] owner root for all files & owner dokuwiki for write access (upgrade script)
* [fix] owner read & write for plugins directory