From 783950ebe40dd9b6cb1f92fda83a9d47a7d478e3 Mon Sep 17 00:00:00 2001 From: Tagada <36127788+Tagadda@users.noreply.github.com> Date: Sun, 11 Jun 2023 14:17:22 +0200 Subject: [PATCH 1/3] Increase upload limit to 10M --- conf/extra_php-fpm.conf | 4 ++++ conf/nginx.conf | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 conf/extra_php-fpm.conf diff --git a/conf/extra_php-fpm.conf b/conf/extra_php-fpm.conf new file mode 100644 index 0000000..940d2b8 --- /dev/null +++ b/conf/extra_php-fpm.conf @@ -0,0 +1,4 @@ +; Additional php.ini defines, specific to this pool of workers. + +php_admin_value[upload_max_filesize] = 10M +php_admin_value[post_max_size] = 10M diff --git a/conf/nginx.conf b/conf/nginx.conf index 0a0c9f4..b8915c4 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -8,7 +8,7 @@ location __PATH__/ { index index.php; # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file - #client_max_body_size 50M; + client_max_body_size 10M; try_files $uri $uri/ /index.php?$query_string; location ~ [^/]\.php(/|$) { From b7a2c57cd2dc61e8d775987135dd97fd491480a1 Mon Sep 17 00:00:00 2001 From: Tagada <36127788+Tagadda@users.noreply.github.com> Date: Sun, 11 Jun 2023 14:17:56 +0200 Subject: [PATCH 2/3] Bump package version --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 15f1b78..598d186 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "LinkStack" description.en = "A highly customizable link sharing platform with an intuitive, easy to use user interface." description.fr = "Une plateforme de partage de lien hautement personnalisable, avvec une interface simple à utiliser." -version = "4.0.4~ynh1" +version = "4.0.4~ynh2" maintainers = ["Tagada", "wyverine"] From f776fea06ea1715d9f86e2233c5e4e014677a9e8 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 11 Jun 2023 12:18:21 +0000 Subject: [PATCH 3/3] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eafd927..d845e9d 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ With LinkStack, users can easily link to their own custom page and provide their Additionally, LinkStack allows other users to register and create their own links, making it an ideal solution for businesses and organizations looking to manage multiple links. With our user-friendly Admin Panel, managing and accessing other users' links is easy. -**Shipped version:** 4.0.4~ynh1 +**Shipped version:** 4.0.4~ynh2 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 5a9e48b..7a5720b 100644 --- a/README_fr.md +++ b/README_fr.md @@ -23,7 +23,7 @@ Avec LinkStack les utilisateurices peuvent facilement redirriger vers leurs page De plus, LinkStack permet aux autres utilisateurs d'enregistrer et de créer leurs propres liens faisant ainsi de LinkStack pour les organisations cherchant à gérer de nombreux liens. Notre panneau d'administration facile d'accès, gérer liens d'autres utilisateurs est possible. -**Version incluse :** 4.0.4~ynh1 +**Version incluse :** 4.0.4~ynh2 ## Captures d’écran