From c83852362483a25a0aad093d85f813aba532ce7a Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Wed, 19 Jan 2022 16:36:25 +0100
Subject: [PATCH] wip

---
 docs/communication/models.md                  | 19 +++++++++
 docs/{ => communication}/websites/export.md   |  0
 docs/{ => communication}/websites/import.md   |  0
 .../{ => communication}/websites/prototype.md |  0
 docs/{ => communication}/websites/readme.md   |  0
 .../{ => communication}/websites/templates.md |  0
 docs/models.md                                | 31 ++++----------
 docs/research/labs.md                         |  7 ++++
 docs/research/models.md                       | 40 +++++++++++++++++++
 9 files changed, 74 insertions(+), 23 deletions(-)
 create mode 100644 docs/communication/models.md
 rename docs/{ => communication}/websites/export.md (100%)
 rename docs/{ => communication}/websites/import.md (100%)
 rename docs/{ => communication}/websites/prototype.md (100%)
 rename docs/{ => communication}/websites/readme.md (100%)
 rename docs/{ => communication}/websites/templates.md (100%)
 create mode 100644 docs/research/models.md

diff --git a/docs/communication/models.md b/docs/communication/models.md
new file mode 100644
index 000000000..6f499c5c6
--- /dev/null
+++ b/docs/communication/models.md
@@ -0,0 +1,19 @@
+# Models
+
+## communication/website/Event
+
+- university:references
+- communication_website:references
+- communication_website_event_kind:references
+- name:string
+- description:text
+- text:html
+- published:boolean
+- published_at:datetime
+
+## communication/website/event/Kind
+
+- university:references
+- communication_website:references
+- name:string
+- position:integer
diff --git a/docs/websites/export.md b/docs/communication/websites/export.md
similarity index 100%
rename from docs/websites/export.md
rename to docs/communication/websites/export.md
diff --git a/docs/websites/import.md b/docs/communication/websites/import.md
similarity index 100%
rename from docs/websites/import.md
rename to docs/communication/websites/import.md
diff --git a/docs/websites/prototype.md b/docs/communication/websites/prototype.md
similarity index 100%
rename from docs/websites/prototype.md
rename to docs/communication/websites/prototype.md
diff --git a/docs/websites/readme.md b/docs/communication/websites/readme.md
similarity index 100%
rename from docs/websites/readme.md
rename to docs/communication/websites/readme.md
diff --git a/docs/websites/templates.md b/docs/communication/websites/templates.md
similarity index 100%
rename from docs/websites/templates.md
rename to docs/communication/websites/templates.md
diff --git a/docs/models.md b/docs/models.md
index b34f9b807..18f5df146 100644
--- a/docs/models.md
+++ b/docs/models.md
@@ -29,6 +29,12 @@
 - city:string
 - country:string
 
+## university/Section
+cf https://conseil-national-des-universites.fr/cnu/
+
+- name:string
+- number:integer
+
 ## User
 
 - university:references
@@ -36,27 +42,6 @@
 - last_name:string
 - role:integer (enum: superadmin, admin, visitor)
 
-## user/Teacher
-
-- user:references
-- program:references
-- title:string
-- biography:text
-
-## user/Student
-
-- user:references
-- program:references
-- year:references
-- session:references
-
-## user/Alumnus
-
-- user:references
-- program:references
-- session:references
-
-## user/Application
+## university/Person
 
-- user:references
-- program:references
+## university/person/Teacher
diff --git a/docs/research/labs.md b/docs/research/labs.md
index b27051adf..1afb3e27f 100644
--- a/docs/research/labs.md
+++ b/docs/research/labs.md
@@ -5,6 +5,7 @@
 Projet scientifique sur plusieurs années, avec des thèmes (ou thématiques) de recherche
 
 ## Personnes
+
 - Prénom
 - Nom
 - Photo
@@ -38,6 +39,7 @@ Pour le MICA, autour d'une dizaine par mois, avec un pic en novembre
 ### Séminaires
 
 ### Soutenances
+
 Thèses et HDR
 
 Import depuis theses.fr ?
@@ -64,6 +66,7 @@ Import depuis theses.fr ?
 Alphabétique parfois, classé parfois
 
 ## Bibliographies
+
 DOI, HAL, researchgate
 
 
@@ -89,3 +92,7 @@ Collecte de mails, gestion avec Sendinblue
 ## Don
 
 Fonctionnalité nouvelle au MICA, page d'explication (pas de don en ligne)
+
+## SEO
+
+Plan de redirection
diff --git a/docs/research/models.md b/docs/research/models.md
new file mode 100644
index 000000000..340ea7e44
--- /dev/null
+++ b/docs/research/models.md
@@ -0,0 +1,40 @@
+# Models
+
+## university/person/Researcher (extends university/Person)
+
+... ajouté à university/Person
+- situation:string
+- habilitation:boolean
+- axis:references
+- status:enum (statutaire, doctorant, associé)
+- research_themes:html
+
+## research/Laboratory
+
+- university:references
+- name:string
+- address:string
+- zipcode:string
+- city:string
+- country:string
+- private:boolean
+
+## research/laboratory/Axis
+
+- university:references
+- research_laboratory:references
+- name:string
+- position:integer
+- description:text
+- text:html
+
+## research/Thesis
+
+- university:references
+- research_laboratory:references
+- author:references (person)
+- director:references (person)
+- title:string
+- started_at:date
+- presented_at:date
+- completed_at:date
-- 
GitLab