Commit graph

1785 commits

Author SHA1 Message Date
pitchum
ada95f8fca http-upload only available on maindomain (for the moment). 2020-03-25 12:09:24 +01:00
Alexandre Aubin
94c066dc53 Factorize stuff in cleaning function to avoid repeating so much stuff 2020-03-24 04:47:21 +01:00
Josué Tille
7e8a00b9dc Change scope secondary domain managment 2020-03-24 04:13:26 +01:00
Josué Tille
edd6074025 Force remove domain 2020-03-24 04:13:26 +01:00
Josué Tille
97f50e396c Fix settings boolean value management 2020-03-24 04:13:26 +01:00
Josué Tille
19fc1806a4 Fix app catalog tests 2020-03-24 04:13:26 +01:00
Josué Tille
8da5aa055d Improve stability of unit tests 2020-03-24 04:12:43 +01:00
Alexandre Aubin
8085b3a2c2 When dumping debug info after app script failure, be slightly smarter and stop at ynh_die to have more meaningul lines being shown 2020-03-23 19:35:41 +01:00
Kay0u
8a1cc89d97
Fix smoll bug 2020-03-23 00:40:42 +01:00
Kay0u
b9aa5d143f
Allow public apps with no sso tile 2020-03-22 20:51:32 +01:00
pitchum
0bd717a21e Include XMPP subdomain in certificate when possible. 2020-03-22 12:17:08 +01:00
pitchum
c6e8bb5d26 Always expect subdomain xmpp-upload.domain.net.
This subdomain will be part of Letsencrypt certificate so
it MUST be defined in DNS zone otherwise certificate renewal will fail.
2020-03-22 08:35:02 +01:00
Alexandre Aubin
2215786d6e Attempt to anonymize data pasted to paste.yunohost.org (in particular domain names) 2020-03-22 01:24:38 +01:00
Alexandre Aubin
b5d18d63c7 Better handling of the didn't-run-diagnosis-ever-yet case (c.f. also commit for webadmin) 2020-03-18 01:30:37 +01:00
Alexandre Aubin
96be75e177
[fix] Make sure the group permission update contains unique elements 2020-03-15 23:28:24 +01:00
Alexandre Aubin
1b17456331
[fix] Make sure the group permission update contains unique elements 2020-03-15 22:33:51 +01:00
Alexandre Aubin
3bf2df16ee Fix tests for appscatalog ? 2020-03-05 20:00:39 +01:00
Alexandre Aubin
200ff2de31
Micro issue from previous app list system rework 2020-03-05 18:15:55 +01:00
Kay0u
fab7aa7de2
more informations in hooks permission 2020-02-25 17:44:57 +01:00
Kayou
746d046250
Merge pull request #877 from kay0u/hooks-permission
more informations in hooks permission
2020-02-25 17:43:45 +01:00
Maniack Crudelis
940162a31f Set the default version for php
And propagate it as an env variable for apps.
2020-02-09 18:52:43 +01:00
Kay0u
dc5ee76124 Full permission url 2020-02-09 03:25:43 +01:00
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
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