1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/collabora_ynh.git synced 2024-09-03 18:16:25 +02:00

Add badges + small typos

This commit is contained in:
ericgaspar 2020-09-22 16:57:16 +02:00
parent 03b6f0d80b
commit 6b37d58737
No known key found for this signature in database
GPG key ID: 574F281483054D44
7 changed files with 24 additions and 31 deletions

View file

@ -1,6 +1,6 @@
# Collabora for YunoHost # Collabora for YunoHost
[![Integration level](https://dash.yunohost.org/integration/collabora.svg)](https://dash.yunohost.org/appci/app/collabora) [![Integration level](https://dash.yunohost.org/integration/collabora.svg)](https://dash.yunohost.org/appci/app/collabora) ![](https://ci-apps.yunohost.org/ci/badges/collabora.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/collabora.maintain.svg)
[![Install Collabora with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=collabora) [![Install Collabora with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=collabora)
> *This package allow you to install Collabora quickly and simply on a YunoHost server. > *This package allow you to install Collabora quickly and simply on a YunoHost server.
@ -8,7 +8,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to
## Overview ## Overview
[Collabora](https://www.collaboraoffice.com/code/) is an online office suite usable with Nextcloud or Owncloud [Collabora](https://www.collaboraoffice.com/code/) is an online office suite usable with Nextcloud or ownCloud
**Shipped version:** 4.0.0 RC2 **Shipped version:** 4.0.0 RC2
@ -22,13 +22,13 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to
## Documentation ## Documentation
* Official documentation: https://www.collaboraoffice.com/code/ * Official documentation: https://www.collaboraoffice.com/code/
* YunoHost documentation: https://github.com/YunoHost/doc/blob/master/collabora_en.md * YunoHost documentation: https://yunohost.org/#/app_collabora
#### Multi-users support #### Multi-users support
#### Supported architectures #### Supported architectures
* x86-64b - [![Build Status](https://ci-apps.yunohost.org/ci/logs/collabora%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/collabora/) * x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/collabora%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/collabora/)
* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/collabora%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/collabora/) * ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/collabora%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/collabora/)
## Limitations ## Limitations
@ -41,7 +41,7 @@ CODE has a warning limitation
## Additionnal informations ## Additionnal informations
**Upgrade this package:** **Upgrade this package:**
You can use your Yunohost admin interface, or the command line: `sudo yunohost app upgrade --debug collabora -u https://github.com/YunoHost-Apps/collabora_ynh` You can use your YunoHost admin interface, or the command line: `sudo yunohost app upgrade --debug collabora -u https://github.com/YunoHost-Apps/collabora_ynh`
## Links ## Links
@ -52,8 +52,7 @@ You can use your Yunohost admin interface, or the command line: `sudo yunohost a
--- ---
Developers infos ## Developers infos
----------------
Please do your pull request to the [testing branch](https://github.com/YunoHost-Apps/collabora_ynh/tree/testing). Please do your pull request to the [testing branch](https://github.com/YunoHost-Apps/collabora_ynh/tree/testing).

View file

@ -3,16 +3,15 @@
"id": "collabora", "id": "collabora",
"packaging_format": 1, "packaging_format": 1,
"description": { "description": {
"en": "A LibreOffice-based online office suite with collaborative editing", "en": "LibreOffice-based online office suite with collaborative editing",
"fr": "Une suite office en ligne et collaborative, basée sur LibreOffice" "fr": "Suite office en ligne et collaborative, basée sur LibreOffice"
}, },
"version": "4.0.0~ynh1", "version": "4.0.0~ynh1",
"url": "https://www.libreoffice.org/download/libreoffice-online/", "url": "https://collaboraoffice.com",
"license": "MPL-2.0", "license": "MPL-2.0",
"maintainer": { "maintainer": {
"name": "rafi59", "name": "rafi59",
"email": "rafi59_dev@srvmaison.fr.nf", "email": "rafi59_dev@srvmaison.fr.nf",
"url": "https://collaboraoffice.com"
}, },
"requirements": { "requirements": {
"yunohost": ">= 3.5" "yunohost": ">= 3.5"
@ -32,8 +31,6 @@
}, },
"example": "example.com" "example": "example.com"
}, },
{ {
"name": "password", "name": "password",
"type": "password", "type": "password",
@ -42,7 +39,6 @@
"fr": "Choisissez un mot de passe pour l'administration de Collabora" "fr": "Choisissez un mot de passe pour l'administration de Collabora"
}, },
"example": "password" "example": "password"
}, },
{ {
"name": "nextcloud_domain", "name": "nextcloud_domain",
@ -51,12 +47,9 @@
"en": "The domain of your Nextcloud instance", "en": "The domain of your Nextcloud instance",
"fr": "Le domain de votre instance Nextcloud" "fr": "Le domain de votre instance Nextcloud"
}, },
"example": "example.com", "example": "example.com/nextcloud",
"default": "" "default": ""
} }
] ]
} }
} }

View file

@ -30,11 +30,13 @@ app=$YNH_APP_INSTANCE_NAME
domain=$(ynh_app_setting_get --app=$app --key=domain) domain=$(ynh_app_setting_get --app=$app --key=domain)
#================================================= #=================================================
# STANDARD BACKUP STEPS # DECLARE DATA AND CONF FILES TO BACKUP
#=================================================
ynh_print_info --message="Declaring files to be backed up..."
#================================================= #=================================================
# BACKUP THE NGINX CONFIGURATION # BACKUP THE NGINX CONFIGURATION
#================================================= #=================================================
ynh_print_info --message="Backing up nginx web server configuration..."
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
@ -43,7 +45,6 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#================================================= #=================================================
# BACKUP CONFIGURATION # BACKUP CONFIGURATION
#================================================= #=================================================
ynh_print_info --message="Backing up configuration..."
ynh_backup --src_path="/etc/loolwsd/loolwsd.xml" ynh_backup --src_path="/etc/loolwsd/loolwsd.xml"

View file

@ -79,9 +79,9 @@ ynh_install_app_dependencies $pkg_dependencies
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION
#================================================= #=================================================
ynh_print_info --message="Configuring nginx web server..." ynh_print_info --message="Configuring NGINX web server..."
# Create a dedicated nginx config # Create a dedicated NGINX config
ynh_add_nginx_config ynh_add_nginx_config
#================================================= #=================================================
@ -126,7 +126,7 @@ ynh_app_setting_set $app unprotected_uris "/"
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX
#================================================= #=================================================
ynh_print_info --message="Reloading nginx web server..." ynh_print_info --message="Reloading NGINX web server..."
ynh_systemd_action --service_name=nginx --action=reload ynh_systemd_action --service_name=nginx --action=reload

View file

@ -36,9 +36,9 @@ ynh_remove_app_dependencies
#================================================= #=================================================
# REMOVE NGINX CONFIGURATION # REMOVE NGINX CONFIGURATION
#================================================= #=================================================
ynh_print_info --message="Removing nginx web server configuration..." ynh_print_info --message="Removing NGINX web server configuration..."
# Remove the dedicated nginx config # Remove the dedicated NGINX config
ynh_remove_nginx_config ynh_remove_nginx_config
#================================================= #=================================================

View file

@ -84,7 +84,7 @@ ynh_systemd_action --service_name="loolwsd" --action="restart" --log_path="syste
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX
#================================================= #=================================================
ynh_print_info --message="Reloading nginx web server..." ynh_print_info --message="Reloading NGINX web server..."
ynh_systemd_action --service_name=nginx --action=reload ynh_systemd_action --service_name=nginx --action=reload

View file

@ -129,7 +129,7 @@ ynh_systemd_action --service_name="loolwsd" --action="restart" --log_path="syste
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX
#================================================= #=================================================
ynh_print_info --message="Reloading nginx web server..." ynh_print_info --message="Reloading NGINX web server..."
ynh_systemd_action --service_name=nginx --action=reload ynh_systemd_action --service_name=nginx --action=reload