mirror of
https://github.com/YunoHost-Apps/roundcube_ynh.git
synced 2024-09-03 20:16:28 +02:00
Merge branch 'testing' into 16
This commit is contained in:
commit
5118a9e1bc
10 changed files with 48 additions and 41 deletions
25
README.md
25
README.md
|
@ -5,7 +5,7 @@ It shall NOT be edited by hand.
|
||||||
|
|
||||||
# Roundcube for YunoHost
|
# Roundcube for YunoHost
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/roundcube)  
|
[](https://dash.yunohost.org/appci/app/roundcube)  
|
||||||
[](https://install-app.yunohost.org/?app=roundcube)
|
[](https://install-app.yunohost.org/?app=roundcube)
|
||||||
|
|
||||||
*[Lire ce readme en français.](./README_fr.md)*
|
*[Lire ce readme en français.](./README_fr.md)*
|
||||||
|
@ -22,8 +22,8 @@ Roundcube is a browser-based multilingual IMAP client with an application-like u
|
||||||
In addition to Roundcube core features, the following are made available with this package:
|
In addition to Roundcube core features, the following are made available with this package:
|
||||||
|
|
||||||
* Synchronize your email aliases as identities in Roundcube
|
* Synchronize your email aliases as identities in Roundcube
|
||||||
* Install the [contextmenu](https://plugins.roundcube.net/packages/johndoh/contextmenu) and [automatic addressbook](https://plugins.roundcube.net/packages/sblaisot/automatic_addressbook) plugins by default
|
* Install the [contextmenu](https://packagist.org/packages/johndoh/contextmenu) and [automatic addressbook](https://packagist.org/packages/projectmyst/automatic_addressbook) plugins by default
|
||||||
* Allow to install the [CardDAV](https://plugins.roundcube.net/packages/roundcube/carddav) (address book) synchronization plugin at the installation - note that if you have installed Nextcloud or Baïkal, it will automatically add the corresponding and existing address book.
|
* Allow to install the [CardDAV](https://packagist.org/packages/roundcube/carddav) (address book) synchronization plugin at the installation - note that if you have installed Nextcloud or Baïkal, it will automatically add the corresponding and existing address book.
|
||||||
* Support for PGP encryption with Enigma plugin by default.
|
* Support for PGP encryption with Enigma plugin by default.
|
||||||
|
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ In addition to Roundcube core features, the following are made available with th
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Disclaimers / important information
|
## Disclaimers / important information
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ You can also install other plugins - which will not be removed with upgrades. To
|
||||||
|
|
||||||
##### From the Plugin Repository
|
##### From the Plugin Repository
|
||||||
|
|
||||||
Let's say for example that we want to install the [html5_notifier](https://plugins.roundcube.net/packages/kitist/html5_notifier) plugin.
|
Let's say for example that we want to install the [html5_notifier](https://packagist.org/packages/kitist/html5_notifier) plugin.
|
||||||
|
|
||||||
1. Connect to your server as root using SSH:
|
1. Connect to your server as root using SSH:
|
||||||
```
|
```
|
||||||
|
@ -84,21 +84,22 @@ You can also download the plugin and put it under the `plugins/` directory. In t
|
||||||
|
|
||||||
## Documentation and resources
|
## Documentation and resources
|
||||||
|
|
||||||
* Official app website: https://roundcube.net/
|
* Official app website: <https://roundcube.net/>
|
||||||
* Official admin documentation: https://github.com/roundcube/roundcubemail/wiki
|
* Official admin documentation: <https://github.com/roundcube/roundcubemail/wiki>
|
||||||
* Upstream app code repository: https://github.com/roundcube/roundcubemail
|
* Upstream app code repository: <https://github.com/roundcube/roundcubemail>
|
||||||
* YunoHost documentation for this app: https://yunohost.org/app_roundcube
|
* YunoHost documentation for this app: <https://yunohost.org/app_roundcube>
|
||||||
* Report a bug: https://github.com/YunoHost-Apps/roundcube_ynh/issues
|
* Report a bug: <https://github.com/YunoHost-Apps/roundcube_ynh/issues>
|
||||||
|
|
||||||
## Developer info
|
## Developer info
|
||||||
|
|
||||||
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/roundcube_ynh/tree/testing).
|
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/roundcube_ynh/tree/testing).
|
||||||
|
|
||||||
To try the testing branch, please proceed like that.
|
To try the testing branch, please proceed like that.
|
||||||
```
|
|
||||||
|
``` bash
|
||||||
sudo yunohost app install https://github.com/YunoHost-Apps/roundcube_ynh/tree/testing --debug
|
sudo yunohost app install https://github.com/YunoHost-Apps/roundcube_ynh/tree/testing --debug
|
||||||
or
|
or
|
||||||
sudo yunohost app upgrade roundcube -u https://github.com/YunoHost-Apps/roundcube_ynh/tree/testing --debug
|
sudo yunohost app upgrade roundcube -u https://github.com/YunoHost-Apps/roundcube_ynh/tree/testing --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
**More info regarding app packaging:** https://yunohost.org/packaging_apps
|
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>
|
||||||
|
|
33
README_fr.md
33
README_fr.md
|
@ -1,10 +1,14 @@
|
||||||
|
<!--
|
||||||
|
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
||||||
|
It shall NOT be edited by hand.
|
||||||
|
-->
|
||||||
|
|
||||||
# Roundcube pour YunoHost
|
# Roundcube pour YunoHost
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/roundcube)  
|
[](https://dash.yunohost.org/appci/app/roundcube)  
|
||||||
[](https://install-app.yunohost.org/?app=roundcube)
|
[](https://install-app.yunohost.org/?app=roundcube)
|
||||||
|
|
||||||
*[Read this readme in english.](./README.md)*
|
*[Read this readme in english.](./README.md)*
|
||||||
*[Lire ce readme en français.](./README_fr.md)*
|
|
||||||
|
|
||||||
> *Ce package vous permet d'installer Roundcube rapidement et simplement sur un serveur YunoHost.
|
> *Ce package vous permet d'installer Roundcube 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 n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
|
||||||
|
@ -18,9 +22,9 @@ Roundcube est un client IMAP multilingue basé sur un navigateur avec une interf
|
||||||
En plus des fonctionnalités principales de Roundcube, les éléments suivants sont disponibles avec ce paquet :
|
En plus des fonctionnalités principales de Roundcube, les éléments suivants sont disponibles avec ce paquet :
|
||||||
|
|
||||||
* Synchronisez vos alias de messagerie en tant qu'identités dans Roundcube.
|
* Synchronisez vos alias de messagerie en tant qu'identités dans Roundcube.
|
||||||
* Installation des plugins [contextmenu](https://plugins.roundcube.net/packages/johndoh/contextmenu)
|
* Installation des plugins [contextmenu](https://packagist.org/packages/johndoh/contextmenu)
|
||||||
et [automatic addressbook](https://plugins.roundcube.net/packages/sblaisot/automatic_addressbook) par default.
|
et [automatic addressbook](https://packagist.org/packages/projectmyst/automatic_addressbook) par default.
|
||||||
* Permettre d'installer [CardDAV](https://plugins.roundcube.net/packages/roundcube/carddav) (carnet d'adresses) de synchronisation à l'installation - notez que si vous avez installé Nextcloud ou Baïkal, il ajoutera automatiquement le carnet d'adresses correspondant.
|
* Permettre d'installer [CardDAV](https://packagist.org/packages/roundcube/carddav) (carnet d'adresses) de synchronisation à l'installation - notez que si vous avez installé Nextcloud ou Baïkal, il ajoutera automatiquement le carnet d'adresses correspondant.
|
||||||
* Prise en charge du chiffrement PGP avec le plugin Enigma installé par default.
|
* Prise en charge du chiffrement PGP avec le plugin Enigma installé par default.
|
||||||
|
|
||||||
|
|
||||||
|
@ -30,7 +34,7 @@ En plus des fonctionnalités principales de Roundcube, les éléments suivants s
|
||||||
|
|
||||||
## Captures d'écran
|
## Captures d'écran
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Avertissements / informations importantes
|
## Avertissements / informations importantes
|
||||||
|
|
||||||
|
@ -48,7 +52,7 @@ Vous pouvez également installer d'autres plugins (qui ne seront pas supprimés
|
||||||
|
|
||||||
##### Depuis le dépôt de plugins
|
##### Depuis le dépôt de plugins
|
||||||
|
|
||||||
Si, par exemple, vous voulez installer le plugin [html5_notifier](https://plugins.roundcube.net/packages/kitist/html5_notifier).
|
Si, par exemple, vous voulez installer le plugin [html5_notifier](https://packagist.org/packages/kitist/html5_notifier).
|
||||||
|
|
||||||
1. Connectez-vous en SSH à votre serveur en tant que root :
|
1. Connectez-vous en SSH à votre serveur en tant que root :
|
||||||
```
|
```
|
||||||
|
@ -81,21 +85,22 @@ Vous pouvez également télécharger le plugin et le placer dans le répertoire
|
||||||
|
|
||||||
## Documentations et ressources
|
## Documentations et ressources
|
||||||
|
|
||||||
* Site officiel de l'app : https://roundcube.net/
|
* Site officiel de l'app : <https://roundcube.net/>
|
||||||
* Documentation officielle de l'admin : https://github.com/roundcube/roundcubemail/wiki
|
* Documentation officielle de l'admin : <https://github.com/roundcube/roundcubemail/wiki>
|
||||||
* Dépôt de code officiel de l'app : https://github.com/roundcube/roundcubemail
|
* Dépôt de code officiel de l'app : <https://github.com/roundcube/roundcubemail>
|
||||||
* Documentation YunoHost pour cette app : https://yunohost.org/app_roundcube
|
* Documentation YunoHost pour cette app : <https://yunohost.org/app_roundcube>
|
||||||
* Signaler un bug : https://github.com/YunoHost-Apps/roundcube_ynh/issues
|
* Signaler un bug : <https://github.com/YunoHost-Apps/roundcube_ynh/issues>
|
||||||
|
|
||||||
## Informations pour les développeurs
|
## Informations pour les développeurs
|
||||||
|
|
||||||
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/roundcube_ynh/tree/testing).
|
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/roundcube_ynh/tree/testing).
|
||||||
|
|
||||||
Pour essayer la branche testing, procédez comme suit.
|
Pour essayer la branche testing, procédez comme suit.
|
||||||
```
|
|
||||||
|
``` bash
|
||||||
sudo yunohost app install https://github.com/YunoHost-Apps/roundcube_ynh/tree/testing --debug
|
sudo yunohost app install https://github.com/YunoHost-Apps/roundcube_ynh/tree/testing --debug
|
||||||
ou
|
ou
|
||||||
sudo yunohost app upgrade roundcube -u https://github.com/YunoHost-Apps/roundcube_ynh/tree/testing --debug
|
sudo yunohost app upgrade roundcube -u https://github.com/YunoHost-Apps/roundcube_ynh/tree/testing --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps
|
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps>
|
||||||
|
|
|
@ -5,6 +5,6 @@ Roundcube is a browser-based multilingual IMAP client with an application-like u
|
||||||
In addition to Roundcube core features, the following are made available with this package:
|
In addition to Roundcube core features, the following are made available with this package:
|
||||||
|
|
||||||
* Synchronize your email aliases as identities in Roundcube
|
* Synchronize your email aliases as identities in Roundcube
|
||||||
* Install the [contextmenu](https://plugins.roundcube.net/packages/johndoh/contextmenu) and [automatic addressbook](https://plugins.roundcube.net/packages/sblaisot/automatic_addressbook) plugins by default
|
* Install the [contextmenu](https://packagist.org/packages/johndoh/contextmenu) and [automatic addressbook](https://packagist.org/packages/projectmyst/automatic_addressbook) plugins by default
|
||||||
* Allow to install the [CardDAV](https://plugins.roundcube.net/packages/roundcube/carddav) (address book) synchronization plugin at the installation - note that if you have installed Nextcloud or Baïkal, it will automatically add the corresponding and existing address book.
|
* Allow to install the [CardDAV](https://packagist.org/packages/roundcube/carddav) (address book) synchronization plugin at the installation - note that if you have installed Nextcloud or Baïkal, it will automatically add the corresponding and existing address book.
|
||||||
* Support for PGP encryption with Enigma plugin by default.
|
* Support for PGP encryption with Enigma plugin by default.
|
||||||
|
|
|
@ -5,7 +5,7 @@ Roundcube est un client IMAP multilingue basé sur un navigateur avec une interf
|
||||||
En plus des fonctionnalités principales de Roundcube, les éléments suivants sont disponibles avec ce paquet :
|
En plus des fonctionnalités principales de Roundcube, les éléments suivants sont disponibles avec ce paquet :
|
||||||
|
|
||||||
* Synchronisez vos alias de messagerie en tant qu'identités dans Roundcube.
|
* Synchronisez vos alias de messagerie en tant qu'identités dans Roundcube.
|
||||||
* Installation des plugins [contextmenu](https://plugins.roundcube.net/packages/johndoh/contextmenu)
|
* Installation des plugins [contextmenu](https://packagist.org/packages/johndoh/contextmenu)
|
||||||
et [automatic addressbook](https://plugins.roundcube.net/packages/sblaisot/automatic_addressbook) par default.
|
et [automatic addressbook](https://packagist.org/packages/projectmyst/automatic_addressbook) par default.
|
||||||
* Permettre d'installer [CardDAV](https://plugins.roundcube.net/packages/roundcube/carddav) (carnet d'adresses) de synchronisation à l'installation - notez que si vous avez installé Nextcloud ou Baïkal, il ajoutera automatiquement le carnet d'adresses correspondant.
|
* Permettre d'installer [CardDAV](https://packagist.org/packages/roundcube/carddav) (carnet d'adresses) de synchronisation à l'installation - notez que si vous avez installé Nextcloud ou Baïkal, il ajoutera automatiquement le carnet d'adresses correspondant.
|
||||||
* Prise en charge du chiffrement PGP avec le plugin Enigma installé par default.
|
* Prise en charge du chiffrement PGP avec le plugin Enigma installé par default.
|
||||||
|
|
|
@ -12,7 +12,7 @@ You can also install other plugins - which will not be removed with upgrades. To
|
||||||
|
|
||||||
##### From the Plugin Repository
|
##### From the Plugin Repository
|
||||||
|
|
||||||
Let's say for example that we want to install the [html5_notifier](https://plugins.roundcube.net/packages/kitist/html5_notifier) plugin.
|
Let's say for example that we want to install the [html5_notifier](https://packagist.org/packages/kitist/html5_notifier) plugin.
|
||||||
|
|
||||||
1. Connect to your server as root using SSH:
|
1. Connect to your server as root using SSH:
|
||||||
```
|
```
|
||||||
|
|
|
@ -12,7 +12,7 @@ Vous pouvez également installer d'autres plugins (qui ne seront pas supprimés
|
||||||
|
|
||||||
##### Depuis le dépôt de plugins
|
##### Depuis le dépôt de plugins
|
||||||
|
|
||||||
Si, par exemple, vous voulez installer le plugin [html5_notifier](https://plugins.roundcube.net/packages/kitist/html5_notifier).
|
Si, par exemple, vous voulez installer le plugin [html5_notifier](https://packagist.org/packages/kitist/html5_notifier).
|
||||||
|
|
||||||
1. Connectez-vous en SSH à votre serveur en tant que root :
|
1. Connectez-vous en SSH à votre serveur en tant que root :
|
||||||
```
|
```
|
||||||
|
|
|
@ -10,12 +10,12 @@ YNH_PHP_VERSION="8.0"
|
||||||
pkg_dependencies="php-pear php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-dom php${YNH_PHP_VERSION}-curl"
|
pkg_dependencies="php-pear php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-dom php${YNH_PHP_VERSION}-curl"
|
||||||
|
|
||||||
# Composer version
|
# Composer version
|
||||||
YNH_COMPOSER_VERSION=2.2.7
|
YNH_COMPOSER_VERSION=2.3.7
|
||||||
|
|
||||||
# Plugins version
|
# Plugins version
|
||||||
contextmenu_version=3.3
|
contextmenu_version=3.3.1
|
||||||
automatic_addressbook_version=v0.4.3
|
automatic_addressbook_version=v0.4.3
|
||||||
carddav_version=4.3.0
|
carddav_version=4.4.1
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# EXPERIMENTAL HELPERS
|
# EXPERIMENTAL HELPERS
|
||||||
|
|
|
@ -58,7 +58,7 @@ ynh_script_progression --message="Creating a MySQL database..." --weight=2
|
||||||
db_name=$(ynh_sanitize_dbid --db_name=$app)
|
db_name=$(ynh_sanitize_dbid --db_name=$app)
|
||||||
db_user=$db_name
|
db_user=$db_name
|
||||||
ynh_app_setting_set --app=$app --key=db_name --value=$db_name
|
ynh_app_setting_set --app=$app --key=db_name --value=$db_name
|
||||||
ynh_mysql_setup_db --db_user=$db_name --db_name=$db_name
|
ynh_mysql_setup_db --db_user=$db_user --db_name=$db_name
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL DEPENDENCIES
|
# INSTALL DEPENDENCIES
|
||||||
|
@ -123,7 +123,7 @@ ynh_install_composer
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Initializing database..." --weight=3
|
ynh_script_progression --message="Initializing database..." --weight=3
|
||||||
|
|
||||||
ynh_mysql_connect_as --user="$db_name" --password="$db_pwd" --database="$db_name" \
|
ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" \
|
||||||
< "$final_path/SQL/mysql.initial.sql"
|
< "$final_path/SQL/mysql.initial.sql"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -18,6 +18,7 @@ app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
domain=$(ynh_app_setting_get --app=$app --key=domain)
|
domain=$(ynh_app_setting_get --app=$app --key=domain)
|
||||||
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
||||||
|
db_user=$db_name
|
||||||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -26,7 +27,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||||
ynh_script_progression --message="Removing the MySQL database..." --weight=2
|
ynh_script_progression --message="Removing the MySQL database..." --weight=2
|
||||||
|
|
||||||
# Remove a database if it exists, along with the associated user
|
# Remove a database if it exists, along with the associated user
|
||||||
ynh_mysql_remove_db --db_user=$db_name --db_name=$db_name
|
ynh_mysql_remove_db --db_user=$db_user --db_name=$db_name
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# REMOVE APP MAIN DIR
|
# REMOVE APP MAIN DIR
|
||||||
|
|
|
@ -93,8 +93,8 @@ ynh_install_app_dependencies $pkg_dependencies
|
||||||
ynh_script_progression --message="Restoring the MySQL database..." --weight=5
|
ynh_script_progression --message="Restoring the MySQL database..." --weight=5
|
||||||
|
|
||||||
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
|
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
|
||||||
ynh_mysql_setup_db --db_user=$db_name --db_name=$db_name --db_pwd=$db_pwd
|
ynh_mysql_setup_db --db_user=$db_user --db_name=$db_name --db_pwd=$db_pwd
|
||||||
ynh_mysql_connect_as --user=$db_name --password=$db_pwd --database=$db_name < ./db.sql
|
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
Loading…
Add table
Reference in a new issue