1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dokuwiki_ynh.git synced 2024-09-03 18:26:20 +02:00
Commit graph

44 commits

Author SHA1 Message Date
Gofannon
5716fb1686 [enh] Optimization + fix typos + add comments 2018-06-27 19:23:33 +02:00
Gofannon
83aac4438b [enh] Remove 'logrotate' config as not needed
See https://github.com/YunoHost-Apps/dokuwiki_ynh/pull/37
2018-06-27 00:02:25 +02:00
Gofannon
c7261fb714 [enh] move 'systemd' config as not needed
See https://github.com/YunoHost-Apps/dokuwiki_ynh/pull/37
2018-06-26 23:57:01 +02:00
Gofannon
1d1f0bf8c6 [fix] Correct the removal of old files 2018-06-18 00:16:06 +02:00
Gofannon
6f12b387c9 [fix] Disable "systemd" setup as it does not work
I cannot make it work so I disable it
2018-06-18 00:13:02 +02:00
Gofannon
0651318860 [enh] cleaning by removing "sudo" in scripts 2018-06-17 23:31:57 +02:00
Gofannon
3c587b3ac1 [enh] Add language choice + cleaning variables 2018-06-17 22:15:01 +02:00
Gofannon
5f797220eb [enh] Use a dedicated file to store customization
Will be useful for next upgrades
See https://www.dokuwiki.org/config#configuration_options
2018-06-17 19:33:18 +02:00
Gofannon
feb2e848ff [enh] Cleaning - remove files not needed anymore 2018-06-17 17:16:54 +02:00
Gofannon
15c44f67bf [fix] Correct errors found by 'package_check' 2018-06-17 11:36:13 +02:00
Gofannon
feba478177 [enh] refactor 'backup' and 'upgrade' scripts 2018-06-15 15:16:42 +02:00
Gofannon
9e53f1cf6f [enh] refactor 'restore' script to best practices 2018-06-14 18:58:40 +02:00
Gofannon
bdf0f77c19 [enh] refactor 'remove' script to best practices 2018-06-14 18:42:32 +02:00
ansible
42a170b60c refactor "install" script and use best practices
- 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
2018-06-14 18:28:14 +02:00
Jimmy Monin
9e34a8fce0 [micro-decision] Fix plugins directory rights on upgrade
Apply the same rights as in the install script (see this reference commit9933c984a3)
2017-08-26 22:51:20 +02:00
__cyp
795059f383 [fix] Fix issue #25 #26 #27 (#28)
* [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
2017-07-12 19:22:08 +02:00
__cyp
95b5d8a1ba Refactoring and upgrade to 2017-02-19b "Frusterick Manners" version 2017-04-15 13:16:21 +02:00
opi
4bd9a68d42 [fix] Reload nginx after app removal 2016-11-21 16:00:31 +01:00
JimboJoe
875a799548 Fix permissions on lib/tpl directory (upgrade script too)
Fix upgrade script as  well
2016-09-21 10:21:26 +02:00
JimboJoe
7c33438e2c Fix permissions on lib/tpl directory
lib/tpl need to be writable by www-data to allow templates installation (analog to lib/plugins)
2016-09-18 21:44:59 +02:00
opi
e015cc7fe0 [fix] Do not override acl on update. 2016-06-22 11:13:50 +02:00
Jérôme Lebleu
41d5a04184 [fix] Call xargs with sudo for chmod instead of the reverse
It allows to prevent the number of arguments and environment variables passed
to chmod - which often fails with the error: "Argument list too long".
See: http://unix.stackexchange.com/a/72822
2016-05-30 22:55:26 +02:00
Jérôme Lebleu
e43a26b954 [fix] Retrieve app settings in upgrade script 2016-05-23 14:03:54 +02:00
opi
6137c275cc [fix] Backup/restore, multi-instance. 2016-05-10 15:36:55 +02:00
opi
3999dce147 [fix] Hardcoded app name. 2016-05-07 02:05:09 +02:00
opi
a3fc2280a1 [enh] Use latest backup specification. 2016-05-07 01:32:32 +02:00
opi
2b8b62dd3a [enh] Use ynh_backup helper. 2016-05-07 01:24:35 +02:00
opi
f8e809a163 [fix] Nginx location & path trailing slash. 2016-03-01 09:36:24 +01:00
opi
ef32510a43 [enh] Remove deleted files. 2016-02-29 11:26:49 +01:00
opi
324019ac6c [enh] Remove upgrade notification 2016-02-29 11:26:49 +01:00
Jérôme Lebleu
22558ba978 [fix] Remove SSOwat regen conf from scripts 2016-02-26 20:08:07 +01:00
opi
8e1d25c82d [enh] Upgrade backup/restore script (compatible with old backup) 2016-01-25 13:17:55 +01:00
opi
25e1fda7a2 [fix] Missing upgrade script for multi-instance. 2016-01-25 13:17:19 +01:00
zamentur
45d93cb3dd [enh] Upgrade backup/restore script (compatible with old backup) 2016-01-11 00:39:44 +01:00
Zamentur aka ljf
f559ac5728 [enh] Prepare upgrade for multisite 2015-09-07 14:23:47 +02:00
Zamentur aka ljf
c108e3f199 [enh] Prepare for multisite 2015-09-07 14:21:42 +02:00
opi
ea75f86695 [fix] Use reload instead of restart. 2014-11-04 12:34:53 +01:00
opi
4d43a4d4c6 [enh] Add *untested* backup scripts. 2014-11-04 00:19:38 +01:00
opi
e58212bc8b [enh] Pass SSO credential even in public mode. 2014-10-30 00:29:12 +01:00
opi
ab20cc695d [enh] Move config file into appropriate folder. Declare default ACL. 2014-10-30 00:28:29 +01:00
opi
43fc9d006b [enh] Use LDAP auth, fix folders permissions. 2014-07-20 15:28:50 +02:00
opi
8a5c76c1b9 Give www-data write permissions to conf folder. 2014-05-28 09:34:29 +02:00
opi
6bbccd31d0 Give www-data more write permissions in data folder 2014-05-28 09:31:30 +02:00
Adrien Beudin
6762867dac first commit 2014-02-11 14:56:25 +01:00