6261 Commits

Author SHA1 Message Date
Pierre Noël
bf807f1ddf use containsi for _q param 2022-08-30 15:12:07 +02:00
Pierre Noël
c0239cd68c use where. 2022-08-30 15:12:06 +02:00
Pierre Noël
9d23799b5d use transformParamsToQuery 2022-08-30 15:12:06 +02:00
Pierre Noël
796350533e use entity manager 2022-08-30 15:12:06 +02:00
Pierre Noël
b4f6c87fd4 avoid using db metadata 2022-08-30 15:12:05 +02:00
Pierre Noël
c84ad063bb fix permission + simplify test 2022-08-30 15:12:05 +02:00
Pierre Noël
35a13433f0 fix some linter errors 2022-08-30 15:12:04 +02:00
Pierre Noël
73f85a7c08 renaming + add permission check on entity 2022-08-30 15:12:04 +02:00
Pierre Noël
aa496ff4a7 handle i18n dimension 2022-08-30 15:12:04 +02:00
Pierre Noël
8dfa1c70d1 add e2e tests 2022-08-30 15:12:03 +02:00
Pierre Noël
7f521c9348 refactor relation findNew route 2022-08-30 15:12:03 +02:00
Bassel Kanso
f6c5e11207 remove un needed files 2022-08-30 15:14:11 +03:00
Julie Plantey
f81f74d733 remove LoadingIndicator 2022-08-30 14:14:03 +02:00
Bassel Kanso
66a8ca3e0c update reducer tests 2022-08-30 15:12:05 +03:00
Simone Taeggi
32c12017fc created an hook for the token regeneration 2022-08-30 12:17:42 +02:00
Simone Taeggi
415afd8ee0 change the lifespan values 2022-08-30 11:21:04 +02:00
dependabot[bot]
c10f88ac79
Bump webpack-bundle-analyzer from 4.5.0 to 4.6.1
Bumps [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer) from 4.5.0 to 4.6.1.
- [Release notes](https://github.com/webpack-contrib/webpack-bundle-analyzer/releases)
- [Changelog](https://github.com/webpack-contrib/webpack-bundle-analyzer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/webpack-bundle-analyzer/compare/v4.5.0...v4.6.1)

---
updated-dependencies:
- dependency-name: webpack-bundle-analyzer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-30 09:11:41 +00:00
Convly
dc084f9102 Add missing await 2022-08-30 10:56:17 +02:00
Jean-Sébastien Herbaux
bd9ddaa84c
Merge pull request #14248 from strapi/api-token-v2/db-auto-sync-and-cleanup
Automatically synchronize and cleanup API tokens' permissions in database
2022-08-30 10:54:46 +02:00
Julie Plantey
f2a20a9ab0 fix loadingMessage in storybook 2022-08-30 09:52:47 +02:00
Simone Taeggi
9abd9be5e2 add default value onRegenerate 2022-08-30 09:45:52 +02:00
Simone Taeggi
7a6632c2dd transform isLoadingConfirmation to state 2022-08-30 09:42:26 +02:00
Gustav Hansen
c010656521 Merge branch 'main' into feature/relations-main-view 2022-08-30 09:40:49 +02:00
Simone Taeggi
2cf2cbfdef Fix the console log and how to handle the API regenerate errors 2022-08-30 09:37:45 +02:00
Bassel Kanso
3aec1978f8 get permissions from backend 2022-08-29 23:06:14 +03:00
Convly
bf5534d725 Test consistency 2022-08-29 18:03:43 +02:00
Convly
dfad26d2a2 Fix test 2022-08-29 18:03:04 +02:00
Simone Taeggi
0085a895c2 Merge branch 'features/api-token-v2' into api-token-v2/regenerate-an-api-token 2022-08-29 17:56:39 +02:00
Pierre Noël
243c714652
Merge pull request #14124 from strapi/fix/populate-with-true
Allow the use of 'true', 't', 'false', 'f', '1', '0' when populating a field in REST API
2022-08-29 17:42:34 +02:00
Convly
e4b9dd5ab8 Simplify the delete request 2022-08-29 17:39:41 +02:00
Convly
a80e83d397 Remove console.log 2022-08-29 17:36:22 +02:00
Convly
f506369ce6 Sync permissions in DB with existing one, automatic cleanup on schema deletion 2022-08-29 17:32:41 +02:00
Julie Plantey
9496693a31
Merge pull request #14195 from WalkingPizza/fix/settings-button-sizes
Make all settings header primary actions small
2022-08-29 16:51:46 +02:00
Convly
e7ca50f6b9 Validate permissions for api-tokens & throw on unknown permissions 2022-08-29 16:33:41 +02:00
Pierre Noël
b17d1001c8 refactor DZ populate for better clarity 2022-08-29 16:15:09 +02:00
Julie Plantey
5a80b2ce6f LoadingMessage component for ReactSelect 2022-08-29 16:02:19 +02:00
Julie Plantey
2208bdee55 undo ReactSelect changes 2022-08-29 15:42:12 +02:00
Julie Plantey
e43004f870 loadingMessage fix 2022-08-29 15:40:45 +02:00
Pierre Noël
6c4039e3f1 remove useless code 2022-08-29 15:22:47 +02:00
Simone Taeggi
82dd45f219 Merge branch 'features/api-token-v2' into api-token-v2/regenerate-an-api-token 2022-08-29 14:25:01 +02:00
Gustav Hansen
f6856af241
Merge pull request #14241 from strapi/chore/bump-ds-1-2-2
Chore: Bump @strapi/design-system to 1.2.2
2022-08-29 13:56:30 +02:00
Gustav Hansen
ecb3643ab5
Merge pull request #14178 from strapi/fix/list-settings-view-tests
CM: Fix test errors in ListSettingsView
2022-08-29 13:56:04 +02:00
Gustav Hansen
c4f77eee2d
Merge pull request #14240 from strapi/dependabot/npm_and_yarn/react-refresh-0.14.0
Bump react-refresh from 0.11.0 to 0.14.0
2022-08-29 12:54:16 +02:00
Ben Irvin
3cd1a9b183
Merge branch 'features/api-token-v2' into api-token-v2/restrict-lifespans 2022-08-29 12:37:53 +02:00
Ben Irvin
0213ee2e1a
Merge pull request #14238 from strapi/api-token-v2/rename-api-token-permission
rename token-permission to api-token-permission
2022-08-29 12:35:21 +02:00
Ben Irvin
b4c8cae41d
Merge pull request #14234 from strapi/api-token-v2/allow-empty-permissions-array
allow empty array of permissions
2022-08-29 12:34:57 +02:00
Gustav Hansen
c2419b5a0d chore: Update snapshot tests 2022-08-29 12:14:20 +02:00
Gustav Hansen
f05ad58f69 Chore: Bump @strapi/design-system to 1.2.2 2022-08-29 12:12:33 +02:00
Simone Taeggi
531e9babf2 fix lint error and the redirection after creation of a token 2022-08-29 11:58:51 +02:00
dependabot[bot]
c376fdcf94
Bump react-refresh from 0.11.0 to 0.14.0
Bumps [react-refresh](https://github.com/facebook/react/tree/HEAD/packages/react) from 0.11.0 to 0.14.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v0.14.0/packages/react)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-29 09:41:46 +00:00