1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/sogo_ynh.git synced 2024-09-03 20:26:07 +02:00

Merge pull request #24 from YunoHost-Apps/testing

Testing
This commit is contained in:
Josue-T 2023-02-15 20:12:18 +01:00 committed by GitHub
commit 50a4b827bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 17 deletions

View file

@ -6,6 +6,7 @@ It shall NOT be edited by hand.
# SOGo for YunoHost # SOGo for YunoHost
[![Integration level](https://dash.yunohost.org/integration/sogo.svg)](https://dash.yunohost.org/appci/app/sogo) ![Working status](https://ci-apps.yunohost.org/ci/badges/sogo.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/sogo.maintain.svg) [![Integration level](https://dash.yunohost.org/integration/sogo.svg)](https://dash.yunohost.org/appci/app/sogo) ![Working status](https://ci-apps.yunohost.org/ci/badges/sogo.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/sogo.maintain.svg)
[![Install SOGo with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=sogo) [![Install SOGo with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=sogo)
*[Lire ce readme en français.](./README_fr.md)* *[Lire ce readme en français.](./README_fr.md)*
@ -18,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
SOGo is an opensource groupware solution which has Webmail, a global address book and Calender and Contacts which can be synced via caldav or cardav. SOGo is an opensource groupware solution which has Webmail, a global address book and Calender and Contacts which can be synced via caldav or cardav.
**Shipped version:** 5.0.1~ynh1 **Shipped version:** 5.0.1~ynh2
**Demo:** https://demo.sogo.nu/SOGo/ **Demo:** https://demo.sogo.nu/SOGo/
## Documentation and resources ## Documentation and resources

View file

@ -5,27 +5,28 @@ It shall NOT be edited by hand.
# SOGo pour YunoHost # SOGo pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/sogo.svg)](https://dash.yunohost.org/appci/app/sogo) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/sogo.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/sogo.maintain.svg) [![Niveau dintégration](https://dash.yunohost.org/integration/sogo.svg)](https://dash.yunohost.org/appci/app/sogo) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/sogo.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/sogo.maintain.svg)
[![Installer SOGo avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=sogo) [![Installer SOGo avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=sogo)
*[Read this readme in english.](./README.md)* *[Read this readme in english.](./README.md)*
> *Ce package vous permet d'installer SOGo rapidement et simplement sur un serveur YunoHost. > *Ce package vous permet dinstaller SOGo rapidement et simplement sur un serveur YunoHost.
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.* Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.*
## Vue d'ensemble ## Vue densemble
SOGo is an opensource groupware solution which has Webmail, a global address book and Calender and Contacts which can be synced via caldav or cardav. SOGo is an opensource groupware solution which has Webmail, a global address book and Calender and Contacts which can be synced via caldav or cardav.
**Version incluse :** 5.0.1~ynh1 **Version incluse :** 5.0.1~ynh2
**Démo :** https://demo.sogo.nu/SOGo/ **Démo :** https://demo.sogo.nu/SOGo/
## Documentations et ressources ## Documentations et ressources
* Site officiel de l'app : <https://sogo.nu/> * Site officiel de lapp : <https://sogo.nu/>
* Documentation officielle de l'admin : <https://www.sogo.nu/support.html#/documentation> * Documentation officielle de ladmin : <https://www.sogo.nu/support.html#/documentation>
* Dépôt de code officiel de l'app : <https://github.com/inverse-inc/sogo> * Dépôt de code officiel de lapp : <https://github.com/inverse-inc/sogo>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_sogo> * Documentation YunoHost pour cette app : <https://yunohost.org/app_sogo>
* Signaler un bug : <https://github.com/YunoHost-Apps/sogo_ynh/issues> * Signaler un bug : <https://github.com/YunoHost-Apps/sogo_ynh/issues>
@ -41,4 +42,4 @@ ou
sudo yunohost app upgrade sogo -u https://github.com/YunoHost-Apps/sogo_ynh/tree/testing --debug sudo yunohost app upgrade sogo -u https://github.com/YunoHost-Apps/sogo_ynh/tree/testing --debug
``` ```
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps> **Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps>

View file

@ -6,7 +6,7 @@
"en": "Opensource groupware for E-Mail, Contacts and Calender", "en": "Opensource groupware for E-Mail, Contacts and Calender",
"fr": "Groupware opensource pour les e-mail, contacts et calendrier" "fr": "Groupware opensource pour les e-mail, contacts et calendrier"
}, },
"version": "5.0.1~ynh1", "version": "5.0.1~ynh2",
"url": "https://sogo.nu/", "url": "https://sogo.nu/",
"upstream": { "upstream": {
"license": "LGPL-2.1,GPL-2.0", "license": "LGPL-2.1,GPL-2.0",
@ -31,7 +31,7 @@
"mysql" "mysql"
], ],
"requirements": { "requirements": {
"yunohost": ">= 4.3.0" "yunohost": ">= 11.1.6.1"
}, },
"arguments": { "arguments": {
"install" : [ "install" : [

View file

@ -158,7 +158,7 @@ fi
ynh_permission_create --permission="sync_client" --allowed='visitors' --auth_header=false\ ynh_permission_create --permission="sync_client" --allowed='visitors' --auth_header=false\
--label="Sync client" --protected=true --show_tile=false\ --label="Sync client" --protected=true --show_tile=false\
--additional_urls="/Microsoft-Server-ActiveSync" "/principals" "/.well-known/caldav" "/.well-known/carddav" --additional_urls="$domain/Microsoft-Server-ActiveSync" "$domain/principals" "$domain/.well-known/caldav" "$domain/.well-known/carddav"
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX

View file

@ -147,13 +147,14 @@ ynh_script_progression --message="Configuring permissions..."
if ! ynh_permission_exists --permission sync_client; then if ! ynh_permission_exists --permission sync_client; then
ynh_permission_create --permission="sync_client" --allowed 'visitors' --auth_header=false\ ynh_permission_create --permission="sync_client" --allowed 'visitors' --auth_header=false\
--label="Sync client" --protected=true --show_tile=false\ --label="Sync client" --protected=true --show_tile=false\
--additional_urls="/Microsoft-Server-ActiveSync" "/principals" "/.well-known/caldav" "/.well-known/carddav" --additional_urls="$domain/Microsoft-Server-ActiveSync" "$domain/principals" "$domain/.well-known/caldav" "$domain/.well-known/carddav"
python3 remove_sso_conf_persistent.py $domain \ python3 remove_sso_conf_persistent.py $domain \
|| ynh_print_warn --message="Your file /etc/ssowat/""conf.json.persistent doesn't respect the json syntax. The config file wasn't cleaned. Please clean it manually." || ynh_print_warn --message="Your file /etc/ssowat/""conf.json.persistent doesn't respect the json syntax. The config file wasn't cleaned. Please clean it manually."
else else
ynh_permission_update --permission="sync_client" --add='visitors' --label="Sync client" --protected=true --show_tile=false ynh_permission_update --permission="sync_client" --add='visitors' --label="Sync client" --protected=true --show_tile=false
ynh_permission_url --permission "sync_client" --clear_urls
ynh_permission_url --permission "sync_client" --auth_header=false\ ynh_permission_url --permission "sync_client" --auth_header=false\
--add_url="/Microsoft-Server-ActiveSync" "/principals" "/.well-known/caldav" "/.well-known/carddav" --add_url="$domain/Microsoft-Server-ActiveSync" "$domain/principals" "$domain/.well-known/caldav" "$domain/.well-known/carddav"
fi fi
#================================================= #=================================================