247 Commits

Author SHA1 Message Date
nathan-pichon
548ad3e931
fix(file-utils): rewrite requires 2023-02-08 16:02:42 +01:00
nathan-pichon
57009a0f30
fix(file-utils): rewrite requires 2023-02-08 15:57:14 +01:00
nathan-pichon
5316123801
fix(upload-local-provider): use package require instead of absolute path 2023-02-08 15:33:49 +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
Marc
b697228833
Merge pull request #15669 from strapi/fix/support-avif-format 2023-02-02 14:35:19 +01:00
Marc-Roig
3adab4b39c remove heif from formats to process and optimize 2023-02-01 19:08:39 +01:00
Marc-Roig
e1e8f40619 add avif & heif to to formats to process and optimize list 2023-02-01 17:21:02 +01:00
Marc-Roig
e0e2d28f02 Merge branch 'main' into feature/provider-size-limit 2023-02-01 15:56:39 +01:00
markkaylor
85916f4bbf
Merge branch 'main' into feature/audit-logs 2023-01-25 15:17:33 +01:00
Pierre Noël
c909df5d45
Merge pull request #15535 from strapi/fix/sequential-requests-deadlock
Prevent deadlocks on components and locale updates
2023-01-25 14:28:00 +01:00
Pierre Noël
c02061d142 use sequential update for locales and components 2023-01-23 17:32:04 +01:00
nathan-pichon
2f1b44db8a
fix(upload): add populate query to findOne method 2023-01-18 17:23:14 +01:00
Rémi de Juvigny
d725279095 Add media folder events 2023-01-18 17:06:17 +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
Pierre Noël
312a5551ad
Merge pull request #15221 from strapi/fix/faster-ML
Improve ML reactivity when there are many files
2022-12-20 18:05:04 +01:00
Nathan Pichon
76bdf07031
Merge pull request #15151 from strapi/fix/media-upload-diacritics
fix(upload): normalize the string used as basename
2022-12-20 15:45:18 +01:00
Pierre Noël
daf30921f0 add indexes for sortable columns of files 2022-12-20 14:14:26 +01:00
Jamie Howard
07febfa69e Merge remote-tracking branch 'origin/main' into feature/media-library-ctv 2022-12-16 13:57:57 +00:00
nathan-pichon
0cf5d3c654
fix(upload): normalize the string used as basename 2022-12-12 11:45:29 +01:00
Jamie Howard
4f7f672a7a chore(upload): revert test value 2022-12-12 10:17:35 +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
82b2cd4805 fix unit tests 2022-11-17 12:01:09 +01: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
Marc-Roig
ac79c07b59 file name is too big 2022-09-23 14:44:20 +02:00
Marc-Roig
dbd85eef4f change comment 2022-09-20 15:24:51 +02:00
Marc-Roig
60ac7848e1 validate file size before upload 2022-09-20 15:23:45 +02:00
Marc-Roig
18d925a2dd add tests 2022-09-19 16:31:29 +02:00
Marc-Roig
437285e9c5 add size limit parameter in checkFileSize 2022-09-16 11:13:07 +02:00
Marc-Roig
2f0380fb16 local provider transform file size to kb 2022-09-13 17:42:50 +02:00
Marc-Roig
36e237f394 leave verify size function inside local provider 2022-09-13 16:14:34 +02:00
Marc-Roig
32e321fc42 account for empty providerOptions 2022-09-13 11:34:28 +02:00
Marc-Roig
df28f7026e checkFileSize in provider upload 2022-09-13 10:21:30 +02: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
cbfde4a11c Merge branch 'main' into chore/user-level-data 2022-09-02 12:22:12 +03:00
Gustav Hansen
269c9cb988 chore: Resolve jest@26 TODO 2022-08-30 15:44:12 +02:00
ivanThePleasant
a1ea7439ea Merge branch 'main' into chore/user-level-data 2022-08-25 15:21:39 +03:00
Marc
21d06ce7d0
Merge pull request #13996 from strapi/fix/upload-image-without-extension
Fix: upload media image with non standard urls
2022-08-17 09:29:29 +02:00
ivanThePleasant
de26abb7ff Merge branch 'master' into chore/user-level-data 2022-08-16 12:53:49 +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
Pierre Noël
8668ba9aea fix eslint issues 2022-08-11 16:59:02 +02:00