Commit 7932cabc authored by Thomas Frion's avatar Thomas Frion
Browse files

Merge branch 'master' of gricad-gitlab.univ-grenoble-alpes.fr:Projets-INFO4/19-20/8/docs

parents a47dee3a c78c33a0
......@@ -52,26 +52,79 @@ Consideration of the structure of the API.
### TODO :
- ~~redaction of the README~~
- ~~finish the redaction of the SRS~~
- start designing the API
- decide the architecture of our application
- ~~start designing the API~~
- ~~decide the architecture of our application~~
### Week 7 (09/03 - 15/03)
## Week 7 (09/03 - 15/03)
* Mid-term presentation of the project
* (2020-03-12) Appointment with Olivier FAVRE to discuss some points of the project. The notes are available [here](https://gricad-gitlab.univ-grenoble-alpes.fr/Projets-INFO4/19-20/8/docs/-/blob/master/Other-documents/spec.txt) in French
### Week 8 (16/03 - 22/03)
## Week 8 (16/03 - 22/03)
* Writing a snippet to explain how to fix the version error that came up during the installation of the Django project
* Initialization of the **new** Rest API project with Django (back-end)
* Initiation of the Angular project (front-end)
### Week 9 (23/03 - 29/03)
Alexandra had to restart all the installations because of computer problems. She couldn't work on the project the last two weeks.
### Week 10 (30/03 - 05/04)
## Week 9 (23/03 - 29/03)
Front-end :
* Initialisation of components in 4 zones
### Week 11 (06/04 - 12/04)
Back-end :
* Fix the problem connected to an update of Django
* After the definition of the array MIDDLEWARE_CLASSES add MIDDLEWARE = MIDDLEWARE_CLASSES
* Problem with the loading of the module choucas.wsgi.application => Either comment out or delete the line django.contrib.auth.middleware.SessionAuthenticationMiddleware
* Installation (to test) of the module : django_rest_swagger which can document automatically the API
* Test to understand how the django_rest_api framework works with the creation of the feature intended for recovering all the users (GET http://127.0.0.1/users/)
### TODO :
* Front-end :
* Finish the writing of the components
* Finish to display the map
* Back-end :
* ~~Finish the conception of the model (simple version for now)~~
* ~~Modify the feature previously described to integrate the new model~~
* ~~Add routes for the API~~
* ~~Write the documentation~~
## Week 10 (30/03 - 05/04)
* Front-end : big problems with internet
* Back-end :
* Creation of the 'link' between a user (gendarme) and its unit.
* Attempt to do something a little bit cleaner ==>
* Create a PghmUser class that inherits of User (default class).
* Then add a foreign key field that points to the unit.
* Status: new class and field created, attempt to change the default column of foreign key but it remains to modify the forms of the admin part to take into account the change.
### TODO:
* ~~Create Read Update Delete (CRUD) on units and users (API Part)~~
* ~~doc generation of what will have been done since then.~~
## Week 11 (06/04 - 12/04)
* Front-end :
* zone 1: done (part with js to work with Thomas)
* zone 2: nearly done (part with js to work with Thomas)
* zone 3 & 4: to do
* Back-end :
* API: CRUD for users
* Adding the unit field in user administration forms
* Creation of unit administration interfaces
* Details about creation of a user via the administration interface: you have to enter the username, password, password confirmation (this is all you had before) + you can enter the first name, last name and email of the new user and you have to select his PGHM unit.
### 2020-04-10
* Back-end:
* API For units:
* GET | POST | UPDATE | DELETE
* A unit can be selected by its code
* Refactoring of views' code
* Implementation of automatic document generation
## Week 12 (13/04 - 19/04)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment