1249 Commits

Author SHA1 Message Date
Alexandre Bodin
9b5519778f v4.10.0 2023-04-26 14:32:28 +02:00
Nathan Pichon
a51313304d
Merge pull request #15899 from strapi/feature/review-workflow
New Feature: Review Workflows
2023-04-24 20:53:14 +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
19ce046512 Apply overrides for specified versions 2023-04-24 15:25:17 +02:00
Mark Kaylor
0798cf75f3 Revert plugins config diff 2023-04-24 15:25:17 +02:00
Mark Kaylor
179f3eb65d Reduce use of lodash and respect fp immutability 2023-04-24 15:25:17 +02:00
Mark Kaylor
ff971821fb Test overrides and fix upload schema 2023-04-24 15:25:17 +02:00
Mark Kaylor
119ddd4d98 Test the current override system 2023-04-24 15:25:17 +02:00
Marc-Roig
2154952a3b chore: activate RW in getstarted category and address schemas 2023-04-24 11:58:56 +02:00
Nathan Pichon
98797cb4f5
Merge branch 'main' into feat/allow-proxy-requests-for-license-server 2023-04-19 17:48:21 +02:00
Convly
95d581b31b Merge branch 'main' into feature/review-workflow 2023-04-19 15:02:34 +02:00
Convly
91e0be2708 v4.9.2 2023-04-19 14:54:40 +02:00
nathan-pichon
41c682d09c
chore(example): add comment on why use http_proxy env var 2023-04-18 16:59:04 +02:00
nathan-pichon
068078a2a5
chore(example): change server config 2023-04-18 16:59:04 +02:00
nathan-pichon
e696b13c34
chore(config): rename proxy into globalProxy 2023-04-18 16:59:03 +02:00
Marc-Roig
e845fc95a0 Merge branch 'main' into feature/review-workflow 2023-04-14 17:20:14 +02:00
Convly
c8f2f0543b v4.9.1 2023-04-12 16:24:32 +02:00
Jamie Howard
05cee5cbd7 Merge remote-tracking branch 'origin/main' into feature/review-workflow 2023-04-11 14:15:43 +01:00
Convly
c46ba7d957 Merge branch 'releases/4.9.0' 2023-03-29 14:36:04 +02:00
Convly
ffe3f4621c v4.9.0 2023-03-29 14:33:56 +02:00
Ben Irvin
6444ce74a9 Merge branch 'main' into enh/allow-mysql2 2023-03-24 16:35:12 +01:00
Alexandre BODIN
8363a89ca2
Fix core router not working within plugin context (#14456) 2023-03-23 18:59:25 +01:00
Rémi de Juvigny
ab39f98793
Merge branch 'main' into feature/audit-logs-config 2023-03-23 10:39:10 +01:00
Josh
31b09b3441
Merge pull request #16158 from strapi/fix/single-components-always-rendering 2023-03-22 11:59:55 +00:00
Ben Irvin
41c7792b54 add mysql2 as a db client option 2023-03-22 12:11:15 +01:00
Gustav Hansen
95a8cd84bd Merge branch 'main' into feature/review-workflow 2023-03-21 17:45:49 +01:00
Josh
e19c0f92cb fix: do not populate a single component if it doesn't exist in initialdata 2023-03-21 10:08:54 +00: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
Jamie Howard
64a0f9eb50 Merge remote-tracking branch 'origin/main' into feature/review-workflow 2023-03-20 11:42:58 +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
Gustav Hansen
0a008881ef Merge branch 'main' into feature/review-workflow 2023-03-16 15:49:45 +01:00
Alexandre Bodin
b3cb13cb14 v4.8.1 2023-03-15 22:25:40 +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
Rémi de Juvigny
7c197ba0d1 Merge remote-tracking branch 'origin/main' into feature/audit-logs-config 2023-03-09 18:44:30 +01: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
3234fcc61d
Merge pull request #15900 from strapi/fix/relations-caching-between-locales 2023-03-03 15:42:28 +00:00
Josh
687df3b785 chore: rename relation to capital 2023-03-03 14:22:54 +00:00
Josh
fee48616bc Update examples/getstarted/src/api/relation-locale/content-types/relation-locale/schema.json
Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com>
2023-03-03 14:17:23 +00:00
Josh
f4f2b5ab2e fix: dont merge the state if the ID changes
fix: dont merge the state if the ID changes

fix: pass id to querykey & add cleanup method to useRelation hook

fix: pass defaultParams as part of the cache key

Revert "fix: reset cache for `relation` keys in i18n plugin"

This reverts commit 34b2fd9fabfcb93fb9f416616802e10b79133112.

fix: pass defaultParams as part of the cache key

chore: spread cachekey in search query

fix: move logic to useRelations hook that handles removing from the store.

fix: broken test

refactor: rename method to onUnmount
2023-03-03 14:17:23 +00:00
Josh
05a83874c1
Merge pull request #15972 from strapi/chore/update-DS 2023-03-03 14:09:55 +00:00
nathan-pichon
f121209c9b
chore(example): get previous state on content-type address 2023-03-03 11:17:02 +01:00
Josh
d209390fbe chore: update DS to 1.6.4 2023-03-02 13:17:01 +00:00
Alexandre BODIN
97536d9a3f
Merge pull request #15473 from strapi/dependabot/npm_and_yarn/vscode/sqlite3-5.1.2 2023-03-02 13:36:17 +01: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
dependabot[bot]
c980d94258
chore(deps): bump @vscode/sqlite3 from 5.0.8 to 5.1.2
Bumps [@vscode/sqlite3](https://github.com/microsoft/vscode-node-sqlite3) from 5.0.8 to 5.1.2.
- [Release notes](https://github.com/microsoft/vscode-node-sqlite3/releases)
- [Commits](https://github.com/microsoft/vscode-node-sqlite3/commits)

---
updated-dependencies:
- dependency-name: "@vscode/sqlite3"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-02 10:11:56 +00:00
Alexandre Bodin
0307fb4bf7 v4.7.1 2023-03-02 10:24:10 +01:00
nathan-pichon
a0d89b6884
feat(review-workflows): add migration when activating rw on content-type (wip) 2023-03-01 12:00:47 +01:00
Convly
948dbb3121 v4.7.0 2023-02-27 20:33:14 +01:00