1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/librespeed_ynh.git synced 2024-09-03 19:36:23 +02:00

Change post_max_size + some few others modifications

This commit is contained in:
rungeard 2021-05-13 11:18:25 +02:00
parent 46d97bbd0d
commit b68c5c88b0
6 changed files with 19 additions and 17 deletions

View file

@ -36,10 +36,11 @@ Very lightweight Speedtest.
## Disclaimers / important information ## Disclaimers / important information
* Any known limitations, constrains or stuff not working, such as (but not limited to): * Any known limitations, constrains or stuff not working :
* Please visit [Troubleshooting, common problems, known limitations](https://github.com/librespeed/speedtest/wiki/Troubleshooting,-common-problems,-known-limitations) for more informations. * Please visit [Troubleshooting, common problems, known limitations](https://github.com/librespeed/speedtest/wiki/Troubleshooting,-common-problems,-known-limitations) for more informations.
* Important: ID obfuscation currently only works on 64-bit PHP! You might want to set `$redact_ip_addresses` to true in `results/telemetry_settings.php`, this way, all IP addresses will be removed from the telemetry for better privacy. This is disabled by default.
* Other infos that people should be aware of, such as: * Other infos that people should be aware of :
* A basic front-end for visualizing and searching tests by ID is available in `domain.tld/results/stats.php`. A password is asked to you during installation steps to access this page. * A basic front-end for visualizing and searching tests by ID is available in `domain.tld/results/stats.php`. A password is asked to you during installation steps to access this page.
@ -47,8 +48,8 @@ Very lightweight Speedtest.
## Documentation and resources ## Documentation and resources
* Official app website: https://librespeed.org/ * Official app website: https://librespeed.org/
* Official user documentation: https://yunohost.org/apps * Official user documentation: https://github.com/librespeed/speedtest/wiki
* Official admin documentation: https://yunohost.org/packaging_apps * Official admin documentation: https://github.com/librespeed/speedtest/wiki
* Upstream app code repository: https://github.com/librespeed/speedtest * Upstream app code repository: https://github.com/librespeed/speedtest
* YunoHost documentation for this app: https://yunohost.org/app_librespeed * YunoHost documentation for this app: https://yunohost.org/app_librespeed
* Report a bug: https://github.com/YunoHost-Apps/librespeed_ynh/issues * Report a bug: https://github.com/YunoHost-Apps/librespeed_ynh/issues

View file

@ -28,10 +28,11 @@ Test de vitesse de connexion très léger.
## Avertissements / informations importantes ## Avertissements / informations importantes
* Any known limitations, constrains or stuff not working, such as (but not limited to): * Any known limitations, constrains or stuff not working :
* Please visit [Troubleshooting, common problems, known limitations](https://github.com/librespeed/speedtest/wiki/Troubleshooting,-common-problems,-known-limitations) for more informations. * Please visit [Troubleshooting, common problems, known limitations](https://github.com/librespeed/speedtest/wiki/Troubleshooting,-common-problems,-known-limitations) for more informations.
* Important: ID obfuscation currently only works on 64-bit PHP! You might want to set `$redact_ip_addresses` to true in `results/telemetry_settings.php`, this way, all IP addresses will be removed from the telemetry for better privacy. This is disabled by default.
* Other infos that people should be aware of, such as: * Other infos that people should be aware of :
* A basic front-end for visualizing and searching tests by ID is available in `domain.tld/results/stats.php`. A password is asked to you during installation steps to access this page. * A basic front-end for visualizing and searching tests by ID is available in `domain.tld/results/stats.php`. A password is asked to you during installation steps to access this page.
@ -39,8 +40,8 @@ Test de vitesse de connexion très léger.
## Documentations et ressources ## Documentations et ressources
* Site official de l'app : https://librespeed.org/ * Site official de l'app : https://librespeed.org/
* Documentation officielle utilisateur: https://yunohost.org/apps * Documentation officielle utilisateur: https://github.com/librespeed/speedtest/wiki
* Documentation officielle de l'admin: https://yunohost.org/packaging_apps * Documentation officielle de l'admin: https://github.com/librespeed/speedtest/wiki
* Dépôt de code officiel de l'app: https://github.com/librespeed/speedtest * Dépôt de code officiel de l'app: https://github.com/librespeed/speedtest
* Documentation YunoHost pour cette app: https://yunohost.org/app_librespeed * Documentation YunoHost pour cette app: https://yunohost.org/app_librespeed
* Signaler un bug: https://github.com/YunoHost-Apps/librespeed_ynh/issues * Signaler un bug: https://github.com/YunoHost-Apps/librespeed_ynh/issues

View file

@ -419,8 +419,8 @@ chdir = __FINALPATH__
;php_admin_value[memory_limit] = 32M ;php_admin_value[memory_limit] = 32M
; Common values to change to increase file upload limit ; Common values to change to increase file upload limit
; php_admin_value[upload_max_filesize] = 50M php_admin_value[upload_max_filesize] = 50M
; php_admin_value[post_max_size] = 50M php_admin_value[post_max_size] = 50M
; php_admin_flag[mail.add_x_header] = Off ; php_admin_flag[mail.add_x_header] = Off
; Other common parameters ; Other common parameters

View file

@ -1,5 +1,6 @@
* Any known limitations, constrains or stuff not working, such as (but not limited to): * Any known limitations, constrains or stuff not working :
* Please visit [Troubleshooting, common problems, known limitations](https://github.com/librespeed/speedtest/wiki/Troubleshooting,-common-problems,-known-limitations) for more informations. * Please visit [Troubleshooting, common problems, known limitations](https://github.com/librespeed/speedtest/wiki/Troubleshooting,-common-problems,-known-limitations) for more informations.
* Important: ID obfuscation currently only works on 64-bit PHP! You might want to set `$redact_ip_addresses` to true in `results/telemetry_settings.php`, this way, all IP addresses will be removed from the telemetry for better privacy. This is disabled by default.
* Other infos that people should be aware of, such as: * Other infos that people should be aware of :
* A basic front-end for visualizing and searching tests by ID is available in `domain.tld/results/stats.php`. A password is asked to you during installation steps to access this page. * A basic front-end for visualizing and searching tests by ID is available in `domain.tld/results/stats.php`. A password is asked to you during installation steps to access this page.

View file

@ -9,14 +9,14 @@
"version": "5.2.4~ynh1", "version": "5.2.4~ynh1",
"url": "https://librespeed.org/", "url": "https://librespeed.org/",
"upstream": { "upstream": {
"license": "GPL-3.0", "license": "LGPL-3.0-or-later",
"website": "https://librespeed.org/", "website": "https://librespeed.org/",
"demo": "https://librespeed.org/", "demo": "https://librespeed.org/",
"admindoc": "https://yunohost.org/packaging_apps", "admindoc": "https://github.com/librespeed/speedtest/wiki",
"userdoc": "https://yunohost.org/apps", "userdoc": "https://github.com/librespeed/speedtest/wiki",
"code": "https://github.com/librespeed/speedtest" "code": "https://github.com/librespeed/speedtest"
}, },
"license": "GPL-3.0", "license": "LGPL-3.0-or-later",
"maintainer": { "maintainer": {
"name": "Augustin Rungeard", "name": "Augustin Rungeard",
"email": "" "email": ""

View file

@ -170,7 +170,6 @@ ynh_replace_string --match_string="MySql_username = 'USERNAME'" --replace_string
ynh_replace_string --match_string="MySql_password = 'PASSWORD'" --replace_string="MySql_password = '$db_pwd'" --target_file="$conf_telemetry" ynh_replace_string --match_string="MySql_password = 'PASSWORD'" --replace_string="MySql_password = '$db_pwd'" --target_file="$conf_telemetry"
ynh_replace_string --match_string="MySql_databasename = 'DB_NAME'" --replace_string="MySql_databasename = '$db_name'" --target_file="$conf_telemetry" ynh_replace_string --match_string="MySql_databasename = 'DB_NAME'" --replace_string="MySql_databasename = '$db_name'" --target_file="$conf_telemetry"
ynh_replace_string --match_string="MySql_hostname = 'DB_HOSTNAME'" --replace_string="MySql_hostname = 'localhost'" --target_file="$conf_telemetry" ynh_replace_string --match_string="MySql_hostname = 'DB_HOSTNAME'" --replace_string="MySql_hostname = 'localhost'" --target_file="$conf_telemetry"
ynh_replace_string --match_string="enable_id_obfuscation = false" --replace_string="enable_id_obfuscation = true" --target_file="$conf_telemetry"
ynh_replace_string --match_string='<a href="mailto:PUT@YOUR_EMAIL.HERE">TO BE FILLED BY DEVELOPER</a>.' --replace_string='<a href="mailto:'$mail'">'$mail'</a>.' --target_file="$conf_index" ynh_replace_string --match_string='<a href="mailto:PUT@YOUR_EMAIL.HERE">TO BE FILLED BY DEVELOPER</a>.' --replace_string='<a href="mailto:'$mail'">'$mail'</a>.' --target_file="$conf_index"