Commit graph

2408 commits

Author SHA1 Message Date
yunohost-bot
697dd8b9c2 [CI] Format code with Black 2021-11-14 16:52:57 +00:00
Alexandre Aubin
38f5352fc0 Fix -conf_ynh_settings backup/restore when /etc/yunohost/domains doesn't exist 2021-11-14 16:06:04 +01:00
Alexandre Aubin
51d5dca033 Make ynh_add_fpm_config more robust to some edge cases 2021-11-13 18:36:38 +01:00
Alexandre Aubin
38f24c4518
Merge pull request #1375 from rthouvenin/fix-1873-read-bl-answer
[fix] Read DNS Blacklist answer and compare it against list of non-BL codes
2021-11-10 19:02:35 +01:00
Alexandre Aubin
58793ba3e4
Merge pull request #1372 from ericgaspar/n
helpers: Update n to 8.0.0
2021-11-10 18:47:05 +01:00
Romain Thouvenin
b166abab1d Read DNS Blacklist answer and compare it against list of non-BL codes 2021-11-07 21:13:34 +00:00
Alexandre Aubin
74e2a51e4d nginx: Try to fix again the webadmin cache hell 2021-11-06 17:39:46 +01:00
Alexandre Aubin
1cc3e44038 nginx: Refine experimental CSP header (in the end still gotta enable unsafe-inline and unsafe-eval for a bunch of things, but better than no policy at all...) 2021-11-06 16:45:25 +01:00
Alexandre Aubin
69b8603f14 mdns: Aaaaand we don't want to crash if mdns.aliases doesnt exists obviously 2021-11-05 16:41:33 +01:00
Alexandre Aubin
3da2df6e29 mdns: Add possibility to manually add .local aliases via /etc/yunohost/mdns.aliases (meant for internetcube) 2021-11-05 16:34:46 +01:00
ericgaspar
09d5f6ea00
Update nodejs 2021-11-05 12:07:16 +01:00
Alexandre Aubin
20037cf387
Merge pull request #1370 from YunoHost/curl-auto-visitors-if-needed
ynh_local_curl: temporarily auto-add visitors if needed
2021-11-03 18:30:32 +01:00
Alexandre Aubin
abaa60d774 ynh_install_n / ux: remove useless info message / redundant because scripts already include a script_progression ... 2021-11-02 03:24:39 +01:00
Alexandre Aubin
99e46b3a61 ynh_local_curl: temporarily auto-add visitors if needed 2021-11-02 02:50:32 +01:00
Alexandre Aubin
ba489bfc27 helpers: We don't care about the apt_dependencies setting ... it's not used and the info is already stored in the $app-ynh-deps virtual package 2021-11-02 02:02:29 +01:00
Alexandre Aubin
844346320b Typo :| 2021-11-02 01:38:33 +01:00
Alexandre Aubin
019d207c2f helpers: Don't say the 'app was restored' when restore failed after failed upgrade 2021-11-01 21:09:29 +01:00
Alexandre Aubin
f7cea60a30 Moar dyndns yagni: we don't need to be able to specify ipv4/ipv6/keyfile during dyndns update 2021-10-24 22:27:11 +02:00
Alexandre Aubin
c6dfe08973 Drop some dyndns yagni: we don't need to be able to specify a custom dyndns host... 2021-10-24 22:16:07 +02:00
Alexandre Aubin
fcd2ef9d20 [enh] helpers: allow to get/set/delete app settings without explicitly passing app id everytime... 2021-10-24 18:16:21 +02:00
Alexandre Aubin
974ea71fc8 Simplify the whole ynh_install/remove_php story as no app is using them directly 2021-10-24 16:59:23 +02:00
Alexandre Aubin
4ebcaf8d7e [fix] helpers: composer not explaining why the hell it can't install shit 2021-10-24 15:59:48 +02:00
Alexandre Aubin
d82f14a4f9 Typo T_T 2021-10-20 20:01:45 +02:00
Alexandre Aubin
86a9cb37ce regenconf: gotta explicitly return *0* ... 2021-10-20 19:47:34 +02:00
Alexandre Aubin
146fba7d48 regenconf: yunohost hook was failing because grep may return exit code != 0 2021-10-20 19:43:06 +02:00
Alexandre Aubin
2687121f6d diagnosis: typo / don't run dnsrecords tests for special tlds 2021-10-20 19:25:23 +02:00
ljf (zamentur)
ff69067d9c
[fix] Config param should be global 2021-10-18 00:42:37 +02:00
Alexandre Aubin
3a07a78068
In fact we probably always want to disable avahi-daemon on all systems 2021-10-17 20:37:27 +02:00
Alexandre Aubin
af3d6dd7df
Force-disable old avahi-daemon 2021-10-17 20:28:46 +02:00
Alexandre Aubin
cb835a2d6b dyndns: Delete dyndns cron in regenconf if no dyndns domain found 2021-10-13 15:38:57 +02:00
Alexandre Aubin
55bacd7405 dyndns cron: validate that we're connected to the internet before triggering yunohost dyndns update 2021-10-13 15:37:39 +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