795 Commits

Author SHA1 Message Date
Alexandre Bodin
23b531cef5 v4.10.1 2023-04-26 15:45:41 +02:00
Alexandre Bodin
9b5519778f v4.10.0 2023-04-26 14:32:28 +02:00
markkaylor
f1c2201b6e
Merge pull request #16265 from strapi/fix/plugin-documentation-bugs
Fix/plugin documentation bugs
2023-04-24 19:50:10 +02:00
Mark Kaylor
02a6ea5cf5 Add customizer function 2023-04-24 15:25:17 +02:00
Mark Kaylor
23acbabc95 Fix plugins generating documentation the user doesn't want 2023-04-24 15:25:17 +02:00
Mark Kaylor
ff9621a843 Fix invalid openapi schema override 2023-04-24 15:25:17 +02:00
Christian
5f092683d9
Merge branch 'main' into patch-1 2023-04-21 10:09:56 +02:00
Josh
2d55462e46 fix: remove instances of request and ban with eslint
chore: remove straggler

chore: fix hook

chore: pr amends

chore: pr amends

chore: use axios for analytics

fix missing once function import

chore(test): use defineProperty

fix: webhooks creation

fix: sso

Revert "chore(test): use defineProperty"

This reverts commit dfdcb82ccef720c4e4993fe4021acc190f38a204.

chore: make sure theres a url before trying to render the image

fix: webhook
2023-04-20 17:30:40 +01:00
Ben Irvin
1d06a15e99
Merge pull request #16420 from strapi/fix/upRegisterBlacklist 2023-04-20 16:47:51 +02:00
Christian
7f397db96a
Merge branch 'main' into patch-1 2023-04-20 09:58:31 +02:00
Christian
ee9237c343
Merge pull request #16397 from strapi/track-auth-method 2023-04-20 09:53:09 +02:00
Christian
98c0a2a5d1
Update packages/plugins/users-permissions/server/strategies/users-permissions.js
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-04-19 16:46:29 +02:00
Christian Capeans
0acb4ab3aa Change event name 2023-04-19 16:44:00 +02:00
Convly
91e0be2708 v4.9.2 2023-04-19 14:54:40 +02:00
Christian
a69eb1cde1
Merge branch 'main' into patch-1 2023-04-19 14:21:22 +02:00
Christian
d4249c4f4b
Merge branch 'main' into track-auth-method 2023-04-19 12:54:35 +02:00
Christian Capeans
0740be570f Add didCompleteRequest event 2023-04-19 12:54:10 +02:00
Josh
ef4f3b64fe chore: add docs and tests
chore: remove compo

chore: add docs and tests for useFilter

chore: add tests & docs for useCollator
2023-04-18 11:14:24 +01:00
Josh
7f1b43adf9 fix: swap out match sorter from roles tables and helper-plugin 2023-04-18 11:14:24 +01:00
derrickmehaffy
773db0dcaf add role as a failsafe 2023-04-17 08:08:19 -07:00
derrickmehaffy
52f5b7a16e update blacklist with all system fields 2023-04-17 07:30:28 -07:00
focus-at
8e3d6c1e9b Update providers-registry.js
FIX for 
```
body {
  error: {
    error_code: 3,
    error_msg: 'Unknown method passed',
    request_params: [ [Object], [Object], [Object], [Object] ]
  }
}
```
2023-04-12 19:59:49 +03:00
Convly
21d4ecb45a Merge branch 'releases/4.9.1' 2023-04-12 16:29:08 +02:00
Convly
c8f2f0543b v4.9.1 2023-04-12 16:24:32 +02:00
chentsulin
df4398db09 chore: release peer version constraint using ^ 2023-04-12 13:10:44 +08:00
Mark Kaylor
eb2cf3a987 Fix components not found 2023-04-11 10:21:05 +02:00
Alexandre BODIN
de4a0e3e31
Use yarn run -T to run command installed at the root of the monorepo (#16278) 2023-04-05 14:33:37 +02:00
Alexandre BODIN
feced1d72b
Move api tests to root of repo with same structure (#16242) 2023-04-05 10:32:20 +02:00
Convly
ffe3f4621c v4.9.0 2023-03-29 14:33:56 +02:00
Alexandre BODIN
aaeb988a0b
Expand nx usage and migrate logger to ts (#15957) 2023-03-22 11:21:33 +01:00
dependabot[bot]
35c625f155
build(deps): bump react-intl from 6.2.8 to 6.3.2
Bumps [react-intl](https://github.com/formatjs/formatjs) from 6.2.8 to 6.3.2.
- [Release notes](https://github.com/formatjs/formatjs/releases)
- [Commits](https://github.com/formatjs/formatjs/compare/react-intl@6.2.8...react-intl@6.3.2)

---
updated-dependencies:
- dependency-name: react-intl
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 10:07:10 +00:00
Gustav Hansen
a9fb1f3130 Reduce and optimize lodash imports 2023-03-17 14:25:53 +01:00
Josh
fd978f3f79 chore: update snapshots & tests for DS 1.6.6
chore: update tests
2023-03-16 19:44:54 +00:00
Josh
2f6ced23e3 chore: update packages 2023-03-16 19:24:44 +00:00
Convly
cc73bed97b v4.8.2 2023-03-16 17:49:52 +01:00
Alexandre Bodin
2ec4bf2bd1 Merge branch 'releases/4.8.1' 2023-03-15 22:42:50 +01:00
Alexandre Bodin
b3cb13cb14 v4.8.1 2023-03-15 22:25:40 +01:00
Convly
1b6a6926e6 Merge branch 'releases/4.8.0' into main 2023-03-15 16:35:26 +01:00
Convly
e239e408f9 v4.8.0 2023-03-15 16:29:42 +01:00
Ben Irvin
801e3db415 add traverse query
fix single type

fix query

sanitize pagination count params

add comments

Cleanup the params/filters sanitize helpers

sanitize association resolver

Sanitize sort

fix graphql single type

fix graphql types

fix addFindQuery

Sanitize fields

Update sanitize sort to handle all the different formats

Update fields sanitize to handle regular strings & wildcard

Fix non scalar recursion

Add a traverse factory

Add visitor to remove dz & morph relations

Replace the old traverse utils (sort, filters) by one created using the traverse factory

add sanitize populate

await args

fix async and duplicate sanitization

sanitize u&p params

Add traverse fields

Fix traverse & sanitize fields

add traverse fields to nested populate

sanitize admin api filter queries

Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>

sanitize sort params in admin API

todo

make token fields unsearchable with _q

sanitize delete mutation

Update packages/core/admin/server/services/permission/permissions-manager/sanitize.js

Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>

fix errors on queries without ctx

rename findParams to sanitizedParams

Sanitize queries everywhere in the content manager admin controllers

sanitize single type update and delete

Ignore non attribute keys in the sanitize sort

Fix the sanitize query sort for nested string sort

Fix permission check for the admin

typo

sanitize upload

sanitize admin media library

sanitize admin users

Add missing await

Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>

set U&P users fields to searchable:false

add token support to createContentAPIRequest

add searchable:false to getstarted U&P schema

remove comment

sanitize component resolver

remove await

add searchable false to the file's folder path

Fix admin query when the permission query is set to null

add basic tests for filtering private params

add tests for fields

add pagination tests

Fix admin user fields not being sanitized

Fix convert query params for the morph fragment on undefined value

Traverse dynamic zone on nested populate

Handle nested sort, filters & fields in populate queries + handle populate fragment for morphTo relations

Sanitize 'on' subpopulate

Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>

don't throw error on invalid attributes

check models for snake case column name instead of assuming they are operators

Add first batch of api tests for params sanitize

Fix sort traversal: handle object arrays

Put back removePassword for fields,sort,filters

Add schemas and fixtures for sanitize api tests

Add tests for relations (sanitize api tests)

Move constant to domain scope

Rename sanitize params to sanitize query

Fix typo

Cleanup fixtures file

Fix variable name conflict

Update packages/core/admin/server/services/permission/permissions-manager/sanitize.js

Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>

Update comment for array filters

Rename sanitize test

Test implicit & explicit array operator for filter

Remove unused code
2023-03-15 14:59:19 +01:00
smoothdvd
37a855e45e
Update zh-Hans translation to match latest en.json 2023-03-15 11:30:43 +08:00
Simone Taeggi
eae7fc9b1d chore: update DS to 1.6.5 and fix a unit test 2023-03-08 10:36:08 +01:00
Josh
d209390fbe chore: update DS to 1.6.4 2023-03-02 13:17:01 +00:00
Josh
63c0993e93
Merge pull request #15968 from strapi/chore/add-all-undeclared-packages 2023-03-02 10:54:55 +00:00
Sora Morimoto
930a3afec7 chore: Add all undeclared packages to package.json
This reverts commit 6c283862daa0c8846a544c183e72623b65907cc3.

chore: Add all undeclared packages to package.json

Add all undeclared packages to package.json (Round 2)

Signed-off-by: Sora Morimoto <sora@morimoto.io>

chore: move core deps to peer

codemirror5

Signed-off-by: Sora Morimoto <sora@morimoto.io>

Add all undeclared packages to `package.json` (Round 2)

Signed-off-by: Sora Morimoto <sora@morimoto.io>

_

Signed-off-by: Sora Morimoto <sora@morimoto.io>

Add all undeclared "safe" packages to `package.json`

Signed-off-by: Sora Morimoto <sora@morimoto.io>

Add all undeclared "unsafe" packages to `package.json`

Signed-off-by: Sora Morimoto <sora@morimoto.io>

helper-plugin: remove `fs-extra`

Signed-off-by: Sora Morimoto <sora@morimoto.io>

https://github.com/strapi/strapi/pull/15797

i18n-plugin: move redux from devDependencies to dependencies

Signed-off-by: Sora Morimoto <sora@morimoto.io>

database: sqlite3 was a false-detected dependency

Signed-off-by: Sora Morimoto <sora@morimoto.io>

generators: revert changes

Signed-off-by: Sora Morimoto <sora@morimoto.io>

Regenerate yarn.lock

Signed-off-by: Sora Morimoto <sora@morimoto.io>

chore: update react-intl

chore: fix post rebase

chore: remove axios from packages that dont need it

chore: ensure projects install r rd rrd & s

Revert "chore: ensure projects install r rd rrd & s"

This reverts commit 2e87a1d0fcaf21e187ce558f4690d41ff854d58d.

Revert "Revert "chore: ensure projects install r rd rrd & s""

This reverts commit b53a3d49987b00abb393966738d2a34f59c9dc71.

chore: Add all undeclared packages to package.json
2023-03-02 10:12:14 +00:00
Josh
09ff54bc6e chore: convert Stack components to Flex
chore: update snapshots

chore: convert rest of files to use Flex

chore: fix duplicate import

chore: update snapshots

chore: add eslint rule for stack

refactor: catch other Stack component uses

chore: remove horizontal prop
2023-03-02 10:02:40 +00:00
Alexandre Bodin
0307fb4bf7 v4.7.1 2023-03-02 10:24:10 +01:00
Convly
948dbb3121 v4.7.0 2023-02-27 20:33:14 +01:00
Convly
bae505f44c v4.6.2 2023-02-22 19:06:25 +01:00
Josh
6b17f8ad12 chore: convert all files to single imports of the DS & icons
chore: remove eslint rule

chore: update snapshots

chore: update snapshots

chore: add eslint rule to stop direct imports apart from v2
2023-02-15 17:23:59 +00:00