Commit graph

697 commits

Author SHA1 Message Date
Kayou
31cd163260
Merge pull request #1073 from ericgaspar/upgrade-n
Upgrade n version to upstream
2020-12-02 21:51:05 +01:00
Alexandre Aubin
b07fc2061a
Do not reload php-fpm if conf breaks it (#1087) 2020-11-30 23:20:45 +01:00
Kayou
7a0aa851a6
Keep helpers consistent 2020-11-26 11:00:24 +01:00
Kay0u
f495f1cf71
default value (True) for sync_perm param in helpers 2020-11-25 02:11:06 +01:00
Alexandre Aubin
144f98ad44
Gotta define a default value to avoid unbound variable 2020-11-10 17:09:23 +01:00
ericgaspar
9269c55cb0
Upgrade n version to upstream 2020-11-08 23:15:35 +01:00
Alexandre Aubin
c45c182980
Merge pull request #861 from YunoHost/permission_protection
Extends permissions features
2020-10-30 14:51:52 +01:00
Alexandre Aubin
c979d1e640 Do not display a huge wall of boring logs while waiting for the service to start 2020-10-20 14:21:27 +02:00
Alexandre Aubin
a7d105ace6 Merge branch 'dev' into permission_protection 2020-09-30 18:48:26 +02:00
Alexandre Aubin
950dbc6b46
Merge pull request #935 from YunoHost/remove_legacy_settings
Remove legacy settings
2020-09-30 17:06:08 +02:00
Alexandre Aubin
dd9df5943e Set sub-permission labels as 'Mainlabel (Sublabel)' 2020-09-27 18:20:29 +02:00
Alexandre Aubin
ea685c46d4
Merge pull request #1055 from YunoHost/add-config-helper
Add ynh_add_config helper
2020-09-24 21:25:34 +02:00
Alexandre Aubin
815c8fc49e Refactor app_setting to better separate legacy permission setting vs. regular setting, hopefully make the core more readable 2020-09-24 20:25:28 +02:00
Alexandre Aubin
14e8888078 My god, please no, there's no damn jessie anymore 2020-09-23 22:45:26 +02:00
Alexandre Aubin
ebe6c8a5f2
Apply suggestions from code review (comment indentation)
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
2020-09-20 21:15:59 +02:00
Alexandre Aubin
3b94b23516
Update data/helpers.d/utils
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
2020-09-20 20:37:45 +02:00
Alexandre Aubin
1e79e50d68 Add ynh_add_config helper 2020-09-20 20:01:55 +02:00
Augustin Trancart
ffcd0e33ac Fix ynh_app_upstream_version : restore ability to read manifest
The documentation was saying A, the code was doing B, and calling
functions were expecting both A and B (see
ynh_check_app_version_changed). So this commit aims at making
everyone agree, by matching usage.
2020-09-19 15:29:38 +02:00
Alexandre Aubin
b50bf9d7d3
Merge pull request #1047 from SiM/backup-msg
move BACKUP_CORE_ONLY message to standard output
2020-09-16 17:43:53 +02:00
Alexandre Aubin
8bd1758c8c
Merge pull request #1052 from YunoHost/detect-wrong-arguments
[fix] detect misformated arguments in getopts
2020-09-16 17:17:18 +02:00
Alexandre Aubin
d243fe76ce
[enh] Better problematic apt dependencies auto-investigation mechanism (#1051)
* [enh] Better problematic apt dependencies auto-investigation mechanism

* Misc tweak / fixes following tests
2020-09-16 16:14:03 +02:00
Kayou
6945867f86
detect wrong arguments 2020-09-16 13:23:10 +02:00
Kayou
15a7967f47
Epic bugfix 2020-09-15 20:53:26 +02:00
Alexandre Aubin
ca5f264baf Remove pipe char when trying to re-run apt with dry-run ... Because apt becomes absolutely crazy and make every package installed conflict with weird stuff 2020-09-14 17:06:40 +02:00
Maniack Crudelis
d2bd6b6c12 Add doc about is_big 2020-09-11 20:29:23 +02:00
Alexandre Aubin
99b0a4184d
Apply suggestions from code review
Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
2020-09-11 16:47:49 +02:00
SiM
9a2a6385bb move BACKUP_CORE_ONLY msg to standard output 2020-09-08 18:10:34 +02:00
Alexandre Aubin
83585b2375
Merge branch 'dev' into permission_protection 2020-09-08 17:06:49 +02:00
Alexandre Aubin
b869f3a7d7
Merge pull request #864 from YunoHost/abort_if_up_to_date_manifest
Implement `upgrade_only_if_version_changes` in manifest
2020-09-03 15:51:47 +02:00
Alexandre Aubin
346728e55d Remove the pinning stuff of sury from the helpers, since it's now managed by the regenconf core 2020-08-28 22:31:10 +02:00
Josué Tille
8e1e1e607b
Merge branch 'permission_protection' into remove_legacy_settings 2020-08-23 22:01:55 +02:00
Josué Tille
e6da35abd1
Merge branch 'dev' into permission_protection 2020-08-23 21:48:18 +02:00
Josue-T
7c6748e928
Merge branch '4.1' into abort_if_up_to_date_manifest 2020-08-18 21:07:30 +02:00
ericgaspar
05ff84e5af
Update php 2020-08-04 18:36:19 +02:00
Alexandre Aubin
70fab24247 [psql] Upgrade postgresql helper to use version 11 2020-07-27 19:23:53 +02:00
Alexandre Aubin
5930b6ddf2 [php] Now use php7.3 instead of php7.0 + autopatch app scripts like we did for php5 2020-07-27 19:23:53 +02:00
Kay0u
8d5422d13f [fix] Fix getopts and helpers 2020-07-27 19:20:36 +02:00
ericgaspar
82d59d59be
silence info: wasn't deleted because it doesn't exist. 2020-06-23 10:26:09 +02:00
Alexandre Aubin
653c5fde8f Set sury default pinning to 600 2020-06-06 01:16:54 +02:00
Alexandre Aubin
b050c1b3a4
Merge pull request #1012 from ericgaspar/update-n-to-6.5.1
Update n to 6.5.1
2020-06-05 17:50:54 +02:00
Alexandre Aubin
2408a62059
More accurate grep to avoid mistakenly grepping commented lines... 2020-06-05 16:58:46 +02:00
Éric Gaspar
2ab56428f8
Update data/helpers.d/nodejs
Co-authored-by: Kayou <pierre@kayou.io>
2020-06-05 11:27:43 +02:00
Éric Gaspar
c62527a0af
Update data/helpers.d/nodejs
Co-authored-by: Kayou <pierre@kayou.io>
2020-06-04 15:04:02 +02:00
ericgaspar
63e6abdf1e
add n_version variable 2020-06-04 11:23:51 +02:00
yalh76
f0e204bcd3 Change to be consistent with mysql helper 2020-06-04 02:28:20 +02:00
Alexandre Aubin
55036fad2c Calling ynh_print_err in case of error didn't work, and we probably want a ynh_die here 2020-06-04 01:18:52 +02:00
Alexandre Aubin
3d66eaec01 Retry wget on non-critical failures to try to avoid tmp dns issues 2020-06-04 00:48:18 +02:00
Alexandre Aubin
03432349d7 Add -o Acquire::Retries=3 to fix some stupid issues happening sometimes 2020-06-03 19:29:32 +02:00
ericgaspar
66bc921c4a
fix stupid mistake 2020-06-03 19:11:56 +02:00
Alexandre Aubin
b52f5bc182
Merge pull request #1001 from YunoHost/fix_add_fpm_restore
Fix ynh_add_fpm_config with template in restore
2020-06-03 16:32:59 +02:00