Commit graph

95 commits

Author SHA1 Message Date
Alexandre Aubin
45584b44a6 Merge branch 'dev' into bullseye 2021-11-28 16:27:22 +01:00
Alexandre Aubin
6854f23cca [fix] yunomdns: Ignore ipv4 link-local addresses 2021-11-28 02:51:58 +01:00
Alexandre Aubin
7bfa15d471 Propagate changes from moulinette 2021-11-17 20:12:18 +01:00
Alexandre Aubin
467c04f382 codequality: Apply black on python script in bin/ 2021-11-15 04:00:47 +01:00
Alexandre Aubin
391de52ff2 yunomdns: disable ipv6 for now + remove debug stuff 2021-09-29 20:10:00 +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
f49666d22e yunomdns: fallback to domain-i.local if domain.local already published 2021-09-29 19:14:21 +02:00
Alexandre Aubin
ab1100048b yunomdns: Minor cleanups 2021-09-29 19:00:05 +02:00
tituspijean
63504febaa
[mdns] refine ipv6 selection with ipaddress lib
Co-authored-by: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= <felix@piedallu.me>
2021-09-26 19:40:46 +02:00
tituspijean
07c381cec4
Use ipaddress lib to find private addresses 2021-09-26 12:05:35 +02:00
tituspijean
a313a86b8b
[mdns] Allow for multiple yunohost.local 2021-09-26 11:44:39 +02:00
tituspijean
358885dc62
[mdns] Avoid miserably failing if another service exists on the network
also, service names do not clash anymore accross same device but different interfaces
2021-09-26 11:41:16 +02:00
d4395f2b4a
Use double-quotes 2021-09-26 11:39:11 +02:00
919ec75877
Revamp of yunomdns :
* Use ifaddr (also used by zeroconf) to find ip addresses
* Use python type hinting
* small cleanups
2021-09-26 11:38:57 +02:00
Alexandre Aubin
05a5821c94
Merge branch 'dev' into mdns 2021-08-12 19:00:25 +02:00
Alexandre Aubin
7ca637d8f8 yaml.load -> yaml.safe_load 2021-08-12 18:54:20 +02:00
Alexandre Aubin
f1444bc36f mdns: misc fixes for ip parsing 2021-08-12 18:40:43 +02:00
Alexandre Aubin
a2a50d0e45 mdns: Remove argument parsing because we won't really need this ? :Z 2021-08-12 00:09:30 +02:00
tituspijean
f53f36e332 [mdns] Fix yunohost.local broadcast 2021-08-11 17:58:50 +00:00
tituspijean
cad5c39dae [mdns] Remove logging and asyncio dependencies 2021-08-11 16:21:32 +00:00
tituspijean
3535b374ae [mdns] Always broadcast yunohost.local 2021-08-11 16:19:51 +00:00
tituspijean
7c58aa198c Remove asyncio and do not support subdomains 2021-07-27 20:39:38 +00:00
ljf (zamentur)
a8df60da05
[fix] Bad command in yunopaste doc 2021-07-13 12:47:33 +02:00
tituspijean
92a1a12226 [mdns] Fix NonUniqueNameException
Service names have to be unique even accross different interfaces
2021-07-11 17:32:33 +00:00
tituspijean
99aacd8b51 Do not rely on Moulinette, integration with Yunohost of mDNS broadcast 2021-07-11 14:24:50 +00:00
tituspijean
9e93efa895 Move mDNS script to yunomdns 2021-07-11 14:17:15 +00:00
ericgaspar
fc02caea2e
Yunohost -> YunoHost 2021-05-24 18:02:13 +02:00
Alexandre Aubin
ba3705bbc6 Recommend yunohost.local in yunoprompt 2021-01-25 17:51:17 +01:00
Alexandre Aubin
8430e4f197 Misc issues with yunoprompt 2021-01-25 03:57:51 +01:00
Alexandre Aubin
299e04cfc7 Set yunohost(-api) bins to python3 2020-12-30 22:38:02 +01:00
ljf
51c66dde94 [enh] Add x509 fingerprint in /etc/issue 2020-09-20 20:59:38 +02:00
Alexandre Aubin
dee08a16fe Move moulinette initialization and other stuff to src/yunohost/__init__.py 2020-05-07 22:15:51 +02:00
Alexandre Aubin
233c962710 Hmpf idk another iteration to cleaning attempt 2020-05-07 22:15:51 +02:00
Alexandre Aubin
f5c16737eb More stuff to reduce complexity 2020-05-07 22:15:51 +02:00
Alexandre Aubin
68c9244492 Remove _die, simplify creation of log dir, make linter a bit happier 2020-05-07 22:15:51 +02:00
Alexandre Aubin
31e5f7e8b5 This arg ain't meaningful anymore? 2020-05-07 22:15:51 +02:00
Alexandre Aubin
94d0e253f7 Clean usr/bin/yunohost and yunohost-api ... 2020-05-07 22:15:51 +02:00
Alexandre Aubin
b0cd37aeca Make sure we have at least the standard stuff in /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:/snap/bin:/var/lib/snapd/snap/bin:/snap/bin:/var/lib/snapd/snap/bin ~.~ 2020-04-12 01:57:56 +02:00
Alexandre Aubin
9bcbedc356 Revert "[fix] moulinette logs were never displayed #lol"
This reverts commit 6a0959dd1d.
2019-11-04 23:02:04 +01:00
Laurent Peuch
6a0959dd1d [fix] moulinette logs were never displayed #lol 2019-07-20 06:32:08 +02:00
Luke Murphy
b091ab4029
Allow to display logs when postinstall fails
Closes https://github.com/YunoHost/issues/issues/1345.
2019-05-23 09:42:16 +02:00
Alexandre Aubin
18d20c4347
Merge pull request #291 from YunoHost/fix-703-dont-expose-yunohost-api-version
[fix] Remove version from api
2019-02-21 14:28:52 +01:00
ljf
db83dc0893 [wip] Fix password in log 2019-02-03 03:20:19 +01:00
Alexandre Aubin
bbfa9fc124 Fix several issues with bootprompt 2019-01-07 18:26:38 +01:00
Alexandre Aubin
ea77a8ccf6
[fix] DEBUG-level messages not appearing in actions performed via the API (#603) 2018-12-20 18:01:09 +01:00
Alexandre Aubin
f295c83fd3 Order of keys matter, ed25519 is recommended 2018-11-28 19:15:21 +00:00
ljf (zamentur)
07e5ead038 [fix] Sometimes I need to sleep 2018-11-28 00:00:30 +01:00
ljf (zamentur)
b4e72173cd [fix] If some ssh keys are missing 2018-11-28 00:00:30 +01:00
ljf (zamentur)
b5896e88c3 [enh] Display only used fingerprint in bootprompt 2018-11-28 00:00:30 +01:00
ljf (zamentur)
53388e4e28
[enh] Speak the user about post-install on browser 2018-09-15 16:07:09 +02:00