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

123 commits

Author SHA1 Message Date
Gofannon
2cb2ddab91 enh use helper "ynh_add_config" to manage file 2023-02-26 18:13:16 +01:00
Gofannon
90345a544e 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
2023-02-26 18:03:38 +01:00
yalh76
7c2d6a938a Cleanup ynh_clean_setup 2022-09-29 08:23:26 +02:00
yalh76
da54fe8875 Apply example_ynh 2022-09-27 03:20:52 +02:00
Gofannon
e3132a97a6 Revert "apply 'example_ynh' - no idea if these are needed..."
This reverts commit 26a16c44d0.
Unused bu the app! see https://github.com/YunoHost-Apps/dokuwiki_ynh/pull/92#issuecomment-1223069994
2022-08-26 19:33:17 +02:00
Gofannon
217eb7e818 Remove unused variable + pretty indent 2022-08-21 01:31:11 +02:00
Gofannon
e81c507a11 apply 'example_ynh': cosmetic + typo 2022-08-21 01:30:24 +02:00
Gofannon
2ce12e2e5e apply 'example_ynh': move php fpm block 2022-08-21 01:29:29 +02:00
Gofannon
b312077566 apply 'example_ynh': move fail2ban block 2022-08-21 01:28:25 +02:00
Gofannon
ec68ea9c94 apply 'example_ynh' : move permission block 2022-08-21 01:22:58 +02:00
Gofannon
006211049d apply 'example_ynh' : dependencies + nginx block moved 2022-08-21 01:21:38 +02:00
Gofannon
26a16c44d0 apply 'example_ynh' - no idea if these are needed... 2022-08-21 01:18:19 +02:00
Gofannon
477ade870d use variables for config "ynh_add_fpm_config" 2022-08-21 01:14:43 +02:00
Gofannon
7fcfcdb6e9 example_ynh: switch nginx and php blocks 2022-08-20 20:14:29 +02:00
Gofannon
03ae0ce55b fix remains of logauth plugins again... 2022-08-19 00:18:36 +02:00
Gofannon
4802b254bf fix copied files being owned by root and not app user 2022-08-18 23:59:19 +02:00
Gofannon
0473c71a35 refactor admin permission (move in install script & clean in upgrade) 2022-08-18 23:57:11 +02:00
Gofannon
3006e4345d Change method to "automatic upgrade" of plugins 2022-08-18 21:47:53 +02:00
Gofannon
d9e9f93281 purge plugin "logautherror" (not compatible) 2022-08-18 20:46:27 +02:00
Gofannon
e3ef8657a7 apply 'example_ynh' + use php 8.1
PHP7.4 is bulleyes will be EOL "28 Nov 2022" so bump the version
and dokuwiki is compatible with PHP 8.X  https://www.dokuwiki.org/requirements
2022-08-18 20:00:04 +02:00
ericgaspar
719fa4d2c1 Update config 2022-03-20 18:38:33 +01:00
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
ericgaspar
9b7d078d82
Cleanup backup script 2020-09-24 11:40:23 +02:00
Gofannon
2075b564ae [enh] remove helper's code as there are in core 2020-09-03 00:02:29 +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
Gofannon
ac50e4c719 Implement new permissions system in YNH 3.7 2020-04-30 17:41:56 +02:00
Gofannon
228968e2de Add required helper 2020-04-30 17:38:37 +02:00
Kayou
7de40f5a7c
Remove useless comment 2019-07-09 09:55:36 +02:00
Maniack Crudelis
37d589083e
Merge branch 'testing' into master 2019-05-30 00:17:54 +02:00
Maniack Crudelis
eb4f85bd84
Upgrade fail2ban for new_path and new_domain 2019-05-30 00:14:48 +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
d058c86a47
Typo fix 2019-05-12 17:09:42 +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