1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fittrackee_ynh.git synced 2024-09-03 18:36:16 +02:00

Merge pull request #76 from YunoHost-Apps/testing

Testing
This commit is contained in:
Thomas 2024-09-01 17:52:39 +02:00 committed by GitHub
commit 10ebb61454
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 27 additions and 13 deletions

View file

@ -20,7 +20,7 @@ FitTrackee allows you to track your outdoor activities (workouts) from gpx files
No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file. No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file.
**Shipped version:** 0.8.7~ynh1 **Shipped version:** 0.8.8~ynh1
## Screenshots ## Screenshots

View file

@ -20,7 +20,7 @@ FitTrackee allows you to track your outdoor activities (workouts) from gpx files
No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file. No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file.
**Versión actual:** 0.8.7~ynh1 **Versión actual:** 0.8.8~ynh1
## Capturas ## Capturas

View file

@ -20,7 +20,7 @@ FitTrackee allows you to track your outdoor activities (workouts) from gpx files
No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file. No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file.
**Paketatutako bertsioa:** 0.8.7~ynh1 **Paketatutako bertsioa:** 0.8.8~ynh1
## Pantaila-argazkiak ## Pantaila-argazkiak

View file

@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main.
FitTrackee vous permet de suivre vos activités de plein air (séances d'entraînement) à partir de fichiers gpx et de conserver vos données sur votre propre serveur. FitTrackee vous permet de suivre vos activités de plein air (séances d'entraînement) à partir de fichiers gpx et de conserver vos données sur votre propre serveur.
Aucune application mobile n'a encore été développée, mais plusieurs applications mobiles existantes peuvent stocker localement les données des séances d'entraînement et les exporter dans un fichier gpx. Aucune application mobile n'a encore été développée, mais plusieurs applications mobiles existantes peuvent stocker localement les données des séances d'entraînement et les exporter dans un fichier gpx.
**Version incluse:** 0.8.7~ynh1 **Version incluse:** 0.8.8~ynh1
## Captures décran ## Captures décran

View file

@ -20,7 +20,7 @@ FitTrackee allows you to track your outdoor activities (workouts) from gpx files
No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file. No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file.
**Versión proporcionada:** 0.8.7~ynh1 **Versión proporcionada:** 0.8.8~ynh1
## Capturas de pantalla ## Capturas de pantalla

View file

@ -20,7 +20,7 @@ FitTrackee allows you to track your outdoor activities (workouts) from gpx files
No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file. No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file.
**Versi terkirim:** 0.8.7~ynh1 **Versi terkirim:** 0.8.8~ynh1
## Tangkapan Layar ## Tangkapan Layar

View file

@ -20,7 +20,7 @@ FitTrackee allows you to track your outdoor activities (workouts) from gpx files
No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file. No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file.
**Поставляемая версия:** 0.8.7~ynh1 **Поставляемая версия:** 0.8.8~ynh1
## Снимки экрана ## Снимки экрана

View file

@ -20,7 +20,7 @@ FitTrackee allows you to track your outdoor activities (workouts) from gpx files
No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file. No mobile app has been developed yet, but several existing mobile apps can store workouts data locally and export them into a gpx file.
**分发版本:** 0.8.7~ynh1 **分发版本:** 0.8.8~ynh1
## 截图 ## 截图

View file

@ -7,7 +7,7 @@ description.gl = "Rexistra as túas actividades ao aire libre 🚴"
description.ca = "Seguiment d'activitats a l'aire lliure autoallotjat 🚴" description.ca = "Seguiment d'activitats a l'aire lliure autoallotjat 🚴"
description.fr = "Traqueur dactivités extérieures auto-hébergé 🚴" description.fr = "Traqueur dactivités extérieures auto-hébergé 🚴"
version = "0.8.7~ynh1" version = "0.8.8~ynh1"
maintainers = ["Thovi98"] maintainers = ["Thovi98"]

View file

@ -10,9 +10,8 @@ source /usr/share/yunohost/helpers
admin=$(ynh_user_get_info --username=$admin --key=username) admin=$(ynh_user_get_info --username=$admin --key=username)
admin_mail=$(ynh_user_get_info --username=$admin --key=mail) admin_mail=$(ynh_user_get_info --username=$admin --key=mail)
ynh_app_setting_set_default --key=weather_api_provider --value=$weather_provider ynh_app_setting_set_default --key=weather_api_provider --value=$weather_api_provider
ynh_app_setting_set_default --key=weather_api_key --value=$weather_api_key
ynh_app_setting_set_default --key=weather_api_key --value=$weather_key
ynh_app_setting_set_default --key=redis_db --value=$(ynh_redis_get_free_db) ynh_app_setting_set_default --key=redis_db --value=$(ynh_redis_get_free_db)

View file

@ -23,6 +23,9 @@ ynh_script_progression "Configuring logrotate to manage application logfiles"
# Use logrotate to manage application logfile(s) # Use logrotate to manage application logfile(s)
ynh_config_add_logrotate ynh_config_add_logrotate
touch /var/log/$app/$app.log
touch /var/log/$app/${app}_workers.log
chown -R $app:www-data /var/log/$app/
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE

View file

@ -15,6 +15,9 @@ ynh_script_progression "Configuring logrotate to manage application logfiles"
# Use logrotate to manage application logfile(s) # Use logrotate to manage application logfile(s)
ynh_config_add_logrotate ynh_config_add_logrotate
touch /var/log/$app/$app.log
touch /var/log/$app/${app}_workers.log
chown -R $app:www-data /var/log/$app/
#================================================= #=================================================
# RESTORE THE NGINX CONFIGURATION # RESTORE THE NGINX CONFIGURATION

View file

@ -80,6 +80,14 @@ ynh_script_progression "Upgrading NGINX web server configuration..."
# Create a dedicated NGINX config # Create a dedicated NGINX config
ynh_config_add_nginx ynh_config_add_nginx
#=================================================
# LOGROTATE
#=================================================
#temporary fix for installations with wrong permissions for logs
touch /var/log/$app/$app.log
touch /var/log/$app/${app}_workers.log
chown -R $app:www-data /var/log/$app/
#================================================= #=================================================
# SETUP SYSTEMD # SETUP SYSTEMD
#================================================= #=================================================

View file

@ -21,4 +21,5 @@ test_format = 1.0
test_upgrade_from.2c6b69d.name = "0.8.3" test_upgrade_from.2c6b69d.name = "0.8.3"
test_upgrade_from.fb74b14.name = "0.8.4" test_upgrade_from.fb74b14.name = "0.8.4"
test_upgrade_from.853024c.name = "helpers_v1 + 0.8.5" test_upgrade_from.853024c.name = "helpers_v1 + 0.8.5"
test_upgrade_from.ec414ce.name = "0.8.6" test_upgrade_from.ec414ce.name = "0.8.6"
test_upgrade_from.064f8a4.name = "0.8.7"