Commit graph

677 commits

Author SHA1 Message Date
Kay0u
9354227a4e
[dnsmasq] ensure interface is up 2022-01-14 12:07:46 +01:00
Alexandre Aubin
d81b85a49a diagnosis: incorrect dns check (relative vs absolute) for CNAME on subdomain 2022-01-11 20:54:55 +01:00
Alexandre Aubin
b0f756b1a8 Aaaand order matters in apt preferences 2022-01-07 14:58:50 +01:00
Alexandre Aubin
b7121502d6 More sury/php madness ... forbidding php-common doesnt seem to be good idea so let's have it 2022-01-07 02:48:02 +01:00
Alexandre Aubin
607fad2105 Sury has a crazy new amount of php-* packages that depend on specific versions of php, we shall ban them or it creates a frakin mess 2022-01-07 00:54:57 +01:00
Alexandre Aubin
b552b792df
Merge pull request #1388 from YunoHost/enh-ssh-password-authentication-setting
[enh] Manage SSH PasswordAuthentication setting
2022-01-03 16:35:45 +01:00
Alexandre Aubin
adb029eb98
Merge pull request #1400 from YunoHost/lgtm-warnings
Lgtm warnings
2021-12-30 18:49:01 +01:00
Kay0u
de149975d2
Remove unused variable 2021-12-29 22:40:54 +01:00
yunohost-bot
94bf107838 [CI] Format code with Black 2021-12-29 00:44:22 +00:00
Alexandre Aubin
f8004570ab
Merge pull request #1395 from YunoHost/pyupgrade
Pyupgrade
2021-12-29 00:36:31 +01:00
Alexandre Aubin
76abbf03d7 diagnosis: bump treshold for suspiciously high number of auth failure because too many people getting report about it idk 2021-12-29 00:35:42 +01:00
Alexandre Aubin
7112deb167 f-string all the things! 2021-12-27 14:59:08 +01:00
Kay0u
a615528c7f
remove double quote around a variable 2021-12-25 17:32:50 +01:00
Laurent Peuch
ad56275801 [mod] run pyupgrade on source code 2021-12-24 01:16:41 +01:00
ljf
4106ed669e [enh] Manage SSH PasswordAuthentication setting 2021-12-06 23:01:06 +01:00
Kayou
2bd1df0659
[fix] hook restore multimedia 2021-11-30 13:10:20 +01:00
Alexandre Aubin
d792e4880d
Merge pull request #1385 from YunoHost/enh-dns-resolver
[fix] Try to fix the return line bug in dnsmasq conf
2021-11-27 21:14:51 +01:00
Alexandre Aubin
b3df36dd16
Typo é_è 2021-11-27 20:27:29 +01:00
ljf
31dfb19a02 [fix] Try to fix the return line bug in dnsmasq conf 2021-11-27 19:29:20 +01:00
Alexandre Aubin
5881938c69 Force permission on /etc/resolv.dnsmasq.conf to fix an issue on some setup with umask=027 2021-11-27 16:33:29 +01:00
Alexandre Aubin
fdaf37c9fd
Merge pull request #1383 from YunoHost/enh-dns-resolver
Hotspot with local services and router port unforwarded
2021-11-27 00:51:23 +01:00
ljf
f34f9e5fc3 [fix] DNSmasq template generation 2021-11-26 19:39:37 +01:00
ljf
321c8dd5ba [fix] Bash array not supported in ynh_render_template 2021-11-26 18:42:22 +01:00
Alexandre Aubin
c49628346f mdns: Don't add yunohost.local in config if it's already among the yunohost domains 2021-11-26 18:20:40 +01:00
ljf
7e7dbe41d7 [enh] Hotspot and hairpining use cases 2021-11-26 02:18:00 +01:00
Alexandre Aubin
6488b4f649 Fix /etc/yunohost permissions on some setups 2021-11-25 20:01:54 +01:00
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
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
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
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
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
10a0496209
Merge branch 'dev' into lint-helpers 2021-10-12 16:45:57 +02:00
Alexandre Aubin
df02f898ee [enh] Don't generate dnsmasq conf for .local domains 2021-10-09 00:32:49 +02:00
Alexandre Aubin
5a7a719661 Also lint/reformat core bash hooks 2021-10-06 16:35:45 +02:00
Alexandre Aubin
b0e8a58b24 lint: Invalid escape sequences 2021-10-05 12:49:33 +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
Alexandre Aubin
d64f2cdf1a regenconf: Missing mkdir for dpkgorigins 2021-09-23 21:28:28 +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