Commit graph

6093 commits

Author SHA1 Message Date
Alexandre Aubin
4ddf632e75 We don't need that print ? 2021-01-02 19:10:00 +01:00
Alexandre Aubin
c755f17015 python -> python3 in ci's yml 2021-01-02 18:54:00 +01:00
Alexandre Aubin
0781150f20 Remove python2.7 lint from CI 2021-01-02 18:43:58 +01:00
Alexandre Aubin
bbfd5eb9d0 python3: Gotta add list() when we manipulate the dict during the loop 2021-01-02 18:39:36 +01:00
Alexandre Aubin
4491568e6d
Merge pull request #1066 from YunoHost/no-upgrade-advertise-for-bad-quality-apps
Do not advertise upgrades for bad-quality apps
2021-01-02 00:40:16 +01:00
Alexandre Aubin
1149be5801
Merge pull request #1121 from YunoHost/permission-docstring
[doc] tell users how to get all permissions
2021-01-01 20:49:57 +01:00
Alexandre Aubin
aacb269b0d
Merge pull request #1124 from YunoHost/domain-remove-apps-ux
[mod] also display app label on remove_domain with apps
2021-01-01 20:44:22 +01:00
Laurent Peuch
e51a1b670e [ux] add command instructions and suggest change-url for domain_uninstall_app_first 2021-01-01 19:59:13 +01:00
Laurent Peuch
c7d315c7e0 [mod] also display app label on remove_domain with apps 2021-01-01 18:52:24 +01:00
Alexandre Aubin
d31ba05a26
Merge pull request #1123 from YunoHost/fix-app-info-name-label
[fix] key name of app label wasn't the real label
2021-01-01 18:46:33 +01:00
Alexandre Aubin
968a707a4c
Merge pull request #1122 from YunoHost/avoid_calling_app_list_in_user_permission_list
[mod] avoid calling app_list in user_permission_list
2021-01-01 18:44:58 +01:00
Laurent Peuch
effc87da26 [fix] key name of app label wasn't the real label 2021-01-01 18:36:11 +01:00
Laurent Peuch
2768def391 [mod] avoid calling app_list in user_permission_list 2021-01-01 18:32:41 +01:00
Laurent Peuch
f2dc7bacd1 [doc] tell users how to get all permissions 2021-01-01 17:28:55 +01:00
Laurent Peuch
165d2b3225 [mod] no catchall exceptions 2021-01-01 17:14:53 +01:00
Alexandre Aubin
f7c3521e27
Merge pull request #1120 from YunoHost/app_list_domain_path
[enh] display domain_path of app on app list
2021-01-01 16:02:21 +01:00
Laurent Peuch
9eb6fa1961 [enh] display domain_path of app on app list 2021-01-01 15:53:50 +01:00
Alexandre Aubin
caa5e07d41 X-Python-Version is obsolete 2021-01-01 05:20:04 +01:00
Alexandre Aubin
1ac59f9877 More encode/decode fixes 2021-01-01 05:04:54 +01:00
Alexandre Aubin
d5da3d899a Ignore the __pycache__ folder in diagnosis hook folder 2021-01-01 05:04:33 +01:00
Alexandre Aubin
cce020daac Uniformize check_output calls to use moulinette helpers which shall now automatically decode() automatically + also strip() etc 2021-01-01 05:03:55 +01:00
Alexandre Aubin
0434bd5dc2 cmp() doesn't exists anymore 2021-01-01 04:07:27 +01:00
Alexandre Aubin
0335bcbf4c .keys() now returns a generator, gotta wrap it in a list() for what we do here 2021-01-01 04:07:16 +01:00
Alexandre Aubin
5f0b1b7450 Encoding fixes 2021-01-01 04:06:09 +01:00
Alexandre Aubin
86a612fab1 c.f. change in the moulinette regarding call_async_output and the handling of stdinfo ... YNH_STDINFO is now a file descriptor instead of a named pipe 2021-01-01 04:04:56 +01:00
Kay0u
5c17ac5eec
[wip] add legacy permissions management 2020-12-31 18:34:37 +01:00
Kay0u
78751ac655
Move permissions helpers to a new file 2020-12-31 18:33:09 +01:00
Alexandre Aubin
28b9b672b3 Update changelog for 4.1.2 2020-12-31 16:32:13 +01:00
Alexandre Aubin
6ea29d8501
Merge pull request #1110 from YunoHost/dont-mess-sury-pinning
Don't mess with Sury's pinning
2020-12-31 16:19:06 +01:00
Alexandre Aubin
5218e12966
Merge pull request #1111 from yunohost-bot/weblate-yunohost-core
Translations update from Weblate
2020-12-31 16:18:36 +01:00
Christian Wehrli
2e8aa6442e Translated using Weblate (German)
Currently translated at 57.6% (363 of 630 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/de/
2020-12-31 15:17:59 +00:00
Alexandre Aubin
d437257e5c
Merge pull request #1114 from YunoHost/user_create_regex
[mod](user_create) only ask for one letter for first/last name
2020-12-31 16:17:51 +01:00
Alexandre Aubin
299e04cfc7 Set yunohost(-api) bins to python3 2020-12-30 22:38:02 +01:00
Alexandre Aubin
6b1fed53d6 Update tox.ini to python3 only 2020-12-30 22:38:02 +01:00
Alexandre Aubin
177957138c Naively updating debian/control to python3 2020-12-30 22:37:47 +01:00
Alexandre Aubin
8e30768598 2to3-2.7 ./src/yunohost/{,data_migrations/,utils/,tests/}*.py data/hooks/diagnosis/*.py -w -x dict -x print --nobackups --no-diffs 2020-12-30 21:53:43 +01:00
Alexandre Aubin
479f3ebe72
Merge pull request #1113 from YunoHost/fix-legacy-permission-migration
fix legacy permission migration
2020-12-30 12:11:10 +01:00
Laurent Peuch
7e096a8aeb [mod](user_create) only ask for one letter for first/last name 2020-12-30 11:25:54 +01:00
Kayou
9e2e5ce55e
not protected by default 2020-12-29 23:59:13 +01:00
Kayou
2b80bac769
Fix restore permission 2020-12-29 23:12:14 +01:00
Kayou
e70f27b7ff
Update legacy.py 2020-12-29 22:48:10 +01:00
Kayou
d6d75c528e
fix legacy permission migration 2020-12-29 22:37:59 +01:00
Alexandre Aubin
b685a27481 [yolo] Detect moar hardware name 2020-12-28 22:57:52 +01:00
Alexandre Aubin
d77d5afb2c When encountering unknown setting, also save the regular setting so we don't re-encounter the unknown settings everytime 2020-12-28 20:05:51 +01:00
Alexandre Aubin
bdff5937f0
Handle permission regexes that may start with ^ or \ 2020-12-28 16:58:50 +01:00
Laurent Peuch
0c977d8c70 [fix] double return prevent new code from working 2020-12-28 01:45:00 +01:00
Alexandre Aubin
6419c2ac64 Don't mess with Sury's pinning 2020-12-24 15:38:39 +01:00
Léo Le Bouter
42f3ff6b00 firewall: force source port for UPnP.
miniupnpc uses a random source port by default, the issue is that the
firewall rule to allow destination port 1900 incoming is unused because
the UPnP server will use the random source port as destination port in
the reply which iptables will block. Forcing the source port to be 1900
will ensure the UPnP server also uses that as destination port in the
reply and pass the firewall.

python-miniupnpc 2.0 or later is required for this change to have any
effect, it is otherwise silently ignored. A debian package upgrade is in
the works for official Yunohost repos.
2020-12-21 00:21:50 +01:00
Alexandre Aubin
6c75aa0074 Update changelog for 4.1.1 2020-12-19 01:48:10 +01:00
Alexandre Aubin
4f81be6d80
Merge pull request #1095 from yunohost-bot/weblate-yunohost-core
Translations update from Weblate
2020-12-19 01:31:50 +01:00