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
Alexandre Aubin
615a164c06
Merge pull request #791 from decentral1se/add-pop3-setting
...
Add pop3.enabled setting
2019-11-25 16:19:36 +01:00
Kayou
c4590ab8ca
Fix test_backup_and_restore_permission_app
2019-11-25 23:01:44 +09:00
Alexandre Aubin
7fa61b49f4
Typo fix lost in the merges...
2019-11-23 19:27:18 +01:00
Alexandre Aubin
e686dc6866
Tweak tip at the end of postinstall to also point to diagnosis and admindoc
2019-11-22 19:38:21 +01:00
Alexandre Aubin
0277ec4f12
Warn early about unexisting user/groups (otherwise this triggers a journal entry for nothing) + simplify code, explicit assumptions
2019-11-22 18:16:32 +01:00
Alexandre Aubin
63e756b9f5
Adjust tests because now all_users ain't added automatically by permission_create for .main perms
2019-11-22 18:16:32 +01:00
Alexandre Aubin
625df81872
Postinstall was broken because of missing import
2019-11-22 18:15:50 +01:00
Alexandre Aubin
fdf5f16739
Warn early about unexisting user/groups (otherwise this triggers a journal entry for nothing) + simplify code, explicit assumptions
2019-11-22 18:12:02 +01:00
Alexandre Aubin
6eb8efb6f0
Adjust tests because now all_users ain't added automatically by permission_create for .main perms
2019-11-22 16:41:43 +01:00
Alexandre Aubin
9c9ea6d530
This fix disappeared in the merge mess at some point ...
2019-11-22 16:24:08 +01:00
Kay0u
1b8e528965
symplify premission_create
2019-11-22 15:27:35 +01:00
Kay0u
a719ab05a2
[Fix] permission create
2019-11-22 15:27:28 +01:00
Alexandre Aubin
20baa73a0f
Merge branch 'stretch-unstable' of https://github.com/YunoHost/yunohost into stretch-unstable
2019-11-22 15:27:12 +01:00
Alexandre Aubin
2a5e36bd16
Merge pull request #846 from kay0u/fix-permission-create
...
[Fix] permission create
2019-11-22 15:26:39 +01:00
Alexandre Aubin
dd92a34202
Uh idk we also need to run this explicitly with /bin/bash
2019-11-22 15:10:44 +01:00
Kay0u
23489155fd
symplify premission_create
2019-11-21 18:13:20 +09:00
Alexandre Aubin
a858a2072b
Also remove the legacy cron job, since there was a name change
2019-11-20 20:17:11 +01:00
Alexandre Aubin
fa5c0e9a70
Ugh had some weird issue because for some reason in some context subprocess uses /bin/sh ...
2019-11-20 20:16:28 +01:00
Alexandre Aubin
16f6d500a3
Better handle case where diagnosis cache is missing
2019-11-20 18:38:23 +01:00
Alexandre Aubin
02d00eece0
migrate -> run
2019-11-20 16:05:45 +01:00
Alexandre Aubin
f1b7b46c24
Merge branch 'stretch-testing' into stretch-unstable
2019-11-20 15:28:06 +01:00
Kay0u
a959a97e8c
[Fix] permission create
2019-11-20 13:28:10 +09:00
Alexandre Aubin
9e9215cc78
Simpler LDAP configuration
2019-11-19 14:48:48 +01:00
Alexandre Aubin
d50a69fe3e
Merge pull request #838 from YunoHost/improve-service-status-checks
...
[enh] Improve service status checks (and service add CLI)
2019-11-18 14:11:37 +01:00
Alexandre Aubin
7986f61b14
Specific shit for mysql
2019-11-17 16:59:35 +01:00
Alexandre Aubin
bb8b1b052d
Using /var/log/daemon.log or /var/log/syslog is pointless, these files logs many different things. Instead, we shall always return the logs from journalctl
2019-11-17 16:39:12 +01:00
Alexandre Aubin
3c76497003
Merge branch 'stretch-unstable' into get-rid-of-app-status
2019-11-16 15:24:24 +01:00