Commit graph

5761 commits

Author SHA1 Message Date
Alexandre Aubin
083b3ead74 Gotta return here to not create a regular setting for legacy settings... 2020-11-16 19:15:31 +01:00
Alexandre Aubin
0aaaeef807 Backup restore: Only ask that question about 'system already installed' if some system parts are actually going to be restored... 2020-11-16 18:42:04 +01:00
Alexandre Aubin
144f98ad44
Gotta define a default value to avoid unbound variable 2020-11-10 17:09:23 +01:00
Alexandre Aubin
0fa17ec2b1 Typo in previous commit, we want the interface name directly.. 2020-11-07 00:45:26 +01:00
Alexandre Aubin
166df3a359 Merge branch 'hotfix-certificate-chain-double-entry' into dev 2020-11-04 23:33:55 +01:00
Alexandre Aubin
c640c045d9 Update changelog for 4.0.8.2 2020-11-04 23:32:40 +01:00
Alexandre Aubin
8c735cdc07 Remove stale code 2020-11-04 23:31:24 +01:00
Laurent Peuch
ade6481ccb [fix] intermediate_certificate is now included in signed certificate
Fixes #1644
2020-11-04 23:31:24 +01:00
Alexandre Aubin
685da06703 Unused string 2020-11-04 18:22:32 +01:00
Alexandre Aubin
37d7eace43 Merge branch 'privacy-hotfix' into dev 2020-11-04 17:53:12 +01:00
Alexandre Aubin
d4813e1378 Update changelog for 4.0.8.1 2020-11-04 17:26:31 +01:00
Alexandre Aubin
d34d6b1949 App installs logs were still disclosing secrets when shared sometimes... 2020-11-04 17:26:02 +01:00
Kay0u
45f91fec24
Fix tests, again 2020-11-02 19:45:04 +01:00
Alexandre Aubin
5cfaa7d72c Fix tests 2020-11-02 19:12:52 +01:00
Alexandre Aubin
337387ccbc Make sure the account key exists when renewing certificate (in particular because the account key is not backup/restored) 2020-11-01 18:59:23 +01:00
Alexandre Aubin
7aa3ff5255 Added a .strip() to moulinette's check_output because was tired of adding it all over the places 2020-10-31 18:58:19 +01:00
Alexandre Aubin
5c19fb0a42 List all permissions in app_info() output, not just those with actual urls ... otherwise for example the user won't be able to change the label from the webadmin for non-webapps ? 2020-10-31 14:13:16 +01:00
Alexandre Aubin
d96d06e915 Label ain't in setting anymore ... but let's add a shortcut to get it easily from app_info() 2020-10-31 14:12:16 +01:00
Alexandre Aubin
05b1a8f96e autopep8 --in-place -a -a -a --ignore E402,E501,E722 -r src/yunohost/*.py 2020-10-30 15:22:40 +01:00
Alexandre Aubin
485044335d autopep8 --in-place -a -a -a -a -a -r data/ doc/ tests/ src/yunohost/tests/ src/yunohost/utils/ src/yunohost/data_migrations/ 2020-10-30 15:18:16 +01:00
Alexandre Aubin
31b68b9463 == True -> is True 2020-10-30 15:16:56 +01:00
Alexandre Aubin
2cf7ff4eb4
Merge pull request #1061 from yunohost-bot/weblate-yunohost-core
Update from Weblate
2020-10-30 15:00:28 +01:00
Quentí
58619582e5 Translated using Weblate (Occitan)
Currently translated at 55.7% (342 of 614 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/oc/
2020-10-30 13:52:04 +00:00
Leandro Noferini
82c7e5de75 Translated using Weblate (Italian)
Currently translated at 29.5% (181 of 614 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/it/
2020-10-30 13:52:04 +00:00
Christian Wehrli
e9bab10ca4 Translated using Weblate (German)
Currently translated at 59.0% (362 of 614 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/de/
2020-10-30 13:52:04 +00:00
Colin Wawrik
b1273b4acc Translated using Weblate (German)
Currently translated at 59.0% (362 of 614 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/de/
2020-10-30 13:52:04 +00:00
Christian Wehrli
9ac243cf6e Translated using Weblate (German)
Currently translated at 57.5% (353 of 614 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/de/
2020-10-30 13:52:04 +00:00
Christian Wehrli
e064ae8d86 Translated using Weblate (German)
Currently translated at 56.1% (345 of 615 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/de/
2020-10-30 13:52:04 +00:00
Christian Wehrli
9d4e6b102c Translated using Weblate (German)
Currently translated at 55.6% (342 of 615 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/de/
2020-10-30 13:52:04 +00:00
ppr
b2dac2a45d Translated using Weblate (French)
Currently translated at 98.7% (607 of 615 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/fr/
2020-10-30 13:52:04 +00:00
Christian Wehrli
8df033e542 Translated using Weblate (German)
Currently translated at 55.4% (341 of 615 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/de/
2020-10-30 13:52:04 +00:00
Alexandre Aubin
c45c182980
Merge pull request #861 from YunoHost/permission_protection
Extends permissions features
2020-10-30 14:51:52 +01:00
Alexandre Aubin
d2c6397f82 Fix typo in previous fix ;[ 2020-10-30 14:26:35 +01:00
Alexandre Aubin
51f5b3f716 Fix a regression for full-domain apps 2020-10-30 01:17:30 +01:00
Alexandre Aubin
6085918b03
Typo in comment
Co-authored-by: Kayou <pierre@kayou.io>
2020-10-30 00:55:50 +01:00
Alexandre Aubin
3a693b58de Fix an edge case where app is install on the root... 2020-10-30 00:19:17 +01:00
Alexandre Aubin
db14d73e11 Simplify(?) migration code 2020-10-30 00:11:40 +01:00
Alexandre Aubin
4e40f8b86a The key can't be in app_settings anymore because it got migrated ... 2020-10-30 00:04:40 +01:00
Alexandre Aubin
d4635f0eaa Fix i18n key IDs so that translators don't have to retranslate something already translated.. 2020-10-29 23:49:23 +01:00
Alexandre Aubin
122a9dd877 Remove the trailing _1 in migration id ..? 2020-10-29 23:48:50 +01:00
Alexandre Aubin
00a10c9a5d Fix some possible label inconsistencies when restoring apps permissions 2020-10-29 23:35:03 +01:00
Alexandre Aubin
e91f2de0dc Move 'label' migration to migrate_legacy_permission_settings in legacy.py, because the previous code could led to some inconsistencies when restoring apps backuped before the migration 2020-10-29 23:26:28 +01:00
Alexandre Aubin
e047b67b1d Move legacy permission setting migration to legacy.py 2020-10-29 23:16:27 +01:00
Alexandre Aubin
2cb6f4e2c2 Don't add show_tile for non-webapps apps 2020-10-29 22:26:13 +01:00
Alexandre Aubin
fd5c66db1b Do not display regexes in app_map because that doesn't really make sense ..? 2020-10-29 21:54:12 +01:00
Alexandre Aubin
e748f7a80e Fix handling of multiple legacy perm _regexes in app_setting set 2020-10-29 21:50:43 +01:00
Alexandre Aubin
c2b24d1e1c Keep track of the 'sublabel' for sub-permissions... c.f. also webadmin 2020-10-29 21:02:08 +01:00
Alexandre Aubin
092caba505 Fix some inconsistent stuff in the migration considering app_setting() now maps get/set/delete of legacy permission setting to the new permission system ... gotta use the low-level helpers to really access the value of legacy settings 2020-10-29 20:57:47 +01:00
Alexandre Aubin
66f5d14e0c Only display the deprecration warning when setting the setting (avoid displaying a huge wall of warnings when getting/deleting the legacy settings) 2020-10-29 20:33:48 +01:00
Alexandre Aubin
4279c108ba Don't forget to handle _regex legacy permission settings 2020-10-29 19:58:07 +01:00