Commit graph

214 commits

Author SHA1 Message Date
Alexandre Aubin
64a9cadafd
Merge pull request #115 from YunoHost/improve-explanation-about-service-add-flags
Improve comments about extra flags for service add
2020-05-23 19:10:04 +02:00
ericgaspar
e3e27af7b8
Update install 2020-05-19 09:34:11 +02:00
ljf (zamentur)
d8cff1c3ca
[fix] Unused option 2020-05-07 19:34:39 +02:00
Alexandre Aubin
961694bbf5 Add explanation about ynh_backup, remove progress bars and move mysqldump to the end 2020-05-07 02:23:17 +02:00
Alexandre Aubin
51525a41dd It shouldn't be the default to start/stop service during backup declarations.. 2020-05-07 02:13:54 +02:00
Alexandre Aubin
c5fa52df5e Improve comments about extra flags for service add 2020-05-07 02:10:08 +02:00
Maniack Crudelis
9b1dbbd74c
Add ynh_permission_has_user helper 2020-03-30 22:58:18 +02:00
Maniack Crudelis
e5f2a4510a
Add public access only if already there 2020-03-30 22:56:35 +02:00
Kay0u
65e0c8e926
better migration to the new permission process 2020-03-30 19:07:55 +02:00
Maniack Crudelis
ba90882b20
Update upgrade 2020-02-09 18:29:41 +01:00
maniack
bcab74253f Adapt the code accordingly to https://github.com/YunoHost/yunohost/pull/879 2020-02-09 18:27:35 +01:00
Kay0u
86d348b312
Using new permissions system 2020-02-08 23:16:25 +07:00
maniack
426f0b2ddf Move nginx after php 2020-02-08 12:43:49 +01:00
maniack
b3755ebdee Set the default php version to use 2020-02-08 12:39:48 +01:00
Maniack Crudelis
35414b8baa
Merge pull request #107 from YunoHost/no-need-to-open-port
Add notes about this firewall thing which is creating security issues…
2019-12-06 18:29:10 +01:00
Maniack Crudelis
3b336759d8
Update install 2019-12-06 18:29:03 +01:00
Maniack Crudelis
8598039e74
Update install 2019-12-06 18:28:44 +01:00
Maniack Crudelis
1b9e8ddf70
Merge pull request #108 from YunoHost/improve-service-add
Tweak explanation about "yunohost service add" + add tips for 3.8
2019-12-06 18:27:03 +01:00
Alexandre Aubin
911c04b73a
Tweak restore script as well 2019-11-27 19:39:16 +01:00
Alexandre Aubin
e9ad267d11
Tweak working in remove script 2019-11-27 19:37:35 +01:00
Alexandre Aubin
c75ccb8ba4
Tweak explanation about "yunohost service add" + add tips for 3.8 2019-11-27 19:34:37 +01:00
Alexandre Aubin
e96d455c64
Add notes about this firewall thing which is creating security issues if you don't need it ... 2019-11-27 19:24:15 +01:00
Maniack Crudelis
14959a7711
Backup before changing url. 2019-06-19 16:23:55 +02:00
Kayou
fc47ebbe57
user ynh_exec_warn_less 2019-05-22 20:40:53 +02:00
Gofannon
6cf0c6af7f
Update install
php-fpm.ini should not be used anymore
2019-05-15 11:48:12 +02:00
Kayou
1a780c389b
Merge branch 'master' into db_user 2019-05-09 10:31:14 +02:00
Maniack Crudelis
f293009100 Small fixes 2019-05-07 12:03:25 +02:00
Maniack Crudelis
4438f47c2a
Merge pull request #82 from yalh76/services
Adding ynh_systemd_action
2019-05-06 12:05:52 +02:00
yalh76
8cd1f74d2f fix db_user missing 2019-05-02 21:04:03 +02:00
yalh76
1bd3e11340 Adding title for config file checksum during upgrade 2019-05-02 20:47:26 +02:00
yalh76
ff1d963eac Adding ynh_systemd_action 2019-05-02 20:44:22 +02:00
Maniack Crudelis
197269fbd8 Use new 3.5 helpers 2019-04-18 19:58:47 +02:00
Pierre Bourré
ff6db9a05b Getops 2019-04-16 00:32:39 +02:00
Kayou
0e702da9cb
Merge pull request #77 from YunoHost/remove-normalize-url
Normalizing url ain't needed anymore
2019-03-25 23:40:07 +01:00
Alexandre Aubin
3f2a78ea0b
Put back normalization in update script with a note about YunoHost 2.7 2019-03-07 22:44:41 +01:00
Alexandre Aubin
10457c5893 Normalizing url ain't needed anymore 2019-03-07 20:05:03 +01:00
Kayou
7219f5a3b8
New section 2019-03-05 23:17:15 +01:00
Kayou
e4f08bd4be
Use the same dependencies variable 2019-03-05 23:11:52 +01:00
Maniack Crudelis
dcff494c9f
Merge pull request #73 from YunoHost/improve-service-check
Improve detection that service exists for yunohost
2019-02-27 14:22:12 +01:00
Mickaël Martin
a628eacb8f
comment the usage of _common.sh 2019-02-26 21:21:43 +01:00
Mickaël Martin
35eb97a915
comment the usage of _common.sh 2019-02-26 21:21:06 +01:00
Alexandre Aubin
7c88f8a19a
Improve detection that service exists for yunohost 2019-02-25 16:59:01 +01:00
Alexandre Aubin
66b8e5dfee
Typo 2019-02-17 18:04:58 +01:00
Jimmy Monin
25f0a3018a Cosmetic changes on info messages 2019-02-17 17:58:02 +01:00
Maniack Crudelis
002bbbdf4f
Update install 2019-02-17 14:08:58 +01:00
Maniack Crudelis
160964c0bc Ensures consistency 2019-02-14 01:35:47 +01:00
Alexandre Aubin
798ef54052 Tweaks for change_url 2019-02-13 18:49:07 +01:00
Alexandre Aubin
b188ea561a ... those files :D 2019-02-13 18:45:47 +01:00
Alexandre Aubin
a95fca5a43 Misc wording tweaks 2019-02-13 18:40:20 +01:00
JimboJoe
0c1bec02e4
Update scripts/upgrade
Co-Authored-By: maniackcrudelis <maniackcrudelis@users.noreply.github.com>
2019-02-10 20:06:53 +01:00
JimboJoe
32f1ebca0a
Update scripts/_common.sh
Co-Authored-By: maniackcrudelis <maniackcrudelis@users.noreply.github.com>
2019-02-10 20:04:23 +01:00
JimboJoe
5f7d591780
Update scripts/_common.sh
Co-Authored-By: maniackcrudelis <maniackcrudelis@users.noreply.github.com>
2019-02-10 20:04:13 +01:00
Maniack Crudelis
05d5511136 Global upgrade 2019-02-10 15:02:38 +01:00
Maniack Crudelis
57cceced5d
Merge pull request #60 from kay0u/patch-1
[fix] Update example with the new version of php
2019-02-10 14:22:04 +01:00
Maniack Crudelis
2186976044
Merge pull request #62 from yalh76/master
Log personalization for ADMIN PANEL
2019-02-10 14:21:11 +01:00
Maniack Crudelis
ebbb675580
Merge pull request #66 from yalh76/database_actions_order
Database actions order
2019-02-10 14:20:53 +01:00
Maniack Crudelis
de3c3057fe
Merge pull request #58 from YunoHost/ynh_print_info
Add ynh_print_info examples
2019-02-10 14:20:21 +01:00
yalh76
2589f39dcf RESTORE DATABASE after REINSTALL DEPENDENCIES 2019-02-07 17:17:26 +01:00
yalh76
29d27f85f9 Reorder MYSQL DATABASE REMOVE before DEPENDENCIES REMOVE if using other DATABASE system 2019-02-07 17:14:54 +01:00
Kayou
45fb3ab409
Enh adding " char in a comment 2019-02-04 15:35:33 +01:00
Kayou
88b948f4f3
scripts with new version 2019-01-30 00:32:36 +01:00
Yalh
4bb89dd162 Log personalization for ADMIN PANEL according default systemd.service value for logs 2019-01-28 19:52:26 +01:00
JimboJoe
21c24f8d1f
Small typo 2019-01-25 22:17:37 +01:00
Alexandre Aubin
d49179dd06
Add ynh_print_info example 2019-01-25 19:29:39 +01:00
Yalh
05e5af727e Reorder Service and Service in admin panel 2019-01-24 01:52:51 +01:00
Maniack Crudelis
e252637ae7
Merge pull request #52 from YunoHost/remove_php_ini
Remove ini file for php
2019-01-13 11:56:20 +01:00
Gofannon
183f8a6b9d Update install
1. Change "service management" to be consistent with 'restore' script. See https://github.com/YunoHost/example_ynh/blob/master/scripts/restore#L99
2. Add a comment about the possibility of adding a description since Yunohost 3.2 (optional and can be removed as it is cherry on top of the cake feature and could be confusing)
2018-12-23 18:15:51 +01:00
JocelynDelalande
1734ca9293 Remove redundant call to ynh_webpath_available (#53)
ynh_webpath_register will take care of check & fail nicely if needed.
2018-12-15 17:41:02 +01:00
Maniack Crudelis
2588f45c2f Remove ini file for php 2018-10-02 01:11:07 +02:00
Maniack Crudelis
c6bdc79713
Merge pull request #47 from YunoHost/add_comments
Add comments
2018-07-30 09:58:07 +02:00
Maniack Crudelis
397a241df6
Remove sub_path_only for nginx from upgrade script 2018-07-29 20:14:08 +02:00
Maniack Crudelis
49529ac03a
Remove sub_path_only for nginx from install script 2018-07-29 20:14:01 +02:00
Maniack Crudelis
3165e398fd
Merge pull request #50 from Gofannon/fix_change-url
[fix] Fix "change_url"
2018-07-20 13:49:00 +02:00
Maniack Crudelis
b704e1cbcb
path don't need to be stored 2018-07-20 13:48:49 +02:00
Gofannon
0a717b511f [fix] Fix "change_url" 2018-07-17 00:20:13 +02:00
Gofannon
c2d880694e [fix] Fix backup & restore system
See https://github.com/YunoHost-Apps/dokuwiki_ynh/pull/37#pullrequestreview-134457098
and https://github.com/YunoHost/yunohost/pull/489#issuecomment-396854686
2018-07-17 00:02:52 +02:00
JimboJoe
6390de8719
Comment rephrasing 2018-07-08 09:14:36 +02:00
Josue-T
460e87957e
Add comment about final_path 2018-07-07 22:34:54 +02:00
Jimmy Monin
1c9c94ef65 Various typo fixes 2018-07-01 09:57:16 +02:00
Maniack Crudelis
846e701632
Merge branch 'master' into add_comments 2018-06-29 19:38:36 +02:00
Maniack Crudelis
8a2330837b Add comments and upgrade some stuff 2018-06-28 22:05:35 +02:00
Maniack Crudelis
d3f4117369 [fix] Fix the issue alias_traversal (#45)
* Fix the issue alias_traversal

https://github.com/yandex/gixy/blob/master/docs/en/plugins/aliastraversal.md

* Update fix alias_traversal

* Don't change original nginx conf file and add change_url

* Use newest version of ynh_add_nginx_config from #462
No more need to deal with "#sub_path_only"

* Revert "Use newest version of ynh_add_nginx_config from #462" as it's not released (and subject to discussions)!

This reverts commit fac62c49ff.

* Fix indentation
2018-06-23 14:45:28 +02:00
Maniack Crudelis
f24034fcfc
Fix systemd helper...
Yolo micro decision
2018-06-18 00:58:40 +02:00
Jimmy Monin
b64d6c9961 Fix indentation 2018-06-14 23:03:29 +02:00
Jimmy Monin
e2911b3db0 Revert "Use newest version of ynh_add_nginx_config from #462" as it's not released (and subject to discussions)!
This reverts commit fac62c49ff.
2018-05-27 16:05:00 +02:00
Jimmy Monin
fac62c49ff Use newest version of ynh_add_nginx_config from #462
No more need to deal with "#sub_path_only"
2018-05-27 15:50:56 +02:00
Jimmy Monin
dcb447c208 Don't change original nginx conf file and add change_url 2018-05-27 15:44:58 +02:00
JimboJoe
53d211389e
Merge pull request #44 from Jibec/patch-1
use explicit arguments for mysql
2018-01-18 07:32:23 +01:00
Maniack Crudelis
2d21ec6163 Update fix alias_traversal 2018-01-03 23:24:48 +01:00
Maniack Crudelis
f68d61d8a5
logrotate needs -non-append in case of upgrade
https://github.com/YunoHost/yunohost/blob/unstable/data/helpers.d/backend#L5
2017-12-08 15:09:44 +01:00
Jean-Baptiste
e9dae27540
use explicit arguments for mysql 2017-11-05 22:18:57 +01:00
Alexandre Aubin
a0eb745db9
Merge pull request #36 from YunoHost/change_url_script
[enh] Add a change_url script
2017-10-28 16:12:58 +02:00
Pierre de La Morinerie
ae5844782c Fix typo in ynh_add_systemd_config 2017-10-12 16:36:00 +05:30
frju365
3a26b8b6e8 Merge branch 'master' into change_url_script 2017-10-03 23:22:07 +02:00
Jimmy Monin
39b0e3bb13 Remove YunoHost 2.7.2 helpers from _common.sh 2017-09-06 08:22:15 +02:00
Jimmy Monin
3cef7eb3f7 Handle nginx conf file checksums (additional helper) 2017-09-06 08:21:30 +02:00
Jimmy Monin
fbac88a28d Put ynh_replace_string back (works with regexps) 2017-09-06 08:20:12 +02:00
Maniack Crudelis
5039df052d Small corrections 2017-09-05 17:48:23 +02:00
Jimmy Monin
22bc3cc21f Update nginx conf file checksum 2017-09-03 16:39:05 +02:00
Maniack Crudelis
a625ad79da [enh] Some corrections 2017-08-28 23:55:51 +02:00