663 Commits

Author SHA1 Message Date
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
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
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
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
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
Jamie Howard
ba8173b387 feature(feature): Add filtering on admin roles 2023-08-07 13:43:09 +02:00
Gustav Hansen
1c7e19ea8a
Merge pull request #17462 from strapi/fix/registration-lastname-null
Fix: Registration - Send null for lastname instead of empty string
2023-07-31 09:33:51 +02:00
Gustav Hansen
20937a7464 Chore: Apply lint autofixable rules 2023-07-31 08:18:00 +02:00
Gustav Hansen
cac604c9a8 Fix: Registration - Make lastname field nullable
Co-authored-by:  Fouad Balhawan <fbalhawan@users.noreply.github.com>
2023-07-27 11:19:14 +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
f91f3ac276
Merge pull request from GHSA-24q2-59hm-rh9r
Update both Admin and U&P ratelimit to lower path
2023-07-26 10:19:26 +02:00
Alexandre BODIN
3c814ec30c
Revert "Feat: Add creator fields as filter options" 2023-07-26 10:14:05 +02:00
DMehaffy
2a7f3a6c47
Merge branch 'main' into security/updateRateLimit 2023-07-25 15:48:32 -07: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
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
Marc-Roig
0a20858700 chore: add creator fields in sanitize query 2023-07-25 11:20:59 +02:00
Marc-Roig
723ae05bd3 feat: filter by non visible and writtable fields 2023-07-25 11:20:59 +02:00
DMehaffy
3d4e7422c9
Update packages/core/admin/server/middlewares/rateLimit.js
Co-authored-by: Ben Irvin <ben@innerdvations.com>
2023-07-19 12:16:52 -07:00
derrickmehaffy
9f1600ab5d update path normalize to a cleaner implementation 2023-07-19 01:35:40 -07:00
derrickmehaffy
e8231bbca2 handle cleanup of trailing / 2023-07-19 01:25:04 -07:00
derrickmehaffy
ed364d951a Update both Admin and U&P ratelimit to lower path 2023-07-17 14:55:45 -07:00
Alexandre BODIN
028f543e81
Merge branch 'main' into chore/replace-node-14-with-20 2023-07-01 06:56:07 +02:00
Alexandre BODIN
75275de7f5
Merge pull request from GHSA-v8gg-4mq2-88q4
Fix relations mainField allowing hidden attributes
2023-06-28 17:12:17 +02:00
Alexandre Bodin
4df9a1112f Fix relations mainField allowing hidden attributes 2023-06-28 17:09:43 +02:00
Marc Roig
df4a540b51
Merge pull request #17099 from strapi/fix/update-last-used-at-once-a-day 2023-06-28 14:30:08 +02:00