1343 Commits

Author SHA1 Message Date
OxSaitama
2cbdc1db02 refacto query for GET methods 2023-07-11 18:05:29 +02:00
OxSaitama
7022e41fcb refacto error messages 2023-07-11 14:41:23 +02:00
OxSaitama
ae4812c0dc add error messages for middlewares 2023-07-11 14:21:16 +02:00
OxSaitama
ecd9d80d58 refacto rules for seeder and jwt for test purposes 2023-07-11 11:31:42 +02:00
OxSaitama
34e248a247 fix deed middleware officeMembership 2023-07-11 11:08:51 +02:00
OxSaitama
6168683cfe fix deed middleware 2023-07-11 11:05:01 +02:00
OxSaitama
d47b375957 fix folder query controller 2023-07-11 10:42:55 +02:00
OxSaitama
feb3818fae Merge branch 'dev' of github.com:smart-chain-fr/leCoffre into dev 2023-07-10 16:22:32 +02:00
OxSaitama
4dcc53f555 fix folders middleware 2023-07-10 16:22:06 +02:00
Maxime Lalo
21d08317ea 🐛 Fixing package json 2023-07-10 14:59:45 +02:00
VincentAlamelle
ae254bf895
feat: add controllers and services by namespace (#49)
solves those tickets :
-
https://app.ora.pm/p/fb56ed95daa7456b888d266a050b9afa?v=86662&s=29352&t=k&c=05b131d0b3f64d75b1641c443866771d
-
https://app.ora.pm/p/fb56ed95daa7456b888d266a050b9afa?v=86662&s=29352&t=k&c=4df523ba66d64918a261cc773947789e

- add customer jwt and middleware
- order controllers and services by namespace
2023-07-06 15:27:41 +02:00
OxSaitama
7d80f3e136 order services and controllers per namespace 2023-07-06 14:18:41 +02:00
OxSaitama
70d0fb6e71 add controllers and services by namespace 2023-07-04 18:09:45 +02:00
Arnaud D. Natali
eb7f981606
feat: add office membership control on services (#48)
solve this ticket:
https://app.ora.pm/p/fb56ed95daa7456b888d266a050b9afa?v=86662&s=29352&t=k&c=54838982e3184e9da6c457f7e37b5dd5

- add office membership control on deed, deed types, documents, document
types, files, folders, office roles and users
2023-07-04 14:06:40 +02:00
OxSaitama
afec5a5cea add more input checks and format 2023-07-04 14:05:25 +02:00
OxSaitama
4e632e27ed add document types control on office ownership 2023-07-03 18:22:50 +02:00
OxSaitama
c2856de59a add office membership control on services 2023-07-03 16:17:20 +02:00
Arnaud D. Natali
c01fdfdaad
Refacto: prisma types and relations (#47) 2023-06-30 10:05:19 +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
Arnaud D. Natali
ad7338cd97
Feat: add roles and rules (#46) 2023-06-26 11:47:29 +02:00
OxSaitama
e1b2bec912 add rules middleware 2023-06-26 10:45:29 +02:00
Vins
6b64322424 Remove useless migration 2023-06-26 09:48:33 +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
OxSaitama
5207fd3159 update seeder with roles 2023-06-19 18:12:35 +02:00
OxSaitama
aa30e8badd add roles and rules repositories 2023-06-19 17:58:12 +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
68cba7f401 Updating resources 2023-05-16 09:30:20 +02:00
Maxime Lalo
fbf9d30265 Updating resources 2023-05-15 16:10:07 +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
Arnaud D. Natali
01eda1b1d4
add mimetype and size of files (#45)
add mimetype and size for files entities in order to avoid conflicts on
how to read and download those files
2023-05-15 15:15:49 +02:00
OxSaitama
b6f1e11f53 add mimetype and size of files 2023-05-15 15:15:08 +02:00
Arnaud D. Natali
dcb7052a32
refacto errors and naming (#44)
refacto errors: add http errors and status

renaming: entities variables declaration and hydrate arrays method
2023-05-15 14:10:35 +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
Vincent Alamelle
d2b0799714 Seeder update 2023-05-12 10:29:15 +02:00
Maxime Lalo
b44f5f5a64 Merge branch 'staging' into dev 2023-05-11 22:51:16 +02:00
OxSaitama
6aefea2711 refacto file upload 2023-05-11 22:03:53 +02:00
Vincent Alamelle
16f65aee50 Seeder updated 2023-05-11 20:41:58 +02:00
Maxime Lalo
bdd611b814 Merge branch 'staging' into preprod 2023-05-11 19:12:22 +02:00
Vincent Alamelle
a17ef2415b update seeder 2023-05-11 17:46:17 +02:00
Vincent Alamelle
10c747e409 Seeder 2023-05-11 17:19:42 +02:00
Arnaud D. Natali
6e886fe417
add document type import to deeds (#42) 2023-05-11 17:03:37 +02:00