From 196c6e3c3581dc7f9a477680c278b88b0f5795b6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Tue, 19 Jan 2021 22:28:58 +0100 Subject: [PATCH] Add first CHATONS properties page --- .../immae/chatons/immae-eu.properties | 46 +++++ .../immae/chatons/service-etherpad.properties | 164 ++++++++++++++++++ modules/private/websites/immae/production.nix | 7 + 3 files changed, 217 insertions(+) create mode 100644 modules/private/websites/immae/chatons/immae-eu.properties create mode 100644 modules/private/websites/immae/chatons/service-etherpad.properties diff --git a/modules/private/websites/immae/chatons/immae-eu.properties b/modules/private/websites/immae/chatons/immae-eu.properties new file mode 100644 index 0000000..32b2d47 --- /dev/null +++ b/modules/private/websites/immae/chatons/immae-eu.properties @@ -0,0 +1,46 @@ +# https://framagit.org/chatons/chatonsinfos/-/blob/master/MODELES/organization.properties + +# [File] +file.class = organization +file.protocol = ChatonsInfos-0.1 +file.datetime = 2021-01-11T22:23:00 +file.generator = Immae avec ses doigts + +# [Organisation] +organization.country.name = France +organization.country.code = FR +organization.name = ImmaeEu +organization.description = ImmaeEu est un CHATONS des Alpes Maritimes +organization.website = https://www.immae.eu +organization.logo = https://assets.immae.eu/logo.jpg +organization.socialnetworks.diaspora = https://diaspora.immae.eu/people/1a185f29cc76cb35 +organization.socialnetworks.facebook = https://www.facebook.com/ismael.bouya +organization.socialnetworks.mastodon = https://mastodon.immae.eu/@immae +organization.socialnetworks.peertube = https://peertube.immae.eu/accounts/immae/ +organization.socialnetworks.twitter = https://twitter.com/_immae +organization.chatrooms.xmpp = ismael@immae.fr +organization.chatrooms.irc = immae@freenode +organization.chatrooms.matrix = @immae:matrix.org +organization.owner.name = Ismaël Bouya +organization.owner.website = https://www.immae.eu +organization.owner.logo = https://assets.immae.eu/logo.jpg +organization.contact.url = https://www.immae.eu/contacts_fr.html +organization.contact.email = contact@mail.immae.eu +organization.legal.url = https://www.immae.eu/mentions.html +organization.guide.technical = https://git.immae.eu/cgit/perso/Immae/Config/Nix.git/ +organization.status.level = ACTIVE +organization.status.description = En activité +organization.startdate = 01/01/2019 + +organization.memberof.chatons.startdate = 01/07/2019 +organization.memberof.chatons.status.level = ACTIVE +organization.memberof.chatons.status.description = Participe au collectif + +# [Subs] +# Un lien vers un fichier properties complémentaire (type URL, optionnel, ex. https://www.chapril.org/.well-known/chapril.properties). +subs.etherpad = https://www.immae.eu/.well-known/chatonsinfos/service-etherpad.properties + + +# [Metrics] +#metrics.http.total.2020 = + diff --git a/modules/private/websites/immae/chatons/service-etherpad.properties b/modules/private/websites/immae/chatons/service-etherpad.properties new file mode 100644 index 0000000..cfcab1d --- /dev/null +++ b/modules/private/websites/immae/chatons/service-etherpad.properties @@ -0,0 +1,164 @@ +# service.properties + +# [File] +# Classe du fichier (valeur parmi Federation/Organization/Service/Device, obligatoire). +file.class = service + +# Version de l'ontologie utilisée utilisé (type STRING, recommandé). +file.protocol = ChatonsInfos-0.1 + +# Date et horaire de génération du fichier (type DATETIME, recommandé). +file.datetime = 2021-01-04T00:01:00 + +# Nom du générateur du fichier (type STRING, recommandé). Exemple : Florian avec ses doigts +file.generator = Immae avec ses doigts + + +# [Service] +# Nom du service (type STRING, obligatoire). Exemple : Pad Exemple +service.name = Etherpard + +# Description du service (type STRING, recommandé). +service.description = Éditeur de texte collaboratif en temps réel. on peut y écrire simultanément. + +# Lien du site web du service (type URL, recommandé). Exemple : https://pad.exemple.ext +service.website = https://ether.immae.eu + +# Lien du logo du service (type URL, recommandé, ex. https://www.chapril.org/.well-known/statoolinfos/chapril-logo-mini.png. +service.logo = https://ether.immae.eu/favicon.ico + +# Lien de la page web des mentions légales du service (type URL, recommandé). Exemple : https://pad.exemple.ext/cgu.html +service.legal.url = https://www.immae.eu/mentions.html + +# Lien de la documentation web du service (type URL, recommandé). +service.guide.technical = https://git.immae.eu/cgit/perso/Immae/Config/Nix.git/ + +# Lien des aides web pour le service (type URL, recommandé). +service.guide.user = + +# Lien de la page de support du service (type URL, recommandé). Exemple : https://exemple.ext/contact.html +service.contact.url = https://www.immae.eu/contacts_fr.html + +# Courriel du support du service (type EMAIL, recommandé). Exemple : contact@exemple.ext +service.contact.email = contact@mail.immae.eu + +# Date d'ouverture du service (type DATE, recommandé). Exemple : 20/03/2020 +service.startdate = 01/01/2019 + +# Date de fermeture du service (type DATE, optionnel). +service.enddate = + +# Statut du service (un parmi {OK,WARNING,ALERT,ERROR,OVER,VOID}, obligatoire). +service.status.level = OK + +# Description du statut du service (type STRING, optionnel, exemple : mise à jour en cours) +service.status.description = OK + +# Inscriptions requises pour utiliser le service (parmi None;Free;Member;Client, obligatoire). +service.registration = None + +# [Software] +# Nom du logiciel (type STRING, obligatoire). +software.name = Etherpad + +# Lien du site web du logiciel (type URL, recommandé). +software.website = https://etherpad.org/ + +# Lien web vers la licence du logiciel (type URL, obligatoire). +software.license.url = https://github.com/ether/etherpad-lite/blob/develop/LICENSE + +# Nom de la licence du logiciel (type STRING, obligatoire). +software.license.name = Apache License Version 2.0 + +# Version du logiciel (type STRING, recommandé). +software.version = 1.8.3 + +# Lien web vers les sources du logiciel (type URL, recommandé). +software.source.url = https://github.com/ether/etherpad-lite + +# Liste de modules optionnels installés (type VALUES, optionnel, ex. Nextcloud-Calendar,Nextcloud-Talk). +software.modules = ep_align,ep_bookmark,ep_colors,ep_comments_page,ep_cursortrace,ep_delete_empty_pads,ep_embedmedia,ep_font_size,ep_headings2,ep_immae_buttons,ep_ldapauth,ep_line_height,ep_markdown,ep_mypads,ep_page_view,ep_previewimages,ep_ruler,ep_scrollto,ep_set_title_on_pad,ep_subscript_and_superscript,ep_timesliderdiff + + +# [Host] +# Nom de l'hébergeur de la machine qui fait tourner le service, dans le cas d'un auto-hébergement c'est vous ! (type STRING, obligatoire). Exemple : OVH. +host.name = Hetzner + +# Description de l'hébergeur (type STRING, optionnel). +host.description = + +# Type de serveur (un parmi NANO, PHYSICAL, VIRTUAL, SHARED, CLOUD, obligatoire, ex. PHYSICAL). +# NANO : nano-ordinateur (Raspberry Pi, Olimex…) +# PHYSICAL : machine physique +# VIRTUAL : machine virtuelle +# SHARED : hébergement mutualisé +# CLOUD : infrastructure multi-serveurs +host.server.type = PHYSICAL + +# Type d'hébergement (un parmi HOME, HOSTEDBAY, HOSTEDSERVER, OUTSOURCED, obligatoire, ex. HOSTEDSERVER). +# HOME : hébergement à domicile +# HOSTEDBAY : serveur personnel hébergé dans une baie d'un fournisseur +# HOSTEDSERVER : serveur d'un fournisseur +# OUTSOURCED : infrastructure totalement sous-traitée +host.provider.type = HOSTEDSERVER + +# 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 vm shared cloud +# HOSTEDSERVER -- pm vm shared cloud +# OUTSOURCED -- -- vps shared cloud +# Légendes : pm : physical machine ; vm : virtual machine ; vps : virtual private server. + +# Pays de l'hébergeur (type STRING, recommandé). Exemple : France +host.country.name = Allemagne + +# Code pays de l'hébergeur (type STRING, recommandé). Exemple : FR +host.country.code = DE + + + +# [Subs] +# Un lien vers un fichier properties complémentaire (type URL, optionnel). Exemple : https:// +subs.foo = + +# [Metrics] +# Nom du métrique (type STRING, recommandé). +metrics.http.total.name = Nombre total de requêtes HTTP + +# Description du métrique (type STRING, recommandé). +metrics.http.total.description = Somme des requêtes HTTP ipv4 et ipv6. + +# Métrique à valeur anuelle (type NUMERIC, optionnel). +metrics.http.total.2020 = + +# Métrique à valeur mensuelle (type MONTHS, optionnel). +metrics.http.total.2020.months= + +# Métrique à valeur hebdomadaire (type WEEKS, optionnel). +metrics.http.total.2020.weeks= + +# Métrique à valeur quotidienne (type DAYS, optionnel). +metrics.http.total.2020.days= + + +# Nom du métrique (type STRING, recommandé). +metrics.visitors.total.name = Nombre total de visiteurs + +# Description du métrique (type STRING, recommandé). +metrics.visitors.total.description = + +# Métrique à valeur anuelle (type NUMERIC, optionnel). +metrics.visitors.total.2020 = + +# Métrique à valeur mensuelle (type MONTHS, optionnel). +metrics.visitors.total.2020.months= + +# Métrique à valeur hebdomadaire (type WEEKS, optionnel). +metrics.visitors.total.2020.weeks= + +# Métrique à valeur quotidienne (type DAYS, optionnel). +metrics.visitors.total.2020.days= + + +# [Metrics spécifiques au service] diff --git a/modules/private/websites/immae/production.nix b/modules/private/websites/immae/production.nix index 890a5af..c63839e 100644 --- a/modules/private/websites/immae/production.nix +++ b/modules/private/websites/immae/production.nix @@ -43,6 +43,13 @@ in { Require all granted + Alias /.well-known/chatonsinfos ${./chatons} + + Options Indexes FollowSymLinks MultiViews Includes + AllowOverride None + Require all granted + + Alias /cours ${coursDir} DirectoryIndex index.htm index.html -- 2.41.0