Commit graph

333 commits

Author SHA1 Message Date
Alexandre Aubin
0d6ade0d01
Merge pull request #168 from YunoHost/Add-purge-option
Add purge option
2021-09-29 20:40:06 +02:00
ljf
8e21cb4df3 [enh] A small config script 2021-09-29 02:41:30 +02:00
ljf
01d79fbaee [enh] Some doc about config panel 2021-09-23 18:41:58 +02:00
ljf
471d9abf2b [enh] New config panel 2021-09-23 18:41:58 +02:00
ericgaspar
be25f1d0a8
Update install 2021-09-16 12:40:15 +02:00
Alexandre Aubin
2bfd13cb8f
ynh_webpath_available is useless 2021-08-28 22:12:04 +02:00
ljf (zamentur)
3d3b319ab1
[enh] Compatibility with previous version 2021-08-24 10:48:00 +02:00
ericgaspar
a4d415bf5c Update remove 2021-08-19 20:09:35 +02:00
ericgaspar
4ab319384f Update remove 2021-08-19 20:02:18 +02:00
ericgaspar
c621c50c3a Update remove 2021-08-19 18:50:54 +02:00
ericgaspar
cf8edb4d78 Add purge option 2021-08-19 18:43:21 +02:00
yalh76
fd5624bf88 Reorder logrotate 2021-08-16 19:29:32 +02:00
yalh76
b646a19f8b Implement datadirectory 2021-06-10 14:57:09 +02:00
yalh76
72d31ae499 Update upgrade 2021-05-09 20:26:00 +02:00
yalh76
055f77fc92 More script progression 2021-04-29 21:08:10 +02:00
yalh76
5770492e5f
Merge pull request #154 from YunoHost/config
config before systemd
2021-04-23 21:25:34 +02:00
yalh76
a9ca97f5d0 config before systemd 2021-04-23 20:00:41 +02:00
yalh76
3d70d72cfb Switching to $app:www-data owner 2021-04-23 19:54:08 +02:00
yalh76
39d56882ed
Typo 2021-04-09 21:16:25 +02:00
yalh76
f9a4a161db
Update install 2021-04-09 21:12:04 +02:00
ericgaspar
35dba20b21 Update change_url 2021-04-08 22:24:24 +02:00
yalh76
167fdd4bb5
removing SECURE FILES AND DIRECTORIES 2021-04-08 20:21:51 +02:00
Alexandre Aubin
20b25d11a7
Merge pull request #147 from YunoHost/permission-madness
Properly manage folder/file permissions
2021-04-06 22:29:07 +02:00
Jules-Bertholet
110876b57e
Fix "Remove various files" step
ynh_secure_remove won't remove paths that end in a slash
2021-04-04 21:10:53 -04:00
Alexandre Aubin
b1a9e78466
Typo: forgot target in chmod
Co-authored-by: yalh76 <yalh@yahoo.com>
2021-03-17 21:37:29 +01:00
Alexandre Aubin
6deb6f1f14 Properly manage folder/file permissions 2021-03-17 16:32:11 +01:00
Alexandre Aubin
1327d3b9c8 Add a small note about extra permissions 2021-03-12 16:49:35 +01:00
Alexandre Aubin
b7b0e172a5 Recommend the use of ynh_add_config 2021-03-12 16:41:18 +01:00
Alexandre Aubin
bce4473299 There's no need to run ssowatconf + nginx reload after editing perms ..? 2021-03-12 16:30:54 +01:00
Alexandre Aubin
06cb97a8c8 It makes no sense to chown before curl ... 2021-03-12 16:27:44 +01:00
Kayou
e2aee51865
Merge pull request #111 from YunoHost/permissions
Using new permissions system
2021-01-11 00:38:10 +01:00
Kayou
bd44d211e2
Apply suggestions from code review 2021-01-10 20:23:32 +01:00
Alexandre Aubin
3c263428b1
Update scripts/upgrade
Co-authored-by: Kayou <pierre@kayou.io>
2021-01-10 18:54:28 +01:00
Alexandre Aubin
d2aab9cab1
Most of the time we don't open the damn port to the outside so this ain't configuring firewall... 2021-01-09 22:28:46 +01:00
Kay0u
f4e7ffa3db
Typo 2021-01-06 13:39:27 +01:00
Kay0u
55fb01f4b7
Merge remote-tracking branch 'origin/master' into permissions 2021-01-06 13:35:20 +01:00
Kay0u
9b6cc80ecc
Improve permissions management 2021-01-06 13:31:56 +01:00
ericgaspar
028484bc25
Update remove 2020-12-04 12:03:07 +01:00
ericgaspar
abddc7d868
Small typos 2020-12-04 09:58:29 +01:00
Alexandre Aubin
03082fdc09
ynh_normalize_url_path is for stuff from the pre-2.7 era ... 2020-12-01 01:25:08 +01:00
Alexandre Aubin
0e728462e5
These should not be added by default either so comment them... 2020-12-01 00:27:28 +01:00
Alexandre Aubin
5c11751afe
Remove migration of 'is_public' being a string 2020-12-01 00:22:50 +01:00
Alexandre Aubin
56d67669a3
Merge pull request #133 from YunoHost/ericgaspar-patch
Ericgaspar patch
2020-12-01 00:19:47 +01:00
ericgaspar
722bcf35bc
Update restore 2020-11-27 18:48:03 +01:00
Kayou
1e2ee09860
Update _common.sh 2020-10-02 09:27:09 +02:00
Alexandre Aubin
d7f1d45dda
Apply suggestions from code review
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
2020-09-19 16:26:41 +02:00
ericgaspar
644d29331a
Typos 2020-09-17 11:38:17 +02:00
ericgaspar
b0501eade9
Typos 2020-09-17 11:38:17 +02:00
yalh76
d2f32be8ed Update upgrade 2020-06-16 23:07:13 +02:00
yalh76
370d562e89 Merge branch 'master' into service_integration 2020-06-16 22:55:28 +02:00
yalh76
7d726ecf54
Merge pull request #128 from YunoHost/upgrade_steps
Change upgrade step order
2020-06-16 22:50:21 +02:00
yalh76
b5a7e543ff Bored of the A CRON FILE step
because in the example, there is more than juste the cron file in the remove script
2020-06-04 17:38:27 +02:00
yalh76
26a5c52d5b Change step upgrade step order
to be compliant with install script
2020-06-04 17:26:46 +02:00
yalh76
6e9e1728b0 Revert "Change upgrade steps order"
This reverts commit 265e7b02ca.
2020-06-04 17:24:38 +02:00
yalh76
265e7b02ca
Change upgrade steps order
to be homogeneous with install steps order
2020-06-04 17:22:45 +02:00
yalh76
67437ba64d Adding service integration step during upgrade 2020-06-04 16:52:38 +02:00
yalh76
4a44539d1d Service integration homogenization 2020-06-04 16:51:14 +02:00
yalh76
6e2e6d0d7a
Merge pull request #110 from YunoHost/set_php_version
Set the default php version to use
2020-05-31 00:53:54 +02:00
yalh76
7511be61e5
Merge pull request #120 from yalh76/patch-1
just spacing changes
2020-05-31 00:47:33 +02:00
yalh76
b52c72b4b7
Merge pull request #121 from yalh76/patch-2
mark as comments
2020-05-31 00:47:17 +02:00
yalh76
5d16976184
Merge pull request #124 from yalh76/patch-5
improving modify a config file step during upgrade
2020-05-31 00:46:05 +02:00
yalh76
9ff677f872
Merge pull request #125 from yalh76/patch-6
fix message
2020-05-31 00:45:47 +02:00
yalh76
be2ab368cd
missing --time --weight=1 2020-05-30 15:15:16 +02:00
yalh76
19dcc50aa4
fix message
to be consistent with other scripts
2020-05-30 15:05:55 +02:00
yalh76
49c7cbcd29
improving modify a config file step during upgrade 2020-05-30 14:59:12 +02:00
yalh76
3b50933861
mark as comments 2020-05-30 14:34:15 +02:00
yalh76
c8d1977bc4
just spacing changes 2020-05-30 14:28:55 +02:00
Alexandre Aubin
3de6e97466
Merge pull request #116 from YunoHost/clarify-some-things-about-backup-script
Clarify some things about backup script
2020-05-25 18:50:45 +02:00
Alexandre Aubin
6a9368b635
Update scripts/backup
Co-authored-by: JimboJoe <jimmy@monin.net>
2020-05-25 18:50:37 +02:00
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