mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Config panel
This commit is contained in:
parent
c9f168d58d
commit
f0dc6134b4
2 changed files with 197 additions and 43 deletions
|
@ -13,11 +13,12 @@ services = [ 'php8.3-fpm']
|
|||
yes = true
|
||||
no = false
|
||||
default = true
|
||||
help = "Don't disable account creation before creating one for yourself !"
|
||||
help = "Créez votre propre compte avant de fermer cette option !"
|
||||
|
||||
[main.comptes.connexion_compte]
|
||||
ask.en = "Enable account connexion"
|
||||
ask.fr = "Permettre la connexion aux comptes"
|
||||
help = "La connexion sera désactivée pour l'ensemble des utilisateurs de l'instance"
|
||||
type = "boolean"
|
||||
yes = true
|
||||
no = false
|
||||
|
@ -36,6 +37,79 @@ services = [ 'php8.3-fpm']
|
|||
[statistics]
|
||||
name = "Statistiques"
|
||||
|
||||
[statistics.usage]
|
||||
name = "Satistiques d'usage"
|
||||
|
||||
[statistics.usage.moncycle_app_nb_session]
|
||||
ask.fr = "Nombre de sessions"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.usage.moncycle_app_visite_mensuel]
|
||||
ask.fr = "Nombre de visites mensuelles"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.usage.moncycle_app_visite_hebdo]
|
||||
ask.fr = "Nombre de visites hebdomadaires"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.usage.moncycle_app_visite_jour]
|
||||
ask.fr = "Nombre de visites quotidiennes"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.usage.moncycle_app_nb_cycle]
|
||||
ask.fr = "Nombre de cycles"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.usage.moncycle_app_nb_cycle_recent]
|
||||
ask.fr = "Nombre de cycles récents"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.usage.moncycle_app_age_moyen]
|
||||
ask.fr = "Âge moyen"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.usage.moncycle_app_age_moyen_recent]
|
||||
ask.fr = "Âge moyen récent"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.usage.moncycle_app_nb_total_observation]
|
||||
ask.fr = "Nombre total d'observations"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.usage.moncycle_app_nb_observation_aujourdhui]
|
||||
ask.fr = "Nombre d'observations aujourd'hui"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.usage.moncycle_app_nb_observation_1j]
|
||||
ask.fr = "Nombre d'observations depuis 1 jour"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.usage.moncycle_app_nb_observation_5j]
|
||||
ask.fr = "Nombre d'observations depuis 5 jours"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.usage.moncycle_app_nb_observation_15j]
|
||||
ask.fr = "Nombre d'observations depuis 15 jours"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.usage.moncycle_app_nb_observation_30j]
|
||||
ask.fr = "Nombre d'observations depuis 30 jours"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.comptes]
|
||||
name = "Satistiques des comptes"
|
||||
|
||||
|
@ -44,26 +118,6 @@ ask.fr = "Nombre de comptes"
|
|||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.comptes.moncycle_app_nb_session]
|
||||
ask.fr = "Nombre de sessions"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.comptes.moncycle_app_visite_mensuel]
|
||||
ask.fr = "Nombre de visites mensuelles"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.comptes.moncycle_app_visite_hebdo]
|
||||
ask.fr = "Nombre de visites hebdomadaires"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.comptes.moncycle_app_visite_jour]
|
||||
ask.fr = "Nombre de visites quotidiennes"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.comptes.moncycle_app_nb_compte_actif]
|
||||
ask.fr = "Nombre de comptes actifs"
|
||||
type = "number"
|
||||
|
@ -89,6 +143,38 @@ ask.fr = "Pourcentage de comptes actifs Billings"
|
|||
type = "string"
|
||||
readonly = true
|
||||
|
||||
[statistics.comptes.moncycle_app_nb_compte_actif_billings_temp]
|
||||
ask.fr = "Nombre de comptes Billings actifs"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.comptes.moncycle_app_pc_compte_actif_billings_temp]
|
||||
ask.fr = "Pourcentage de comptes actifs Billings"
|
||||
type = "string"
|
||||
readonly = true
|
||||
|
||||
[statistics.comptes.moncycle_app_nb_compte_actif_fertilitycare]
|
||||
ask.fr = "Nombre de comptes Fertility Care actifs"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.comptes.moncycle_app_pc_compte_actif_fertilitycare]
|
||||
ask.fr = "Pourcentage de comptes actifs Fertility Care"
|
||||
type = "string"
|
||||
readonly = true
|
||||
|
||||
[statistics.comptes.moncycle_app_nb_compte_actif_fertilitycare_temp]
|
||||
ask.fr = "Nombre de comptes Fertility Care actifs"
|
||||
type = "number"
|
||||
readonly = true
|
||||
|
||||
[statistics.comptes.moncycle_app_pc_compte_actif_fertilitycare_temp]
|
||||
ask.fr = "Pourcentage de comptes actifs Fertility Care"
|
||||
type = "string"
|
||||
readonly = true
|
||||
|
||||
[statistics.comptes.moncycle_app_nb_compte_recent]
|
||||
ask.fr = "Nombre de comptes récents"
|
||||
type = "string"
|
||||
readonly = true
|
||||
|
||||
|
|
|
@ -106,6 +106,74 @@ get__moncycle_app_pc_compte_actif_billings(){
|
|||
echo $(echo "$statistiques" | grep -Poi 'app_pc_compte_actif_billings \K.*')"%"
|
||||
}
|
||||
|
||||
get__moncycle_app_nb_compte_actif_billings_temp(){
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_nb_compte_actif_billings_temp \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_pc_compte_actif_billings_temp(){
|
||||
echo $(echo "$statistiques" | grep -Poi 'app_pc_compte_actif_billings_temp \K.*')"%"
|
||||
}
|
||||
|
||||
get__moncycle_app_nb_compte_actif_fertilitycare(){
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_nb_compte_actif_fertilitycare \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_pc_compte_actif_fertilitycare(){
|
||||
echo $(echo "$statistiques" | grep -Poi 'app_pc_compte_actif_fertilitycare \K.*')"%"
|
||||
}
|
||||
|
||||
get__moncycle_app_nb_compte_actif_fertilitycare_temp(){
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_nb_compte_actif_fertilitycare_temp \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_pc_compte_actif_fertilitycare_temp(){
|
||||
echo $(echo "$statistiques" | grep -Poi 'app_pc_compte_actif_fertilitycare_temp \K.*')"%"
|
||||
}
|
||||
|
||||
get__moncycle_app_nb_compte_recent(){
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_nb_compte_recent \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_nb_cycle(){
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_nb_cycle \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_nb_cycle_recent(){
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_nb_cycle_recent \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_age_moyen(){
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_age_moyen \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_age_moyen_recent(){
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_age_moyen_recent \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_nb_total_observation(){
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_nb_total_observation \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_nb_observation_aujourdhui(){
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_nb_observation_aujourdhui \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_nb_observation_1j(){
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_nb_observation_1j \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_nb_observation_5j(){
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_nb_observation_5j \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_nb_observation_15j(){
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_nb_observation_15j \K.*'
|
||||
}
|
||||
|
||||
get__moncycle_app_nb_observation_30j(){
|
||||
echo "$statistiques" | grep -Poi 'moncycle_app_nb_observation_30j \K.*'
|
||||
}
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue