From b8c78221b9b6931a6280f5be32defae8bd599831 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 26 Dec 2020 23:47:12 +0100 Subject: [PATCH 1/4] Set SVG badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f976e48..0c1ec2c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Flarum for YunoHost [![Integration level](https://dash.yunohost.org/integration/flarum.svg)](https://dash.yunohost.org/appci/app/flarum) ![](https://ci-apps.yunohost.org/ci/badges/flarum.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/flarum.maintain.svg) -[![Install Flarum with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=flarum) +[![Install Flarum with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=flarum) > *This package allows you to install Flarum quickly and simply on a YunoHost server. If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* From 8dbc6bdb44465143731be249c80d6a774ea9630b Mon Sep 17 00:00:00 2001 From: Paolo Escobar Date: Sat, 23 Jan 2021 19:59:20 +0000 Subject: [PATCH 2/4] Increases client_max_body_size to allow file upload --- conf/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 6b103cd..8a7374e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -79,6 +79,9 @@ location __PATH__/ { text/x-component text/x-cross-domain-policy; + # Allows file upload, e.g. fof/upload. + client_max_body_size 100M; + # Include SSOWAT user panel. # include conf.d/yunohost_panel.conf.inc; } From 08dbc34c3330a7b03110227d5ff33d306baafc99 Mon Sep 17 00:00:00 2001 From: Paolo Escobar Date: Sun, 24 Jan 2021 12:33:36 +0000 Subject: [PATCH 3/4] Increases upload file in php conf --- conf/php-fpm.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index 3803ae6..716a58f 100644 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -419,8 +419,8 @@ catch_workers_output = yes ;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] = 100M +php_admin_value[post_max_size] = 100M ; php_admin_flag[mail.add_x_header] = Off ; Other common parameters From 229f704ded065fe8d22a8e80baef2ccdec3edf89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 15 Feb 2021 22:58:10 +0100 Subject: [PATCH 4/4] Fix linter warnings --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 24f7fdc..819a1ef 100644 --- a/manifest.json +++ b/manifest.json @@ -7,7 +7,7 @@ "fr": "Un forum de nouvelle génération, simplement.", "de": "Forum der nächsten Generation leicht gemacht." }, - "version": "0.1.0-beta.14~ynh2", + "version": "0.1.0.14~ynh2", "url": "http://flarum.org/", "license": "MIT", "maintainer": {