Commit graph

188 commits

Author SHA1 Message Date
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
Jimmy Monin
54c393cd99 Add more generic cases 2017-08-23 17:25:20 +02:00
Jimmy Monin
64bbd30989 Set required version to 2.7.2 and remove sudo prefixes 2017-08-23 17:11:20 +02:00
Jimmy Monin
078548ddd5 Merge branch 'master' into change_url_script 2017-08-23 17:09:52 +02:00
Maniack Crudelis
b4c6969284 Upgrade helpers
Micro décision
Mise à jour des helpers
2017-07-21 20:56:26 +02:00
Maniack Crudelis
57053e2c13 Fix nginx helper
Micro décision
Le nom du helper n'est pas bon.
2017-07-21 20:41:52 +02:00
Maniack Crudelis
094e19b7fc Fix nginx helper
Micro décision
Le nom du helper n'est pas bon.
2017-07-21 20:41:23 +02:00
Jimmy Monin
942d0c033f Remove sudo prefixes (not needed any more in YunoHost 2.6) 2017-07-05 18:10:43 +02:00
Maniack Crudelis
ec8b0edc07 Merge pull request #38 from YunoHost/add_common_sh
Add a _common.sh for new helpers
2017-07-01 23:38:44 +02:00
Jimmy Monin
1e2adaab71 Fix YunoHost version for forthcoming helpers 2017-06-25 17:25:21 +02:00
Maniack Crudelis
b417663e88 Purge common 2017-06-25 16:37:13 +02:00
Maniack Crudelis
32bc0f77b1 Merge pull request #31 from YunoHost/upgrade_install
[enh] Upgrade install
2017-06-25 16:21:24 +02:00
Maniack Crudelis
f4869f220d Merge pull request #32 from YunoHost/upgrade_backup
[enh] Upgrade backup
2017-06-25 16:21:15 +02:00
Maniack Crudelis
7f359635b6 Merge pull request #33 from YunoHost/upgrade_remove
[enh] Upgrade remove
2017-06-25 16:21:04 +02:00
Maniack Crudelis
3e19ebf12a Merge pull request #34 from YunoHost/upgrade_restore
[enh] Upgrade restore
2017-06-25 16:20:52 +02:00
Jimmy Monin
b21cd9b254 Fix wording and typos 2017-06-17 23:19:48 +02:00
Jimmy Monin
ef65e11261 Fix wording and typos 2017-06-17 18:10:46 +02:00
Jimmy Monin
9d182f9ccc Fix wording and typos 2017-06-17 18:02:28 +02:00
Jimmy Monin
605a772125 Fix wording and typos 2017-06-17 17:54:26 +02:00
Jimmy Monin
97fd284031 Fix wording and typos 2017-06-17 17:49:26 +02:00
Jimmy Monin
c100968d8b Advertise helpers temporary inclusion in _common.sh 2017-06-17 17:37:16 +02:00
Maniack Crudelis
eafe4235f4 Fake ynh_restore_file for prepare to this futur helper 2017-06-05 13:33:09 +02:00
Maniack Crudelis
947bde8284 Old way backup
But, with a compatibility with the new system
2017-06-05 13:27:24 +02:00
Maniack Crudelis
622d371718 _common.sh 2017-06-05 13:11:48 +02:00
Maniack Crudelis
832fc6523e _common.sh 2017-06-05 13:11:07 +02:00
Maniack Crudelis
c03c9fc045 _common.sh 2017-06-05 13:10:28 +02:00
Maniack Crudelis
238865c0e3 _common.sh 2017-06-05 13:09:19 +02:00