345 Commits

Author SHA1 Message Date
Ben Irvin
7a6d9a2b0e
enhancement!: validate input in content API create and update controllers
Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>
2024-05-07 11:22:22 +02:00
Ben Irvin
18019758d6
enhancement!: create sends 201 status code 2024-04-15 14:03:47 +02:00
Josh
bc71a96d76
chore(pack-up): remove from monorepo (v5) (#20092)
* chore(pack-up): remove from repo

* chore: type fixes

* chore: add suggestions to tighten types

Co-authored-by: Ben Irvin <ben.irvin@strapi.io>

---------

Co-authored-by: Ben Irvin <ben.irvin@strapi.io>
2024-04-12 13:39:49 +01:00
Alexandre Bodin
bf35cde68f chore: update koa-body 2024-04-03 22:48:48 +02:00
Alexandre Bodin
55ae34e5dc chore: introduce providers to simplify main class 2024-04-03 14:24:15 +02:00
Alexandre Bodin
eb61511884 chore: use strapi.service instead of strapi.admin.services 2024-04-03 14:24:15 +02:00
Ben Irvin
791bc2c971
fix: validation of upload filename 2024-04-03 09:13:44 +02:00
Josh
660b779c4c Merge branch 'develop' into v5/main 2024-04-02 10:11:20 +01:00
Marc Roig
ae6b92318c
fix: sanitize file name when uploading image (#19913) 2024-03-27 09:47:35 +01:00
Alexandre Bodin
3f6a8109ea chore: introduce query-params service to remove strapi.global dep in utils 2024-03-25 14:03:32 +01:00
Alexandre Bodin
fed8ac1cb7 chore: remove usage of strapi global in traverse 2024-03-25 08:52:10 +01:00
Alexandre Bodin
e68afb0e1e chore: inverse control of contentAPI sanitize & validate 2024-03-21 22:26:41 +01:00
Alexandre Bodin
a9db1e42c6 chore: migrate upload plugin to typescript 2024-03-21 09:02:17 +01:00
Josh
7dc4206d08 Merge branch 'develop' into v5/main 2024-03-15 16:11:49 +00:00
Alexandre Bodin
a95285578b chore: database enhancements 2024-03-13 22:13:40 +01:00
Alexandre Bodin
5ffb3c7100 chore: deprecate entity-service and delegate to document service 2024-03-12 21:02:33 +01:00
Ben Irvin
ab2af1e539
fix(core): use module uid for config namespace instead of dot notation 2024-03-11 12:28:46 +01:00
Alexandre Bodin
8d53207f8e chore: remove template configuration from utils 2024-03-09 13:08:41 +01:00
Alexandre Bodin
4b8513e6df chore: migration upload plugin 2024-03-08 10:59:36 +01:00
Giulio Montagner
836f74517f
fix: add sizeInBytes on resized and optimized images (#19707) 2024-03-07 18:31:55 +01:00
Josh
84b8d2ccd4 Merge branch 'develop' into v5/main 2024-02-28 16:01:39 +00:00
Giulio Montagner
f8af92b375
fix: add sizeInBytes for upload providers (#19593) 2024-02-23 11:37:26 +01:00
Ben Irvin
01dfca22b2
chore: remove deprecated isSupportedImage 2024-01-18 11:50:21 +01:00
Marc-Roig
8aca4eae6a
Merge branch 'main' into v5/main 2023-11-09 12:13:13 +01:00
Alexandre BODIN
ae792fb42c
Release 4.15.1 (#18646)
Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-authored-by: Marc Roig <marc12info@gmail.com>
2023-11-03 08:37:53 +01:00
Thanos
524af8055c
fix(upload): media library image signedUrl cache busting issue (#18541)
* media library image signedUrl cache busting issue references #18443

* date query param typo

* add asset isUrlSigned property, used as asset url cache busting condition

* removed cacheBustUrl function, added inline comment to describe functionality
2023-10-31 15:28:52 +00:00
Alexandre Bodin
0b5590b0eb chore(core/strapi): extend container in strapi class 2023-10-24 17:18:59 +01:00
Ben Irvin
1a56693a91 cleanup 2023-08-17 17:24:11 +02:00
Ben Irvin
dd080bf280 fix missing sanitize 2023-08-11 17:08:03 +02:00
Ben Irvin
c1f0f87949 fix typo 2023-08-11 17:04:11 +02:00
Ben Irvin
dce86bec5c validate does not sanitize 2023-08-11 13:13:44 +02:00
Ben Irvin
995473d959 add utils.validate and replace sanitize usage 2023-08-10 15:24:35 +02:00
Marc-Roig
007c289877
fix: typo 2023-07-18 16:48:50 +02:00
Marc-Roig
dc09aa2f8f
fix: move cron utils to upload 2023-07-18 16:22:20 +02:00
Jamie Howard
1a8b6e78d8 feature(ee): WIP weekly cron job 2023-07-13 15:03:23 +01:00
Jamie Howard
c53b7a7ae4 fix: simplify emitEvent logic 2023-06-01 15:20:13 +01:00
Jamie Howard
9ecb8fe34c test: fix tests for addAllowedEvent 2023-05-31 14:28:32 +01:00
Jamie Howard
d77e42b859 refactor(webhooks): populate allowed events from relevant modules 2023-05-30 16:13:10 +01:00
Jamie Howard
b919da9c26 Merge remote-tracking branch 'origin/main' into feature/set-webhook-events 2023-05-30 10:16:36 +01:00
Marc
4c13de458e
Merge pull request #16518 from strapi/feature/private-s3-url-signing-content-api 2023-05-29 14:57:06 +02:00
Jamie Howard
db767bded1 test(upload): bootstrap 2023-05-25 13:30:24 +01:00
Jamie Howard
14ff035647 feature: replace emitEvent calls with new webhook store 2023-05-25 12:37:38 +01:00
Jamie Howard
933a2e3dff feature(upload): register webhook events 2023-05-24 16:46:59 +01:00
Marc-Roig
087ff3765b
chore: create util to check if folder is the same as another one or a child one 2023-05-22 10:06:37 +02:00
Marc-Roig
4870920918
fix: improve path match on check if folder is movable 2023-05-17 18:08:02 +02:00
Marc-Roig
008d82f8f7
fix: filter folder by eq and startswith 2023-05-17 17:31:38 +02:00
Marc-Roig
06f9367dc3
feat: sign load entities 2023-05-08 15:41:42 +02:00
Marc-Roig
00ec2c98a8
fix: unit tests 2023-05-02 10:51:27 +02:00
Marc-Roig
7b9940acf4
Merge branch 'feature/entity-service-wrapOutput' into feature/private-s3-url-signing-content-api 2023-05-02 10:50:59 +02:00
Marc-Roig
7ea52e2b09
chore: change config variable name 2023-04-27 11:53:49 +02:00