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

179 commits

Author SHA1 Message Date
Gofannon
d713894752 [fix] Copy configuration files then modify them
See https://github.com/YunoHost-Apps/dokuwiki_ynh/pull/37#issuecomment-398374816

"Since a few time, because the conf folder will be kept for later uses (especially in change_url), it's better to copy your file in the right place before modifying it."
2018-09-08 21:03:34 +02:00
Gofannon
257acb2b4d [enh] remove duplicate code block 2018-09-08 21:02:41 +02:00
JimboJoe
5ddef3e44e
Typo fix 2018-08-25 22:41:30 +02:00
Gofannon
49a8493ce0 [enh] Rewrite README
* Languages : english and french
* Update to reflect current state of Yunohost package and DokuWiki
2018-08-12 15:33:54 +02:00
JimboJoe
46f3fd4c10
Merge pull request #37 from Gofannon/refactor
Refactor
2018-08-01 07:52:30 +02:00
Gofannon
a7de5c7f57 [fix] Fix "restore" script too 2018-07-16 23:58:09 +02:00
Gofannon
92e63982cf [fix] Fix "backup" so restore can be done
See https://github.com/YunoHost-Apps/dokuwiki_ynh/pull/37#pullrequestreview-134457098
2018-07-16 23:33:27 +02:00
Gofannon
ef23b0046a [enh] Cleaning by changing Yunohost needed version
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.
2018-07-16 23:28:58 +02:00
Gofannon
b01f2e4add [enh] add work in progress 'change_url' script
Not (yet) working...
2018-07-11 22:11:15 +02:00
Gofannon
813957624f [fix] Fix issue alias_traversal
See d3f4117369
2018-07-09 22:15:49 +02:00
Gofannon
6718a7efa0 [enh] manage file 'preload.php' correctly
See https://github.com/YunoHost-Apps/dokuwiki_ynh/pull/37#issuecomment-403296911
2018-07-09 22:14:13 +02:00
Gofannon
7d5a382f4d [fix] Fix encoding to ascii instead of utf8 2018-07-08 00:10:16 +02:00
Gofannon
1ee015bd50 [enh] rework linux permissions 2018-07-08 00:04:33 +02:00
Gofannon
196af58477 [enh] during 'upgrade', copy LDAP config
See https://github.com/YunoHost-Apps/dokuwiki_ynh/pull/37#discussion_r200142881
2018-07-07 18:24:51 +02:00
Gofannon
c78b5c966a [fix] Fix upgrade process from existing install
Handle case where file added by previous commit was not present on existing install
2018-06-28 23:56:55 +02:00
Gofannon
c9e64c9573 [enh] Cleaning 2018-06-28 00:22:02 +02:00
Gofannon
06c2ca7ab3 [enh] Optimization by removing useless step
See https://github.com/YunoHost-Apps/dokuwiki_ynh/pull/37
2018-06-28 00:21:12 +02:00
Gofannon
39e8ccdf8b [enh] Use "ynh_backup_if_checksum_is_different"
Use helper during upgrade to change config dedicated to Yunohost
Do not use for files that can be modified by dokuwiki users and admin

See https://github.com/YunoHost-Apps/dokuwiki_ynh/pull/37
2018-06-27 23:51:40 +02:00
Gofannon
c25787db1e [enh] Split configuration in different files
Separate dedicated Yunohost configuration in a new file that cannot be modified by user
Adapt scripts to handle new files

See https://github.com/YunoHost-Apps/dokuwiki_ynh/pull/37
2018-06-27 23:12:30 +02:00
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
adc5f446a1 [enh] change version number 2018-06-17 23:30:40 +02:00
Gofannon
166efb950c [enh] Add licence of Dokuwiki software to manifest 2018-06-17 22:26:41 +02:00
Gofannon
77992636db change maintainer of package after asking to Opi
Add list of previous maintenairs to the manifest too
2018-06-17 22:26:41 +02:00
Gofannon
83ac2d72cb [enh] Update to "Greebo" 2018-04-22 hotfix a 2018-06-17 22:24:38 +02:00
Gofannon
3c587b3ac1 [enh] Add language choice + cleaning variables 2018-06-17 22:15:01 +02:00
Gofannon
299a3d8cf3 [enh] Redo 'check_process' to match 'example_ynh' 2018-06-17 19:49:37 +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
Maniack Crudelis
d32447f0b5
Create pull_request_template.md
Duplicated from https://github.com/YunoHost-Apps/searx_ynh/pull/35, merged as a micro decision
2018-05-28 10:54:35 +02:00
Maniack Crudelis
052eb382f2 Add upgrade from a previous commit (#35)
* Add upgrade from a previous commit

* Fix is_public value for upgrade from commit
2018-04-16 18:37:29 +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
lapineige
839187ee64 Add "Install with Yunohost" button (#30)
* Add "Install with Yunohost" button

https://github.com/YunoHost/install-app

* Fixed typo

* Fix typo 2
2017-07-19 07:17: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
881adf9457 Merge pull request #24 from YunoHost-Apps/fix_big_uploads
Enable uploads bigger than 1Mb
2017-04-17 17:31:13 +02:00
JimboJoe
5930dc76ec Enable uploads bigger than 1Mb
Reference: https://www.dokuwiki.org/faq:uploadsize
2017-04-17 12:08:43 +02:00
__cyp
95b5d8a1ba Refactoring and upgrade to 2017-02-19b "Frusterick Manners" version 2017-04-15 13:16:21 +02:00
Maniack Crudelis
2b5659f8c7 Merge pull request #22 from YunoHost-Apps/check_process
Create check_process
2017-01-18 00:05:54 +01:00
Maniack Crudelis
71d912994e Syntax fix 2017-01-17 17:26:13 +01:00
Maniack Crudelis
01add99d3d Create check_process 2017-01-17 11:14:19 +01:00
Maniack Crudelis
f2015a0c7e Merge pull request #21 from YunoHost-Apps/remove-redmine-ref
Retour issues sur github
2016-12-26 17:26:47 +01:00