60 Commits

Author SHA1 Message Date
Kouril42
68135b4567 Return empty list if there is no more edition instead of Error 404 2023-02-28 16:42:31 +01:00
Kouril42
33677c9232 Add B and S name for get_floor and return empty list if find_place_by_name doesn't find anything 2023-02-28 16:38:18 +01:00
Kouril42
33d15d4400 I forgot to ctrl S, ooopsiiiiiiiiii 2023-02-28 16:16:56 +01:00
Kouril42
8abdf2576a Debug get_floor who returned false connectedFloors 2023-02-28 16:12:46 +01:00
Kouril42
4a0ad498d8 Update doc 2023-02-22 19:13:34 +01:00
Kouril42
9cee47b80a Add floorName to get_floor 2023-02-22 19:12:42 +01:00
Kouril42
e834445728 Add floorName to get_floor 2023-02-22 19:02:52 +01:00
Kouril42
b958948e35 Migration 2023-02-22 10:38:49 +01:00
Kouril42
1e67114d82 Modify Connections to be symetric and to be beautiful + add connectedFloors to get_floor 2023-02-21 20:05:01 +01:00
Kouril42
5cc241bdfa Debug remove_edition 2023-02-21 17:07:57 +01:00
afae71919e
Ajout dans la todolist. 2023-02-21 16:55:20 +01:00
Kouril42
3f28676318 Merge branch 'main' of gitlab.aliens-lyon.fr:encartes/backend 2023-02-21 16:54:47 +01:00
Kouril42
fb39b2195c Debug remove_edition > variable of bad due to a copy/paste 2023-02-21 16:54:38 +01:00
d7b7748ce6
Basile est un teuteu 2023-02-21 16:34:24 +01:00
62ad25b179
Merge remote-tracking branch 'origin/main' 2023-02-21 16:33:38 +01:00
86df134e26
Ajout des types des ascenceurs et escaliers dans le script de peuplage. Mise à jour de composer. 2023-02-21 16:32:51 +01:00
Kouril42
a84bf895f3 Precise API which was unclear 2023-02-21 16:26:10 +01:00
Kouril42
ce3563f627 get_all_floors was returning lists of lists, which was stupid, it now returns lists 2023-02-21 16:25:43 +01:00
Kouril42
366cef7a0a Change Eleveator to Lift 2023-02-21 16:23:11 +01:00
Kouril42
88ec6295fc Debug API 2023-02-19 12:44:44 +01:00
Kouril42
c6222386a0 add idSite and idBuilding to get_floor 2023-02-19 12:34:40 +01:00
Kouril42
e3f16127af Add idBuilding & idSite to find_place_by_name + create get_?_name for building, site & floor 2023-02-19 12:23:28 +01:00
Kouril42
a57adb9883 find_place_by_name returns a list of places with name NAME if many occurence of NAME are found 2023-02-19 11:55:13 +01:00
Kouril42
9f185ce8a2 Merge branch 'main' of gitlab.aliens-lyon.fr:encartes/backend 2023-02-19 11:48:38 +01:00
Kouril42
6ae30a1cac Modify API.md according to the two previous changes in API (get_all_floors & PreconditionFailed 2023-02-19 11:41:34 +01:00
Kouril42
ada539e79a Resolve CORS Error 2023-02-19 11:20:39 +01:00
a612940bfc
Mise à jour du lock. 2023-02-17 20:35:35 +01:00
Kouril42
7179f8f752 Missed a s ^^ 2023-02-17 17:25:38 +01:00
Kouril42
5d66658842 Add get_all_floors 2023-02-17 17:21:44 +01:00
Kouril42
8f67569b41 Add Teapot and modify Precondition Error 2023-02-17 16:46:46 +01:00
Kouril42
fe06a2a27a Change ValueError (500) to preconditionFailed (412) 2023-02-16 18:33:47 +01:00
8fa5aae1e7
Prise en compte des modifications de BDD dans le code 2023-02-16 16:59:15 +01:00
Kouril42
f8ac8df38b Add introduction to API Documentation 2023-02-14 13:46:16 +01:00
Kouril42
7e0afd10ea Add API Documentation 2023-02-14 13:07:28 +01:00
Kouril42
aeff7fef0c Gestion des erreurs + renommage en api/map/ au lieu de map/api/ 2023-02-14 11:56:05 +01:00
Kouril42
7048a47f16 typo + remove namePlace of Edition as it is useless with the connection to Entity\Place 2023-02-14 02:11:56 +01:00
Kouril42
5546eeb25e Ajout de name à Floor, Building et Site 2023-02-14 01:51:33 +01:00
Kouril42
5e75888ab7 Debug de l'API 2023-02-14 01:46:32 +01:00
Kouril42
32333be41e Merge branch 'main' of gitlab.aliens-lyon.fr:encartes/backend 2023-02-11 20:14:27 +01:00
Kouril42
41cc7a3b9c Rename createEdition 2023-02-11 20:13:21 +01:00
23acce12ef
Ajout des scripts pour mettre les données dans la BDD, correction des attributs Doctrine (certains, pas tous) 2023-02-06 17:54:20 +01:00
29cda25a69
Ajout de la migration symfony avec le changement de BDD 2023-02-04 16:16:09 +01:00
f5e352bd0b
Merge remote-tracking branch 'origin/main' 2023-02-04 15:52:46 +01:00
Kouril42
626a3de5e4 Add Editions 2023-02-02 18:54:28 +01:00
Kouril42
0cb138d7d6 Add FloorAltitude & maj API > basefunction except edit are fine, representation take only cylinder and polySurface 2023-02-02 18:14:25 +01:00
Kouril42
250e186017 Merging Corridor and Room in Place 2023-02-02 17:09:16 +01:00
Kouril42
ce2c643cc6 Sauvegarde avant le carnage 2023-02-01 16:47:28 +01:00
2f5d10b723
Merge remote-tracking branch 'origin/main' 2023-02-01 12:05:47 +01:00
c1d6a21077
Ajout de quelques scripts de debug pour pouvoir ajouter des données en mosse 2023-02-01 12:05:19 +01:00
Kouril42
9b5b36c5eb Merge 2023-01-31 22:43:31 +01:00