Commit graph

8080 commits

Author SHA1 Message Date
Alexandre Aubin
ab1100048b yunomdns: Minor cleanups 2021-09-29 19:00:05 +02:00
Alexandre Aubin
14d3265389 Try to include diagnosis hooks in coverage report 2021-09-29 18:40:31 +02:00
Alexandre Aubin
ad3602a24f YNH_APP_PURGE to be 1 or 0 to be consistent with other bash bools 2021-09-29 18:36:24 +02:00
Alexandre Aubin
dc8c16c96d Wording 2021-09-29 18:33:31 +02:00
Alexandre Aubin
76c1abf020
Merge pull request #1342 from YunoHost/ci-format-dev
[CI] Format code
2021-09-28 23:53:37 +02:00
yunohost-bot
7d4ab4a886 [CI] Format code 2021-09-28 21:52:29 +00:00
Alexandre Aubin
da1b9089bf Fix dns zone for dynette domains (otherwise breaks dyndns update) 2021-09-28 23:36:24 +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
bcb48b4948
[mdns] Make the service logs appear in systemd journal 2021-09-26 11:41:59 +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
8a82fe0392 Force yunohost to forget about avahi-daemon files 2021-09-24 19:43:02 +02:00
Alexandre Aubin
be41ab92c4 ci: missing wildcard in coveragerc 2021-09-24 19:35:51 +02:00
Alexandre Aubin
65e59bbfb3
Merge pull request #1339 from YunoHost/ci-format-dev
[CI] Format code
2021-09-23 23:04:12 +02:00
yunohost-bot
ec5e5d6b73 [CI] Format code 2021-09-23 20:18:27 +00:00
Alexandre Aubin
c2fc2c4e51 Typo 2021-09-23 21:48:00 +02:00
Alexandre Aubin
7484f138b1
Merge pull request #1338 from YunoHost/rework-prompt-again
Rework prompt() again
2021-09-23 21:47:49 +02:00
Alexandre Aubin
a5580caf4e Lint 2021-09-23 21:46:35 +02:00
Alexandre Aubin
9f0caedb6b tests: .coveragerc should be at the root of the repo 2021-09-23 21:30:42 +02:00
Alexandre Aubin
d64f2cdf1a regenconf: Missing mkdir for dpkgorigins 2021-09-23 21:28:28 +02:00
Alexandre Aubin
0693aa45de Add tests for FileQuestion 2021-09-23 20:54:31 +02:00
Alexandre Aubin
8cc229e19b Zblerg propagate changes on tests 2021-09-23 20:05:52 +02:00
Alexandre Aubin
e001f26f87 Stale i18n string 2021-09-23 19:22:54 +02:00
Alexandre Aubin
74102b607d Simplify error management 2021-09-23 19:21:48 +02:00
Alexandre Aubin
6b8cb0c005 Hmpf refactor moar stuff but does this ever ends 2021-09-23 18:57:01 +02:00
ljf
79126809eb [enh] Bind function for hotspot 2021-09-23 18:39:36 +02:00
Alexandre Aubin
548042d503 Moar fixes .. + add test for boolean normalize/humanize 2021-09-23 13:07:46 +02:00
Alexandre Aubin
68d849f7ab Adapt tests for domain/path normalize 2021-09-23 10:45:37 +02:00
Alexandre Aubin
d4c3a6975e ask_questions_and_parse_answers may take directly a dict as input 2021-09-23 10:38:30 +02:00
Alexandre Aubin
26a4992961 Refactor _normalize_domain_path into DomainQuestion + PathQuestion normalizers 2021-09-23 05:33:20 +02:00
Alexandre Aubin
4cc2c9787d Propagate changes on tests 2021-09-23 05:20:19 +02:00
Alexandre Aubin
f14d780588 Get rid of unecessary 'user_answers' arg in constructor 2021-09-23 05:09:57 +02:00
Alexandre Aubin
d5748b519a config panels: attempt to improve the semantic of 'convert()' 2021-09-23 05:02:27 +02:00
Alexandre Aubin
9c3ff52d98 file questions: we don't need to know the filename, we don't need to validate extension server-side 2021-09-23 04:38:44 +02:00
Alexandre Aubin
430f53aa73 Semantic, simplify code... 2021-09-23 03:39:43 +02:00
Alexandre Aubin
d023333fa4 questions prompt: include normalize in the try/except to re-ask question if not properly formated 2021-09-23 02:58:13 +02:00
Alexandre Aubin
78ad3b5da3 Fix weird definition for boolean's humanize/normalize 2021-09-23 02:39:39 +02:00
Alexandre Aubin
8ea160b9fe Fix tests 2021-09-23 00:37:44 +02:00
Alexandre Aubin
92f9e15e2f Stale i18n strings 2021-09-23 00:13:18 +02:00
Alexandre Aubin
d1c371ec38 cli questions: Restore displaying available choices, though limit to the first 20 available options 2021-09-23 00:12:24 +02:00
Alexandre Aubin
2d158b5a6d Rework prompt() again 2021-09-21 20:21:05 +02:00
Alexandre Aubin
f597bfe556 No sbin anymore 2021-09-21 16:32:00 +02:00
Alexandre Aubin
2318ffc493 regenconf: drop old legacy code 2021-09-21 16:13:54 +02:00
Alexandre Aubin
a6c72566a5 services.py: drop legacy hack for glances 2021-09-21 16:09:06 +02:00
Alexandre Aubin
9bcb7e0b9e certificate.py: drop legacy 000-acmechallenge.conf stuff 2021-09-21 16:08:24 +02:00
Alexandre Aubin
ae08698253 Merge branch 'migrate_to_bullseye' into bullseye 2021-09-21 16:04:32 +02:00
Alexandre Aubin
1247c5b5ee Merge branch 'dev' into migrate_to_bullseye 2021-09-21 16:00:46 +02:00