Commit graph

5235 commits

Author SHA1 Message Date
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
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
Alexandre Aubin
69a64d7ac8
Merge pull request #850 from yunohost-bot/weblate-yunohost-core
Update from Weblate
2019-11-23 19:55:56 +01:00
xaloc33
07103092c5 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-11-23 18:54:13 +00:00
Alexandre Aubin
9fe43b17f0 Try to make this message a bit less weird? 2019-11-23 19:53:39 +01:00
Alexandre Aubin
f104ccb031 Merge branch 'stretch-testing' into stretch-unstable 2019-11-23 19:33:42 +01:00
Alexandre Aubin
e3474f1a8c Update changelog for 3.7.0.3 2019-11-23 19:32:51 +01:00
Alexandre Aubin
7fa61b49f4 Typo fix lost in the merges... 2019-11-23 19:27:18 +01:00
xaloc33
1b26675f18 Translated using Weblate (Catalan)
Currently translated at 100.0% (596 of 596 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/ca/
2019-11-23 19:12:57 +01:00
ppr
65fee9c300 Translated using Weblate (French)
Currently translated at 99.8% (598 of 599 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/fr/
2019-11-23 19:12:55 +01:00
Mélanie Chauvel
999006dbda Translated using Weblate (French)
Currently translated at 99.5% (601 of 604 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/fr/
2019-11-23 19:11:22 +01:00
Alexandre Aubin
6edba30eb9 Try to improve the wording of those messages... 2019-11-23 19:07:26 +01:00
Alexandre Aubin
8b0c9e5b79 Try to improve the wording of those messages... 2019-11-22 21:16:32 +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
decb372b7a Run a full diagnosis after each yunohost upgrade 2019-11-22 19:18:24 +01:00
Alexandre Aubin
978d9d5dfd Burn this fucking madness .. there is no reason to mess with yunohost-firewall during postinst, and it doesnt even actually restart it because $2 is always empty, so what the actual fuck. 2019-11-22 19:05:50 +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
Matthew DeAbreu
3b9481ae2d
Update 12-metronome
simplify change by reordering operations
2019-11-22 09:02:01 -08: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
a354425e3d Improve / fix tip about port forwarding and DNS records 2019-11-22 16:30:31 +01:00
Alexandre Aubin
9c9ea6d530 This fix disappeared in the merge mess at some point ... 2019-11-22 16:24:08 +01:00
Alexandre Aubin
8320d2f259
Merge pull request #849 from yunohost-bot/weblate-yunohost-core
Update from Weblate
2019-11-22 15:51:43 +01:00
Mélanie Chauvel
bd78f93ff0 Translated using Weblate (French)
Currently translated at 99.5% (601 of 604 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/fr/
2019-11-22 14:48:10 +00:00
Alexandre Aubin
4ab3653dfb Add tip about how to fix / investigate broken services 2019-11-22 15:47:26 +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