Commit graph

2398 commits

Author SHA1 Message Date
Alexandre Aubin
0b4aa81f8c Merge branch 'migrate_to_bullseye' into bullseye 2021-10-13 15:12:56 +02:00
Alexandre Aubin
c7038b0e59
Merge pull request #1358 from YunoHost/fix-eval-in-logging-helpers
Fix eval in logging helpers
2021-10-13 14:57:06 +02:00
Alexandre Aubin
fe959bd7fa helpers: Flag ynh_print_ON/OFF as internal to not advertise them in the doc 2021-10-12 16:53:01 +02:00
Alexandre Aubin
40cc41d68d
Merge branch 'dev' into fix-eval-in-logging-helpers 2021-10-12 16:49:42 +02:00
Alexandre Aubin
10a0496209
Merge branch 'dev' into lint-helpers 2021-10-12 16:45:57 +02:00
Alexandre Aubin
b60ca0e0ba
Merge pull request #1357 from YunoHost/safer_ynh_secure_remove
Safer, clearer ynh_secure_remove
2021-10-12 16:28:31 +02:00
Alexandre Aubin
a3c0ca4da6 helpers: Don't use eval in ynh_exec_* helpers to prevent issues with special chars 2021-10-12 15:49:46 +02:00
Alexandre Aubin
910364f9c4 helpers: Drop obsolete/unused/weird logging helpers 2021-10-12 15:49:08 +02:00
Alexandre Aubin
dab3dc6f37 dovecot: add conf snippet to get rid of stupid stats-writer errors in mail.log 2021-10-11 19:42:39 +02:00
Alexandre Aubin
df02f898ee [enh] Don't generate dnsmasq conf for .local domains 2021-10-09 00:32:49 +02:00
Alexandre Aubin
f769c40f96
Double quotes to prevent bash apocalypse 2021-10-07 10:37:05 +02:00
Alexandre Aubin
66ded07672
Merge pull request #1352 from ericgaspar/set-right-for-log-path
helpers/logrotate: Enforce decent permissions on log file if app user exists
2021-10-07 10:34:56 +02:00
Alexandre Aubin
bde5590783
Update data/helpers.d/logrotate 2021-10-07 10:33:33 +02:00
Alexandre Aubin
560162dd96 Sury pinning is managed in the core, c.f. 346728e5 2021-10-07 10:29:03 +02:00
Alexandre Aubin
e563a366ef
helpers apt: Use smarter grep with lookbehind to extract php version from dependency list
Co-authored-by: Florent <florent.fayolle69@gmail.com>
2021-10-07 01:46:09 +02:00
Alexandre Aubin
1d2e4e78f2 Safer, clearer ynh_secure_remove 2021-10-06 18:57:56 +02:00
Alexandre Aubin
fd1cc5e6ce Fix stuff reported by shellcheck 2021-10-06 18:56:17 +02:00
Alexandre Aubin
c9cdfc6b0f Typo :| 2021-10-06 16:56:47 +02:00
Alexandre Aubin
5a7a719661 Also lint/reformat core bash hooks 2021-10-06 16:35:45 +02:00
Alexandre Aubin
6048d1b0b3 Typo ogod 2021-10-06 16:24:33 +02:00
Alexandre Aubin
93cc413f4a helpers: lint/reformat with shfmt -bn -i 4 -w $FILE 2021-10-06 16:01:53 +02:00
Alexandre Aubin
a98552ef0e helpers: Fix weird 0 syntax which shfmt ain't happy with (dangling 0) 2021-10-06 15:56:49 +02:00
Alexandre Aubin
13d012bb4f helpers apt: save phpversion in settings even when using php default version 2021-10-06 15:34:26 +02:00
Alexandre Aubin
9ee631c1c4 helpers: Typo in ynh_remove_app_dependencies 2021-10-06 15:16:18 +02:00
Alexandre Aubin
5054397a5a helpers: Add deprecation warning to ynh_add_app_dependencies 2021-10-06 15:11:09 +02:00
Alexandre Aubin
e07e1a95f4 Apply suggestions from code review
Co-authored-by: Kayou <pierre@kayou.io>
2021-10-06 15:00:37 +02:00
Alexandre Aubin
76b60890c6 Propagate changes on other apt/php helpers... 2021-10-06 15:00:18 +02:00
Alexandre Aubin
040be532ad During ynh_install_app_dependencies, if the dependency list contains specific php version stuff, add sury and other tweaks 2021-10-06 14:59:20 +02:00
Alexandre Aubin
76aaaab74e Factorize sury repo configuration into ynh_add_sury 2021-10-06 14:59:06 +02:00
Alexandre Aubin
644cdd41d8 Allow to re-run ynh_install_app_dependencies multiple times 2021-10-06 14:57:59 +02:00
Éric Gaspar
93a72a7b5f
Update data/helpers.d/logrotate
Co-authored-by: Kayou <pierre@kayou.io>
2021-10-05 13:52:45 +02:00
ericgaspar
423eef7a62
Update logrotate 2021-10-05 13:06:21 +02:00
ericgaspar
ef2a8c8dbd
Update logrotate 2021-10-05 13:02:51 +02:00
Alexandre Aubin
b0e8a58b24 lint: Invalid escape sequences 2021-10-05 12:49:33 +02:00
Alexandre Aubin
941cc29438 bind_key -> bind_key_ to prevent yunohost from redacting key names which leads to broken log metadata.yml somehow 2021-10-05 12:35:12 +02:00
Alexandre Aubin
753c4e34ed Typo/wording 2021-10-05 12:32:23 +02:00
Alexandre Aubin
3591a01fdb Merge branch 'dev' into bullseye 2021-10-02 20:08:36 +02:00
ericgaspar
11be8cc4c0
Update nodejs 2021-10-01 09:43:39 +02:00
Alexandre Aubin
df0cdd483d Black 2021-09-29 22:20:36 +02:00
Alexandre Aubin
c44560b6f7 Misc cleanups in dns diagnoser 2021-09-29 21:38:03 +02:00
Alexandre Aubin
4101e0e041
Merge pull request #1335 from YunoHost/fix-mdns
Fix yunomdns
2021-09-29 20:37:19 +02:00
Alexandre Aubin
17aafe6f6a General improvement for special-use TLD / ynh dyndns domains 2021-09-29 20:36:45 +02:00
Alexandre Aubin
a5e1d7e318 yunomdns: broadcast on all interfaces with local IP by default + add a 'ban_interfaces' setting in config 2021-09-29 20:02:32 +02:00
tituspijean
bcb48b4948
[mdns] Make the service logs appear in systemd journal 2021-09-26 11:41:59 +02:00
Alexandre Aubin
d64f2cdf1a regenconf: Missing mkdir for dpkgorigins 2021-09-23 21:28:28 +02:00
ljf
79126809eb [enh] Bind function for hotspot 2021-09-23 18:39:36 +02:00
Alexandre Aubin
2318ffc493 regenconf: drop old legacy code 2021-09-21 16:13:54 +02:00
Alexandre Aubin
ae08698253 Merge branch 'migrate_to_bullseye' into bullseye 2021-09-21 16:04:32 +02:00
Alexandre Aubin
f7f6428bfb
Merge pull request #1337 from YunoHost/simplify-regenconf
Simplify regen conf scripts
2021-09-21 12:31:34 +02:00
Alexandre Aubin
8f3f5ab251 Forgot to update mysql hook 2021-09-21 02:37:21 +02:00