mirror of
https://github.com/YunoHost-Apps/roundcube_ynh.git
synced 2024-09-03 20:16:28 +02:00
bullseye (#149)
* bullseye * Auto-update README * Update app.src * set max filesize * Fix Co-authored-by: yunohost-bot <yunohost@yunohost.org>
This commit is contained in:
parent
953d10f781
commit
272198d161
9 changed files with 16 additions and 10 deletions
|
@ -29,6 +29,7 @@ In addition to Roundcube core features, the following are made available with th
|
|||
|
||||
**Shipped version:** 1.6.0~ynh1
|
||||
|
||||
|
||||
**Demo:** https://demo.yunohost.org/webmail/
|
||||
|
||||
## Screenshots
|
||||
|
|
|
@ -28,7 +28,8 @@ En plus des fonctionnalités principales de Roundcube, les éléments suivants s
|
|||
* Prise en charge du chiffrement PGP avec le plugin Enigma installé par default.
|
||||
|
||||
|
||||
**Version incluse :** 1.6.0~ynh1
|
||||
**Version incluse :** 1.6.0~ynh1
|
||||
|
||||
|
||||
**Démo :** https://demo.yunohost.org/webmail/
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/roundcube/roundcubemail/releases/download/1.6.0/roundcubemail-1.6.0-complete.tar.gz
|
||||
SOURCE_SUM=2409ccdfe2e465f086cb9fc18c88dfe0aaf6ccc23924564975061209921694ba
|
||||
SOURCE_URL=https://github.com/roundcube/roundcubemail/releases/download/1.6.0/roundcubemail-1.6.0.tar.gz
|
||||
SOURCE_SUM=1224eaf628888e503c49d0e8a69aa4997e566c3605738d0303d9c7a09722f363
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -5,7 +5,7 @@ location __PATH__/ {
|
|||
alias __FINALPATH__/ ;
|
||||
|
||||
index index.php;
|
||||
client_max_body_size 10G;
|
||||
client_max_body_size 50M;
|
||||
try_files $uri $uri/ /index.php?q=$uri&$args;
|
||||
|
||||
# pass PHP scripts to FastCGI server
|
||||
|
|
|
@ -419,8 +419,8 @@ chdir = __FINALPATH__
|
|||
;php_admin_value[memory_limit] = 32M
|
||||
|
||||
; Common values to change to increase file upload limit
|
||||
; php_admin_value[upload_max_filesize] = 50M
|
||||
; php_admin_value[post_max_size] = 50M
|
||||
php_admin_value[upload_max_filesize] = 50M
|
||||
php_admin_value[post_max_size] = 50M
|
||||
; php_admin_flag[mail.add_x_header] = Off
|
||||
|
||||
; Other common parameters
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
"email": ""
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">= 4.3.2"
|
||||
"yunohost": ">= 11.0.9"
|
||||
},
|
||||
"multi_instance": true,
|
||||
"services": [
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
YNH_PHP_VERSION="8.0"
|
||||
|
||||
# Package dependencies
|
||||
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}-zip php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-dom php${YNH_PHP_VERSION}-curl"
|
||||
|
||||
# Composer version
|
||||
YNH_COMPOSER_VERSION=2.3.7
|
||||
YNH_COMPOSER_VERSION=2.3.10
|
||||
|
||||
# Plugins version
|
||||
contextmenu_version=3.3.1
|
||||
|
|
|
@ -26,7 +26,7 @@ app=$YNH_APP_INSTANCE_NAME
|
|||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||
domain=$(ynh_app_setting_get --app=$app --key=domain)
|
||||
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
||||
phpversion=$YNH_PHP_VERSION
|
||||
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||
|
||||
#=================================================
|
||||
# DECLARE DATA AND CONF FILES TO BACKUP
|
||||
|
|
|
@ -172,6 +172,10 @@ then
|
|||
#=================================================
|
||||
ynh_script_progression --message="Updating dependencies with Composer..." --weight=30
|
||||
|
||||
# Install composer.json
|
||||
cp "$final_path/composer.json-dist" "$final_path/composer.json"
|
||||
|
||||
|
||||
# Upgrade composer itself
|
||||
ynh_install_composer
|
||||
|
||||
|
|
Loading…
Reference in a new issue