197 Commits

Author SHA1 Message Date
OxSaitama
e1b2bec912 add rules middleware 2023-06-26 10:45:29 +02:00
OxSaitama
8ff4cc2afd add auth Handler 2023-06-21 15:51:09 +02:00
OxSaitama
acbbba023c add controllers for auth 2023-06-21 15:08:00 +02:00
OxSaitama
219ebe5a83 add services & controllers 2023-06-19 18:33:28 +02:00
Vincent Alamelle
831733d090 Fixed unique folder number 2023-05-17 14:21:23 +02:00
Vincent Alamelle
941163822c fix 2023-05-16 15:32:14 +02:00
Vincent Alamelle
8441c06e9b Validation error folder number already taken 2023-05-16 15:03:31 +02:00
Maxime Lalo
090daafe5d 🐛 Fixing hydrate 2023-05-15 16:08:32 +02:00
Vincent Alamelle
2e4ca63d9d Added error log to controller 2023-05-15 15:45:50 +02:00
OxSaitama
b6f1e11f53 add mimetype and size of files 2023-05-15 15:15:08 +02:00
OxSaitama
71b39d6e55 add created http code and notFoundErrors on put and delete 2023-05-15 12:07:08 +02:00
OxSaitama
2cf1067f03 refacto errors and naming 2023-05-15 10:09:51 +02:00
OxSaitama
6aefea2711 refacto file upload 2023-05-11 22:03:53 +02:00
OxSaitama
4f1c064189 fix data encryption 2023-05-10 23:26:02 +02:00
OxSaitama
3bdeb683da fix update document status at file creation 2023-05-10 12:41:48 +02:00
Vincent Alamelle
28e5b8a33f Remove useless console log 2023-05-09 17:48:25 +02:00
Vincent Alamelle
e6654979cd update deed functional 2023-05-09 15:37:27 +02:00
Vincent Alamelle
20a5041fd2 wip 2023-05-09 14:43:06 +02:00
Vincent Alamelle
9a26118839 Added refused_reason to update document + check if file on delete document 2023-05-09 12:22:24 +02:00
Arnaud D. Natali
7a3a0ce8cd
delete folder done (#36) 2023-05-09 11:03:38 +02:00
Vincent Alamelle
52ac22fe21 delete folder done 2023-05-09 11:01:42 +02:00
OxSaitama
d893fe6906 add formdata controller and delete file service 2023-05-08 22:26:35 +02:00
OxSaitama
fe879584f2 add IPFS service 2023-05-05 10:35:38 +02:00
Vincent Alamelle
266501fd79 Feature update document 2023-05-04 17:57:27 +02:00
Vincent Alamelle
855334dbd8 Fixed create Document 2023-05-04 17:48:56 +02:00
Vincent Alamelle
8ca1356912 new dev script 2023-05-04 17:23:33 +02:00
Vincent Alamelle
f26ac432af Fix put customer 2023-05-04 15:34:31 +02:00
Vincent Alamelle
cd654641fb changed forbidUknowValue 2023-05-04 14:38:34 +02:00
Vincent Alamelle
570a789653 WIP 2023-05-04 14:11:55 +02:00
Vincent Alamelle
9fce8c6c1a WIP 2023-05-04 14:10:41 +02:00
OxSaitama
ec98f3ac26 refacto hydratation on post requests 2023-05-04 12:17:03 +02:00
OxSaitama
22d0239306 refacto hydratation for document controller 2023-05-04 10:52:39 +02:00
OxSaitama
a2d68d62c3 fix hydratation and make nested fields optionnal 2023-05-03 17:51:11 +02:00
OxSaitama
eab04fb12e refacto: naming uuid to uid 2023-05-03 13:45:05 +02:00
Vincent Alamelle
a1425acdc3 Add new validators group for all post request and Customer/Folder put request 2023-05-03 12:17:58 +02:00
Vincent Alamelle
2ea09003bd Done 2023-05-02 11:27:26 +02:00
OxSaitama
edfc585d52 add include query parameter to findOneByUid 2023-04-28 12:19:57 +02:00
OxSaitama
c30b9e3f9b feature: add office folders services 2023-04-21 16:46:01 +02:00
Vincent Alamelle
00a88180e2 Fixed processFindManyQueries to json queries 2023-04-20 09:52:26 +02:00
OxSaitama
04420ab5ed add user auth from idNot 2023-04-12 15:13:17 +02:00
Arnaud D. Natali
3dc043e6c4
Feature/services test (#17)
controllers, repositories, services and associated tests for:

Deed types, Deed, Document types, Users and Customers

---------

Co-authored-by: Vincent Alamelle <vincent.alamelle@smart-chain.fr>
Co-authored-by: OxSaitama <arnaud.daubernatali@smart-chain.fr>
2023-04-06 18:43:13 +02:00
Hugo Lextrait
9d6e5044c6 Endpoints and private services for each entities, remains link tables btwn ManyMany entities 2023-03-20 15:31:02 +01:00
Hugo Lextrait
00a2ca9d7d created Services and Controllers for Customers, Offices, Users, Deeds, Folders returning not implemented yet 2023-03-17 18:03:21 +01:00
Hugo Lextrait
961a8b991d created main services and controller for the IUser 2023-03-17 17:30:36 +01:00
Hugo Lextrait
f95978037a created our first service and controller for users > api/users 2023-03-17 16:37:20 +01:00
Vincent Alamelle
fafd81db04 WIP 2023-03-17 10:35:36 +01:00
Vincent Alamelle
efc7ad1efb WIP 2023-03-16 18:03:58 +01:00