Commit graph

5926 commits

Author SHA1 Message Date
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
Alexandre Aubin
e564ecd3c0 Be sligtly more robust when re-running the migration 2020-10-29 19:57:11 +01:00
Alexandre Aubin
a73683cb66
Merge pull request #1065 from YunoHost/fix-mariadb-max_allowed_packet
[fix] MySQL server has gone away in nextcloud
2020-10-27 17:17:23 +01:00
Alexandre Aubin
65673c4df6
Merge pull request #1060 from YunoHost/drop-manifest-arg-type-app
We don't need app-type argument for manifest questions ?
2020-10-27 17:01:08 +01:00
Alexandre Aubin
c979d1e640 Do not display a huge wall of boring logs while waiting for the service to start 2020-10-20 14:21:27 +02:00
Alexandre Aubin
4d494c7e7c
Merge pull request #1067 from YunoHost/fix-certificate-chain-double-entry
[fix] intermediate_certificate is now included in signed certificate
2020-10-14 18:01:55 +02:00
Alexandre Aubin
46268185c5 Remove stale code 2020-10-14 04:08:34 +02:00
Laurent Peuch
7154551882 [fix] intermediate_certificate is now included in signed certificate
Fixes #1644
2020-10-14 03:50:21 +02:00
Alexandre Aubin
cb1d02243e Do not advertise upgrades for bad-quality apps 2020-10-14 01:45:53 +02:00
Alexandre Aubin
711b64f81e No need to display this --test_status warning when adding postgresql service 2020-10-12 15:13:13 +02:00
ljf (zamentur)
02105568f8
[fix] MySQL server has gone away in nextcloud
[Warning] Aborted connection 110060 to db: 'nextcloud' user: 'nextcloud' host: 'localhost' (Got a packet bigger than 'max_allowed_packet' bytes)
2020-10-12 14:39:03 +02:00
Alexandre Aubin
3a23f9715f We don't need app-type argument for manifest questions 2020-10-08 20:04:50 +02:00
ljf
2b8f7e1494 [fix] SSH or SFTP permission migrations 2020-10-07 01:04:52 +02:00
Alexandre Aubin
b55c28c26a
Merge pull request #1059 from YunoHost/fix-warning-app-dependencies
[fix] Avoid warning message during app install
2020-10-05 00:08:22 +02:00
ljf (zamentur)
3a2b2d06e2
[fix] Avoid warning message during app install
Info: [########++..........] > Upgrading dependencies...
Warning: debconf: delaying package configuration, since apt-utils is not installed
2020-10-04 23:25:02 +02:00
Alexandre Aubin
ba884d5b6d Get rid of yunohost.local in main domain nginx conf ... because this interfer with using yunohost.local for postinstall. Just let it be handled by the default vhost 2020-10-03 16:32:31 +02:00
Alexandre Aubin
14644f0567
Merge pull request #1058 from Chostakovitch/fix_redis_hook
Fix redis hook (bash does not allow empty function)
2020-10-03 11:30:01 +02:00
Quentin Duchemin
6940ea1946
Fix redis hook (bash does not allow empty function
Add a dummy instruction equivalent to true
2020-10-03 11:24:47 +02:00
Alexandre Aubin
2c6736df29 These fail2ban jails do not exists anymore (since buster I guess ?) 2020-10-03 11:19:44 +02:00
Alexandre Aubin
fb44bd1c66 Try to uh simplify the whole full_path=True / False thing, most of the time internally we want it set to False 2020-10-01 23:47:56 +02:00
Alexandre Aubin
de96b094b2 Fix regression following small refactoring 2020-10-01 19:19:00 +02:00
Alexandre Aubin
a5df52200a Moaaar fixes 2020-09-30 23:11:41 +02:00
Alexandre Aubin
aaba3fe6aa Merge branch 'dev' into permission_protection 2020-09-30 19:07:12 +02:00
Alexandre Aubin
76f042cca4 Looks like it's typo day today ~_~ 2020-09-30 19:06:49 +02:00
Alexandre Aubin
62e9250297 Annnnd more typo/untested stuff #shame 2020-09-30 18:51:38 +02:00
Alexandre Aubin
a7d105ace6 Merge branch 'dev' into permission_protection 2020-09-30 18:48:26 +02:00
Alexandre Aubin
c94a7614ad Only restore set -x option if it was previously set 2020-09-30 18:43:11 +02:00
Alexandre Aubin
d5abc12b82 Many typo :| 2020-09-30 18:18:39 +02:00
Alexandre Aubin
c847b8265e The real display label is later defined as App (Subperm) so not doing that now 2020-09-30 18:04:44 +02:00
Alexandre Aubin
00d40e5d31 Typo 2020-09-30 18:03:53 +02:00
Alexandre Aubin
11d6cd0cd3 Try to fix uh a bunch of weird undefined stuff 2020-09-30 17:55:28 +02:00
Alexandre Aubin
07cec39af5 Move a bunch of function from domain.py to app.py because it's much simpler to have them here 2020-09-30 17:38:42 +02:00
Alexandre Aubin
1ce1ecc2be Fix tests, keep a special exception when we know we're checking full-domain apps 2020-09-30 17:30:04 +02:00
Alexandre Aubin
950dbc6b46
Merge pull request #935 from YunoHost/remove_legacy_settings
Remove legacy settings
2020-09-30 17:06:08 +02:00
Alexandre Aubin
9a221a8d0b
Merge pull request #1057 from yunohost-bot/weblate-yunohost-core
Update from Weblate
2020-09-29 23:10:49 +02:00
Éric Gaspar
82f89c5d70 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-09-29 14:24:44 +00:00
Éric Gaspar
45b1441b30 Translated using Weblate (French)
Currently translated at 98.9% (607 of 614 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/fr/
2020-09-29 14:24:44 +00:00