Commit graph

4260 commits

Author SHA1 Message Date
Josué Tille
45966c8ebd
Also add isProtected attribute in ldap_scheme 2019-12-27 16:24:30 +01:00
Josué Tille
672eb6f512
Fix permission creation 2019-12-27 16:24:30 +01:00
Josué Tille
171f37a589
Implement migration 2019-12-27 16:24:30 +01:00
Josué Tille
ca4c4c2e62
Remove unused import 2019-12-23 16:11:00 +01:00
Josué Tille
175a87bd30
Implement restore permission 2019-12-23 16:11:00 +01:00
Josué Tille
9aecacd995
Rename variables 2019-12-23 11:25:20 +01:00
Josué Tille
b38d1a495e
Add force argument in permission update and change default value in permission creation 2019-12-23 11:21:28 +01:00
Josué Tille
cad6f71016
Fix helper 2019-12-23 11:05:27 +01:00
Josue-T
0c6392a5f7
Fix helper
Co-Authored-By: Kayou <pierre.moltess@gmail.com>
2019-12-23 11:03:31 +01:00
Josué Tille
3ffa826612
Remove dirty code for test 2019-12-23 11:03:27 +01:00
Josué Tille
0e3293a47e
Add possibility to protect the modification of a permission 2019-12-22 15:45:20 +01:00
Josué Tille
e5eed1fa17
Make mandatory the protected attribute in LDAP permission 2019-12-22 15:44:48 +01:00
Josué Tille
fe8a0cbcbd
Update helper for permission protection support 2019-12-22 15:03:29 +01:00
Josué Tille
5d4f62b222
Update LDAP schema for permission protection 2019-12-22 14:44:17 +01:00
Alexandre Aubin
9f81d77693
Merge pull request #853 from YunoHost/app-categories
[enh] Refactor app_list and app_info, + add support for app categories
2019-12-12 19:10:50 +01:00
Alexandre Aubin
81795d0d0d Merge branch 'stretch-testing' into stretch-unstable 2019-12-02 20:46:28 +01:00
Alexandre Aubin
8f4a1757f4 Update changelog for 3.7.0.4 2019-12-02 20:45:03 +01:00
Alexandre Aubin
d966407ff0 Let's not remove all_users here since it shall be added if visitors are allowed 2019-12-02 20:41:42 +01:00
Alexandre Aubin
e9c01c2f89 Additonal cleaning of legacy stuff when using new permission system + avoid duplicated entries in (un)protected_urls 2019-12-02 20:39:41 +01:00
Alexandre Aubin
a044f3ad7e Implicitly add all_users when adding visitors group 2019-12-02 20:39:10 +01:00
Alexandre Aubin
a5866e67b9 Try to improve readability for these conditions 2019-12-02 20:39:10 +01:00
Alexandre Aubin
af054b3b85 Let's keep one thread per line for readability + easier to indentify the issue 2019-12-02 20:39:10 +01:00
Alexandre Aubin
df3c768898 Let's convert this in list in all cases (+ simplify later core) 2019-12-02 20:39:10 +01:00
Kay0u
6e606cc64d Visitors permission needs All Users 2019-12-02 20:39:10 +01:00
xaloc33
7b6d6d7872 Translated using Weblate (Catalan)
Currently translated at 100.0% (605 of 605 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/ca/
2019-12-02 20:39:10 +01:00
Alexandre Aubin
e84f57d7a8
Merge pull request #855 from kay0u/visitors-needs-all-users
Visitors permission needs All Users
2019-12-02 20:30:45 +01:00
Alexandre Aubin
6edad7eede
Merge pull request #854 from YunoHost/remove-unecessary-sudo
[mod] Remove those random sudo which are useless yet triggers LDAP warning when LDAP is in bad state
2019-12-02 20:29:21 +01:00
Alexandre Aubin
442cec170d Implicitly add all_users when adding visitors group 2019-12-02 19:04:07 +01:00
Alexandre Aubin
99e70af08c Additonal cleaning of legacy stuff when using new permission system + avoid duplicated entries in (un)protected_urls 2019-12-02 18:09:43 +01:00
Alexandre Aubin
c97a839630 Custom service description: let's be a bit smarter and use the one from the systemd service if it exists 2019-12-01 18:42:31 +01:00
Alexandre Aubin
df3051f2de Handle subtag title internationalization also 2019-11-30 18:10:39 +01:00
Alexandre Aubin
54a5ecebd7 Try to improve readability for these conditions 2019-11-29 16:42:07 +01:00
Alexandre Aubin
7247c9f7aa Let's keep one thread per line for readability + easier to indentify the issue 2019-11-29 16:06:26 +01:00
Alexandre Aubin
9697ca8e4b Let's convert this in list in all cases (+ simplify later core) 2019-11-29 15:51:43 +01:00
Alexandre Aubin
fea733ce31
Merge pull request #856 from kay0u/fix-test-app-failed-upgrade
fix test_failed_multiple_app_upgrade
2019-11-29 15:20:48 +01:00
Kay0u
1dda8afc93
fix test_failed_multiple_app_upgrade 2019-11-29 23:14:28 +09:00
Kay0u
32b6c2eccf
Visitors permission needs All Users 2019-11-29 22:48:17 +09:00
Alexandre Aubin
97e5d3b992 Remove those random sudo which are useless yet triggers LDAP warning when LDAP is in bad state 2019-11-28 00:10:40 +01:00
Alexandre Aubin
b74c7c888c Improve robustness / idempotency(?) of new app catalog migration 2019-11-27 15:37:22 +01:00
Alexandre Aubin
06fe3504b3 Change app catalog API to support categories 2019-11-26 00:38:36 +01:00
Alexandre Aubin
3951f5e1b8 Refactor the whole app_list and app_info madness ... 2019-11-25 21:05:00 +01:00
Alexandre Aubin
7518beaf2f Fuck it we don't need these options 2019-11-25 19:23:31 +01:00
Alexandre Aubin
97138e9209 Try to remove as many app_list() call as possible, replace them with a simple _installed_apps() 2019-11-25 19:07:52 +01:00
Alexandre Aubin
67bb386c39 Explicit that we wanna run this python code in 2.7, otherwise if you're in a python3 venv it may not find the yaml module 2019-11-25 18:27:01 +01:00
Alexandre Aubin
101d3beebf Simplify app_list, don't call app_info (which itself calls app_list...) just to fetch the label from the settings 2019-11-25 18:26:26 +01:00
Alexandre Aubin
c12017418a
Merge pull request #784 from YunoHost/simpler-ldap-conf
Propagate change on LDAP conf / authenticator
2019-11-25 16:20:42 +01:00
Alexandre Aubin
615a164c06
Merge pull request #791 from decentral1se/add-pop3-setting
Add pop3.enabled setting
2019-11-25 16:19:36 +01:00
Alexandre Aubin
4bf7247b47
Merge pull request #852 from kay0u/patch-3
[fix] test_backup_and_restore_permission_app
2019-11-25 16:10:06 +01:00
Alexandre Aubin
053d692319
Merge pull request #848 from mdeabreu/patch-1
[fix] metronome domain folder permissions
2019-11-25 16:09:18 +01:00
Kayou
c4590ab8ca
Fix test_backup_and_restore_permission_app 2019-11-25 23:01:44 +09:00