249 Commits

Author SHA1 Message Date
OxSaitama
d47b375957 fix folder query controller 2023-07-11 10:42:55 +02:00
OxSaitama
70d0fb6e71 add controllers and services by namespace 2023-07-04 18:09:45 +02:00
OxSaitama
afec5a5cea add more input checks and format 2023-07-04 14:05:25 +02:00
OxSaitama
c2856de59a add office membership control on services 2023-07-03 16:17:20 +02:00
OxSaitama
afedf92526 fix reflect-metadata import 2023-06-30 09:57:30 +02:00
OxSaitama
9a686be8ba delete explicit relations for models 2023-06-29 15:23:50 +02:00
OxSaitama
037976a1e6 refacto roles and rules 2023-06-27 18:06:54 +02:00
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
Maxime Lalo
090daafe5d 🐛 Fixing hydrate 2023-05-15 16:08:32 +02:00
Vincent Alamelle
3403b563d8 hotfix fetch 2023-05-15 16:08:10 +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
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
5a2106f6a5 fix document type import in deeds 2023-05-11 17:00:06 +02:00
OxSaitama
d2d2263bd2 add error catcher for ipfs 2023-05-11 11:12:58 +02:00
OxSaitama
6904d1be02 remove deprecated method uuid() 2023-05-11 08:54:08 +02:00
OxSaitama
4f1c064189 fix data encryption 2023-05-10 23:26:02 +02:00
Vincent Alamelle
0377875915 Fixed getRandomValue 2023-05-10 17:37:21 +02:00
Vincent Alamelle
cf11c386f7 Hotfix delete file 2023-05-10 14:53:56 +02:00
Vincent Alamelle
08f2b0ea02 Hot fix delete file 2023-05-10 14:14:05 +02:00
Vincent Alamelle
399f98ea72 Hot fix delete file 2023-05-10 14:13:17 +02:00
Vincent Alamelle
28e5b8a33f Remove useless console log 2023-05-09 17:48:25 +02:00
Vincent Alamelle
6f90174f5f hotfix delete document 2023-05-09 17:11:47 +02:00
Vincent Alamelle
e6654979cd update deed functional 2023-05-09 15:37:27 +02:00
Vincent Alamelle
385d886fb4 hotfix delete document 2023-05-09 14:54:56 +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
VincentAlamelle
9d12381ba8
Delete folder only when no customers linked (#37)
Delete folder only if no customers linked in office_folder_has_customers
2023-05-09 11:34:33 +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
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
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
1e641cf3c4 feature: add office folders services 2023-04-28 10:52:02 +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
d0050cf615 refacto logs 2023-04-12 17:21:36 +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