215 Commits

Author SHA1 Message Date
OxSaitama
9cd108afd4 fix refuse document routing 2023-10-19 16:17:25 +02:00
OxSaitama
af6783a633 refacto email builder 2023-10-19 15:32:06 +02:00
OxSaitama
1c175ac816 check on already used email 2023-10-19 14:43:44 +02:00
OxSaitama
40734f70fd refacto user handling 2023-10-19 11:44:58 +02:00
Loïs Mansot
0728559e0e
update anchors/download route to get a complete zip archive
The zip will contain:
- the anchoring proof PDF ;
- plus all accessible files stored on IPFS.

If the key is invalid, a broken file will be added to the archive. If the key is missing, the file will not be added to the archive, because there is no way it could be deciphered. For now, all network errors from IPFS are silently ignored, resulting in an archive containing only the anchoring proof.
2023-10-18 16:47:12 +02:00
OxSaitama
988a10efde fix package version 2023-10-13 11:26:29 +02:00
OxSaitama
819b554b64 add validation errors 2023-10-12 19:45:26 +02:00
OxSaitama
13139cf167 add error on same email and phone number 2023-10-11 19:17:56 +02:00
OxSaitama
8f7367eb63 fix redirection on login error 2023-10-11 13:00:34 +02:00
OxSaitama
d3e7c9e802 refacto refresh token 2023-10-11 12:28:47 +02:00
OxSaitama
7080840e60 add check on document status 2023-10-10 00:16:56 +02:00
OxSaitama
23ba2672dd refacto GET officeFolder for admin & super-admin 2023-10-09 12:02:28 +02:00
OxSaitama
94e1eb24d4 Merge branch 'dev' of github.com:smart-chain-fr/leCoffre into dev 2023-10-09 11:46:23 +02:00
Maxime Lalo
4923284e8b 🐛 Reintegrating condition on office roles 2023-10-09 11:36:15 +02:00
Maxime Lalo
542c568e10 🐛 Cannot anchor a folder if not all documents are validated 2023-10-09 11:22:23 +02:00
OxSaitama
a3c801da6b Merge branch 'dev' of github.com:smart-chain-fr/leCoffre into dev 2023-10-09 11:20:06 +02:00
OxSaitama
4b790599c2 add middleware for requests on customers 2023-10-09 11:19:51 +02:00
Maxime Lalo
294fc3fd9f Super admin can manage office roles 2023-10-09 11:08:27 +02:00
Maxime Lalo
4860a95209 Delete files on refusing documents 2023-10-09 10:05:25 +02:00
OxSaitama
d762dfcf66 fix sending notifications 2023-10-06 14:47:29 +02:00
OxSaitama
bcf2e64b19 add mimetype check on file middleware 2023-10-06 13:32:43 +02:00
OxSaitama
f36bf69624 fix accepted files for customer 2023-10-06 11:06:18 +02:00
OxSaitama
1f339299bb refacto votes and notifications 2023-10-04 19:29:20 +02:00
Maxime Lalo
46cc08eeca 🐛 Removing any type 2023-10-04 17:47:05 +02:00
Maxime Lalo
2e47e7a820 Cannot ask documents on an anchored folder 2023-10-04 17:45:03 +02:00
Maxime Lalo
95bcb05340 Refacto archive/restore 2023-10-04 17:23:32 +02:00
Maxime Lalo
ef4cb3f5fa Creating get of anchors 2023-10-03 11:21:25 +02:00
OxSaitama
65b6311cf0 refacto folders filter 2023-10-02 22:45:16 +02:00
Arnaud D. Natali
9725eed815
send anchoring notification (#107) 2023-10-02 11:25:06 +02:00
Maxime Lalo
7675c98da6 Merge branch 'refacto/live-vote-controller' into dev 2023-10-02 10:01:42 +02:00
OxSaitama
844eac4bcd refacto user connexion 2023-10-01 15:03:15 +02:00
Loïs Mansot
6698b05ad3
fix eager toString() 2023-09-29 19:13:37 +02:00
Loïs Mansot
f99612a85d
send anchoring notification 2023-09-29 18:47:43 +02:00
Arnaud D. Natali
005210e201
Only show rules by namespace (#102) 2023-09-29 16:59:20 +02:00
Maxime Lalo
81fc7644a0 🐛 Code optimization 2023-09-29 16:53:35 +02:00
Maxime Lalo
e3ae788b01 Security in put 2023-09-29 16:52:50 +02:00
Arnaud D. Natali
9031aaf73c
Merge branch 'feature/anchoring-state' into dev (#104)
Two tasks to keep track of the anchoring state:

- store newly posted anchor and link them to a folder ;
- update an anchor after requesting its status on secure.
2023-09-29 16:46:58 +02:00
Loïs Mansot
279ea66a50
update anchor when requesting secure status 2023-09-29 15:46:43 +02:00
Loïs Mansot
ab4fac8e01
link an anchor to folder when requesting a new job 2023-09-29 15:36:31 +02:00
Maxime Lalo
3bb9cf1bdf 🐛 Removing where in rules controller admin 2023-09-29 14:34:05 +02:00
Maxime Lalo
6ef42914e4 Only show rules by namespace 2023-09-29 14:12:57 +02:00
OxSaitama
1de54fb1ce fix update notification 2023-09-29 11:54:25 +02:00
OxSaitama
8334d0c67f refacto notifications with userID protection 2023-09-29 11:38:48 +02:00
OxSaitama
f2a43b72cd update customer resources 2023-09-29 10:48:19 +02:00
OxSaitama
77578e8d31 refacto customers entry points 2023-09-29 00:32:19 +02:00
OxSaitama
88f8fede83 fix data copy 2023-09-28 20:41:29 +02:00
OxSaitama
e2707cb21b refacto document middleware 2023-09-28 16:20:43 +02:00
Maxime Lalo
2fc307f3c3 Delete appointment if no votes in appointment 2023-09-27 16:34:23 +02:00
Maxime Lalo
7a8b6b4226 Refacto live vote controller 2023-09-27 16:17:31 +02:00
Loïs Mansot
532543fe5e
set anchoring proof download response content type 2023-09-26 15:37:32 +02:00