Félix Piédallu
0907459b4e
Use less generic messages for progression
2024-02-21 16:26:17 +01:00
eric_G
d35266b80e
Update upgrade
2024-02-10 21:57:32 +01:00
Mateusz
ecba16cd5c
Explain change_url a little bit.
2024-01-28 23:40:59 +01:00
Félix Piédallu
45e8243ab8
oops, restore script restores the mysql database twice
2024-01-15 22:06:48 +01:00
Félix Piédallu
9dd25c37a0
Rework upgrade, remove the 'if upgrade_type == UPGRADE_APP' test.
...
Indeed, even if the upgrade is only a 'ynh revision', this revision might actually be fixing
what *is* inside this if test.
So we can't discriminate generic things in the script according to the upgrade_type.
The ynh_check_app_version_changed helper is now a simple shim that reads YNH_APP_UPGRADE_TYPE.
The rest of its old logic is now handled by the core.
So instead of calling it, we can just read YNH_APP_UPGRADE_TYPE and add some documentation about
possible values.
2024-01-11 10:29:35 +01:00
eric_G
bbbc1df6dd
Merge pull request #224 from Salamandar/codingstyle
...
Codingstyle
2024-01-10 23:57:58 +01:00
eric_G
744c3fd04f
Merge pull request #210 from YunoHost/simplified-add-fpm-config
...
Simplified add fpm config
2024-01-10 23:57:45 +01:00
Félix Piédallu
2bce5bbc26
Fix comments: # for real scripts comments, ### for app packaging doc
2024-01-10 23:53:14 +01:00
Félix Piédallu
2a9127168e
Change tabs to spaces, move 'if, then' on a single line instead of splitted lines
2024-01-10 23:34:28 +01:00
eric_G
021125aa33
Merge pull request #217 from Salamandar/backuplog
...
Backup and restore the log directory
2024-01-10 23:15:29 +01:00
Félix Piédallu
1b9796fb2b
Backup and restore the log directory
2024-01-10 23:14:52 +01:00
eric_G
59d36cab56
Merge branch 'master' into fix-SC2086
2024-01-10 23:14:35 +01:00
Félix Piédallu
1098a892c1
Reorganize steps in scripts to have more coherent scripts one to another
2024-01-10 22:29:09 +01:00
OniriCorpe
2dc14b8b50
Merge branch 'master' into fix-SC2086
2023-12-31 22:51:37 +01:00
Alexandre Aubin
87b615fd55
Update scripts/config: make sure to use keyword args for all args
2023-12-31 22:49:46 +01:00
OniriCorpe
db8ad8dc49
add the missing --app to ynh_app_setting_set
2023-12-31 22:26:58 +01:00
OniriCorpe
d99bc6f18a
fix SC2155
2023-12-30 03:04:55 +01:00
OniriCorpe
07b787b347
fix SC2290
2023-12-30 03:03:32 +01:00
OniriCorpe
a9eca3e1d5
fix SC2086
2023-12-30 03:02:42 +01:00
mh4ckt3mh4ckt1c4s
d9defeaa15
Fix outdated mentions to app.src
2023-10-07 23:11:13 +02:00
CodeShakingSheep
513c83cc11
Fix typo in restore
2023-09-13 11:25:03 +02:00
CodeShakingSheep
acb1558af0
Fix typos in config
2023-09-13 11:23:41 +02:00
CodeShakingSheep
5435af33b3
Fix typos in backup
2023-09-13 11:21:17 +02:00
CodeShakingSheep
91959234f0
Fix typos in upgrade
2023-09-13 11:13:50 +02:00
CodeShakingSheep
f080684d53
Fix typo in install
2023-09-13 11:08:42 +02:00
Alexandre Aubin
2d7a1239f0
fpm config: cf YunoHost 11.2, remove the necessity to handle fpm_usage / footprint manually
2023-07-24 16:11:39 +02:00
Éric Gaspar
827eea2939
fix
2023-07-24 16:05:47 +02:00
Éric Gaspar
66481a81e0
extra_php
2023-07-24 16:05:34 +02:00
Éric Gaspar
cde5def003
Update upgrade
2023-03-08 09:36:13 +01:00
Éric Gaspar
038c70c640
Update install
2023-03-07 22:22:03 +01:00
Éric Gaspar
271fdbe30f
cleaning
2023-03-04 19:30:36 +01:00
Alexandre Aubin
e69e8e97b2
Merge pull request #201 from YunoHost/simplify-change-url
...
Simplify change_url syntax
2023-03-01 09:48:26 +01:00
Alexandre Aubin
da9efedb6a
Simplify change_url syntax
2023-02-20 18:49:25 +01:00
Éric Gaspar
47d1847c08
Update upgrade
2023-02-07 10:18:15 +01:00
Éric Gaspar
4f7cb2b294
Update config
2023-02-07 10:16:26 +01:00
Éric Gaspar
c9d4c3b084
cleaning
2023-02-07 10:13:09 +01:00
Alexandre Aubin
6632184257
Propagate changes related to manifestv2
2023-01-30 19:22:59 +01:00
ericgaspar
d459be12c3
Remove time
2022-08-25 08:11:47 +02:00
Éric Gaspar
c343fb371d
Merge branch 'master' into remove-time
2022-08-15 08:00:13 +02:00
yalh76
b5ff61c826
Update scripts/_common.sh
...
Co-authored-by: tituspijean <tituspijean@outlook.com>
2022-08-04 19:18:17 +02:00
yalh76
46b25cf8f5
Update scripts/_common.sh
...
Co-authored-by: tituspijean <tituspijean@outlook.com>
2022-08-04 19:18:10 +02:00
Gofannon
cb3134ba69
document php version choice with "YNH_PHP_VERSION"
2022-07-10 16:28:55 +02:00
yalh76
d1a52e65ff
Reorder php-fpm and nginx
2022-05-31 01:56:33 +02:00
yalh76
fca4551937
Reorder install arguments
2022-03-04 20:53:21 +01:00
tituspijean
491c801165
Remove --time flags, they are now implied in CI context
2022-03-03 23:39:04 +01:00
yalh76
a8d5a625f4
Typo
2022-01-30 04:06:32 +01:00
yalh76
ef863bd8c0
Typo
2022-01-30 04:03:17 +01:00
ericgaspar
d4876b093a
Update remove
2021-12-12 14:06:03 +01:00
ljf (zamentur)
168d708ac3
Merge pull request #175 from YunoHost/config-panel
...
Config panel
2021-11-16 22:14:22 +01:00
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