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

Merge pull request #13 from YunoHost-Apps/testing

Auto-update README
This commit is contained in:
eric_G 2023-10-21 11:24:22 +02:00 committed by GitHub
commit dd46b9245e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 13 additions and 5 deletions

View file

@ -36,7 +36,7 @@ Self-hosted Speed Test for HTML5 and more. Easy setup, examples, configurable, m
## Screenshots
![Screenshot of LibreSpeed](./doc/screenshots/librespeed_screenshot.gif)
![Screenshot of LibreSpeed](./doc/screenshots/screenshot.png)
## Documentation and resources

View file

@ -34,7 +34,7 @@ Test de vitesse auto-hébergé pour HTML5 et plus. Configuration facile, exemple
## Captures décran
![Capture décran de LibreSpeed](./doc/screenshots/librespeed_screenshot.gif)
![Capture décran de LibreSpeed](./doc/screenshots/screenshot.png)
## Documentations et ressources

View file

@ -2,5 +2,5 @@
* 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 :
* Infos that people should be aware of :
* A basic front-end for visualizing and searching tests by ID is available in `__DOMAIN____PATH__/results/stats.php`. A password is asked to you during installation steps to access this page.

6
doc/ADMIN_fr.md Normal file
View file

@ -0,0 +1,6 @@
* Toute limitation, contrainte ou élément connu ne fonctionnant pas :
* Veuillez visiter [Dépannage, problèmes courants, limitations connues](https://github.com/librespeed/speedtest/wiki/Troubleshooting,-common-problems,-known-limitations) pour plus d'informations.
* Important : l'obfuscation d'ID ne fonctionne actuellement que sur PHP 64 bits ! Vous souhaiterez peut-être définir `$redact_ip_addresses` sur true dans `results/telemetry_settings.php`, de cette façon, toutes les adresses IP seront supprimées de la télémétrie pour une meilleure confidentialité. Ceci est désactivé par défaut.
* Informations à connaître :
* Une interface de base pour visualiser et rechercher des tests par ID est disponible dans `__DOMAIN____PATH__/results/stats.php`. Un mot de passe vous est demandé lors des étapes d'installation pour accéder à cette page.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 889 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View file

@ -27,10 +27,12 @@ ynh_script_progression --message="Restoring the MySQL database..." --weight=1
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql
#=================================================
# RESTORE SYSTEM CONFIGURATIONS
#=================================================
# RESTORE THE PHP-FPM CONFIGURATION
#=================================================
ynh_script_progression --message="Restoring the PHP-FPM configuration..." --weight=1
ynh_script_progression --message="Restoring system configurations related to $app..." --weight=1
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"

View file

@ -24,7 +24,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=2
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --keep="results/telemetry_settings.php, index.html"
ynh_setup_source --dest_dir="$install_dir" --keep="results/telemetry_settings.php index.html"
fi
chmod -R o-rwx "$install_dir"