From 3fcf3b33ad291250458df6be79533a2ea33b6f59 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Fri, 22 Jul 2022 11:52:04 -0600 Subject: [PATCH 1/4] bump version --- conf/app.src | 4 ++-- manifest.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/app.src b/conf/app.src index c29b919..9babd5b 100755 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://code.castopod.org/adaures/castopod/uploads/34c2c6a92d934a403425219e59524177/castopod-1.0.0-beta.18.zip -SOURCE_SUM=33889bf23cc133fbd735a19ec1cc92a61195da7d806163e4b266e668c5ad4833 +SOURCE_URL=https://code.castopod.org/adaures/castopod/uploads/e997234d358aed3f7b0178bd8994e013/castopod-1.0.0-beta.19.zip +SOURCE_SUM=2c19ef3dfb940d4deb610e160a03043b1cd83bc422095f83972533c0e1fe2eb0 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 31bf9e9..c0a5a8c 100755 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Hosting platform made for podcasters", "fr": "Plateforme d'hébergement conçue pour les podcasteurs" }, - "version": "1.0.0-98~ynh2", + "version": "1.0.0-99~ynh1", "url": "https://castopod.org/", "upstream": { "license": "GPL-3.0-only", From aaa71d4d516264c207c73d54f70406e76b7940e9 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Fri, 22 Jul 2022 11:52:21 -0600 Subject: [PATCH 2/4] remove X-Frame header --- conf/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index e1a1f03..b052afb 100755 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -7,6 +7,8 @@ location __PATH__/ { index index.php; client_max_body_size 512M; + + more_clear_headers 'X-Frame-Options'; try_files $uri $uri/ /index.php; location ~ [^/]\.php(/|$) { From 9c40ca529145712394a045aff162e5e3f07ef814 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Fri, 22 Jul 2022 12:03:58 -0600 Subject: [PATCH 3/4] bump filesize limit --- conf/php-fpm.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index 7b478d9..5664066 100755 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -401,6 +401,8 @@ chdir = __FINALPATH__ ; php_admin_value/php_admin_flag - these directives won't be overwritten by ; PHP call 'ini_set' ; For php_*flag, valid values are on, off, 1, 0, true, false, yes or no. +php_value[upload_max_filesize] = 100M +php_value[post_max_size] = 100M ; Defining 'extension' will load the corresponding shared extension from ; extension_dir. Defining 'disable_functions' or 'disable_classes' will not From 761fe3606b6154e7d84ea1214061236e21dde7fb Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Fri, 22 Jul 2022 12:11:20 -0600 Subject: [PATCH 4/4] bump limits --- conf/php-fpm.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index 5664066..1130586 100755 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -401,8 +401,9 @@ chdir = __FINALPATH__ ; php_admin_value/php_admin_flag - these directives won't be overwritten by ; PHP call 'ini_set' ; For php_*flag, valid values are on, off, 1, 0, true, false, yes or no. -php_value[upload_max_filesize] = 100M -php_value[post_max_size] = 100M +php_admin_value[upload_max_filesize] = 512M +php_admin_value[memory_limit] = 512M +php_admin_value[post_max_size] = 512M ; Defining 'extension' will load the corresponding shared extension from ; extension_dir. Defining 'disable_functions' or 'disable_classes' will not