Kay0u
62a98eb073
Full permission url
2020-01-31 18:27:16 +01:00
Kay0u
e68da9d47b
more informations in hooks permission
2020-01-29 21:17:14 +07:00
Josué Tille
ead80c72f8
Implement upgrade type management and avoid unusefull upgrade
2019-12-30 14:43:48 +01:00
Josué Tille
ebb492fd1e
Add force option in upgrade script
2019-12-30 14:43:10 +01:00
Josué Tille
e2def74997
Improve check before permission update
2019-12-30 13:31:14 +01:00
Josué Tille
dc39b9a5af
Clean code
2019-12-29 22:24:21 +01:00
Josué Tille
43073b77c5
Add more assert
2019-12-29 22:22:51 +01:00
Josué Tille
ce33592996
Remove bad comment
2019-12-29 22:19:08 +01:00
Josué Tille
b3b5d84f05
Add tests for permission protection
2019-12-29 22:14:19 +01:00
Josué Tille
8d3d055484
Fix permission update
2019-12-29 22:14:19 +01:00
Josué Tille
97c3a0fb9b
Fix migration
2019-12-29 21:08:59 +01:00
Josué Tille
414fe1926a
Fix helper
2019-12-29 21:08:59 +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
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
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
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
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
Augustin Trancart
e0fa39ad01
[fix] prevent firefox to mix CA and server certificate
...
Fixes #1479 : yunohost was using the exact same Distinguished Name for
the CA certificate and the main domain server certificate. When creating
alternate domain name, firefox thought the CA for this second domain was
the server certificate for the first domain. As the key mismatches,
Firefox raised a bad key usage error, which is not bypassable.
To fix this, we "simply" need to make sure the DN for the CA is
distinct for any other DN. I did so by adding a Organization to it, and
I decided to just remove the last part of the domain and use that as an
organization name. It is certainly possible to do something else, as
long as we end up having a distinct DN. So yolo.test gives a yolo
organization for instance.
More info here https://bugzilla.mozilla.org/show_bug.cgi?id=1590217
2019-11-30 15:58:41 +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
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
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