5123 Commits

Author SHA1 Message Date
Ben Irvin
dc90c752c8 remove old path 2022-08-31 10:57:13 +02:00
Ben Irvin
1e5f8e9fee fix test 2022-08-31 10:56:59 +02:00
Convly
b25318b945 Merge branch 'main' into features/api-token-v2 2022-08-31 10:37:47 +02:00
Jean-Sébastien Herbaux
b9538ea7c3
Merge pull request #14247 from strapi/api-token-v2/throw-on-unknown-permission
Validate & throw on unknown permissions for API tokens
2022-08-31 10:34:32 +02:00
Julie Plantey
dade723eb8
Merge pull request #14194 from WalkingPizza/fix/webhook-delete-string
Add missing translation strings for webhook creation form
2022-08-31 09:44:41 +02:00
WalkingPizza
396878e337 Add defaultMessage for headers 2022-08-30 22:41:53 +02:00
WalkingPizza
2209eeca96 Add missing translation strings for webhook creation form 2022-08-30 22:33:54 +02:00
David Fariña
5a7e8e9807 Update upload plugin catalan translation 2022-08-30 16:49:56 +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
Convly
bf5534d725 Test consistency 2022-08-29 18:03:43 +02:00
Convly
dfad26d2a2 Fix test 2022-08-29 18:03:04 +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
Pierre Noël
6c4039e3f1 remove useless code 2022-08-29 15:22:47 +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
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
Gustav Hansen
681e9dfce6
Merge pull request #14209 from strapi/dependabot/npm_and_yarn/storybook/addon-essentials-6.5.10
Bump @storybook/addon-essentials from 6.5.9 to 6.5.10
2022-08-29 11:41:38 +02:00
Simone
4f7db2ef72
Merge pull request #14180 from strapi/api-token-v2/settings-access-api-token
RBAC on API tokens settings access
2022-08-29 11:30:26 +02:00
Simone
3f3ec98101
Merge pull request #14108 from strapi/api-token-v2/last-activity-of-an-api-token
Add last activity column in the API tokens list
2022-08-29 11:29:18 +02:00
Simone
8e73c40e86
Merge pull request #14174 from strapi/api-token-v2/notification-text-save-button-triggered
Change notification message when we successfully save a created or edited token
2022-08-29 11:28:51 +02:00
Ben Irvin
2dea049a8c fix test 2022-08-29 10:50:46 +02:00
Ben Irvin
7ed24a9edf
Merge pull request #14192 from strapi/api-token-v2/regenerate-tokens-api
Api Token v2/add regenerate controller tests
2022-08-29 10:38:42 +02:00
Kevin Antonio Rateni Iatauro
df30b7a6c1
Merge branch 'main' into fix/settings-button-sizes 2022-08-29 09:51:12 +02:00
WalkingPizza
a25d813b6c Update snapshots 2022-08-29 09:50:46 +02:00
Ben Irvin
9aed7d9540 rename token-permission to api-token-permission 2022-08-29 09:17:31 +02:00
Simone Taeggi
d95151a556 fix Expiration date when unlimited lifespan and the initial value of the Token duration in creation 2022-08-28 17:10:18 +02:00
Pierre Noël
3327196cce remove populate false only for the rest api, not in db layer 2022-08-26 21:01:50 +02:00
Pierre Noël
69945fd9bb handle populate: false 2022-08-26 21:01:50 +02:00
Pierre Noël
0ab458fe0d Allow the use of true, t, false, f, 1, 0 in addition to * when populating a field 2022-08-26 21:01:50 +02:00
DMehaffy
e2568a0611
Merge branch 'main' into fix/add-relational-pks 2022-08-26 09:15:55 -07:00
Simone Taeggi
bfa840a610 Merge branch 'features/api-token-v2' into api-token-v2/notification-text-save-button-triggered 2022-08-26 17:32:33 +02:00
Simone
8625c98089
Merge pull request #14231 from strapi/api-token-v2/integrate-BE-on-save-token
[FE] Integrate the BE to Save a Token in Creation and Update
2022-08-26 17:30:48 +02:00
Simone Taeggi
0a63f1b69c update snapshots 2022-08-26 16:27:24 +02:00
Ben Irvin
697662421f allow empty array of permissions 2022-08-26 16:11:08 +02:00
Simone Taeggi
0987baaf4b add type selection 2022-08-26 15:48:04 +02:00
Simone Taeggi
73a9f3c40c first attempt to fix the save action in both creation and updating 2022-08-26 15:39:09 +02:00