684 Commits

Author SHA1 Message Date
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
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
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
Ben Irvin
7f5b10ee76
Merge branch 'main' into chore/replace-node-14-with-20 2023-06-27 13:45:23 +02:00
Ben Irvin
c8e128d11c Merge branch 'main' into chore/upgrade-jest-to-29.5 2023-06-26 16:31:04 +02:00
Ben Irvin
23e86fd063 fix some tests 2023-06-26 16:26:39 +02:00
Marc-Roig
9ad390e653
test: update lastUsedAt so field is updated only once an hour 2023-06-26 11:40:18 +02:00
Marc-Roig
d3323219c3
lastUsed update resolution to 1 hour 2023-06-26 11:17:51 +02:00
Marc-Roig
d535798aaa
update data transfer lastUsed once a day 2023-06-26 11:17:14 +02:00
Marc-Roig
a8fee831c7
update last used at once a day 2023-06-26 11:11:55 +02:00
Alexandre Bodin
63a0ff708e Fix relative imports 2023-06-26 09:39:58 +02:00
Christian Capeans
90694bdfbe Remove didReceiveAPIRequest event 2023-06-19 11:53:24 +02:00
Bassel
a97d8da47f Merge branch 'main' into fix/sso-lock-out-option 2023-06-06 14:31:41 +03:00
Jamie Howard
ca1ed38fea
Merge pull request #16835 from strapi/feature/set-webhook-events 2023-06-02 11:00:25 +01:00
nathan-pichon
c8995460ac
fix(content-types): remove getter for private attributes
+ Fixes a flaky test (transactions.test.api.js)
2023-05-31 11:45:26 +02:00
Jamie Howard
e87dad4373 chore: linter rule 2023-05-30 16:15:05 +01:00
Jamie Howard
723187ab4c chore: webhook controller yup validation 2023-05-30 11:05:42 +01:00
Jamie Howard
4020a96da6 chore: separate validation between webhook service and controller 2023-05-26 14:27:44 +01:00
Jamie Howard
aac731d7a0 fix: move webhook form validation to webhook-store 2023-05-25 13:07:06 +01:00
Jamie Howard
506c495d91 feature: replace webhook validation with webhook store 2023-05-25 12:34:52 +01:00
Ben Irvin
7b7a7b97e0 clean up error handling again 2023-05-24 09:56:04 +02:00
Ben Irvin
b9303741ba only allow specific errors 2023-05-23 12:47:52 +02:00
Ben Irvin
9959347727 revert formatting 2023-05-23 12:45:05 +02:00
Ben Irvin
4c797f95ca revert formatting 2023-05-23 12:43:12 +02:00
Ben Irvin
9d038e11da revert comment 2023-05-23 12:42:37 +02:00
Ben Irvin
632c0787dc
Merge branch 'fix/sso-lock-out-option' into fix/ss-lock-out-backend 2023-05-23 12:41:28 +02:00
Ben Irvin
8251a9d4e4 get roles from query.load 2023-05-23 11:29:02 +02:00
Ben Irvin
72b5d2f4f0 move all code to ee 2023-05-23 11:20:18 +02:00
Simone Taeggi
f8acf8385b change the property authenticationDisabled to ssoLockedRoles 2023-05-23 09:19:07 +02:00
Ben Irvin
b9c52652c4 throw error with code 2023-05-22 16:51:26 +02:00
Ben Irvin
8b10c20465 move most of the code to strapi/ee 2023-05-22 15:53:03 +02:00
Ben Irvin
894a2766bf add ssoLock to LocalStrategy 2023-05-19 18:02:20 +02:00