1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/chatonsinfos_ynh.git synced 2024-09-03 18:15:58 +02:00
chatonsinfos_ynh/conf/config_panel.toml.j2

460 lines
14 KiB
Text
Raw Normal View History

2023-08-08 10:25:41 +02:00
version = "1.0"
[main]
2023-09-02 22:48:56 +02:00
name.en = "Organization"
name.fr = "Organisation"
2023-08-29 05:53:09 +02:00
bind = ":{{ install_dir }}/public/organization.properties"
2023-08-08 10:25:41 +02:00
services = []
## (optional) This help properties is a short help displayed on the same line
## than the panel title but not displayed in the tab.
# help = ""
[main.organization]
name = ""
# help = ""
2023-08-29 03:44:51 +02:00
optional = true
2023-08-08 10:25:41 +02:00
2023-08-29 05:53:09 +02:00
[main.organization._name]
2023-08-29 03:44:51 +02:00
ask.fr = "Nom de l'oganisation"
2023-08-08 10:25:41 +02:00
type = "string"
2023-08-29 03:44:51 +02:00
example = "Le petit chaton"
bind = "organization.name:"
optional = false
[main.organization.description]
ask.fr = "Description de l'organisation"
help.fr = "Une courte description de votre chatons en 5 ou 6 mots."
example = "Association d'éducation populaire aux enjeux du numérique"
2023-08-08 10:25:41 +02:00
type = "string"
2023-08-29 03:44:51 +02:00
bind = "organization.description:"
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[main.organization.status-level]
ask.fr = "Statut"
2023-09-02 22:48:56 +02:00
type = "select"
2023-08-08 10:25:41 +02:00
choices.ACTIVE = "Actif"
choices.IDLE = "En pause"
choices.AWAY = "Inactif"
2023-08-29 03:44:51 +02:00
bind = "organization.status.level:"
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[main.organization.status-description]
ask.fr = "Description du statut"
2023-08-08 10:25:41 +02:00
type = "string"
2023-08-29 03:44:51 +02:00
bind = "organization.status.description:"
2023-08-08 10:25:41 +02:00
visible = "status-level == 'IDLE'"
2023-08-29 03:44:51 +02:00
[main.organization.startdate]
ask.fr = "Date de création"
2023-08-08 10:25:41 +02:00
type = "date"
2023-09-02 22:48:56 +02:00
bind = "organization.startdate:"
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[main.organization.enddate]
ask.fr = "Date de fermeture"
2023-08-08 10:25:41 +02:00
type = "date"
visible = "status-level == 'AWAY'"
2023-09-02 22:48:56 +02:00
bind = "organization.enddate:"
2023-08-08 10:25:41 +02:00
2023-08-29 05:53:09 +02:00
[main.organization._type]
2023-08-29 03:44:51 +02:00
ask.fr = "Type d'organisation"
2023-09-02 22:48:56 +02:00
type = "select"
2023-08-08 10:25:41 +02:00
choices.ASSOCIATION = "Association"
choices.INFORMAL = "Informel"
choices.COOPERATIVE = "Coopérative"
choices.MICROCOMPANY = "Micro entreprise"
choices.COMPANY = "Société"
choices.INDIVIDUAL = "Individue"
choices.OTHER = "Autre"
2023-08-29 03:44:51 +02:00
bind = "organization.type:"
optional = false
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[main.organization.website]
ask.fr = "Siteweb"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.website:"
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[main.organization.logo]
2023-09-02 22:48:56 +02:00
ask.fr = "Logo"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.logo:"
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[main.organization.contact-url]
ask.fr = "URL de contact"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.contact.url:"
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[main.organization.contact-mail]
ask.fr = "Mail de contact"
2023-08-08 10:25:41 +02:00
type = "email"
2023-08-29 03:44:51 +02:00
bind = "organization.contact.email:"
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[main.organization.legal-url]
ask.fr = "Mentions légales"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.legal.url:"
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[main.organization.guide-technical]
ask.fr = "Documentation technique"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.guide.technical:"
2023-08-08 10:25:41 +02:00
default = "https://yunohost.org/admindoc"
2023-08-29 03:44:51 +02:00
[main.organization.guide-user]
ask.fr = "Documentation utilisateurice"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.guide.user:"
2023-08-08 10:25:41 +02:00
default = "https://yunohost.org/user_guide"
2023-08-29 03:44:51 +02:00
[main.organization.status-level-chatons]
ask.fr = "Statut"
2023-09-02 22:48:56 +02:00
type = "select"
2023-08-08 10:25:41 +02:00
choices.ACTIVE = "Actif"
choices.IDLE = "En pause"
choices.AWAY = "Inactif"
2023-08-29 03:44:51 +02:00
bind = "organization.memberof.chatons.status.level:"
optional = false
2023-08-08 10:25:41 +02:00
2023-08-29 05:53:09 +02:00
[main.organization.status-description-chatons]
2023-08-29 03:44:51 +02:00
ask.fr = "Description du statut"
2023-08-08 10:25:41 +02:00
type = "string"
2023-08-29 03:44:51 +02:00
bind = "organization.memberof.chatons.status.description:"
2023-08-08 10:25:41 +02:00
visible = "status-level-chatons == 'IDLE'"
2023-08-29 03:44:51 +02:00
[main.organization.startdate-chatons]
ask.fr = "Date d'entrée dans le collectif"
2023-08-08 10:25:41 +02:00
type = "date"
2023-08-29 03:44:51 +02:00
bind = "organization.memberof.chatons.startdate:"
optional = false
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[main.organization.enddate-chatons]
ask.fr = "Date de sortie du collectif"
2023-08-08 10:25:41 +02:00
type = "date"
visible = "status-level-chatons == 'AWAY'"
2023-08-29 03:44:51 +02:00
bind = "organization.memberof.chatons.enddate:"
2023-08-08 10:25:41 +02:00
[main.owner]
name = "Propriétaire de l'organisation"
optional = true
2023-08-29 03:44:51 +02:00
[main.owner.owner-name]
ask.fr = "Nom"
2023-08-08 10:25:41 +02:00
type = "string"
2023-08-29 03:44:51 +02:00
bind = "organization.owner.name:"
[main.owner.owner-website]
ask.fr = "siteweb"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.owner.website:"
[main.owner.owner-logo]
ask.fr = "Logo"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.owner.logo:"
2023-08-08 10:25:41 +02:00
[main.location]
name = "Localisation de l'organisation"
# help = ""
optional = true
2023-08-29 03:44:51 +02:00
[main.location.country-name]
ask.fr = "Pays de l'organisation"
2023-08-08 10:25:41 +02:00
type = "string"
2023-08-29 03:44:51 +02:00
bind = "organization.country.name:"
2023-08-08 10:25:41 +02:00
optional = false
2023-08-29 03:44:51 +02:00
[main.location.country-code]
ask.fr = "Code pays de l'organisation"
2023-08-08 10:25:41 +02:00
help = "Table ISO 3166-1 alpha-2 : https://fr.wikipedia.org/wiki/ISO_3166-1#Table_de_codage"
type = "string"
2023-08-29 03:44:51 +02:00
bind = "organization.country.code:"
2023-08-08 10:25:41 +02:00
default = "FR"
2023-08-29 03:44:51 +02:00
# Latitude (type DECIMAL_DEGREE, recommandé, format DD, ex. 15,23456).
[main.location.latitude]
ask.fr = "Latitude"
2023-08-08 10:25:41 +02:00
type = "string"
2023-08-29 03:44:51 +02:00
bind = "organization.geolocation.latitude:"
[main.location.longitude]
ask.fr = "Longitude"
2023-08-08 10:25:41 +02:00
type = "string"
2023-08-29 03:44:51 +02:00
bind = "organization.geolocation.longitude:"
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[main.location.address]
ask.fr = "Adresse"
2023-08-08 10:25:41 +02:00
type = "string"
2023-08-29 03:44:51 +02:00
bind = "organization.geolocation.address:"
2023-08-08 10:25:41 +02:00
[main.socialnetworks]
name = "Réseaux sociaux"
help = "Liens vers les comptes réseaux sociaux de l'organisation"
optional = true
2023-08-29 03:44:51 +02:00
[main.socialnetworks.diaspora]
ask.fr = "Diaspora"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.socialnetworks.diaspora:"
[main.socialnetworks.facebook]
ask.fr = "Facebook"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.socialnetworks.facebook:"
[main.socialnetworks.funkwhale]
ask.fr = "Funkwhale"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.socialnetworks.funkwhale:"
[main.socialnetworks.mastodon]
ask.fr = "Mastodon"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.socialnetworks.mastodon:"
[main.socialnetworks.pleroma]
ask.fr = "Pleroma"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.socialnetworks.pleroma:"
[main.socialnetworks.mobilizon]
ask.fr = "Mobilizon"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.socialnetworks.mobilizon:"
[main.socialnetworks.peertube]
ask.fr = "Peertube"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.socialnetworks.peertube:"
[main.socialnetworks.pixelfed]
ask.fr = "Pixelfed"
2023-08-08 10:25:41 +02:00
type = "url"
2023-09-02 22:48:56 +02:00
bind = "organization.socialnetworks.pixelfeld:"
2023-08-29 03:44:51 +02:00
[main.socialnetworks.twitter]
ask.fr = "Twitter"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.socialnetworks.twitter:"
2023-08-08 10:25:41 +02:00
[main.chatrooms]
name = "Salons de discussion"
help = "Adresse vers les salons/équipes de discussion publics de l'organisation"
optional = true
2023-08-29 03:44:51 +02:00
[main.chatrooms.xmpp]
ask.fr = "XMPP"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.chatrooms.xmpp:"
[main.chatrooms.irc]
ask.fr = "IRC"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.chatrooms.irc:"
[main.chatrooms.matrix]
ask.fr = "Matrix"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.chatrooms.matrix:"
[main.chatrooms.rocketchat]
ask.fr = "RocketChat"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.chatrooms.rocketchat:"
[main.chatrooms.mattermost]
ask.fr = "Mattermost"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.chatrooms.mattermost:"
2023-08-08 10:25:41 +02:00
[main.funding]
name = "Dons"
help = "Services de paiement permettant de récolter des donations pour votre chaton"
optional = true
# Liens vers les services de paiement permettant de récolter des donations pour votre chaton (type URL, optionnel).
# Dans le cas d'une solution maison (exemple : pont vers votre banque), choisir "organization.funding.custom".
# Liste non exhaustive à laquelle vous pouvez ajouter d'autres services.
2023-08-29 03:44:51 +02:00
[main.funding.liberapay]
ask.fr = "Liberapay"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.funding.liberapay:"
[main.funding.tipee]
ask.fr = "Tipee"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.funding.Tipee:"
[main.funding.helloasso]
ask.fr = "Helloasso"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.funding.helloasso:"
[main.funding.paypal]
ask.fr = "Paypal"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.funding.paypal:"
[main.funding.custom]
ask.fr = "Custom"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "organization.funding.custom:"
2023-08-08 10:25:41 +02:00
[host]
name = "Hébergement"
2023-09-02 22:48:56 +02:00
bind = "multi_file({% for app in apps.split(',') %}{{ install_dir }}/public/{{ app }}.properties,{% endfor %})"
2023-08-29 03:44:51 +02:00
[host.provider]
name = "Fournisseur"
[host.provider.host_name]
ask.fr = "Nom de l'hébergeur"
help.fr = "Hébergeur de la machine qui fait tourner le service, dans le cas d'un auto-hébergement c'est vous !"
2023-08-08 10:25:41 +02:00
type = "string"
2023-08-29 03:44:51 +02:00
[host.provider.host_description]
ask.fr = "Description"
2023-08-08 10:25:41 +02:00
type = "string"
# Si vous avez du mal à remplir les champs précédents, ce tableau pourra vous aider :
# NANO PHYSICAL VIRTUAL SHARED CLOUD
# HOME pm pm vm shared cloud
# HOSTEDBAY pm pm vm shared cloud
# HOSTEDSERVER -- pm vm shared cloud
# OUTSOURCED -- -- vps shared cloud
# Légendes : pm : physical machine ; vm : virtual machine ; vps : virtual private server.
2023-08-29 03:44:51 +02:00
[host.provider.host_provider_type]
ask.fr = "Type d'hébergement"
2023-09-02 22:48:56 +02:00
type = "select"
2023-08-08 10:25:41 +02:00
choices.HOME = "hébergement à domicile"
choices.HOSTEDBAY = "serveur personnel hébergé dans une baie d'un fournisseur"
choices.HOSTEDSERVER = "serveur d'un fournisseur"
choices.OUTSOURCED = "infrastructure totalement sous-traitée"
2023-08-29 03:44:51 +02:00
[host.provider.host_provider_hypervisor]
ask.fr = "Nom de l'hyperviseur"
help.fr = ""
2023-08-08 10:25:41 +02:00
type = "string"
optional = true
2023-08-29 03:44:51 +02:00
[host.provider.host_country_name]
ask.fr = "Pays"
help.fr = ""
2023-08-08 10:25:41 +02:00
type = "string"
2023-08-29 03:44:51 +02:00
[host.provider.host_country_code]
ask.fr = "Code Pays"
2023-08-08 10:25:41 +02:00
help = "Table ISO 3166-1 alpha-2 : https://fr.wikipedia.org/wiki/ISO_3166-1#Table_de_codage"
type = "string"
default = "FR"
2023-08-29 03:44:51 +02:00
[host.server.host_server_type]
ask.fr = "Type de serveur"
2023-09-02 22:48:56 +02:00
type = "select"
2023-08-08 10:25:41 +02:00
choices.NANO = "nano-ordinateur (Raspberry Pi, Olimex…)"
choices.PHYSICAL = "machine physique"
choices.VIRTUAL = "machine virtuelle"
choices.SHARED = "hébergement mutualisé"
choices.CLOUD = "infrastructure multi-serveurs"
2023-08-29 05:53:09 +02:00
{% for app in apps.split(',') %}
2023-08-08 10:25:41 +02:00
[{{ app }}]
2023-08-29 05:53:09 +02:00
bind = ":{{ install_dir }}/public/{{ app }}.properties"
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[{{ app }}.service]
[{{ app }}.service.{{ app }}_published]
ask.fr = "Publié"
help.fr = "Faut-il publier la fiche descriptive (.properties) du service ?"
2023-08-08 10:25:41 +02:00
type = "boolean"
2023-08-29 03:44:51 +02:00
bind = "manage_subs()"
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[{{ app }}.service.{{ app }}_startdate]
ask.fr = "Date d'ouverture"
2023-08-08 10:25:41 +02:00
type = "date"
2023-08-29 03:44:51 +02:00
bind = "service.startdate:"
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[{{ app }}.service.{{ app }}_enddate]
ask.fr = "Date de fermeture"
2023-08-08 10:25:41 +02:00
type = "date"
optional = true
2023-08-29 03:44:51 +02:00
bind = "service.enddate:"
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[{{ app }}.service.{{ app }}_description]
ask.fr = "Description"
2023-08-08 10:25:41 +02:00
type = "string"
2023-08-29 03:44:51 +02:00
bind = "service.description:"
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[{{ app }}.service.{{ app }}_logo]
ask.fr = "Logo"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "service.logo:"
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[{{ app }}.service.{{ app }}_legal-url]
ask.fr = "Mentions légales"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "service.legal.url:"
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[{{ app }}.service.{{ app }}_guide-technical]
ask.fr = "Documentation technique"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "service.guide.technical:"
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[{{ app }}.service.{{ app }}_guide-user]
ask.fr = "Documentation utilisateurices"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "service.guide.user:"
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[{{ app }}.service.{{ app }}_contact-url]
ask.fr = "Page de support"
2023-08-08 10:25:41 +02:00
type = "url"
2023-08-29 03:44:51 +02:00
bind = "service.contact.url:"
2023-08-08 10:25:41 +02:00
optional = true
2023-08-29 03:44:51 +02:00
[{{ app }}.service.{{ app }}_contact-email]
ask.fr = "Courriel de support"
2023-08-08 10:25:41 +02:00
type = "email"
2023-08-29 03:44:51 +02:00
bind = "service.contact.email:"
2023-08-08 10:25:41 +02:00
optional = true
2023-08-29 03:44:51 +02:00
[{{ app }}.service.{{ app }}_registration]
ask.fr = "Inscription"
2023-09-02 22:48:56 +02:00
type = "select"
2023-08-08 10:25:41 +02:00
choices.None = "Le service s'utilise sans inscription"
choices.Free = "Inscription nécessaire mais ouverte à tout le monde et gratuite"
choices.Member = "Inscription restreinte aux membres (la notion de membre pouvant être très relative, par exemple, une famille, un cercle damis, adhérents d'association…)"
choices.Client = "Inscription liée à une relation commerciale (facture…)"
2023-08-29 03:44:51 +02:00
bind = "service.registration:"
2023-08-08 10:25:41 +02:00
2023-08-29 03:44:51 +02:00
[{{ app }}.service.{{ app }}_registration-load]
ask.fr = "Capacité"
2023-09-02 22:48:56 +02:00
type = "select"
2023-08-08 10:25:41 +02:00
choices.OPEN = "Le service accueille de nouveaux comptes"
choices.FULL = "Le service n'accueille plus de nouveau compte pour l'instant"
2023-08-29 03:44:51 +02:00
bind = "service.registration.load:"
2023-08-08 10:25:41 +02:00
{% endfor %}
2023-08-29 03:44:51 +02:00
[advanced]
name.fr = "Avancé"
[advanced.main]
name = ""
# help = ""
optional = true
[advanced.main.external_subs]
ask.fr = "Fichiers properties complémentaires"
help.fr = "Permet de déclarer d'autres services ou offres d'hébergement présent sur d'autres serveurs. Saisissez les tags au format: `clé:https://url/du/fichier.properties`. Attention: la clé doit-être unique et ne pas être en conflit avec un id d'une app sur ce yunohost"
type = "tags"
2023-08-29 05:53:09 +02:00
pattern.regexp = "^[a-zA-Z_]+:https?://.*\\.properties$"
2023-08-29 03:44:51 +02:00
pattern.error = "Saisissez les tags au format: `clé:https://url/du/fichier.properties`"
bind="manage_subs()"