75 Commits

Author SHA1 Message Date
Marc-Roig
4e6731ec58 make s3 bucket private 2023-02-09 15:02:15 +01:00
Nathan Pichon
fa8a108af9
Merge branch 'main' into fix/issue-9308-File_upload_related_fields_returning_null 2023-02-02 16:16:48 +01:00
nathan-pichon
2f1b44db8a
fix(upload): add populate query to findOne method 2023-01-18 17:23:14 +01:00
Bassel
faf4d728cd Merge branch 'main' into chore/transactions 2023-01-13 12:26:20 +02:00
Bassel
12dd68f4a7 Improve transaction API:
- make it possible to have nested transactions
- wrap the knex transaction api and apply changes everywhere it was used
2023-01-13 12:23:30 +02:00
Jamie Howard
07febfa69e Merge remote-tracking branch 'origin/main' into feature/media-library-ctv 2022-12-16 13:57:57 +00:00
Jamie Howard
268efc629f chore(upload): review feedback 2022-12-12 10:05:22 +00:00
ivanThePleasant
2af669c961 Merge branch 'main' into chore/user-level-data 2022-11-23 09:35:16 +02:00
Jamie Howard
a0aa2b0901 Merge remote-tracking branch 'origin/main' into feature/media-library-ctv 2022-11-22 11:05:34 +00:00
Jamie Howard
358e26ed18 chore(upload) 2022-11-22 11:04:45 +00:00
Pierre Noël
9ff4f19660 fix schema support for postgres when using raw queries 2022-11-17 10:08:49 +01:00
Jamie Howard
c8c1678006 feat(upload): configure the view
test: e2e
chore: naming
2022-10-31 17:21:51 +00:00
ivanThePleasant
16c0e79557 Revert to use crypto module on the server code, fix couple of minor code issues 2022-10-25 16:42:47 +03:00
ivanThePleasant
01bb760793 Clean up unnecessary code 2022-09-29 14:15:07 +03:00
ivanThePleasant
5a4362faf7 Refactor changes to use request context 2022-09-29 11:24:11 +03:00
ivanThePleasant
b5c98ae0cd Refactor event calls to follow old format, encapsulate hashing in the sender, refactor the format of event payload to better correspond to the new api 2022-09-02 14:43:51 +03:00
ivanThePleasant
459de9774d Refactor hash function, add uuid to the admin hash, remove debug console logs 2022-08-16 11:58:15 +03:00
ivanThePleasant
3ead6f2487 Move hash function to user services instead of it being a separate service 2022-08-12 10:19:40 +03:00
ivanThePleasant
7e5b38d588 Merge branch 'master' into chore/user-level-data 2022-08-11 18:28:58 +03:00
ivanThePleasant
f8ac76491f Convert all server events to new format, refactor admin events userAdminId, refactor tests 2022-08-11 15:56:39 +03:00
Alexandre Bodin
cf49ddbbfc Prettier and backend fix 2022-08-11 10:20:49 +02:00
Alexandre Bodin
0ae14c06cb 1st fix pass 2022-08-11 10:20:48 +02:00
ivanThePleasant
7291d2e6cf Change user hashing to be a service on admin, introduce adminUserId property to the send function, refactor several events 2022-08-09 12:20:25 +03:00
WalkingPizza
544b1258dd Properly flag that upload has multiple files 2022-08-08 15:26:09 +02:00
WalkingPizza
4e1d735803 Generate a fileInfo array on when necessary 2022-08-08 15:08:26 +02:00
WalkingPizza
073e6cc3be Generate fileInfo for every file when uploading in bulk 2022-08-08 15:00:12 +02:00
Pierre Noël
acb6ceae15 add backend telemetry events in ML 2022-07-13 13:29:12 +02:00
Gustav Hansen
4fcb38d53d Merge branch 'master' into features/ML-folder 2022-07-05 12:53:51 +02:00
Pierre Noël
87056ebd87 allow the query params for GET folder 2022-06-14 09:32:45 +01:00
Pierre Noël
ab2406b93d fix sql concat call 2022-06-13 09:19:18 +01:00
Pierre Noël
1e66f567f8 change folder uid for pathId 2022-06-13 09:16:26 +01:00
Pierre Noël
71f43f0f7a use a transaction for bulk move 2022-05-23 14:31:05 +02:00
Pierre Noël
b7e82614f6 remove pagination on GET /folders 2022-05-20 10:25:58 +02:00
Pierre Noël
eb2ec33426 default populate files 2022-05-19 17:17:06 +02:00
Pierre Noël
6d5ab53f2f add findOne route for folders 2022-05-19 10:52:32 +02:00
Pierre Noël
c3265a74d3 add test move folder inside itself 2022-05-17 11:54:28 +02:00
Pierre Noël
5402209c9f make folderPath and folder fields private 2022-05-17 11:54:27 +02:00
Pierre Noël
922ade1619 files uploaded through the content API go in a specific folder 2022-05-17 11:54:26 +02:00
Pierre Noël
8d5fe3b431 apply feedback 2022-05-13 16:10:18 +02:00
Pierre Noël
34372daf8b add bulk move route 2022-05-06 10:09:01 +02:00
Pierre Noël
c4ce0b56dc add update folder route 2022-05-05 14:50:56 +02:00
Pierre Noël
d724b1a1f6 set correct path for duplicate create error 2022-05-04 16:55:21 +02:00
Pierre Noël
d1c3caf85c add bulk-delete route 2022-04-29 15:56:19 +02:00
Pierre Noël
de2a03268a change tree to folder-structure + fix test 2022-04-25 14:37:59 +02:00
Pierre Noël
52a2a41664 code cleaning 2022-04-25 14:37:59 +02:00
Pierre Noël
ecbf419c3c add tree route 2022-04-25 14:37:58 +02:00
Pierre Noël
041f2f6eb3 apply feedback 2022-04-12 16:32:05 +02:00
Pierre Noël
cfa968c537 sanitize files for the content-api 2022-04-12 16:07:54 +02:00
Pierre Noël
d0bf7310b3 replace path by location + add location to files 2022-04-12 16:07:54 +02:00
Pierre Noël
a1c441e8bf remove path for files + add base for delete folders 2022-04-12 16:07:53 +02:00