322 Commits

Author SHA1 Message Date
Gustav Hansen
fc86e60e00 Merge branch 'main' into feature/rw-stage-rbac 2023-09-25 12:16:34 +02:00
Gustav Hansen
b6e0798993 Merge branch 'main' into feature/rw-stage-rbac-merge-09-12 2023-09-12 13:47:07 +02:00
Alexandre Bodin
96c86c65c5 Merge branch 'main' into chore/ts-strapi 2023-09-11 15:04:30 +02:00
Jim LAURIE
1feb571a91
Add event to sync project data more frequently - admin users count + active admin users count (#17857)
Co-authored-by: Marc-Roig <marc12info@gmail.com>
2023-09-07 00:13:09 +02:00
Alexandre Bodin
92d2d1f5b2 Fixing tests 2023-09-06 12:16:29 +02:00
Alexandre Bodin
f031820696 fix EE imports 2023-09-05 00:18:13 +02:00
Gustav Hansen
b6b5cfc8a4 Merge branch 'main' into feature/rw-stage-rbac 2023-08-30 12:46:54 +02:00
Ben Irvin
259ce5e5f2 remove unused var 2023-08-25 12:47:15 +02:00
Ben Irvin
6a73f62377 allow hidden in permissions manager 2023-08-25 12:38:42 +02:00
Ben Irvin
97576fdaad add tests and fixes 2023-08-25 11:59:37 +02:00
Ben Irvin
fc069e6b0f match sanitize 2023-08-25 09:55:33 +02:00
Ben Irvin
2cd33050fe revert refactoring 2023-08-25 09:54:28 +02:00
Ben Irvin
e8efa10a4c revert traversals 2023-08-25 09:46:50 +02:00
Ben Irvin
39661e4063 fix typo 2023-08-24 14:37:48 +02:00
Ben Irvin
aedf994e20
Merge branch 'main' into fix/sanitization-throw-instead-of-filter 2023-08-24 14:35:58 +02:00
Ben Irvin
406815c8e6 remove accidental line 2023-08-24 12:47:50 +02:00
Marc-Roig
6b87894b50
test: filter internal actions 2023-08-23 17:10:43 +02:00
Marc-Roig
37a9af1953
feat: filter out internal actions instead of doing partial updates 2023-08-23 12:14:58 +02:00
Ben Irvin
f1015c3094 add util for throwing standardized validationerror 2023-08-22 12:19:30 +02:00
Marc Roig
8ed02e8301
Merge branch 'feature/rw-stage-default-sort' into feat/default-sort-by-non-visible-attrs 2023-08-22 10:43:14 +02:00
Ben Irvin
ff32681b9a rename exports 2023-08-22 10:33:23 +02:00
Marc-Roig
7217d58c78
feat: validate permissions connect disonnect format 2023-08-21 16:25:19 +02:00
Ben Irvin
1f58a64e0b move assertions to one function 2023-08-21 13:40:13 +02:00
Ben Irvin
50f1b1e809 remove old code 2023-08-21 12:49:31 +02:00
Ben Irvin
0852b6aa4b
Update packages/core/admin/server/services/permission/permissions-manager/validate.js
Co-authored-by: Christian <christian.capeans.perez@strapi.io>
2023-08-21 12:43:43 +02:00
Marc-Roig
e8105938c7
feat: partially update rbac permissions 2023-08-18 15:35:25 +02:00
Ben Irvin
6ea17eea67 organize imports 2023-08-11 16:21:16 +02:00
Ben Irvin
9aa41eff5e add docs and fix broken require 2023-08-11 16:05:11 +02:00
Ben Irvin
dce86bec5c validate does not sanitize 2023-08-11 13:13:44 +02:00
Fernando Chavez
3b7d23f061 Add creator fields to filters and list view 2023-08-11 11:51:31 +02:00
Ben Irvin
66c69046d0 fix path 2023-08-10 17:18:53 +02:00
Ben Irvin
995473d959 add utils.validate and replace sanitize usage 2023-08-10 15:24:35 +02:00
Marc-Roig
8a27b70a01
fix: parametrized permission action unit tests 2023-08-08 16:40:32 +02:00
Marc-Roig
26d2a72fdb
Merge branch 'feature/rw-stage-rbac-settings-permissions' into poc/permissions-parametrized-actions 2023-08-08 14:10:14 +02:00
Jamie Howard
ba8173b387 feature(feature): Add filtering on admin roles 2023-08-07 13:43:09 +02:00
Marc-Roig
ad8f2af337
feat: permission to domain when adding role permissions 2023-08-02 15:19:22 +02:00
Marc-Roig
488745147a
Merge branch 'feature/rw-stage-rbac' into poc/permissions-parametrized-actions 2023-08-02 15:15:26 +02:00
Gustav Hansen
20937a7464 Chore: Apply lint autofixable rules 2023-07-31 08:18:00 +02:00
Fernando Chávez
a42b53e3c8
Revert "Feat: Add creator fields as filters and to list view" 2023-07-27 11:06:17 +02:00
Fernando Chavez
04d6ea4095 use booleans on populate on sanitize tests 2023-07-26 17:28:28 +02:00
Fernando Chavez
1625aa419c fix error on traverse functions and add tests 2023-07-26 17:27:14 +02:00
Fernando Chavez
7b67b767dd add creator fields to filters and list 2023-07-26 17:27:14 +02:00
Josh
f7babb775e
Merge pull request #14807 from strapi/chore/init-playwright 2023-07-26 15:00:50 +01:00
Alexandre BODIN
3c814ec30c
Revert "Feat: Add creator fields as filter options" 2023-07-26 10:14:05 +02:00
Alexandre Bodin
4a615f2db4 test: add e2e tooling
Remove old cypress related files

Update config and reorg tests

Run test app before running playwright tests

feat: add beginning of authentication test

feat: add app template with database dumping ability

chore: pr amends

Run test app before running playwright tests

feat: add beginning of authentication test

feat: add app template with database dumping ability

chore: pr amends

init deits

fix: e2e test

chore: rename to e2e

chore: commit tar for data

Init playwright

Run test app before running playwright tests

feat: add beginning of authentication test

feat: add app template with database dumping ability

chore: pr amends

chore: remove unneeded workflow

fix: add private: true to the template so `test-apps` aren't published

docs: add docs

chore: add warning about DTS caveats

chore: tweak docs

docs(e2e): add correct route to api example for template

chore: fix package.json tests

chore: update from feature/DEITS

chore: updates from DTS

chore: update data-transfer

Update yarn.lock

fix: remove duplicate type

chore(e2e): set up folder structure

fix(e2e): avoid clearing 'admin_' DB tables through DTS or DB Dump

feat(e2e): DTS scripts and backup files

add route to change rate limit

fix wront appPath for API test in CI

no template by default when creating a test app

Fix typo double equal

fix template path for e2e tests

chore(e2e): fix broken signup spec

feat(e2e): basic logout test spec

Login e2e tests

globalSetup attempt

use withAdmin backup

cleanup

fix playwright config & rate limit test

remove example.spec.js

refactor and merge some login tests

Chore: Cleanup login and signup specs

feat(e2e): sign up password error cases

feat(e2e): add homepage expectation to signup spec

refactor(e2e)

refactor(e2e): signUp

refactor(e2e): use global login util for logout and logins specs

Init playwright

fix: remove duplicate type

chore: uncomment transfer route registering

Update yarn.lock

chore: update data-transfer

chore: updates from DTS

chore: update from feature/DEITS

chore: fix package.json tests

docs(e2e): add correct route to api example for template

chore: tweak docs

chore: add warning about DTS caveats

docs: add docs

fix: add private: true to the template so `test-apps` aren't published

chore: remove unneeded workflow

chore: pr amends

feat: add app template with database dumping ability

feat: add beginning of authentication test

Run test app before running playwright tests

Init playwright

chore: commit tar for data

chore: rename to e2e

fix: e2e test

init deits

chore: pr amends

feat: add app template with database dumping ability

feat: add beginning of authentication test

Run test app before running playwright tests

chore: pr amends

feat: add app template with database dumping ability

feat: add beginning of authentication test

Run test app before running playwright tests

Update config and reorg tests

Remove old cypress related files

chore(e2e): cleanup e2e dir

chore(docs): improve e2e testing documentation

chore(docs): PR feedback

chore: tweak action to run browsers in matrix & build packages

chore: fix tests based on merge

chore: shuffle e2e tests and add first conent-type

fix: tests

Make use of yarn linking for api & e2e tests

Chore: Fix running backend unit tests

Chore: Bring opts.run back

Chore: Update playwright

Chore: Update Playwright setup

fix: workflow

chore: fix path to package.json

chore: build ts projects before tests

chore: update e2e workflow

chore: add no-immutable

Use simpler transfer token to avoid misinterpretation

Remove console.log

Ensure that the custom transfer token exists in the e2e test app's database upon startup

Use the custom transfer token for transferring data to the e2e test app

Fix code analysis warning

Define and export a constant for the custom transfer token

Allow passing a custom access key for the transfer token service

chore: add test-apps to workspace

chore: update lockfile
Co-Authored-By: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-Authored-By: Gustav Hansen <gu@stav.dev>
Co-Authored-By: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
Co-Authored-By: Jean-Sébastien Herbaux <25851739+Convly@users.noreply.github.com>
2023-07-25 14:20:49 +01:00
Marc-Roig
7869953896
poc: add review workflow stage change action 2023-07-25 14:40:22 +02:00
Fernando Chavez
f850c135c2 include creator attributes on queryFields and fix creator attributes config 2023-07-25 14:02:43 +02:00
Fernando Chavez
adf2aac0c4 revert changes 2023-07-25 14:02:43 +02:00
Fernando Chavez
fb20e3623e don't show author fields on edit view if user doesn't have permissions 2023-07-25 14:02:43 +02:00
Fernando Chavez
d0acdba51c don't return non writtable attrs on snaitized outpud because they are already handled 2023-07-25 14:02:43 +02:00