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

70 commits

Author SHA1 Message Date
ericgaspar
af11cd7262
Add config panel 2021-12-08 21:59:05 +01:00
Éric Gaspar
89fc6747b1
Template (#85) 2021-11-24 21:21:02 +01:00
Éric Gaspar
4b20b0401a
Remove ask on manifest (#78)
* Remove ask on manifest

* Add ynh_abort_if_errors

Co-authored-by: Gofannon <17145502+Gofannon@users.noreply.github.com>
2021-04-18 16:50:50 +02:00
Alexandre Aubin
a6c6be2f1d
Unecessary commented code 2021-02-19 00:08:19 +01:00
Alexandre Aubin
4e81097d8e
Unecessary commnted block 2021-02-19 00:07:53 +01:00
Alexandre Aubin
793df20c07
Simplify legacy permission migration 2021-02-19 00:06:47 +01:00
ljf (zamentur)
fdc2fc4e2e
Merge branch 'testing' into permissions 2021-01-19 13:30:29 +01:00
Éric Gaspar
dd5aff6203
Add extra php dependencies (#73) 2021-01-06 16:54:00 +01:00
ericgaspar
22f5d4e0c5
Fix linter warnings 2020-12-06 11:52:06 +01:00
ericgaspar
756c0905ad
Remove unneeded --phpversion 2020-11-19 17:00:43 +01:00
Éric Gaspar
7648128ee5
Transition to PHP7.2 (#68) 2020-10-23 18:35:07 +02:00
ericgaspar
d6660e904f
Small typos 2020-09-24 11:46:49 +02:00
Gofannon
1332c38656 [enh] Simplify by removing subprocess + add comment 2020-08-25 23:36:47 +02:00
Gofannon
fac3df2025 [enh] purge of old upgrade files 2020-08-25 23:31:12 +02:00
Gofannon
2ab75c4297 Revert "Fix upgrade error by changing rm options"
This reverts commit af43ee6008.
2020-05-15 14:52:04 +02:00
Gofannon
af43ee6008 Fix upgrade error by changing rm options
Warning: yunohost.hook <lambda> - [1188.1] rm: cannot remove 'vendor/easybook/geshi': Directory not empty
2020-05-15 12:50:50 +02:00
Gofannon
e42bed446d Adapt 'upgrade' script for new permission system 2020-04-30 17:43:46 +02:00
Maniack Crudelis
37d589083e
Merge branch 'testing' into master 2019-05-30 00:17:54 +02:00
Maniack Crudelis
71b270ab18 Normalization... 2019-05-12 17:22:25 +02:00
Maniack Crudelis
bf641f873f
Merge branch 'testing' into master 2019-05-12 17:13:09 +02:00
Maniack Crudelis
5951478de2 Fix fail2ban and add logautherror plugin 2019-05-12 17:06:51 +02:00
Maniack Crudelis
78c573822a Normalization from example_ynh 2019-05-11 01:13:45 +02:00
Maniack Crudelis
299f3d2e56
Update upgrade 2019-02-21 19:29:39 +01:00
Maniack Crudelis
64191ca55a Add progression with ynh_print_info 2019-02-17 20:54:36 +01:00
Maniack Crudelis
dc6168a0e3 Do not use rm -rf ! 2019-02-12 19:53:33 +01:00
Maniack Crudelis
c4ae1aacd0 Normalization from example_ynh 2019-02-12 19:39:23 +01:00
anmol
70d8aea655 Added Fail2ban 2018-11-21 02:33:53 +05:30
Maniack Crudelis
3bb15d1eab
Fix weird linter error 2018-09-17 11:04:53 +02:00
Jimmy Monin
d27f37799b Typo fixes 2018-09-16 09:00:36 +02:00
Gofannon
3f59ea2e01 [enh] do not store unnecessary files checksums
and cleaning comments
2018-09-15 21:37:44 +02:00
Gofannon
efd392a8c1 [fix] set admin user + add comments 2018-09-15 21:36:00 +02:00
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
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
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
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
3c587b3ac1 [enh] Add language choice + cleaning variables 2018-06-17 22:15:01 +02:00