fiche_suivi.md 5.92 KB
Newer Older
Alexandra Chaton's avatar
Alexandra Chaton committed
1
2
3
4
# Tracking Sheet 
### Alexandra CHATON 
- login : chatona
- mail : alexandra.chaton@etu.univ-grenoble-alpes.fr
Alexandra Chaton's avatar
Alexandra Chaton committed
5

Alexandra Chaton's avatar
Alexandra Chaton committed
6
7
8
### Thomas FRION
- login : friont
- mail : thomas.frion@etu.univ-grenoble-alpes.fr
Alexandra Chaton's avatar
Alexandra Chaton committed
9

Alexandra Chaton's avatar
Alexandra Chaton committed
10
11
## Week 1 (20/01 - 26/01)
Discovery of the differents projects
Alexandra Chaton's avatar
Alexandra Chaton committed
12

Alexandra Chaton's avatar
Alexandra Chaton committed
13
Our project : PGHM rescue application
Alexandra Chaton's avatar
Alexandra Chaton committed
14

Alexandra Chaton's avatar
Alexandra Chaton committed
15
In co-operation with Olivier Favre.
Thomas Frion's avatar
Thomas Frion committed
16

Alexandra Chaton's avatar
Alexandra Chaton committed
17
18
19
## Week 2 (27/01 - 02/02)
We attend the course about the LoRaWAN technology.
We were waiting to have some news about the project from Olivier Favre.
Thomas Frion's avatar
Thomas Frion committed
20

Alexandra Chaton's avatar
Alexandra Chaton committed
21
22
## Week 3 (03/02 - 09/02)
Meeting with Olivier Favre.
Alexandra Chaton's avatar
Alexandra Chaton committed
23

Alexandra Chaton's avatar
Alexandra Chaton committed
24
Discussion about the objectives of the project and the expectations of the clients.
Alexandra Chaton's avatar
Alexandra Chaton committed
25

Alexandra Chaton's avatar
Alexandra Chaton committed
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
The technologies we will used are still are not entirely specified.

### TODO :
- Take a look at Leaflet, Django, Sphinx, Angular, TypeScript
- Read the documents about [CHOUCAS](http://choucas.ign.fr)

## Week 4 (10/02 - 16/02 )
Waiting to know about the technologies we will use.

Reading about Django and Python.

## Week 5 (17/02 - 23/02)
First reading of the source code from the already existing application.

### TODO :
Thomas Frion's avatar
Thomas Frion committed
41
- ~~write the SRS~~
Alexandra Chaton's avatar
Alexandra Chaton committed
42
43
44
45
46
47
48
49
50
51
52
- ~~start writing the README and CHANGELOG~~
- ~~write the wiki of our project~~

## Week 6 (02/03 - 08/03)
Installation of pre-existing tools DONE.

Redaction of the SRS IN PROGRESS.

Consideration of the structure of the API.

### TODO :
Alexandra Chaton's avatar
Alexandra Chaton committed
53
- ~~redaction of the README~~
Alexandra Chaton's avatar
Alexandra Chaton committed
54
- ~~finish the redaction of the SRS~~
Thomas Frion's avatar
Thomas Frion committed
55
56
- ~~start designing the API~~
- ~~decide the architecture of our application~~
Alexandra Chaton's avatar
Alexandra Chaton committed
57

Alexandra Chaton's avatar
Alexandra Chaton committed
58
## Week 7 (09/03 - 15/03)
Alexandra Chaton's avatar
Alexandra Chaton committed
59

Thomas Frion's avatar
Thomas Frion committed
60
* Mid-term presentation of the project 
Thomas Frion's avatar
Thomas Frion committed
61
* (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
Thomas Frion's avatar
Thomas Frion committed
62

Alexandra Chaton's avatar
Alexandra Chaton committed
63
## Week 8 (16/03 - 22/03)
Alexandra Chaton's avatar
Alexandra Chaton committed
64

Thomas Frion's avatar
Thomas Frion committed
65
66
67
68
* 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)

Alexandra Chaton's avatar
Alexandra Chaton committed
69
70
 
Alexandra had to restart all the installations because of computer problems. She couldn't work on the project the last two weeks.
Alexandra Chaton's avatar
Alexandra Chaton committed
71

Alexandra Chaton's avatar
Alexandra Chaton committed
72
73
## Week 9 (23/03 - 29/03)
Front-end :
Alexandra Chaton's avatar
Alexandra Chaton committed
74
75
76
77
78
* Initialisation of components in 4 zones:
    * sidebar-left
    * sidebar-right
    * coord-map
    * map
Alexandra Chaton's avatar
Alexandra Chaton committed
79

Alexandra Chaton's avatar
Alexandra Chaton committed
80
81
82
83
84
85
86
87

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/)

Alexandra Chaton's avatar
Alexandra Chaton committed
88
### TODO :
Alexandra Chaton's avatar
Alexandra Chaton committed
89
90
91
92
93
* Front-end :
    * Finish the writing of the components
    * Finish to display the map

* Back-end :
Thomas Frion's avatar
Thomas Frion committed
94
95
96
    * ~~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~~
Thomas Frion's avatar
Thomas Frion committed
97
    * ~~Write the documentation~~
Alexandra Chaton's avatar
Alexandra Chaton committed
98
99

## Week 10 (30/03 - 05/04)
Alexandra Chaton's avatar
Alexandra Chaton committed
100
* Front-end : big problems with internet
Alexandra Chaton's avatar
Alexandra Chaton committed
101

Alexandra Chaton's avatar
Alexandra Chaton committed
102
103
104
105
106
107
* 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.
Alexandra Chaton's avatar
Alexandra Chaton committed
108
109

### TODO: 
Thomas Frion's avatar
Thomas Frion committed
110
* ~~Create Read Update Delete (CRUD) on units and users (API Part)~~ 
Thomas Frion's avatar
Thomas Frion committed
111
* ~~doc generation of what will have been done since then.~~
Alexandra Chaton's avatar
Alexandra Chaton committed
112
113

## Week 11 (06/04 - 12/04)
Alexandra Chaton's avatar
Alexandra Chaton committed
114
115
* Front-end :
    * zone 1: done (part with js to work with Thomas)
Alexandra Chaton's avatar
Alexandra Chaton committed
116
    * zone 2: working on it (part with js to work with Thomas)
Alexandra Chaton's avatar
Alexandra Chaton committed
117
    * zone 3 & 4: to do
Alexandra Chaton's avatar
Alexandra Chaton committed
118
* Back-end :
Thomas Frion's avatar
Thomas Frion committed
119
    * API: CRUD for users     
Alexandra Chaton's avatar
Alexandra Chaton committed
120
121
122
    * 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.
Alexandra Chaton's avatar
Alexandra Chaton committed
123

Thomas Frion's avatar
Thomas Frion committed
124
125
126
127
128
129
130
131
### 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

Alexandra Chaton's avatar
Alexandra Chaton committed
132
## Week 12 (13/04 - 19/04)
Thomas Frion's avatar
Thomas Frion committed
133

Alexandra Chaton's avatar
Alexandra Chaton committed
134
135
Unfortunately, we were not able to work on the project because we were quite busy with the multiple project reports that were due for this week as part of our ongoing assessment.

Thomas Frion's avatar
Thomas Frion committed
136
137

## Week 13 (20/04 - 26/04)
Alexandra Chaton's avatar
Alexandra Chaton committed
138
139
Alexandra:
    Call with Olivier Favre about the code of the Front-end and the expectations about it.
Thomas Frion's avatar
Thomas Frion committed
140

Thomas Frion's avatar
Thomas Frion committed
141
### 2020-04-21
Thomas Frion's avatar
Thomas Frion committed
142

Alexandra Chaton's avatar
Alexandra Chaton committed
143
144
* Writing of the report

Thomas Frion's avatar
Thomas Frion committed
145
146
147
## Week 14 (27/04 - 30/04)

### 2020-04-29
Alexandra Chaton's avatar
Alexandra Chaton committed
148
149
150
* Front end :
    * Merge of different part
    * Working on managing the aspect of Single Page Application with an authentification part
Thomas Frion's avatar
Thomas Frion committed
151
152
153
154
155
156
157
158
159
160
161

* Backend:
    * Add unit's settigns system 

### 2020-04-30

* Backend:
    * Add security part (with JWT)
    * Add more details/information in API documentation


Alexandra Chaton's avatar
Alexandra Chaton committed
162
163
164
165
166
167
## IN THE FUTURE- TODO
* Front-end:
    * Finish the authentification process
    * Understanding the code in JavaScript of the prototype version to finish components
    * Optimization of the code
* Back-end:
Thomas Frion's avatar
Thomas Frion committed
168
169
170
171
172
    * Add more requested features (with models or not)
    * Improve serializer validator for adding users and units:
        * To add or update a user (via tha API), we had to disable the validators
    * Add a management of the different extern resources (extern API such as IGN)
    * Add a management of spacial and/or geographical components
Alexandra Chaton's avatar
Alexandra Chaton committed
173
174
175
* Connexion between back-end et front-end


Thomas Frion's avatar
Thomas Frion committed
176

Thomas Frion's avatar
Thomas Frion committed
177