Dan Ribbens
ed01ee1e2d
feat: duplicate doc moved from frontend to backend concern ( #5342 )
...
BREAKING CHANGE: collection.admin.hooks.beforeDuplicate removed and instead should be handled using field beforeDuplicate hooks which take the full field hook arguments.
* feat: duplicate doc moved from frontend to backend concern
* feat: default beforeDuplicate hook functions on unique fields
* docs: beforeDuplicate field hook
* test: duplicate doc local api
* chore: fix build errors
* chore: add access.create call to duplicate operation
* chore: perfectionist reorder imports
2024-03-19 11:25:19 -04:00
Elliot DeNolf
67f7c002c9
Merge pull request #5359 from payloadcms/chore/test-dir-to-workspace
...
chore: add test dir to workspace
2024-03-19 08:53:37 -04:00
Elliot DeNolf
f361d153d1
chore: suppress memory db log message if in CI
2024-03-19 02:13:09 -04:00
Elliot DeNolf
7857c80c79
chore: move getFileByPath to payload/uploads
2024-03-19 01:46:28 -04:00
Elliot DeNolf
99adfd2bba
chore: export mapAsync, fix some packages/next refs
2024-03-19 01:34:12 -04:00
Elliot DeNolf
9a493491f1
chore: properly export getFileByPath
2024-03-19 01:24:05 -04:00
Elliot DeNolf
1ac76d7758
chore: more linting
2024-03-19 01:15:25 -04:00
Elliot DeNolf
c5ecf48d94
chore: add test/ to workspace, update most references
2024-03-19 00:59:56 -04:00
Paul Popus
7d0bd49ae3
fix: live-preview replace goToDoc utility with correct waitForURL
2024-03-18 18:38:07 -03:00
Elliot DeNolf
92471b0beb
chore: fix @payloadcms/ui refs in test dir
2024-03-18 16:55:27 -04:00
Paul Popus
ea713758a1
fix: remove pretest steps on live-preview e2e
2024-03-18 17:52:15 -03:00
Alessio Gravili
26df916421
fix: issues related to Auth test suite
2024-03-18 15:30:55 -04:00
Alessio Gravili
0a8f400a59
chore: optimize test/tsconfig for import suggestions within test suite
2024-03-18 15:21:04 -04:00
Alessio Gravili
cc1cbd1ed7
chore: add back test/tsconfig.json and upgrade @types/node
2024-03-18 14:56:13 -04:00
James
12e54e189a
Merge branch 'alpha' of github.com:payloadcms/payload into alpha
2024-03-18 14:28:04 -04:00
James
5eaea1c7f1
chore: moves live preview test suite into main app folder
2024-03-18 14:27:56 -04:00
Jacob Fletcher
55d9377403
chore(ui): client-side renders all default fields ( #5357 )
2024-03-18 12:51:39 -04:00
James
2cf72aea81
chore: fixes mongodb memory server timeout issues
2024-03-18 12:17:43 -04:00
James
152eea3cb8
chore: removes unused prop
2024-03-18 11:18:26 -04:00
James
605d96b71b
chore: avoids passing fieldTypes in buildComponentMap
2024-03-18 11:03:14 -04:00
Paul Popus
4df49689a9
chore: add csrf and cors config to live preview
2024-03-18 10:29:11 -03:00
Elliot DeNolf
900c5b7661
chore: remove unnecessary tsconfigs
2024-03-16 10:33:42 -04:00
Elliot DeNolf
5cac4c953d
test: fix missing awaits in E2E
2024-03-16 10:26:51 -04:00
Elliot DeNolf
65f2cb9a22
chore: rename configHelpers to match function name
2024-03-16 10:18:34 -04:00
Elliot DeNolf
7ddb68b70d
test: fix some easy eslint errors
2024-03-16 10:15:09 -04:00
Elliot DeNolf
14eb66c87d
test: refactor int tests to use initPayloadInt which reduces boilerplate
2024-03-16 10:11:00 -04:00
Elliot DeNolf
4eba651c3d
test: refine testHooks
2024-03-16 07:00:38 -04:00
Elliot DeNolf
c48719dfdb
test: fix next/link import
2024-03-16 06:46:30 -04:00
Elliot DeNolf
ae6c4b2ddf
test: remove typescript declare from test suite type output
2024-03-16 06:45:32 -04:00
Elliot DeNolf
a2f2a59c21
test: rework jest setup to use setupFilesAfterEnv
2024-03-16 06:40:20 -04:00
Elliot DeNolf
e739c26f2e
chore: rework test hooks to reset tsconfig.json
2024-03-16 06:37:30 -04:00
Jacob Fletcher
fb4651bdad
chore(ui): strictly types fields ( #5344 )
2024-03-15 17:41:48 -04:00
Jarrod Flesch
eef06425a3
chore: passing versions e2e ( #5343 )
2024-03-15 17:09:32 -04:00
Elliot DeNolf
04a3223ff5
test: fix seed helper, was causing errors in versions suite
2024-03-15 16:55:54 -04:00
Elliot DeNolf
9226be058c
test: fix useField imports
2024-03-15 16:02:27 -04:00
PatrikKozak
2dc425b083
test: updates text field config imports to relative imports
2024-03-15 15:54:54 -04:00
James
c5f915651c
Merge branch 'alpha' of github.com:payloadcms/payload into alpha
2024-03-15 15:30:56 -04:00
James
e2d7fec793
chore: merge
2024-03-15 15:30:29 -04:00
Paul Popus
d3b4f46b25
fix: further fixes for live preview
2024-03-15 16:30:00 -03:00
Paul Popus
d785af1826
fix: core fixes to the live-preview e2e test suite
2024-03-15 15:36:58 -03:00
Patrik
c5f9533d2b
test: passing text field suite ( #5341 )
2024-03-15 14:27:43 -04:00
Alessio Gravili
aaf17aa2b2
chore: e2e tests: get nav-toggler helpers to work on all screen sizes
2024-03-15 13:43:48 -04:00
Elliot DeNolf
978e19c817
test: fix custom-graphql beforeAll
2024-03-15 12:19:00 -04:00
Alessio Gravili
6789e61488
chore: run lint & prettier on everything
2024-03-14 23:53:47 -04:00
Alessio Gravili
eb5899c94b
chore: upgrade all eslint packages, fix incorrect override for test/eslintrc
2024-03-14 22:40:08 -04:00
Alessio Gravili
580520f100
chore: add back relaxed eslint rules for tests
2024-03-14 21:22:30 -04:00
Jacob Fletcher
f85e96acac
fix(ui): executes filterOptions on the server ( #5335 )
2024-03-14 16:53:24 -04:00
Paul Popus
2dc98f682f
fix: issue with community post type
2024-03-14 17:01:33 -03:00
Paul Popus
d4f3309ffd
fix: rowLabel for array field and collapsible field to support client side components
2024-03-14 16:59:33 -03:00
Dan Ribbens
d193c677c7
chore: attach mongoMemoryServer to db and destroy in tests ( #5326 )
...
* chore: attach mongoMemoryServer to db and destroy in tests
* bump mongodb-memory-server to 9.x
---------
Co-authored-by: Paul Popus <paul@nouance.io >
2024-03-14 15:41:20 -04:00