aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2021-01-19 22:28:58 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2021-01-19 22:28:58 +0100
commit196c6e3c3581dc7f9a477680c278b88b0f5795b6 (patch)
tree8fff980c2b91f9628cde9a2ec15be80a1c29b34f /modules/private/websites
parentf0255dd5bd2b793741fa1f6f349b89219c9bd56a (diff)
downloadNix-196c6e3c3581dc7f9a477680c278b88b0f5795b6.tar.gz
Nix-196c6e3c3581dc7f9a477680c278b88b0f5795b6.tar.zst
Nix-196c6e3c3581dc7f9a477680c278b88b0f5795b6.zip
Add first CHATONS properties page
Diffstat (limited to 'modules/private/websites')
-rw-r--r--modules/private/websites/immae/chatons/immae-eu.properties46
-rw-r--r--modules/private/websites/immae/chatons/service-etherpad.properties164
-rw-r--r--modules/private/websites/immae/production.nix7
3 files changed, 217 insertions, 0 deletions
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 @@
1# https://framagit.org/chatons/chatonsinfos/-/blob/master/MODELES/organization.properties
2
3# [File]
4file.class = organization
5file.protocol = ChatonsInfos-0.1
6file.datetime = 2021-01-11T22:23:00
7file.generator = Immae avec ses doigts
8
9# [Organisation]
10organization.country.name = France
11organization.country.code = FR
12organization.name = ImmaeEu
13organization.description = ImmaeEu est un CHATONS des Alpes Maritimes
14organization.website = https://www.immae.eu
15organization.logo = https://assets.immae.eu/logo.jpg
16organization.socialnetworks.diaspora = https://diaspora.immae.eu/people/1a185f29cc76cb35
17organization.socialnetworks.facebook = https://www.facebook.com/ismael.bouya
18organization.socialnetworks.mastodon = https://mastodon.immae.eu/@immae
19organization.socialnetworks.peertube = https://peertube.immae.eu/accounts/immae/
20organization.socialnetworks.twitter = https://twitter.com/_immae
21organization.chatrooms.xmpp = ismael@immae.fr
22organization.chatrooms.irc = immae@freenode
23organization.chatrooms.matrix = @immae:matrix.org
24organization.owner.name = Ismaël Bouya
25organization.owner.website = https://www.immae.eu
26organization.owner.logo = https://assets.immae.eu/logo.jpg
27organization.contact.url = https://www.immae.eu/contacts_fr.html
28organization.contact.email = contact@mail.immae.eu
29organization.legal.url = https://www.immae.eu/mentions.html
30organization.guide.technical = https://git.immae.eu/cgit/perso/Immae/Config/Nix.git/
31organization.status.level = ACTIVE
32organization.status.description = En activité
33organization.startdate = 01/01/2019
34
35organization.memberof.chatons.startdate = 01/07/2019
36organization.memberof.chatons.status.level = ACTIVE
37organization.memberof.chatons.status.description = Participe au collectif
38
39# [Subs]
40# Un lien vers un fichier properties complémentaire (type URL, optionnel, ex. https://www.chapril.org/.well-known/chapril.properties).
41subs.etherpad = https://www.immae.eu/.well-known/chatonsinfos/service-etherpad.properties
42
43
44# [Metrics]
45#metrics.http.total.2020 =
46
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 @@
1# service.properties
2
3# [File]
4# Classe du fichier (valeur parmi Federation/Organization/Service/Device, obligatoire).
5file.class = service
6
7# Version de l'ontologie utilisée utilisé (type STRING, recommandé).
8file.protocol = ChatonsInfos-0.1
9
10# Date et horaire de génération du fichier (type DATETIME, recommandé).
11file.datetime = 2021-01-04T00:01:00
12
13# Nom du générateur du fichier (type STRING, recommandé). Exemple : Florian avec ses doigts
14file.generator = Immae avec ses doigts
15
16
17# [Service]
18# Nom du service (type STRING, obligatoire). Exemple : Pad Exemple
19service.name = Etherpard
20
21# Description du service (type STRING, recommandé).
22service.description = Éditeur de texte collaboratif en temps réel. on peut y écrire simultanément.
23
24# Lien du site web du service (type URL, recommandé). Exemple : https://pad.exemple.ext
25service.website = https://ether.immae.eu
26
27# Lien du logo du service (type URL, recommandé, ex. https://www.chapril.org/.well-known/statoolinfos/chapril-logo-mini.png.
28service.logo = https://ether.immae.eu/favicon.ico
29
30# Lien de la page web des mentions légales du service (type URL, recommandé). Exemple : https://pad.exemple.ext/cgu.html
31service.legal.url = https://www.immae.eu/mentions.html
32
33# Lien de la documentation web du service (type URL, recommandé).
34service.guide.technical = https://git.immae.eu/cgit/perso/Immae/Config/Nix.git/
35
36# Lien des aides web pour le service (type URL, recommandé).
37service.guide.user =
38
39# Lien de la page de support du service (type URL, recommandé). Exemple : https://exemple.ext/contact.html
40service.contact.url = https://www.immae.eu/contacts_fr.html
41
42# Courriel du support du service (type EMAIL, recommandé). Exemple : contact@exemple.ext
43service.contact.email = contact@mail.immae.eu
44
45# Date d'ouverture du service (type DATE, recommandé). Exemple : 20/03/2020
46service.startdate = 01/01/2019
47
48# Date de fermeture du service (type DATE, optionnel).
49service.enddate =
50
51# Statut du service (un parmi {OK,WARNING,ALERT,ERROR,OVER,VOID}, obligatoire).
52service.status.level = OK
53
54# Description du statut du service (type STRING, optionnel, exemple : mise à jour en cours)
55service.status.description = OK
56
57# Inscriptions requises pour utiliser le service (parmi None;Free;Member;Client, obligatoire).
58service.registration = None
59
60# [Software]
61# Nom du logiciel (type STRING, obligatoire).
62software.name = Etherpad
63
64# Lien du site web du logiciel (type URL, recommandé).
65software.website = https://etherpad.org/
66
67# Lien web vers la licence du logiciel (type URL, obligatoire).
68software.license.url = https://github.com/ether/etherpad-lite/blob/develop/LICENSE
69
70# Nom de la licence du logiciel (type STRING, obligatoire).
71software.license.name = Apache License Version 2.0
72
73# Version du logiciel (type STRING, recommandé).
74software.version = 1.8.3
75
76# Lien web vers les sources du logiciel (type URL, recommandé).
77software.source.url = https://github.com/ether/etherpad-lite
78
79# Liste de modules optionnels installés (type VALUES, optionnel, ex. Nextcloud-Calendar,Nextcloud-Talk).
80software.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
81
82
83# [Host]
84# 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.
85host.name = Hetzner
86
87# Description de l'hébergeur (type STRING, optionnel).
88host.description =
89
90# Type de serveur (un parmi NANO, PHYSICAL, VIRTUAL, SHARED, CLOUD, obligatoire, ex. PHYSICAL).
91# NANO : nano-ordinateur (Raspberry Pi, Olimex…)
92# PHYSICAL : machine physique
93# VIRTUAL : machine virtuelle
94# SHARED : hébergement mutualisé
95# CLOUD : infrastructure multi-serveurs
96host.server.type = PHYSICAL
97
98# Type d'hébergement (un parmi HOME, HOSTEDBAY, HOSTEDSERVER, OUTSOURCED, obligatoire, ex. HOSTEDSERVER).
99# HOME : hébergement à domicile
100# HOSTEDBAY : serveur personnel hébergé dans une baie d'un fournisseur
101# HOSTEDSERVER : serveur d'un fournisseur
102# OUTSOURCED : infrastructure totalement sous-traitée
103host.provider.type = HOSTEDSERVER
104
105# Si vous avez du mal à remplir les champs précédents, ce tableau pourra vous aider :
106# NANO PHYSICAL VIRTUAL SHARED CLOUD
107# HOME pm pm vm shared cloud
108# HOSTEDBAY -- pm vm shared cloud
109# HOSTEDSERVER -- pm vm shared cloud
110# OUTSOURCED -- -- vps shared cloud
111# Légendes : pm : physical machine ; vm : virtual machine ; vps : virtual private server.
112
113# Pays de l'hébergeur (type STRING, recommandé). Exemple : France
114host.country.name = Allemagne
115
116# Code pays de l'hébergeur (type STRING, recommandé). Exemple : FR
117host.country.code = DE
118
119
120
121# [Subs]
122# Un lien vers un fichier properties complémentaire (type URL, optionnel). Exemple : https://
123subs.foo =
124
125# [Metrics]
126# Nom du métrique (type STRING, recommandé).
127metrics.http.total.name = Nombre total de requêtes HTTP
128
129# Description du métrique (type STRING, recommandé).
130metrics.http.total.description = Somme des requêtes HTTP ipv4 et ipv6.
131
132# Métrique à valeur anuelle (type NUMERIC, optionnel).
133metrics.http.total.2020 =
134
135# Métrique à valeur mensuelle (type MONTHS, optionnel).
136metrics.http.total.2020.months=
137
138# Métrique à valeur hebdomadaire (type WEEKS, optionnel).
139metrics.http.total.2020.weeks=
140
141# Métrique à valeur quotidienne (type DAYS, optionnel).
142metrics.http.total.2020.days=
143
144
145# Nom du métrique (type STRING, recommandé).
146metrics.visitors.total.name = Nombre total de visiteurs
147
148# Description du métrique (type STRING, recommandé).
149metrics.visitors.total.description =
150
151# Métrique à valeur anuelle (type NUMERIC, optionnel).
152metrics.visitors.total.2020 =
153
154# Métrique à valeur mensuelle (type MONTHS, optionnel).
155metrics.visitors.total.2020.months=
156
157# Métrique à valeur hebdomadaire (type WEEKS, optionnel).
158metrics.visitors.total.2020.weeks=
159
160# Métrique à valeur quotidienne (type DAYS, optionnel).
161metrics.visitors.total.2020.days=
162
163
164# [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 {
43 Require all granted 43 Require all granted
44 </Directory> 44 </Directory>
45 45
46 Alias /.well-known/chatonsinfos ${./chatons}
47 <Directory ${./chatons}>
48 Options Indexes FollowSymLinks MultiViews Includes
49 AllowOverride None
50 Require all granted
51 </Directory>
52
46 Alias /cours ${coursDir} 53 Alias /cours ${coursDir}
47 <Directory ${coursDir}> 54 <Directory ${coursDir}>
48 DirectoryIndex index.htm index.html 55 DirectoryIndex index.htm index.html