Elliot DeNolf
1d3b500962
chore(release): v3.0.0-alpha.55 [skip ci]
2024-04-05 17:40:07 -04:00
Dan Ribbens
f39f95af6d
feat: custom db naming for postgres and mongodb ( #5697 )
2024-04-05 17:09:08 -04:00
Dan Ribbens
6fec2bbe1c
chore: refactor auth from next into new payload local operation ( #5641 )
2024-04-05 17:08:51 -04:00
Elliot DeNolf
2412134073
chore: importConfig and importWithoutClientFiles ( #5701 )
2024-04-05 16:49:20 -04:00
Dan Ribbens
136545d1fd
feat: move disableDuplicate out of admin and update APIs ( #5620 )
2024-04-05 16:44:41 -04:00
Elliot DeNolf
6624fd0401
ci: single job per branch ( #5702 )
2024-04-05 16:24:53 -04:00
Paul
89e7c305e7
chore: emails e2e suite ( #5698 )
...
fix: move 'email' configuration to server only
2024-04-05 16:50:47 -03:00
Jacob Fletcher
780f26f135
fix(next): incorrect access of select options in versions view ( #5687 )
2024-04-05 15:03:49 -04:00
Jacob Fletcher
77618674a0
fix(next): live preview url ( #5692 )
2024-04-05 15:00:58 -04:00
Alessio Gravili
c9c89a6005
fix(richtext-lexical): do not allow omitting editor prop for sub-richtext fields within lexical defined in the payload config ( #5699 )
2024-04-05 14:42:15 -04:00
Jacob Fletcher
d1276c4299
feat(next): threads payload through live preview url
2024-04-05 14:36:14 -04:00
Jacob Fletcher
69730b6c95
Merge branch 'alpha' into fix/lp-url
2024-04-05 14:25:17 -04:00
Jarrod Flesch
17352c9a56
chore: change pw buttons, field readOnly prop, admin panel thumbnailURL fallback ( #5694 )
2024-04-05 13:51:17 -04:00
Jacob Fletcher
1b6026304f
fix(next): adjusts args sent through live preview url
2024-04-05 13:37:12 -04:00
Jacob Fletcher
91f9973c6c
fix(next): properly types locale in live preview url
2024-04-05 13:37:07 -04:00
Elliot DeNolf
ca2acee38a
chore(release): create-payload-app/v3.0.0-alpha.54 [skip ci]
2024-04-05 11:53:19 -04:00
Patrik
2c25abd143
test(versions): replaces outdated CustomPublishButtonProps type ( #5688 )
2024-04-05 11:11:16 -04:00
PatrikKozak
08a9fb8cd7
Merge branch 'alpha' of https://github.com/payloadcms/payload into fix/alpha/versions-select-options
2024-04-05 10:38:23 -04:00
PatrikKozak
d8a38b4e35
fix: incorrect access of select options in versions
2024-04-05 10:38:09 -04:00
Paul
e64660f2d8
fix(db-postgres): querying by localised relations postgres ( #5686 )
2024-04-05 10:37:58 -04:00
Elliot DeNolf
1a11466e69
chore(release): v3.0.0-alpha.54 [skip ci]
2024-04-04 21:05:18 -04:00
Elliot DeNolf
78ab2fbe09
chore: adjust translations and next publishConfig
2024-04-04 21:03:36 -04:00
Elliot DeNolf
81b33cee5c
chore(release): v3.0.0-alpha.53 [skip ci]
2024-04-04 20:32:31 -04:00
James Mikrut
020dcaad75
chore: exports sql from pg adapter ( #5678 )
2024-04-04 20:31:14 -04:00
James
9bc56bcfc7
chore: exports sql from pg adapter
2024-04-04 20:30:38 -04:00
Elliot DeNolf
8325fadeb3
chore(release): v3.0.0-alpha.52 [skip ci]
2024-04-04 20:15:31 -04:00
Elliot DeNolf
d54275b3bd
chore: unpushed version bump
2024-04-04 20:11:16 -04:00
James Mikrut
29d20423a3
chore: adds retryWrites, fixes a few flakes ( #5674 )
2024-04-04 20:09:51 -04:00
James
e539816253
chore: temp remove fields
2024-04-04 20:09:33 -04:00
James
922ce9ef5f
chore: re-enables database adapter types
2024-04-04 20:07:59 -04:00
James
b73ec6ae94
chore: flake
2024-04-04 19:39:41 -04:00
Elliot DeNolf
4a11bf956d
fix: db migrations esm part 2 ( #5677 )
2024-04-04 19:36:59 -04:00
Elliot DeNolf
3b3bb6c80a
fix: db migrations esm ( #5675 )
2024-04-04 19:33:04 -04:00
James
0f323ff2e3
chore: re-adds fields
2024-04-04 19:17:41 -04:00
James
3305c65ae6
chore: adds retryWrites, fixes a few flakes
2024-04-04 19:14:01 -04:00
Elliot DeNolf
5c5acdcb03
chore(release): v3.0.0-alpha.50 [skip ci]
2024-04-04 19:00:11 -04:00
James Mikrut
0e6991f486
chore: green ci ( #5673 )
2024-04-04 18:44:27 -04:00
James
014786cc5f
chore: green ci
2024-04-04 18:44:04 -04:00
James Mikrut
223c6b50fc
Fix/fields e2e ( #5672 )
2024-04-04 18:24:21 -04:00
James
b18946352e
chore: misc fields e2e fixes
2024-04-04 18:23:31 -04:00
James
96012b26b7
chore: properly isolates req in parallel requests
2024-04-04 18:00:37 -04:00
James
31cd663ad5
chore: merge alpha
2024-04-04 17:33:30 -04:00
Jacob Fletcher
0e9c9d7ccf
Fix/admin e2e ( #5670 )
2024-04-04 17:31:42 -04:00
James
2a6eb6ec86
Merge branch 'fix/fields-e2e' of github.com:payloadcms/payload into fix/fields-e2e
2024-04-04 17:25:21 -04:00
James
0a74423c07
chore: replaces clearAndSeedEverything
2024-04-04 17:25:09 -04:00
Alessio Gravili
6f1302ae67
chore: skip react-select flakester test
2024-04-04 17:23:07 -04:00
Alessio Gravili
f275570f12
fix: WhereBuilder Relationship placeholder not shown if value is cleared
2024-04-04 17:18:16 -04:00
Alessio Gravili
90b47f6c44
Merge remote-tracking branch 'origin/fix/fields-e2e' into fix/fields-e2e
2024-04-04 17:10:14 -04:00
Alessio Gravili
e73d008695
fix: WhereBuilder Relationship conditions weren't able to be removed
2024-04-04 17:09:58 -04:00
Jacob Fletcher
3c5d1b402c
test(admin): enables entity descriptions test
2024-04-04 17:09:22 -04:00
Jacob Fletcher
3e22bccce4
fix(ui): ssr entity descriptions
2024-04-04 17:08:03 -04:00
Jacob Fletcher
354e140305
fix(ui): ssr entity descriptions
2024-04-04 17:07:09 -04:00
James
54859f3582
Merge branch 'fix/fields-e2e' of github.com:payloadcms/payload into fix/fields-e2e
2024-04-04 17:04:35 -04:00
James
da12efd675
chore: more passing fields e2e
2024-04-04 17:04:23 -04:00
Alessio Gravili
32f848e90d
fix: correctly extract relationTo prop for Relationship field condition in WhereBuilder
2024-04-04 16:55:46 -04:00
Jacob Fletcher
32440d23f7
chore(ui): extracts collection and global component maps into standalone files
2024-04-04 16:40:58 -04:00
Jarrod Flesch
62b7acc93a
chore: simplify usage of useTitle
2024-04-04 16:15:49 -04:00
Jacob Fletcher
7b8e2c75c2
ci: enables admin e2e test suite
2024-04-04 16:09:46 -04:00
Jacob Fletcher
03abc641c5
test(admin): ignores search params when waiting for list view url
2024-04-04 16:09:46 -04:00
Alessio Gravili
fa5b98c9b5
chore: wait through e2e flakes
2024-04-04 15:59:48 -04:00
Alessio Gravili
c681be7ba8
chore: reduce flakes in fields/uploads e2e test suite
2024-04-04 15:17:52 -04:00
Alessio Gravili
3d3305a312
Merge remote-tracking branch 'origin/alpha' into fix/fields-e2e
2024-04-04 14:57:22 -04:00
Alessio Gravili
bb305af7b4
chore: fields-relationship e2e fixes ( #5665 )
2024-04-04 14:53:16 -04:00
Alessio Gravili
fd284973b6
ci: add missing --with-deps to playwright install command ( #5667 )
2024-04-04 14:52:59 -04:00
James
5d57572694
chore: work to add consistency to fields e2e
2024-04-04 14:41:58 -04:00
Jarrod Flesch
36a22f2b3c
chore: fixes failing where builder
2024-04-04 14:28:47 -04:00
Patrik
dea9b590d1
fix: incorrect tooltip colors in light mode ( #5636 )
2024-04-04 14:13:25 -04:00
Patrik
bf843fe598
fix: skip parsing if operator is exists ( #5639 )
2024-04-04 14:11:22 -04:00
Jacob Fletcher
a23bc6caa8
Merge pull request #5646 from payloadcms/fix/alpha/admin-e2e
...
Fix/alpha/admin e2e
2024-04-04 14:10:21 -04:00
Alessio Gravili
1904fd5b02
chore: commit intellij payload.iml and mark temp or non-core directories as excluded. This excludes them from search ( #5662 )
2024-04-04 14:03:44 -04:00
Jacob Fletcher
03c9a883e1
Merge branch 'alpha' into fix/alpha/admin-e2e
2024-04-04 13:48:11 -04:00
Jacob Fletcher
c06df267a3
test(live-preview): uses correct locator to find linked cell
2024-04-04 13:42:55 -04:00
Jacob Fletcher
0bccdfeda7
fix(ui): finds index of useAsTitle after mutating column order
2024-04-04 13:42:55 -04:00
Jarrod Flesch
07d118ae7d
chore: fix filtering tests
2024-04-04 13:39:17 -04:00
Alessio Gravili
e912dde08d
chore: ensure autologin passes before starting tests for all e2e test suites ( #5659 )
2024-04-04 13:39:06 -04:00
Elliot DeNolf
3544375fdd
chore(deps): remove release-it ( #5658 )
2024-04-04 12:57:13 -04:00
Elliot DeNolf
ab6ca7910e
ci: release script concurrency ( #5657 )
...
* chore(deps): update turborepo
* chore: unprettified upload pointer files
* ci: use p-map in release script
2024-04-04 12:37:05 -04:00
Jacob Fletcher
6a329f7a8e
fix(ui): adds optional chaining to fieldComponentProps in buildColumnState
2024-04-04 12:23:31 -04:00
Elliot DeNolf
5d4bb10106
chore: update all package.json repository urls and homepage ( #5655 )
2024-04-04 12:02:08 -04:00
Jarrod Flesch
cbc079bfff
Merge branch 'fix/alpha/fields-e2et push' into fix/alpha/admin-e2e
2024-04-04 11:58:21 -04:00
Jarrod Flesch
09358d5853
chore: fix customLabel inside buildColumnState
2024-04-04 11:42:48 -04:00
Jacob Fletcher
81c345f33e
test(admin): extracts api view tests into standalone group
2024-04-04 11:25:53 -04:00
Jacob Fletcher
3aa200eacc
chore(deps): removes react-router-dom from peer deps
2024-04-04 11:24:09 -04:00
James Mikrut
6ce0b60cf2
Merge pull request #5652 from payloadcms/fix/ensure-indexes
...
chore: re-enables fields-relationship tests
2024-04-04 11:23:45 -04:00
James
faef0784ee
chore: re-enables fields-relationship tests
2024-04-04 11:22:39 -04:00
Jarrod Flesch
fb70fe5760
chore: skips i18n tests for now
2024-04-04 11:09:31 -04:00
Jarrod Flesch
5b75b8a89e
chore: fixes multi-select stalling tests
2024-04-04 11:04:46 -04:00
Jarrod Flesch
fa0296b796
chore: passing admin/list-filtering/multi-select
2024-04-04 11:04:46 -04:00
Jarrod Flesch
4e2d1f568f
chore: fix plugin-form-builder test
2024-04-04 11:04:46 -04:00
Jacob Fletcher
b8d1aec1e5
fix(ui): properly sanitizes functional labels from field map
2024-04-04 10:53:04 -04:00
James Mikrut
38cfd6985e
Merge pull request #5651 from payloadcms/fix/ensure-indexes
...
chore: ensure indexes are created before running localization test suite
2024-04-04 10:22:02 -04:00
James
d7c20c6941
chore: ensure indexes are created before running localization test suite
2024-04-04 10:11:45 -04:00
Jacob Fletcher
7894a54a0e
Merge branch 'alpha' into fix/alpha/admin-e2e
2024-04-04 10:02:37 -04:00
James Mikrut
a46e64eec3
Merge pull request #5650 from payloadcms/fix/e2e-flakes
...
chore: adds logging, converts localization to use no config
2024-04-04 09:59:47 -04:00
Jarrod Flesch
cae0399584
chore: adds types to default columns
2024-04-04 09:54:05 -04:00
Jacob Fletcher
bfbf4ef0b5
test(admin): improves file organization and test names
2024-04-04 09:52:51 -04:00
Jarrod Flesch
ca4004605e
chore: adds types to default columns
2024-04-04 09:52:21 -04:00
James
ec565a1bd3
chore: adds update to test sdk
2024-04-04 09:47:08 -04:00
Jarrod Flesch
94c4b180c1
chore: fix tsc errors
2024-04-04 09:40:36 -04:00
James
66de0b9019
chore: adds logging, converts localization to use no config
2024-04-04 09:34:45 -04:00
Jacob Fletcher
f752b38228
test(admin): partially passing list view filtering
2024-04-04 09:30:30 -04:00
Jarrod Flesch
d79748a967
chore: more admin test fixes
2024-04-04 09:28:12 -04:00
Alessio Gravili
c1b6c2c5a5
chore: unflake versions e2e ( #5616 )
2024-04-04 09:07:44 -04:00
Alessio Gravili
806b04e0ca
Merge pull request #5633 from payloadcms/feat/form-server-validation
2024-04-04 09:07:05 -04:00
Alessio Gravili
736b562f3a
chore: clean-up console logs
2024-04-04 09:06:09 -04:00
James
db440236fc
Merge branch 'feat/form-server-validation' of github.com:payloadcms/payload into feat/form-server-validation
2024-04-04 09:04:30 -04:00
James
00ea8b900a
chore: skips bulk edit test until fixes are merged
2024-04-04 09:04:14 -04:00
Paul
e092e9ba67
fix: missing data in first user registration ( #5645 )
2024-04-03 19:08:10 -03:00
Jacob Fletcher
8313cf34a6
test(admin): passing custom css
2024-04-03 18:03:10 -04:00
Jacob Fletcher
8f4b8f5826
fix(ui): shares sort order between where builder and column selector
2024-04-03 17:31:57 -04:00
Jacob Fletcher
c607b01f33
chore(ui): extracts reduceFieldMap from where builder
2024-04-03 17:31:47 -04:00
Jarrod Flesch
cc5d01d0e2
chore: fixes deleteAllPosts test helper
2024-04-03 17:07:45 -04:00
Alessio Gravili
a4cc41b679
chore: skip more flaky tests
2024-04-03 17:04:26 -04:00
Jarrod Flesch
67361e9ed5
chore: fixes bulk upldate test
2024-04-03 16:56:54 -04:00
Alessio Gravili
8662572690
chore: enable fields on CI
2024-04-03 16:54:27 -04:00
Alessio Gravili
99ea1788e7
chore: skip flaky fields-relationship tests for now
2024-04-03 16:54:07 -04:00
James
7bec3c90cd
chore: adds ux de-flaking to relationship field
2024-04-03 16:14:01 -04:00
Jacob Fletcher
ca4e6c46bc
fix(ui): properly sorts table columns
2024-04-03 15:09:38 -04:00
James
678da159a9
Merge branch 'alpha' of github.com:payloadcms/payload into feat/form-server-validation
2024-04-03 14:20:39 -04:00
James
cc3b51fb3b
chore: logs to localization seed
2024-04-03 14:18:36 -04:00
James
060344bb5a
chore: logs for ci visibility
2024-04-03 14:09:42 -04:00
Jacob Fletcher
b42c67040d
fix(ui): properly flattens tabs field map
2024-04-03 14:01:21 -04:00
Alessio Gravili
f3b18fcf0e
chore: move autosave new document creation & redirect logic to server, fixes versions e2e flakes due to late redirect
2024-04-03 13:50:52 -04:00
Elliot DeNolf
a86c69edc9
fix: sets beforeValidateHook req type to required ( #5634 )
...
Co-authored-by: Patrik <patrik@payloadcms.com >
2024-04-03 13:45:44 -04:00
Jessica Chowdhury
55c60a05dc
feat(plugin-seo): adds Norwegian translation ( #5629 )
2024-04-03 13:26:44 -04:00
Jacob Fletcher
ecf40cc747
fix(ui): renders field description functions
2024-04-03 13:18:49 -04:00
Jacob Fletcher
197458e60b
chore: adds isReactComponent utility
2024-04-03 13:18:49 -04:00
Alessio Gravili
0c3ffb0743
chore: expect accurate error in uploads e2e test
2024-04-03 13:14:38 -04:00
Alessio Gravili
56dffd3c58
fix: validation not running correctly when changing field state and submitting form immediately after
2024-04-03 13:00:23 -04:00
Jarrod Flesch
57a3a37fdd
chore: passing admin/i18n tests
2024-04-03 12:40:41 -04:00
Elliot DeNolf
a8a273f0d8
chore(cpa): ensure project name is slugified ( #5631 )
2024-04-03 12:18:46 -04:00
Jarrod Flesch
9f4ab26696
chore: passing admin/nav tests
2024-04-03 12:17:48 -04:00
James
4ddef9d648
chore: adds prop to form to allow server validation only on submit
2024-04-03 12:03:05 -04:00
Jessica Chowdhury
7cccca8194
chore(alpha): update fields-relationship e2e tests ( #5553 )
...
* fix: handles filter options in form state merge
* chore: fix and reintegrate fields-relationship e2e tests
* chore: update withMergedProps function for e2e tests
2024-04-03 16:11:19 +01:00
James Mikrut
2a8b678a4b
Merge pull request #5604 from payloadcms/fix/postgres-fields
...
chore: revisions to baseIDField
2024-04-03 10:55:43 -04:00
Jarrod Flesch
b9767b865a
chore: working but wip admin e2e
2024-04-03 10:47:01 -04:00
James
f6bc3eb014
chore: passing pg
2024-04-03 10:39:38 -04:00
Elliot DeNolf
007917df19
ci: docker compose v2, v1 no longer supported on gh runner ( #5626 )
2024-04-03 10:34:49 -04:00
Alessio Gravili
22a2e850bf
Merge pull request #5627 from payloadcms/chore/port-lexical-fixes
2024-04-03 09:56:36 -04:00
Alessio Gravili
1cfdf3613c
docs(richtext-lexical): clarify that HTML generation has to happen on the server
2024-04-03 09:55:33 -04:00
Alessio Gravili
fe280e6bb1
fix(richtext-lexical): disable instanceof HTMLImageElement check as it causes issues when used on the server
2024-04-03 09:55:23 -04:00
Jarrod Flesch
a330fe6017
chore(ui): simplifies adminThumbnail functionality ( #5615 )
2024-04-03 08:49:31 -04:00
Jessica Chowdhury
4ee4ad25b0
fix(alpha): number field with hasMany accept defaultValue array ( #5619 )
2024-04-03 08:05:49 -04:00
Paul
777a661389
chore: remove dead refresh permissions test from github workflows ( #5614 )
2024-04-02 20:57:54 -03:00
Paul
8174230afe
chore: plugin form builder e2e ( #5612 )
...
* chore: update plugin files to esm
* chore: add e2e for plugin form builder
* chore: update release script and gh workflow
* chore: update build command for form builder plugin
2024-04-02 20:56:37 -03:00
Alessio Gravili
e1777dc533
ci: do not fail upload-artifact action if more than 2 e2e tests fail ( #5605 )
2024-04-02 18:36:07 -04:00
Elliot DeNolf
390731c07b
ci: separate tests-unit, esm scripts ( #5607 )
...
* ci: script esm updates
* ci: separate out unit tests
2024-04-02 17:31:38 -04:00
James
25d475e165
chore: revisions to baseIDField
2024-04-02 17:04:27 -04:00
Alessio Gravili
1e60250670
chore: enable all fields int tests ( #5603 )
2024-04-02 17:00:32 -04:00
Alessio Gravili
f6d2dd520c
Merge pull request #5561 from payloadcms/temp38
...
fix: test suite & transactions fixes
2024-04-02 16:00:10 -04:00
Alessio Gravili
4600588e72
chore: disable uploads e2e
2024-04-02 15:59:25 -04:00
Dan Ribbens
825ca94080
fix: duplicate handles locales with unique ( #5600 )
...
* fix: duplicate errors with localized and unique fields
* docs: beforeDuplicate hooks
2024-04-02 15:30:49 -04:00
Alessio Gravili
7f674f9861
chore: fix payload HMR being run during e2e & int tests
2024-04-02 15:01:18 -04:00
James
27dba7e4e1
chore: improper expect in upload test suite
2024-04-02 14:21:58 -04:00
Alessio Gravili
44295ff248
chore: use initPayloadInt consistently in all int test suites and do not init payload twice
2024-04-02 13:39:01 -04:00
Alessio Gravili
dc33d96a54
chore: remove async seeding from auth and fields-relationship test suites
2024-04-02 13:25:12 -04:00
Alessio Gravili
4ff7619356
chore: remove console logs
2024-04-02 12:29:38 -04:00
Alessio Gravili
cc5c2bd7cd
chore: fix flakes in versions test suite
2024-04-02 12:27:29 -04:00
Alessio Gravili
2884712685
chore: fix versions int test seeding
2024-04-02 12:17:27 -04:00
Alessio Gravili
027264588b
chore: versions test improvements
2024-04-02 12:13:12 -04:00
Alessio Gravili
ddd75ce730
Merge remote-tracking branch 'origin/temp38' into temp38
2024-04-02 12:12:51 -04:00
Alessio Gravili
4bc13c28dd
chore: passing live-preview
2024-04-02 12:12:42 -04:00
James
7a1db89a6e
Merge branch 'temp38' of github.com:payloadcms/payload into temp38
2024-04-02 12:12:35 -04:00
James
c08489509a
chore: startMemoryDB in e2e
2024-04-02 12:12:21 -04:00
Alessio Gravili
7054ae8a88
chore: unit/int test CI stuff
2024-04-02 12:00:32 -04:00
Alessio Gravili
d7e913be95
fix: do not re-use same transaction ID for parallel operations
2024-04-02 11:08:04 -04:00
James
f283a2ced5
Merge branch 'temp38' of github.com:payloadcms/payload into temp38
2024-04-02 10:40:06 -04:00
James
c7274ba16f
chore: wires up conditions for collapsibles, groups, etc
2024-04-02 10:39:52 -04:00
Alessio Gravili
6f323e379c
add console logs
2024-04-02 10:35:20 -04:00
Alessio Gravili
42212b409a
chore: remove console log
2024-04-02 10:19:24 -04:00
James
e8506cc5f1
chore: startMemoryDB pointing to mongodb instead of mongoose
2024-04-02 10:02:51 -04:00
James
d387f9f1fa
chore: working pattern for debugging e2e and int
2024-04-02 10:01:47 -04:00
James
73a555788d
chore: uses globalSetup for starting memory db
2024-04-02 09:44:55 -04:00
Elliot DeNolf
be58f67115
test(uploads): remove all process.cwd() usage ( #5588 )
2024-04-02 00:08:58 -04:00
Elliot DeNolf
b26117a65d
feat(cpa): strict true 😈 ( #5587 )
2024-04-01 23:05:57 -04:00
Alessio Gravili
34fe6182c8
temp3
2024-04-01 23:05:54 -04:00
Alessio Gravili
ee3ae6025f
temp2
2024-04-01 22:41:24 -04:00
James
df9812b2a3
Merge branch 'temp38' of github.com:payloadcms/payload into temp38
2024-04-01 22:13:02 -04:00
James
113eea04cc
chore: seed endpoint
2024-04-01 22:12:45 -04:00
Alessio Gravili
57f9ebdb68
temp1
2024-04-01 22:04:45 -04:00
James
94d0e28ad7
chore: local api sdk for e2e tests
2024-04-01 21:53:30 -04:00
James
cd553d45cc
chore: merge
2024-04-01 17:47:28 -04:00
James
d993f9ac64
chore: bug in isMongoose
2024-04-01 17:46:42 -04:00
James
833bdc13bd
chore: uploads e2e tweak
2024-04-01 17:38:24 -04:00
James Mikrut
33657b4b49
Merge branch 'alpha' into temp38
2024-04-01 17:37:54 -04:00
James
ec6bc8e36b
chore: removes old refs to startMemoryDB
2024-04-01 17:36:36 -04:00
Jacob Fletcher
799370f753
fix(next): establishes pattern for preview urls ( #5581 )
2024-04-01 17:30:49 -04:00
James
abd404c57c
chore: adjusts playwright env used to trigger memory db
2024-04-01 17:30:18 -04:00
Kendell Joseph
037ed3cd54
test: e2e uploads ( #5511 )
...
* chore: enables upload tests on CI
* fix: adds relationTo information to field map
* chore: updates e2e tests (WIP)
* chore: move back to probe-image-size, tiff files do not support buffers
* chore: basic runtime err fixes
* chore: remove admin thumbnail when creating client config
* test: small upload fixes
---------
Co-authored-by: Elliot DeNolf <denolfe@gmail.com >
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2024-04-01 17:28:15 -04:00
James
c461a7fa15
chore: renames mongoose db adapter refs to mongodb
2024-04-01 17:24:43 -04:00
James
8fc8aaa6dd
yammil
2024-04-01 17:14:43 -04:00
James
2bc45e2b2e
chore: adds logging for ci
2024-04-01 17:12:16 -04:00
James
cdfc58d115
chore: re-adds int
2024-04-01 17:08:50 -04:00
James
bb8a57d2e9
chore: better pattern to initialize memory server
2024-04-01 17:04:05 -04:00
James
5e52339135
chore: converts e2e suites to new pattern
2024-04-01 16:37:12 -04:00
James
df75914e30
chore: attempts to get _community to pass with change to import order of config
2024-04-01 16:29:22 -04:00
Patrik
572e6ccb37
fix(ui): places id field last in field map and prevents render ( #5585 )
2024-04-01 16:25:29 -04:00
James
8e1ebe28c0
chore: adds node env for e2e tests
2024-04-01 15:57:23 -04:00
James
adec044e02
chore: returns runE2E
2024-04-01 15:55:38 -04:00
James
b9868cc709
chore: reverts memory test approach
2024-04-01 15:51:40 -04:00
James
fce8b125f8
Merge branch 'temp38' of github.com:payloadcms/payload into temp38
2024-04-01 15:29:43 -04:00
James
4befd2e4ff
chore: sets env vars for tests in globalSetup
2024-04-01 15:29:27 -04:00
James Mikrut
38cdc1b7ba
Merge branch 'alpha' into temp38
2024-04-01 14:37:33 -04:00
James
a0f6018469
chore: better pattern for memory db
2024-04-01 14:36:08 -04:00
James
f230d55031
chore: restores memory db
2024-04-01 11:11:52 -04:00
James
2f6a15a9ae
chore: calculates default values before running buildFormState
2024-04-01 10:52:26 -04:00
Elliot DeNolf
04d751208f
Merge pull request #5557 from payloadcms/feat/cpa-detect-next-app
...
feat(cpa): detect next app
2024-04-01 10:44:43 -04:00
Elliot DeNolf
7cfc40f328
test(cpa): update tests
2024-04-01 10:32:17 -04:00
Elliot DeNolf
3c54d32b6d
feat(cpa): rework all prompts to use @clack/prompts
2024-04-01 10:16:07 -04:00
Jessica Chowdhury
ece7d92e57
chore: updates e2e tests for plugin-nested-docs and plugin-seo ( #5434 )
...
* test: removes unnecessary lines
* fix: do not error if row field has no fields (#5433 )
* ci(deps): update turborepo
* ci: release script updates
* chore: lint all json/yml, add to lint-staged
* chore: lint mdx in lint-staged
* chore: enable e2e live preview (#5444 )
* chore: update workflow file
---------
Co-authored-by: Alessio Gravili <70709113+AlessioGr@users.noreply.github.com >
Co-authored-by: Elliot DeNolf <denolfe@gmail.com >
Co-authored-by: Paul <paul@payloadcms.com >
2024-04-01 15:01:05 +01:00
James
8e736b28af
Merge branch 'temp38' of github.com:payloadcms/payload into temp38
2024-04-01 09:30:12 -04:00
Alessio Gravili
92ec0a5b1d
chore: temporarily disable int tests, and field-error-states, live-preview, versions e2e's ( #5578 )
2024-03-31 22:41:52 -04:00
Alessio Gravili
398834f690
øMerge remote-tracking branch 'origin/alpha' into temp38
2024-03-31 21:35:54 -04:00
Alessio Gravili
28e6dd8759
fix: do not exclude admin.hidden fields from default active columns ( #5556 )
2024-03-31 21:35:11 -04:00
Alessio Gravili
dedc937915
Merge pull request #5576 from payloadcms/feat/alpha-5574
...
feat(richtext-*): add ability to provide custom Field and Error components
2024-03-31 21:17:19 -04:00
Alessio Gravili
732f4241fe
chore: commit updated translation files
2024-03-31 21:16:17 -04:00
Alessio Gravili
873585e1ae
feat(richtext-*): add ability to provide custom Field and Error components
2024-03-31 21:12:52 -04:00
Alessio Gravili
71a5a02e8c
docs(richtext-slate): update outdated code example ( #5572 ) ( #5573 )
2024-03-31 17:50:15 -04:00
Alessio Gravili
51fbd02b40
fix(richtext-lexical): checklist html converter incorrectly outputting children ( #5570 ) ( #5571 )
2024-03-31 16:25:16 -04:00
Alessio Gravili
763eda5038
fix(richtext-lexical): properly center add- and drag-block handles ( #5568 ) ( #5569 )
2024-03-31 16:08:00 -04:00
Alessio Gravili
6cdb76503b
chore: disable memory db for now, as it doesn't work locally for the versions test suite
2024-03-31 16:05:55 -04:00
Alessio Gravili
aa8edd7a47
chore: fix issues in versions e2e test
2024-03-31 16:05:20 -04:00
Alessio Gravili
535aa56627
fix: do not pass undefined data through buildStateFromSchema for tab fields
2024-03-29 17:32:40 -04:00
Elliot DeNolf
db0fb30f7b
test(cpa): update jest config
2024-03-29 17:28:35 -04:00
Elliot DeNolf
7619fb4753
feat(cpa): handle next.js app with and without src dir
2024-03-29 16:45:52 -04:00
Paul
0aeba954d4
fix: localization e2e ( #5555 )
...
* fix: issue with missing locale when duplication localized collections
* chore: fix localization tests
2024-03-29 17:45:26 -03:00
Alessio Gravili
2bc1468fa2
chore: tests: uploads dir: delete and restore snapshot between tests ( #5560 )
...
* chore: tests: uploads dir: delete and restore snapshot between tests
* chore: add missing creation of uploads dir cache folder
* fix logic
2024-03-29 16:29:40 -04:00
James Mikrut
4b29b6efc5
Merge pull request #5559 from payloadcms/temp36
...
Temp36
2024-03-29 14:57:27 -04:00
James
26b1003cfd
Merge branch 'alpha' of github.com:payloadcms/payload into alpha
2024-03-29 14:56:15 -04:00
James
b696dce6e4
chore: disables password fields if disableLocalStrategy, safely inherits valid: false
2024-03-29 14:55:58 -04:00
Elliot DeNolf
403a86feca
chore(create-payload-app): configure db in init next flow
2024-03-29 14:25:00 -04:00
Jacob Fletcher
56d6a9767e
Merge pull request #5551 from payloadcms/fix/nav
...
fix: misc.
2024-03-29 13:58:22 -04:00
James
d2cc229622
Merge branch 'alpha' of github.com:payloadcms/payload into fix/alpha/rte-e2e-tests
2024-03-29 13:51:29 -04:00
Jacob Fletcher
e6b166da7d
fix(next): proper 404 handling
2024-03-29 13:30:00 -04:00
Elliot DeNolf
77f401d977
chore(create-payload-app): console.log wrapper
2024-03-29 13:23:25 -04:00
Elliot DeNolf
7d7b232fdb
feat(create-payload-app): functioning init next flow, no prompts
2024-03-29 12:48:00 -04:00
James
959f1e33cd
chore: form now validates without field validate functions
2024-03-29 12:44:40 -04:00
Elliot DeNolf
7f5ab96f81
chore: move payload config into src
2024-03-29 12:22:32 -04:00
James
443089a66f
chore: fixes Translation component
2024-03-29 11:54:20 -04:00
Jacob Fletcher
f5d9b47177
fix(richtext-lexical): uses entity visibility hook when enabling relationships
2024-03-29 11:54:02 -04:00
Jacob Fletcher
a0cddbe9b3
fix(richtext-slate): uses entity visibility hook when enabling relationships
2024-03-29 11:36:49 -04:00
Jacob Fletcher
5f7fcfd3df
chore(next): uses visibileEntities in getViewsFromConfig
2024-03-29 11:30:33 -04:00
Alessio Gravili
a39080340a
fix: missing translation key for richtext fields ( #5550 )
2024-03-29 11:11:50 -04:00
Jacob Fletcher
a3d6879c55
fix(ui): wraps nav with fragment
2024-03-29 11:10:43 -04:00
Alessio Gravili
b09be86a3c
Merge pull request #5549 from payloadcms/temp33
...
fix: unload client functions after unmount (e.g. leaving document)
2024-03-29 11:07:47 -04:00
James
02ef033d23
chore: fixes infinite processing when submitting bad form
2024-03-29 11:03:21 -04:00
Alessio Gravili
f10861e1de
chore: add lexical test which verifies it's working
2024-03-29 10:53:30 -04:00
James
ecf53d9961
chore: passes through props in listinfoprovider
2024-03-29 10:51:24 -04:00
Paul
5339c09b72
fix: access control test suite ( #5548 )
...
* chore: improve flakiness with access control test suite
* fix issue with redirecting from a drawer
* chore: watches for created id in drawers
---------
Co-authored-by: James <james@trbl.design >
2024-03-29 11:46:46 -03:00
Jacob Fletcher
b6ad218126
fix(ui): establishes pattern for hidden entities ( #5546 )
2024-03-29 10:32:09 -04:00
Alessio Gravili
b7b74a429e
fix: unload client functions after unmount (e.g. leaving document)
2024-03-29 09:54:11 -04:00
James
52acd3123f
chore: allows slate to render
2024-03-29 09:48:54 -04:00
Patrik
c9c3a689d8
fix: flaky indexed test suite ( #5509 )
2024-03-29 09:01:44 -04:00
Patrik
da4a2a2494
fix: reverts selector in array bulk update test to original to get passing test ( #5512 )
2024-03-29 09:00:48 -04:00
James
35a1fb26f9
Merge branch 'fix/alpha/rte-e2e-tests' of github.com:payloadcms/payload into fix/alpha/rte-e2e-tests
2024-03-29 08:27:00 -04:00
Jarrod Flesch
cb3723242c
fix: passing versions e2e ( #5521 )
2024-03-29 01:20:02 -04:00
Patrik
6a0c6284d0
fix: passing blocks field test suite ( #5529 )
2024-03-28 20:56:52 -04:00
Jarrod Flesch
114ade7456
chore: wip rte field work
2024-03-28 16:53:32 -04:00
Kendell Joseph
a01e0e37f4
fix: corrects query so upload edits can happen ( #5527 )
2024-03-28 16:22:26 -04:00
Elliot DeNolf
18884025de
ci: disable access-control suite until flakes are fixed
2024-03-28 15:41:20 -04:00
Alessio Gravili
cfdc941207
fix(richtext-lexical): Blocks: do not include empty arrays in form state ( #5526 )
2024-03-28 15:40:02 -04:00
Kendell Joseph
5eaf00ba0e
chore: use dirname to resolve file locations for uploads test ( #5523 )
2024-03-28 15:35:35 -04:00
Elliot DeNolf
8948555ac1
ci: re-enable fields int suite ( #5525 )
2024-03-28 15:34:09 -04:00
Alessio Gravili
e28418d6d6
fix: onError not found error ( #5524 )
2024-03-28 15:10:20 -04:00
Kendell Joseph
fe83c53206
fix(ui): adds relationTo to cellComponentProps ( #5518 )
2024-03-28 14:43:46 -04:00
Alessio Gravili
942aa08285
chore: obliterate next cache before starting e2e/int/dev ( #5522 )
2024-03-28 14:42:45 -04:00
Alessio Gravili
93dd6b5a98
chore: add skipped, failing lexical e2e test for errors within nested block fields, fix lexical seed data, disable access-control test ( #5508 )
2024-03-28 13:36:05 -04:00
James Mikrut
08dd9ca91c
Merge pull request #5516 from payloadcms/feat/simplify-doc-fetch
...
feat: simplifies fetching of docs for drawer and edit views
2024-03-28 13:35:07 -04:00
Jacob Fletcher
77efdc3ccf
fix(ui): adds support for direct field label props ( #5517 )
2024-03-28 13:22:09 -04:00
James
ef1bcd5afa
chore: fixes redirection on create
2024-03-28 13:18:35 -04:00
Jarrod Flesch
8636685252
fix: simplifies field error paths ( #5504 )
2024-03-28 13:15:44 -04:00
Patrik
5873dfb731
fix(ui): incorrect conditions in WhereBuilder ( #5503 )
...
* fix: relationship field tests e2e
* chore: adds POLL_TOPASS_TIMEOUT to relationship field tests
* chore: adds comments to relationship test waits
2024-03-28 13:14:00 -04:00
James
934abec88c
feat: simplifies fetching of docs for drawer and edit views
2024-03-28 12:14:12 -04:00
Jarrod Flesch
c1d654c4ce
fix(tests): passing tabs test in fields suite ( #5463 )
2024-03-28 11:28:37 -04:00
Paul
d64b12b14c
fix: breadcrumbs on live preview tab ( #5478 )
2024-03-28 09:32:21 -03:00
Alessio Gravili
3f4ab5f95e
fix: undefined error when creating new row without subFieldState present ( #5502 )
2024-03-27 17:13:06 -04:00
Jacob Fletcher
ee1e94be96
fix(ui): sets proper id on publish button and updates custom button semantics in field map ( #5501 )
2024-03-27 17:09:16 -04:00
Alessio Gravili
1e9999a8d3
fix: shallow-copy new form state one level deeper, fixes conditions ( #5499 )
2024-03-27 16:51:13 -04:00
Dan Ribbens
460ca99fe1
chore: alpha fix test defaultvalues ( #5500 )
2024-03-27 16:47:22 -04:00
Jacob Fletcher
7fdf9b7012
fix(ui): threads initial data through document info provider ( #5498 )
2024-03-27 16:39:00 -04:00
Alessio Gravili
c16b869fea
Merge pull request #5491 from payloadcms/temp24
...
fix: form-state issues
2024-03-27 16:28:26 -04:00
Alessio Gravili
8deb19e3ac
chore: replace incorrect usage of saveDocAndAssert helpers
2024-03-27 16:17:46 -04:00
Alessio Gravili
e6d4445a8a
chore: fix build
2024-03-27 16:03:23 -04:00
Jacob Fletcher
0f0da809da
Merge pull request #5497 from payloadcms/fix/table-cols
...
Fix/table cols
2024-03-27 16:00:06 -04:00
Alessio Gravili
db8e805a96
fix: improve error path merging from server, make sure no new or removed rows/values coming from the server are being considered outside addFieldRow
2024-03-27 15:55:19 -04:00
Jacob Fletcher
a882cc7e8e
fix(ui): properly handles column selector labels
2024-03-27 15:45:26 -04:00
Elliot DeNolf
acede26aa6
fix: imports from exports dir ( #5496 )
...
* chore: remove all internal importing from exports directory
* chore: more package.json main values to src/index.ts
2024-03-27 15:39:58 -04:00
Paul
9330919be8
fix: issue of losing locale when switching tabs between API and edit views ( #5494 )
...
* fix: issue of losing locale when switching tabs between API and edit views
2024-03-27 16:20:04 -03:00
Jacob Fletcher
91b4e91e9c
fix(ui): filters fields and unfurls subfields for table columns
2024-03-27 13:00:54 -04:00
Dan Ribbens
2fb265ae2d
chore: fix broken fields test ( #5492 )
2024-03-27 12:39:09 -04:00
Elliot DeNolf
3b5e7f1dc4
chore: unprettify tsconfig.json to avoid needing to reformat
2024-03-27 12:28:19 -04:00
Alessio Gravili
08ff286f9a
chore: e2e: replace flaky manual save actions with non-flaky saveDocAndAssert helper
2024-03-27 12:18:17 -04:00
Jacob Fletcher
bc9fe2f4f9
fix(ui): disables bulk edit for default id fields
2024-03-27 12:13:29 -04:00
Alessio Gravili
e99b168bd6
ci: do not retry failing tests - we shouldn't have flaky tests in the first place
2024-03-27 12:03:38 -04:00
Alessio Gravili
a7afb1f680
chore: enable all lexical e2e tests
2024-03-27 11:54:12 -04:00
Alessio Gravili
6f3934f2e5
fix: server form-state request wasn't triggered on first onChange
2024-03-27 11:44:50 -04:00
Alessio Gravili
79da297add
fix: form state not replaced if server has different data for rows
2024-03-27 11:44:02 -04:00
Alessio Gravili
6664535ab9
fix: form onChange using out-of-date old fields state
2024-03-27 11:43:35 -04:00
Alessio Gravili
80d290e178
fix: server-generated ID for base ID field is overriden on the client
2024-03-27 11:42:08 -04:00
Alessio Gravili
d144af6d8e
fix: baseIDField not included in form states
2024-03-27 11:41:21 -04:00
Paul
aba7c13a1d
chore: rename the DB strings in buildconfigwithdefaults to DATABASE_URI ( #5490 )
...
* chore: rename the DB strings in buildconfigwithdefaults to DATABASE_URI
* reverse name change for postgres strings
2024-03-27 12:34:10 -03:00
Paul
f59d3f36d1
chore: add process.env.MONGO_URL to buildconfigwithdefaults with fallback to string ( #5489 )
2024-03-27 12:00:42 -03:00
Jacob Fletcher
3f0d0ecd5f
fix(ui): prevents field errors from flashing when used outside of field props context ( #5488 )
2024-03-27 10:48:05 -04:00
Elliot DeNolf
0c51502cc5
Merge pull request #5464 from payloadcms/feat/cpa-updates
...
feat(create-payload-app): updates
2024-03-27 10:26:18 -04:00
Elliot DeNolf
e829650cd9
chore(create-payload-app): ESM test fix
2024-03-27 09:08:09 -04:00
Jacob Fletcher
a8082c551b
fix(next): removes reliance on instanceof from api error formatting ( #5482 )
2024-03-27 09:06:47 -04:00
Elliot DeNolf
ff55cfa001
ci: conditionally set jest reporter
2024-03-26 18:45:53 -04:00
Elliot DeNolf
623a3d3b7b
ci: re-enable cpa test suite
2024-03-26 18:45:53 -04:00
Elliot DeNolf
fb32e2a561
test(create-payload-app): only use local-template in tests
2024-03-26 18:45:53 -04:00
Elliot DeNolf
8aa8a380e1
test: missing test dir deps, update cpa create project suite
2024-03-26 18:45:53 -04:00
Elliot DeNolf
f35b8b05e8
chore(create-payload-app): remove unneeded 2.0 func, add cli overrides
2024-03-26 18:45:53 -04:00
Elliot DeNolf
05bb73bb7c
chore: update blank 3.0 template
2024-03-26 18:45:53 -04:00
Elliot DeNolf
18299dc65e
chore: blank 3.0 template type
2024-03-26 18:45:53 -04:00
Elliot DeNolf
818ab2c10f
chore: restructure
2024-03-26 18:45:52 -04:00
Elliot DeNolf
df0bf28d57
chore: return error messages from parse
2024-03-26 18:45:52 -04:00
Elliot DeNolf
ff65f10c2f
chore: edge case for parsing next config
2024-03-26 18:45:52 -04:00
Elliot DeNolf
5cf49aa166
chore: implement AST parsing of next config
2024-03-26 18:45:52 -04:00
Elliot DeNolf
0651daa1d4
chore: more ESM, linting
2024-03-26 18:45:52 -04:00
Elliot DeNolf
921c53f75c
chore(templates): bump alpha deps and next app changes
2024-03-26 18:45:52 -04:00
Elliot DeNolf
dd37519185
chore: missing semis on payload pointer files
2024-03-26 18:45:09 -04:00
Dan Ribbens
a1e8c4eb2b
fix(db-postgres): query with contains operator hasMany ( #5481 )
2024-03-26 15:26:46 -04:00
Paul
1f8c191cb3
fix: missing data in livepreview causing missing updated at values ( #5477 )
2024-03-26 15:15:14 -03:00
Paul
f4acc74eee
chore: added iframe content test for live-preview test ( #5476 )
2024-03-26 15:03:18 -03:00
Dan Ribbens
3d1378ab77
fix: duplicate db called with incorrect data ( #5475 )
2024-03-26 13:51:25 -04:00
Dan Ribbens
58e4174edb
fix(db-postgres): deleteOne handle joins ( #5457 )
...
* fix(db-postgres): deleteOne handle joins
* chore(db-postgres): reduce duplicate lines of code
* chore: optimize delete preferences
* chore(db-postgres): fix deleteOne regression
* chore(db-postgres): missing await
2024-03-26 13:36:15 -04:00
Jacob Fletcher
20b4585666
chore: properly types cell components ( #5474 )
2024-03-26 12:08:33 -04:00
Paul
9c7e7ed8d4
fix(ui): custom buttons and e2e refresh permissions test ( #5458 )
...
* moved refresh permissions test suite to access control
* support for custom Save, SaveDraft and Publish buttons in admin config for collections and globals
* moved navigation content to client side so that permissions can be refreshed from active state
2024-03-26 11:48:00 -03:00
Alessio Gravili
436c4f2736
fix: missing withConditions for Upload, Select, Password, Blocks, Array fields ( #5471 )
...
* fix: missing withConditions for Upload, Select, Password, Blocks, Array fields. Fixes Lexical e2e tests
* chore: skip failing lexical test for now
2024-03-26 10:38:48 -04:00
Dan Ribbens
0ce752af79
fix: regression of filterOptions using different transaction ( #5450 )
2024-03-26 10:13:57 -04:00
Jarrod Flesch
92ff896bdb
chore: adjusts e2e to watch for new file url paths ( #5467 )
2024-03-26 00:44:21 -04:00
Alessio Gravili
77a3cbaba5
Merge pull request #5466 from payloadcms/temp20
...
chore: improve e2e and int test speed, reduce flakiness and errors
2024-03-26 00:13:50 -04:00
Alessio Gravili
56f9c88251
chore: optimize test seed payload.create calls and run them in parallel to reduce MongoDB errors
2024-03-25 23:58:55 -04:00
Alessio Gravili
8a5a08cbe1
chore: fix test seed helper keeping all uploads deleted during test run, as they weren't restored like the db snapshot
2024-03-25 23:57:54 -04:00
Alessio Gravili
5241c38ba0
chore: speed up tests by not running seed twice for the first test, and reduce flakiness of lexical e2e test suite
2024-03-25 23:55:42 -04:00
Jacob Fletcher
072a903351
Merge pull request #5461 from payloadcms/fix/misc-views
...
Fix/misc views
2024-03-25 23:35:15 -04:00
Jacob Fletcher
328bd453bb
chore(i18n): adds version:status to client translations
2024-03-25 22:56:28 -04:00
Jacob Fletcher
690a3cfa68
fix(ui): threads data through document info context
2024-03-25 22:56:28 -04:00
Jacob Fletcher
1c1847f63c
fix(next): dynamic params for custom collection and global views
2024-03-25 22:56:19 -04:00
Alessio Gravili
c3d9d8ee2f
Merge pull request #5460 from payloadcms/temp14
...
fix: various issues impacting lexical e2e tests
2024-03-25 20:50:57 -04:00
Alessio Gravili
65932b65d2
chore: fields test: fix Mongo write errors during seed by making create calls run sequentially.
...
Adds easy way of toggling between parallel or sequential runs, and optimized performance of create calls
2024-03-25 20:39:56 -04:00
Alessio Gravili
682e961416
chore: run lexical e2e's in CI, adjust runE2E to allow running just the fields/lexical.e2e.spec.ts
2024-03-25 17:17:13 -04:00
Alessio Gravili
9fcccc8197
chore: add payload/no-jsx-import-statements eslint rule to eslint-config-payload by default
2024-03-25 17:08:43 -04:00
Alessio Gravili
72f3ced219
chore: fix incorrect logic in auth test
2024-03-25 17:07:55 -04:00
Alessio Gravili
74de066529
chore: skip last lexical e2e test for now
2024-03-25 16:56:44 -04:00
Alessio Gravili
3d1589404c
fix: race condition between form modified setter and form onSubmit. Caused e2e flakes
2024-03-25 16:53:07 -04:00
Patrik
30d9d46dd8
test: passing point fields test suite ( #5401 )
...
* test: passing point fields test suite
* chore: removes waits from point fields test suite
* chore: removes unnecessary waits in dates field test suite
* chore: removes waits entirely from dates tests
* chore: adds translates function for longitude/latitude
* chore: renames coordinate function and conditionally renders hypen in the function
2024-03-25 16:36:02 -04:00
Alessio Gravili
740373897a
fix(richtext-lexical): Blocks: field schemas for sub-fields were not handled
2024-03-25 15:42:15 -04:00
Elliot DeNolf
f7ca01bafd
test: convert PrePopulateFieldUI to client component ( #5456 )
2024-03-25 15:38:37 -04:00
Jacob Fletcher
7654ff686a
fix(ui): throws explicit error for custom view tabs that are client components
2024-03-25 15:37:57 -04:00
Jarrod Flesch
5266612bb3
chore: get correct labels for unnamed fields in list view ( #5454 )
2024-03-25 15:31:23 -04:00
Patrik
a9b46a4d63
fix(ui): properly formats collapsible field IDs ( #5435 )
...
* test: passing collapsible fields test suite
* chore: passes indexPath into ArrayRow & updates path in collapsible field
* fix: collapsible paths and indexPath prop types
* chore: improves path and schemaPath syntax
* leftover
* chore: updates selectors in collapsibles tests
* chore: updates selector in live-preview test suite
---------
Co-authored-by: Jacob Fletcher <jacobsfletch@gmail.com >
2024-03-25 14:16:35 -04:00
Elliot DeNolf
76e9bd8ad6
chore: enable no-jsx-import-statements for test dir
2024-03-25 13:51:30 -04:00
Elliot DeNolf
317a443644
chore: remove unused update changelog script
2024-03-25 13:40:07 -04:00
Elliot DeNolf
43f91ca42c
test: run prettier on tsconfig.json after test
2024-03-25 13:36:29 -04:00
Alessio Gravili
8d78d07415
fix: prioritize props path in useField - fixes sub-fields initialized from within fields, like blockName ( #5451 )
2024-03-25 13:21:01 -04:00
Jarrod Flesch
99a00a1ae2
fix(tests): number field e2e ( #5452 )
2024-03-25 13:17:13 -04:00
Patrik
2cd8d891a1
test: passing date fields test suite ( #5412 )
...
* test: passing date fields test suite
* chore: reverts dates from 2024 back to 2023 to remove clutter
2024-03-25 11:49:44 -04:00
Dan Ribbens
7fc33af1e5
fix: image resize tiff files ( #5449 )
2024-03-25 11:09:17 -04:00
Alessio Gravili
67c57a1137
Merge pull request #5436 from payloadcms/temp11
...
chore: improvements to eslint, and access-control + lexical test suites
2024-03-25 10:48:27 -04:00
Alessio Gravili
9f8ac06659
fix: already-sanitized fields were sanitized twice in buildFieldSchemaMap
2024-03-25 10:36:52 -04:00
Alessio Gravili
aea28b28d0
Merge remote-tracking branch 'origin/alpha' into temp11
2024-03-25 10:18:08 -04:00
Paul
ee4cd61696
chore: enable e2e live preview ( #5444 )
2024-03-25 08:39:34 -03:00
Elliot DeNolf
e9f15c377f
chore: lint mdx in lint-staged
2024-03-24 23:18:52 -04:00
Elliot DeNolf
d5935ea81b
chore: lint all json/yml, add to lint-staged
2024-03-24 23:16:26 -04:00
Alessio Gravili
934ad96a98
chore: unflake lexical
2024-03-22 17:09:06 -04:00
Alessio Gravili
2c68f8fba1
chore: unflake access-control, fix incorrect poll & toPass timeouts
2024-03-22 16:42:41 -04:00
Elliot DeNolf
c90de87f37
ci: release script updates
2024-03-22 16:32:23 -04:00
Elliot DeNolf
ab84566d86
ci(deps): update turborepo
2024-03-22 16:19:29 -04:00
Alessio Gravili
4c109a467f
chore: AdminUrlUtil: add ?limit=10 to list view url generator, as it would automatically redirect anyways. Had potential for flaky tests
2024-03-22 15:59:03 -04:00
Alessio Gravili
bc4f6aaf9c
chore: improve id type of adminUrlUtil
2024-03-22 15:46:01 -04:00
Alessio Gravili
cf8ac7e8b3
chore: fix no-flaky-assertions not working withing .toPass callbacks
2024-03-22 15:41:10 -04:00
Alessio Gravili
3a9b230aef
chore: fix payload/no-flaky-assertions not working for chained assertions (e.g. .not.toBe() instead of just .toBe())
2024-03-22 15:33:02 -04:00
Alessio Gravili
016b644d86
fix: do not error if row field has no fields ( #5433 )
2024-03-22 14:29:13 -04:00
Elliot DeNolf
7082b47856
chore(release): v3.0.0-alpha.49 [skip ci]
2024-03-22 12:58:47 -04:00
Elliot DeNolf
57ec382102
Merge pull request #5430 from payloadcms/fix/alpha/more-release-fixes
...
chore: add back live-preview packages to tsconfig paths
2024-03-22 12:49:41 -04:00
Elliot DeNolf
9748ed2259
chore(ui): tsconfig cleanup
2024-03-22 12:39:21 -04:00
Elliot DeNolf
6ec5981f1d
chore: dev app live-preview fix
2024-03-22 12:38:55 -04:00
Elliot DeNolf
e20ea342c2
chore: more specific prettierignore
2024-03-22 12:38:25 -04:00
Alessio Gravili
2ff3603245
fix: unnecessary data fetching for /create operation causing failed network request ( #5431 )
2024-03-22 12:16:29 -04:00
Elliot DeNolf
da6e8f14d6
chore: add back live-preview packages to tsconfig paths
2024-03-22 10:58:05 -04:00
Elliot DeNolf
2dd04739b5
Merge pull request #5428 from payloadcms/fix/alpha/release-fixes
...
fix: alpha release fixes
2024-03-22 10:47:38 -04:00
Alessio Gravili
8e758ea979
chore: new payload/no-flaky-assertions and payload/no-wait-function eslint rules ( #5425 )
2024-03-22 10:12:40 -04:00
Elliot DeNolf
a81f7e2a24
chore(eslint): add no-jsx-import-statements custom rule ( #5420 )
2024-03-22 02:08:49 -04:00
Elliot DeNolf
c98ec3658c
chore: add /uploads pointer files
2024-03-21 22:23:49 -04:00
Elliot DeNolf
249463f7df
chore: remove unused copyfiles:api
2024-03-21 22:10:36 -04:00
Elliot DeNolf
700e77ad43
chore(scripts): script:pack for packing to destination
2024-03-21 17:25:01 -04:00
Jacob Fletcher
1a272879f1
fix(ui): passes initCollapsed through collapsible field map ( #5417 )
2024-03-21 17:15:21 -04:00
Elliot DeNolf
aa6cb4f25b
fix(next): prod css output webpack
2024-03-21 17:09:15 -04:00
Elliot DeNolf
59eec36746
fix: no export * allowed in client
2024-03-21 17:08:46 -04:00
Elliot DeNolf
45baff403a
fix: plugin-db exports
2024-03-21 17:08:07 -04:00
Jacob Fletcher
5de1883390
fix(ui): ensures row label context exists for collapsible fields ( #5416 )
2024-03-21 16:41:35 -04:00
Alessio Gravili
35b0d213a6
fix: move form data retrieval logic to client ( #5411 )
...
* fix: only execute onChange if form modified
* fix: move document loading logic from RSC to DocumentInfoProvider
* fix: make it work for globals
* chore: remove unnecessary diffs
---------
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2024-03-21 16:38:12 -04:00
Elliot DeNolf
774a4b7533
fix: bad publishConfig for ui and translations
2024-03-21 16:12:33 -04:00
Elliot DeNolf
11cbb774bc
chore: update codeowners file
2024-03-21 14:16:19 -04:00
Elliot DeNolf
0f7d0a03d9
chore: remove unused release-it config
2024-03-21 14:16:06 -04:00
Elliot DeNolf
cb568a1af4
chore: put @payload-config back to default
2024-03-21 12:54:23 -04:00
Elliot DeNolf
f4da03d840
Merge pull request #5409 from payloadcms/test/misc-fixes
...
test: add build:tests command, misc test and export fixes
2024-03-21 12:53:19 -04:00
Elliot DeNolf
e5cc8123b9
chore: tsconfig.json conflicts
2024-03-21 12:38:04 -04:00
Elliot DeNolf
cc13e1210d
chore: comment out non-functioning generateGraphQLSchema test/ script
2024-03-21 12:34:22 -04:00
Jacob Fletcher
1e838f2e55
Merge pull request #5407 from payloadcms/fix/misc-fields
...
fix(ui): misc fields
2024-03-21 12:18:16 -04:00
Jacob Fletcher
154d4170cc
chore: fixes import paths
2024-03-21 12:08:30 -04:00
Jacob Fletcher
64d6163f13
chore(ui): consolidates field label, error, and description components
2024-03-21 12:08:20 -04:00
Jacob Fletcher
85ffc5d8bf
fix(ui): renders default group field labels and reduces field margins
2024-03-21 12:06:59 -04:00
Jacob Fletcher
38f36d465c
fix(ui): disables adding id to nested field maps
2024-03-21 12:06:45 -04:00
Jacob Fletcher
d956055795
fix(ui): renders custom row labels
2024-03-21 12:06:32 -04:00
Elliot DeNolf
c1e1cd0596
test: misc test dir type fixes
2024-03-21 11:51:29 -04:00
Elliot DeNolf
a3df2ca0ef
chore(ui): export EditView
2024-03-21 11:50:20 -04:00
Elliot DeNolf
6b3325d0ba
test: remove root:true from test config
2024-03-21 11:49:35 -04:00
Elliot DeNolf
9e4dd44a2e
test: proper turbo filter on test typecheck
2024-03-21 11:49:09 -04:00
Elliot DeNolf
e880588aac
test: add -o flag to dev to open admin
2024-03-21 11:39:27 -04:00
Elliot DeNolf
c2af3df331
test: force @payload-config back to _community
2024-03-21 11:29:40 -04:00
Elliot DeNolf
46be6e37dc
test: fix auth jwt call
2024-03-21 11:08:41 -04:00
Elliot DeNolf
5165077bc9
chore: getFileByPath to named export
2024-03-21 10:18:08 -04:00
Alessio Gravili
5ae537f23c
Merge pull request #5393 from payloadcms/fix/auth-test-suite
...
fix: new playwright eslint rules, fix flakes in auth test suite and helpers.ts, add auth suite to CI
2024-03-20 23:48:17 -04:00
Alessio Gravili
5f572dbd04
chore: unflake auth e2e tests
2024-03-20 23:28:56 -04:00
Alessio Gravili
d511e80b01
chore: new payload/no-relative-monorepo-imports eslint rule
2024-03-20 23:03:09 -04:00
Alessio Gravili
27dfa41b67
chore: custom eslint rule which complains about flaky non-retryable playwright assertions
2024-03-20 22:51:27 -04:00
Alessio Gravili
f55c28352e
chore: delayNetwork helper function for playwright
2024-03-20 21:49:48 -04:00
Alessio Gravili
a7b884d170
Merge remote-tracking branch 'origin/alpha' into fix/auth-test-suite
2024-03-20 19:23:14 -04:00
Dan Ribbens
fd4f996c30
fix: skip validation for other locales when duplicating ( #5394 )
...
* fix: skip validation for other locales when duplicating
* fix: duplicate document errors toast
2024-03-20 16:58:31 -03:00
Jacob Fletcher
c897037b7a
Merge pull request #5391 from payloadcms/chore/optimize-comp-map
...
chore: optimize the component map
2024-03-20 15:40:53 -04:00
Elliot DeNolf
11fe64eee3
ci: adjust e2e artifacts path
2024-03-20 15:26:16 -04:00
Jacob Fletcher
6cbc0f0304
Merge branch 'alpha' into chore/optimize-comp-map
2024-03-20 15:19:26 -04:00
Jacob Fletcher
b3d28bac6a
chore(ui): client-side renders all default field labels, descriptions, and errors
2024-03-20 15:18:05 -04:00
Alessio Gravili
96833bdf89
chore: run auth test suite in CI
2024-03-20 14:35:32 -04:00
Patrik
6cf5730bcb
test: passing json fields test suite ( #5389 )
...
* test: passing json fields test suite
* test: actually gets json tests to pass
2024-03-20 14:21:58 -04:00
Jarrod Flesch
e5403f8dfd
fix: return state inside whereBuilder reducer ( #5392 )
2024-03-20 14:09:04 -04:00
Jarrod Flesch
8278992feb
feat(alpha): list view improvements, querying, ssr data loading ( #5390 )
2024-03-20 13:48:35 -04:00
Jacob Fletcher
9f690c1f5d
chore(ui): client-side renders table column headings
2024-03-20 13:47:59 -04:00
Jacob Fletcher
b946f7e697
chore(ui): client-side renders all default cells
2024-03-20 13:11:12 -04:00
Jacob Fletcher
c9dea854f6
fix(ui): removes duplicative hidden field from block rows ( #5387 )
...
* fix(ui): removes duplicative hidden field from block rows
* fixes proper file
2024-03-20 14:06:29 -03:00
Jacob Fletcher
e72dfe5af2
chore(ui): excludes preferences and migrations collections from component map
2024-03-20 12:58:45 -04:00
Elliot DeNolf
d5912a53f4
ci: cancel in-progress runs of same ref ( #5384 )
2024-03-20 12:57:45 -04:00
Patrik
cb5d005e68
test: passing array fields test suite ( #5383 )
...
* test: array tests passing except bulk update
* test: passing array fields test suite
2024-03-20 12:00:56 -04:00
Elliot DeNolf
0dd0f39250
Merge pull request #5368 from payloadcms/newtests
...
chore: get e2e and dev to work with test as new root directory
2024-03-20 11:24:46 -04:00
Alessio Gravili
9c7e250109
fix all imports in tests
2024-03-20 11:09:22 -04:00
Alessio Gravili
ca103b6af3
fixes
2024-03-20 11:03:59 -04:00
Alessio Gravili
2f75ee9472
fixes
2024-03-20 10:59:29 -04:00
Alessio Gravili
7eab38afa7
fixes
2024-03-20 10:53:33 -04:00
Alessio Gravili
68d0a442e4
fixes
2024-03-20 10:52:21 -04:00
Alessio Gravili
ee2b6d3b85
fix jsx imports
2024-03-20 10:41:30 -04:00
Alessio Gravili
e73220e069
chore: fix build errors
2024-03-20 10:30:46 -04:00
Alessio Gravili
d2a1404f04
Merge remote-tracking branch 'origin/alpha' into newtests
2024-03-20 10:26:35 -04:00
Alessio Gravili
c8a7eb4988
fix: next webpack config entry path
2024-03-20 10:09:20 -04:00
Alessio Gravili
7ec37e058e
chore: adjust imports for richtext-slate
2024-03-20 10:07:30 -04:00
Alessio Gravili
64f2d2a502
fix: debugging by moving app dir out of test
2024-03-20 09:48:05 -04:00
Elliot DeNolf
6afb4ccf26
Merge pull request #5381 from payloadcms/chore/build-fixes
...
chore: build fixes
2024-03-20 03:52:13 -04:00
Elliot DeNolf
a4676d1fea
chore: more next build fixes
2024-03-20 03:35:50 -04:00
Elliot DeNolf
97173de555
ci: remove auth e2e, passes locally but fails in CI
2024-03-20 03:17:56 -04:00
Elliot DeNolf
9e6d01b2a1
chore: fix ui build
2024-03-20 03:17:12 -04:00
Jacob Fletcher
d3a5437079
Merge pull request #5379 from payloadcms/fix/radio-map
...
fix(ui): radio field map
2024-03-19 23:46:50 -04:00
Jacob Fletcher
b22a03a317
fix(ui): builds radio fields in component map
2024-03-19 23:40:35 -04:00
Jacob Fletcher
06cd13aef2
chore(ui): types mapped rich text field props
2024-03-19 23:37:50 -04:00
Elliot DeNolf
25a3feb2ca
chore(ui): more elements default fixes
2024-03-19 18:00:58 -04:00
James
c8c3332366
Merge branch 'newtests' of github.com:payloadcms/payload into newtests
2024-03-19 17:56:50 -04:00
James
006b315120
chore: moves buildComponentMap stuff out of client file
2024-03-19 17:56:29 -04:00
Alessio Gravili
f74d6efcae
Merge remote-tracking branch 'origin/newtests' into newtests
2024-03-19 17:43:05 -04:00
Alessio Gravili
b2d802aa85
fix testHooks paths
2024-03-19 17:42:58 -04:00
James
964a51e21d
chore: ???
2024-03-19 17:41:59 -04:00
James
4a43db06dd
Merge branch 'newtests' of github.com:payloadcms/payload into newtests
2024-03-19 17:32:44 -04:00
James
3ce7fe638f
chore: adds back webpack to ui if we need it
2024-03-19 17:32:32 -04:00
Alessio Gravili
c2a4d44bf4
richtext-lexical
2024-03-19 17:26:41 -04:00
James
867817f568
chore: adds scss removal plugin back to ui
2024-03-19 17:23:07 -04:00
James
46a56a236f
Merge branch 'newtests' of github.com:payloadcms/payload into newtests
2024-03-19 17:15:08 -04:00
James
6357009055
chore: finishes next dependency imports
2024-03-19 17:14:57 -04:00
Elliot DeNolf
42f7091038
chore: update ui refs next versions
2024-03-19 17:11:29 -04:00
James
a3c63fcdf0
Merge branch 'newtests' of github.com:payloadcms/payload into newtests
2024-03-19 17:00:17 -04:00
James
6b358c626f
Merge branch 'newtests' of github.com:payloadcms/payload into newtests
2024-03-19 17:00:07 -04:00
Elliot DeNolf
3bbfa822d7
chore: update ui refs in plugins
2024-03-19 17:00:04 -04:00
James
a13fc138f2
chore: converts list to use specific imports
2024-03-19 16:59:57 -04:00
Jacob Fletcher
721a082758
Merge pull request #5376 from payloadcms/fix/array-paths
...
fix(ui): array fields
2024-03-19 16:54:50 -04:00
Alessio Gravili
07288de5a1
pnpm lock
2024-03-19 16:51:10 -04:00
Alessio Gravili
ac0bb78412
tsconfig paths to fix webstorm
2024-03-19 16:50:27 -04:00
James
c24464179b
chore: progress to next
2024-03-19 16:43:30 -04:00
Jacob Fletcher
d473600a15
fix(ui): removes duplicative hidden field from array rows
2024-03-19 16:29:37 -04:00
James
accd9eaa27
chore: progress to next build
2024-03-19 16:25:19 -04:00
Jarrod Flesch
cb180cbbf8
feat: search filter in list view
2024-03-19 16:22:10 -04:00
Jarrod Flesch
a3dbe482e2
chore: fixes flattenFields function
2024-03-19 16:17:17 -04:00
James
959302a868
chore: progress to next
2024-03-19 16:16:08 -04:00
Dan Ribbens
95be2b55f7
fix: duplicate locales ( #5371 )
...
* fix: duplicate documents with locales
* fix: duplicate execute access data
2024-03-19 17:08:14 -03:00
James
3bce86a1e8
chore: progress to next repo
2024-03-19 15:58:17 -04:00
James
dd10931316
chore: buildable ui
2024-03-19 15:52:38 -04:00
James
f5b8f5a6f8
chore: merge
2024-03-19 15:44:23 -04:00
James
65fddc5d28
chore: resolve build issues
2024-03-19 15:43:57 -04:00
Elliot DeNolf
d3ac843249
chore: rename Header ot AppHeader from usage
2024-03-19 15:43:16 -04:00
Elliot DeNolf
1b5f4f5c3c
chore: EditMany FormProps ref
2024-03-19 15:42:57 -04:00
Alessio Gravili
1af558af44
chore: fix incorrect import in tests
2024-03-19 15:40:37 -04:00
Elliot DeNolf
b3b36f3340
chore(ui): more elements rework to EditMany
2024-03-19 15:39:48 -04:00
Elliot DeNolf
4624659af6
chore(ui): more elements rework to Loading
2024-03-19 15:37:57 -04:00
Elliot DeNolf
ab649af8be
chore(ui): rework elements end to PerPage
2024-03-19 15:37:57 -04:00
James
c5491e6f27
chore: linting useThumbnail
2024-03-19 15:36:29 -04:00
James
b47b5ddb05
chore: more progress to elements
2024-03-19 15:30:07 -04:00
James
095799a816
chore: merge
2024-03-19 15:24:52 -04:00
James
1104b6daa4
chore: progress to element exports
2024-03-19 15:23:22 -04:00
Alessio Gravili
4ecd811302
adjust providers
2024-03-19 15:18:58 -04:00
Alessio Gravili
b112ccd6d8
templates and graphics
2024-03-19 15:11:08 -04:00
Jacob Fletcher
bee32f9898
fix(ui): takes context as precedent when determining field paths
2024-03-19 15:09:02 -04:00
Alessio Gravili
69fce590e3
graphics
2024-03-19 14:57:31 -04:00
Alessio Gravili
c51ed43a10
fix: access control test suite & add it to CI ( #5372 )
2024-03-19 14:47:16 -04:00
James
fd51511380
chore: merge
2024-03-19 14:44:28 -04:00
James
8a054d8cc9
chore: moves fields, preps for individual export
2024-03-19 14:43:46 -04:00
Alessio Gravili
91731896c4
providers
2024-03-19 14:25:16 -04:00
Paul
e897d04218
fix: not-found being squished ( #5369 )
2024-03-19 13:32:30 -03:00
James
69e4de6ba9
Merge branch 'newtests' of github.com:payloadcms/payload into newtests
2024-03-19 12:24:38 -04:00
James
6b176066ec
chore: progress to removing barrel file reliance
2024-03-19 12:23:57 -04:00
Alessio Gravili
4c372962fc
fix publishConfig
2024-03-19 11:39:25 -04:00
Jacob Fletcher
001f386244
chore: splits client config into separate files ( #5367 )
2024-03-19 11:38:33 -04:00
Alessio Gravili
5eb73e0c05
remove unnecessary TypeScript import
2024-03-19 11:34:22 -04:00
Alessio Gravili
3347f92414
stuff
2024-03-19 11:33:32 -04:00
Alessio Gravili
72c6200f17
get e2e and dev to work with test as new root directory
2024-03-19 11:31:50 -04:00
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
Jacob Fletcher
b259bc60a2
Merge pull request #5358 from payloadcms/chore/select-labels
...
fix(ui): renders select options labels from component map and migrates SanitizedConfig to ClientConfig types
2024-03-19 10:19:55 -04:00
Jacob Fletcher
772d5e10b8
chore: migrates from SanitizedConfig to ClientConfig types where necessary
2024-03-19 10:18:20 -04:00
Jacob Fletcher
7e96560fbb
chore(ui): adds disableBulkEdit and unique to field map
2024-03-19 10:18:08 -04:00
Jacob Fletcher
6ae5e11c6f
fix(ui): renders label from component map in select field
2024-03-19 10:14:06 -04:00
Alessio Gravili
9877fe2eed
chore: add test directory to package.json workspaces directory ( #5365 )
2024-03-19 09:59:20 -04:00
Alessio Gravili
fe086e90a1
chore: add auth to CI ( #5363 )
2024-03-19 09:42:59 -04:00
Elliot DeNolf
c9958e1634
ci: disable postgres temporarily
2024-03-19 09:35:44 -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
Paul Popus
bf7c38d8e8
chore: add escape-html to dev deps
2024-03-19 09:47:48 -03:00
Elliot DeNolf
f361d153d1
chore: suppress memory db log message if in CI
2024-03-19 02:13:09 -04:00
Elliot DeNolf
0e571c3e35
ci: ignore fields int tests for now
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
Elliot DeNolf
1e10f021b5
chore: update all package.json main, types, exports, publishConfig
2024-03-19 00:45:50 -04:00
Paul Popus
7d0bd49ae3
fix: live-preview replace goToDoc utility with correct waitForURL
2024-03-18 18:38:07 -03:00
Elliot DeNolf
d4e7cabee5
ci: comment out all e2e tests
2024-03-18 17:11:38 -04: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
Jacob Fletcher
9182d8d594
fix(ui): falls back custom fields as undefined instead of null
2024-03-18 16:50:15 -04:00
Elliot DeNolf
7df3434c6a
ci: run e2e tests individually
2024-03-18 16:48:28 -04:00
Alessio Gravili
5e9014b2c3
chore: fix some eslint errors
2024-03-18 16:46:56 -04:00
Alessio Gravili
4d95c824f3
Merge remote-tracking branch 'origin/alpha' into alpha
2024-03-18 16:24:52 -04:00
Alessio Gravili
28d7d2544e
fix: live preview aliases
2024-03-18 16:24:40 -04:00
Jacob Fletcher
decc56e54d
fix: properly renders custom field components
2024-03-18 16:21:52 -04:00
Alessio Gravili
976d86ae1a
fix: missing name in ID field
2024-03-18 16:06:22 -04:00
Alessio Gravili
4e650e17aa
chore: remove some default exports
2024-03-18 15:50:53 -04:00
Alessio Gravili
d08d04debd
fix: build errors by making getTranslation return type smarter
2024-03-18 15:48:03 -04:00
Alessio Gravili
602108b150
Merge remote-tracking branch 'origin/alpha' into alpha
2024-03-18 15:43:47 -04:00
Alessio Gravili
a9b1a2e7b7
fix: live-preview build
2024-03-18 15:43:40 -04:00
Jarrod Flesch
99f31bbc23
feat: wires up server-action for language translation loading ( #5346 )
2024-03-18 15:42:45 -04:00
James
6c2faf68c4
Merge branch 'alpha' of github.com:payloadcms/payload into alpha
2024-03-18 15:35:15 -04:00
James
ee8c29c5ef
chore: missing getTranslation in create op
2024-03-18 15:35:04 -04: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
Alessio Gravili
034e85aa87
fix: APIKey Component validation and React Element handling inside getTranslation
2024-03-18 14:32:17 -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
10786c6ca8
fix(ui): client-side hidden fields
2024-03-18 14:26:35 -04:00
Jacob Fletcher
55d9377403
chore(ui): client-side renders all default fields ( #5357 )
2024-03-18 12:51:39 -04:00
James
70f29785ca
chore: removes unused prop
2024-03-18 12:19:32 -04:00
James
e197c5120d
Merge branch 'alpha' of github.com:payloadcms/payload into alpha
2024-03-18 12:17:59 -04:00
James
2cf72aea81
chore: fixes mongodb memory server timeout issues
2024-03-18 12:17:43 -04:00
Alessio Gravili
30111bb125
chore: push updated translation files
2024-03-18 12:04:34 -04:00
Alessio Gravili
7d38f6b074
chore: upgrade TypeScript from 5.2.2 to 5.4.2
2024-03-18 12:02:00 -04:00
Paul Popus
7e625b8e9e
fix: fieldComponentProps undefined error in mapFields
2024-03-18 12:22:34 -03:00
James
152eea3cb8
chore: removes unused prop
2024-03-18 11:18:26 -04:00
James
ee72b1be5d
Merge branch 'alpha' of github.com:payloadcms/payload into alpha
2024-03-18 11:04:05 -04:00
James
605d96b71b
chore: avoids passing fieldTypes in buildComponentMap
2024-03-18 11:03:14 -04:00
Alessio Gravili
8e1c7d955f
chore: add back --no-deprecation to dev script
2024-03-18 10:57:42 -04:00
Alessio Gravili
8046b5675f
fix: do not break default edit view if there is no user
2024-03-18 10:54:09 -04:00
James
0ac8a39c5e
Merge branch 'alpha' of github.com:payloadcms/payload into alpha
2024-03-18 10:36:53 -04:00
James
81522b33e6
chore: removes setOnSave from DocumentInfo, refreshes cookie when saving user
2024-03-18 10:36:13 -04:00
Paul Popus
4df49689a9
chore: add csrf and cors config to live preview
2024-03-18 10:29:11 -03:00
Elliot DeNolf
0f7106bf4a
ci: bump actions/upload-artifact
2024-03-16 19:43:16 -04: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
ef141d499b
ci: bump all actions to use Node 20. 16 is deprecated.
2024-03-16 07:35:27 -04:00
Elliot DeNolf
1ab27e8fe3
test: update packages/ test configs
2024-03-16 07:34:49 -04:00
Elliot DeNolf
145a3b7ee4
ci: update paths-filter
2024-03-16 07:19:02 -04:00
Elliot DeNolf
a042327741
chore: sync pnpm-lock.yaml
2024-03-16 07:16:29 -04:00
Elliot DeNolf
4eba651c3d
test: refine testHooks
2024-03-16 07:00:38 -04:00
Elliot DeNolf
ba3b2ea66f
chore: script cleanup
2024-03-16 06:52:55 -04:00
Elliot DeNolf
c48719dfdb
test: fix next/link import
2024-03-16 06:46:30 -04:00
Elliot DeNolf
1680f0ef52
chore: cleanup
2024-03-16 06:45:54 -04:00
Elliot DeNolf
ae6c4b2ddf
test: remove typescript declare from test suite type output
2024-03-16 06:45:32 -04:00
Elliot DeNolf
8e9192181d
chore: remove node warnings
2024-03-16 06:43:55 -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
b215eae914
chore(ui): exports missing FieldType and Options
2024-03-16 01:10:09 -04:00
Elliot DeNolf
1123e4e751
ci: disable tests-type-generation job
2024-03-15 17:50:57 -04:00
Elliot DeNolf
203bc26c0e
ci: disable templates job
2024-03-15 17:46:07 -04:00
Jacob Fletcher
fb4651bdad
chore(ui): strictly types fields ( #5344 )
2024-03-15 17:41:48 -04:00
Elliot DeNolf
09f2926bbb
test(plugin-cloud): update jest config for esm
2024-03-15 17:28:39 -04:00
Jarrod Flesch
eef06425a3
chore: passing versions e2e ( #5343 )
2024-03-15 17:09:32 -04:00
Alessio Gravili
b329e3c43c
fix: browser console warning: Skipping auto-scroll behavior due to position: sticky or position: fixed on element
2024-03-15 17:02:41 -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
James
6311156169
chore: optimizes buildFormState by passing prefs from admin
2024-03-15 15:28:05 -04:00
Elliot DeNolf
695a814eb3
ci: explicitly install playwright
2024-03-15 15:17:05 -04:00
Elliot DeNolf
5ef2e35685
test: fix mongodb destroy
2024-03-15 15:11:04 -04:00
Alessio Gravili
8818ed9d7b
fix: document permissions not working for Document Drawers
2024-03-15 15:06:55 -04:00
Paul Popus
d785af1826
fix: core fixes to the live-preview e2e test suite
2024-03-15 15:36:58 -03:00
Alessio Gravili
398811a14e
fix: Document Drawers triggered from relationship fields were requesting form state from field schemaPath rather than the actual, requested collection
2024-03-15 14:32:12 -04: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
3e11379e6c
chore: add jest runner to extensions
2024-03-15 13:24:54 -04:00
Elliot DeNolf
f78d0b7c7a
chore: add proper playwright ext to extensions.json
2024-03-15 13:21:55 -04:00
Elliot DeNolf
978e19c817
test: fix custom-graphql beforeAll
2024-03-15 12:19:00 -04:00
Alessio Gravili
1550e32282
chore: keep sync and ui next versions in sync. Only the monorepo next version has to be different
2024-03-15 11:53:31 -04:00
Alessio Gravili
7fb2dc6500
chore: fix playwright by making sure ui uses a different next version than anything else
2024-03-15 11:50:57 -04:00
Alessio Gravili
92654af609
fix: properly type getPreferences and update richtext-lexical's block collapsed handling to match that type
2024-03-15 10:53:32 -04:00
Alessio Gravili
c10787dbb3
chore: fix ts-eslint not being able to work with types imported across packages
2024-03-15 10:46:14 -04:00
Elliot DeNolf
4fecb7fad9
chore(richtext-lexical): do not pass DefaultCell
2024-03-15 10:23:39 -04:00
Elliot DeNolf
01a121868b
revert(db-mongodb): add back 'as any' removed during lint
2024-03-15 10:13:48 -04:00
Paul Popus
a023009dee
fix: not returning not found when fetching docPermissions when id doesnt exist
2024-03-15 11:09:06 -03:00
Paul Popus
e301393f33
fix: add conditional for getCustomViewByRoute
2024-03-15 10:26:55 -03:00
Alessio Gravili
39600fb0f5
fix(eslint-config-payload): get eslint-config-prettier to work properly by moving it to the end of the extends array
2024-03-15 09:22:28 -04:00
Paul Popus
663cde7676
chore: track website media pictures
2024-03-15 10:06:07 -03:00
Elliot DeNolf
dac771c096
Merge pull request #5337 from payloadcms/alpha-lint-prettier
...
chore: eslint improvements, run eslint & prettier everywhere
2024-03-15 08:58:24 -04:00
Alessio Gravili
b8b1d572b4
chore: add lint & prettier commit to .git-blame-ignore-revs
2024-03-14 23:55:05 -04:00
Alessio Gravili
6789e61488
chore: run lint & prettier on everything
2024-03-14 23:53:47 -04:00
Alessio Gravili
051fdfb081
chore: more eslint rule improvements
2024-03-14 23:40:07 -04:00
Alessio Gravili
1f07a827ec
chore: remove unused eslint-plugin-import
2024-03-14 23:17:43 -04:00
Alessio Gravili
81618d2efc
chore: eslint: turn off react/jsx-one-expression-per-line rule which is conflicting with prettier
2024-03-14 22:54:59 -04:00
Alessio Gravili
6f44a88ffd
chore: add @typescript-eslint/no-unnecessary-type-constraint rule to warn-only
2024-03-14 22:51:49 -04:00
Alessio Gravili
4300c3d550
chore: add missing .prettierignore files. Without them, folders like "dist" would not be excluded on a package-level despite a root-level .prettierignore being present
2024-03-14 22:48:27 -04:00
Alessio Gravili
5fbf7b3d24
chore: improve pre-defined eslint ignorePatterns
2024-03-14 22:44:31 -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
5e68fa1255
chore: change eslint sharedRules to baseRules to match baseExtends
2024-03-14 22:20:33 -04:00
Alessio Gravili
f1c322fe69
chore: narrow down eslint included files, change some rules to warn-only instead of erroring
2024-03-14 22:18:35 -04:00
Alessio Gravili
580520f100
chore: add back relaxed eslint rules for tests
2024-03-14 21:22:30 -04:00
Alessio Gravili
40343df255
fix(richtext-lexical): createHeadlessEditor import
2024-03-14 17:04:29 -04:00
Alessio Gravili
57f8b427db
fix(richtext-lexical): remove Lazy field & cell components, which fixes RSC errors, likely due to RSC bug where React.lazy's are not handled properly
2024-03-14 17:01:14 -04:00
Jacob Fletcher
f85e96acac
fix(ui): executes filterOptions on the server ( #5335 )
2024-03-14 16:53:24 -04:00
Alessio Gravili
bff83f1785
chore: upgrade next
2024-03-14 16:47:57 -04:00
Alessio Gravili
ca27748799
fix(richtext-lexical): get sub-block-lexical fields to work 4 out of 5 times
2024-03-14 16:42:08 -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
Elliot DeNolf
821777bd64
chore: remove redundant token deletion
2024-03-14 15:52:47 -04:00
Kendell Joseph
84c2fa9491
fix: forgot password view ( #5322 )
2024-03-14 15:46:42 -04: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
Jacob Fletcher
cbfc7c8b43
docs: adds jsdocs for filterOptions and syncs docs
2024-03-14 15:00:17 -04:00
Jacob Fletcher
6a43065316
chore: sanitizes live preview url from client config
2024-03-14 14:30:44 -04:00
Jacob Fletcher
9dd390f7a7
chore: more strictly types client config
2024-03-14 14:17:11 -04:00
Elliot DeNolf
6c631cb11e
test: jest debug-compatible pluralize import
2024-03-14 13:58:06 -04:00
Elliot DeNolf
817b790757
ci: add github-actions jest reporter
2024-03-14 13:32:05 -04:00
James
98aa8cc22a
Merge branch 'feat/doc-permissions' into alpha
2024-03-14 13:03:13 -04:00
James
e9e228abaf
chore: builds
2024-03-14 13:02:06 -04:00
Jacob Fletcher
909bb6f6cf
chore: sanitizes admin hooks from client config
2024-03-14 12:20:25 -04:00
Elliot DeNolf
e8b47eef2f
chore(plugin-sentry): migrate esm, remove webpack
2024-03-14 12:15:58 -04:00
Paul Popus
415ba26efe
fix: openNav selector in test helpers
2024-03-14 13:11:52 -03:00
Elliot DeNolf
777e2744c4
test(plugin-seo): proper import and lint
2024-03-14 11:54:54 -04:00
Elliot DeNolf
53a09f4989
chore(create-payload-app): migrate to esm, adjust init-next tests
2024-03-14 11:12:28 -04:00
Alessio Gravili
e3e0f056a9
chore: auth test suite lint & prettier
2024-03-14 10:48:48 -04:00
Alessio Gravili
b6ce1fbd51
chore: downgrade next version of ui to fix e2e tests
2024-03-14 10:35:23 -04:00
Alessio Gravili
7267cfdbfc
chore: make sure installed next versions match everywhere
2024-03-14 10:16:32 -04:00
Jacob Fletcher
fa259aa194
fix(next): custom edit view base override
2024-03-14 10:06:35 -04:00
Patrik
da1d2873d5
chore: adds blank 3.0 template ( #5330 )
2024-03-14 09:59:36 -04:00
James
be88d278c6
chore: builds
2024-03-13 22:22:15 -04:00
Jacob Fletcher
81cb8c83bf
fix(ui): renders versions tab count only when docs exist
2024-03-13 17:39:50 -04:00
Paul Popus
eee44a9919
fix: helper.ts issues with changing locales in tests
2024-03-13 18:17:00 -03:00
Jacob Fletcher
4f730410bc
fix(next): custom root views ( #5321 )
2024-03-13 17:15:38 -04:00
Paul Popus
171144be80
fix: tests running with local API imported from the payload package instead of the HMR from the next package
2024-03-13 18:01:11 -03:00
Alessio Gravili
5c2bcba000
fix: document view issues ( #5324 )
...
* fix: cannot get versions view for globals, return Unauthorized view if you are unauthorized instead of the Not Found view for document edit views. This makes it match the API
* chore: ensure there is always an error view to render if needed
2024-03-13 16:59:40 -04:00
Paul
5b5c6e975d
fix: redirect issue when creating a post in a different locale and being redirected to the default locale on submit ( #5323 )
...
* fix: redirect issue when creating a post in a different locale and being redirected to the default locale on submit
* style fixes
2024-03-13 17:25:05 -03:00
Alessio Gravili
45110f60c3
chore: ignore flaky "Failed to fetch RSC payload for" browser console error in playwright
2024-03-13 15:36:47 -04:00
Jarrod Flesch
26c434c4ee
chore: implements clearRouteCache in other list actions
2024-03-13 15:25:36 -04:00
Alessio Gravili
2e872d4818
chore: add className to unauthorized component to appease access control e2e test selectors
2024-03-13 15:14:07 -04:00
Elliot DeNolf
30a1219f9d
ci: release script outputs stderr on publish
2024-03-13 15:06:02 -04:00
Alessio Gravili
cf1632f80b
chore: db init & destroy type improvements. No need to pass in payload again, as the functions already have access to it through the adapter
2024-03-13 15:04:16 -04:00
Alessio Gravili
885b003730
chore: payload HMR type & globals improvements
2024-03-13 15:02:55 -04:00
Paul Popus
a9a61b2617
fix: locales not using fallbackLocale in the admin UI and re-rendering issue when changing locales
2024-03-13 15:51:46 -03:00
Elliot DeNolf
b968d8594c
ci: proper mongodb memory server configuration ( #5318 )
...
* ci: mongo memory server instance
* test: use proper mongo memory opts
* chore: rollback mongodb-memory-server dep
* chore: more mongodb-memory-server
2024-03-13 14:44:12 -04:00
Jarrod Flesch
d7ebb871bb
feat: adds routerCache provider
2024-03-13 14:33:03 -04:00
Alessio Gravili
6f67b2381a
fix: missing collection permission redirect to unauthorized view
2024-03-13 14:32:20 -04:00
James
2237d7e860
Merge branch 'alpha' of github.com:payloadcms/payload into alpha
2024-03-13 13:59:53 -04:00
James
6ea456d6da
chore: reduces date-fns locales loaded
2024-03-13 13:59:38 -04:00
Alessio Gravili
f0a2edf7cf
chore: fix dev script
2024-03-13 13:07:55 -04:00
Jarrod Flesch
881fcd4e9b
chore: alter @payload-config tsconfig for e2e tests
2024-03-13 13:01:28 -04:00
Alessio Gravili
8954af5c53
chore: automatically adjust tsconfig @payload-config path when running e2e tests
2024-03-13 12:32:06 -04:00
Elliot DeNolf
e3c6d5859b
chore(eslint): properly order overrides
2024-03-13 12:10:54 -04:00
Paul Popus
16441b5b6a
chore: add playwright ext to .vscode
2024-03-13 13:01:36 -03:00
Paul Popus
195b1ccfcc
chore: remove npx playwright install from test:e2e command
2024-03-13 12:55:21 -03:00
Elliot DeNolf
b3f5670cc0
chore(eslint): properly spread shared rules
2024-03-13 11:53:11 -04:00
Elliot DeNolf
e43c80b4f5
chore(eslint): shared rules
2024-03-13 11:50:58 -04:00
Alessio Gravili
931e2f6134
chore(eslint-config-payload): more granular eslint config ( #5315 )
2024-03-13 11:05:28 -04:00
Paul
e091a37241
chore: update seo plugin ( #5309 )
...
* chore: update seo plugin
* fix translations export
2024-03-12 18:47:14 -03:00
Paul
5f093846a7
chore: add admin access control to buildFormState ( #5310 )
2024-03-12 18:46:41 -03:00
Alessio Gravili
dcbae0618c
chore: rename getPayload to getPayloadHMR
2024-03-12 17:16:48 -04:00
Dan Ribbens
4d70d6319b
chore: reduce db io by optimizing internal calls ( #5302 )
2024-03-12 16:31:02 -04:00
Dan Ribbens
09484667f0
chore: relationships int test race condition
2024-03-12 16:30:06 -04:00
Dan Ribbens
04fcf57d0a
Fix/alpha/int tests ( #5311 )
...
* chore: converts dynamic imports to esm require
* chore: adjusts require and import usage
* chore: reverts bin script change
* chore: adjust dataloaded tests to use slate editor
* fix: converts custom auth strategy
* chore: fixes to form builder int test config
* chore: adjusts plugin-stripe and int tests
---------
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2024-03-12 16:27:43 -04:00
Alessio Gravili
8436dd5851
chore(plugin-cloud-storage): add proper error messages if peerDeps are not found for webpack
2024-03-12 16:15:37 -04:00
Jacob Fletcher
bbae8cccfb
chore(i18n): adds authentication:createFirstUser to client translations
2024-03-12 16:08:15 -04:00
Jarrod Flesch
044fa2d10f
chore: customizes req.json on payload request
2024-03-12 16:02:55 -04:00
Alessio Gravili
2dd50cccd3
chore: improve obliterate-playwright-cache command
2024-03-12 15:58:35 -04:00
Alessio Gravili
c05ffb0c6b
chore: update playwright patch to work on windows
2024-03-12 15:47:04 -04:00
Jacob Fletcher
935044d2da
chore(i18n): adds error:unauthorized to client translations
2024-03-12 15:13:26 -04:00
Alessio Gravili
6ec6505a5d
chore: use matching aws/client-s3 version in monorepo
2024-03-12 14:58:40 -04:00
Dan Ribbens
96e0f55c61
chore(release): v3.0.0-alpha.48 [skip ci]
2024-03-12 14:51:40 -04:00
Alessio Gravili
b765f06dfd
chore(plugin-cloud-storage): correct publishConfig exports again
2024-03-12 14:40:46 -04:00
Alessio Gravili
8da6318cc6
chore(plugin-cloud-storage): correct publishConfig exports
2024-03-12 14:37:31 -04:00
Dan Ribbens
0fcdec604c
chore(release): v3.0.0-alpha.47 [skip ci]
2024-03-12 14:14:16 -04:00
Alessio Gravili
3edda36a91
chore(plugin-cloud-storage): update .gitignore
2024-03-12 13:56:42 -04:00
Alessio Gravili
97d65bfca0
Merge remote-tracking branch 'origin/alpha' into alpha
2024-03-12 13:54:35 -04:00
Alessio Gravili
66771c6f62
chore(plugin-cloud-storage): package.json exports and automated generation of barrel files
2024-03-12 13:54:27 -04:00
Patrik
e6b23aee18
fix(ui): field label htmlFor ( #5308 )
2024-03-12 13:54:00 -04:00
Alessio Gravili
5e9ee50f99
fix(plugin-cloud-storage): make sure barrel files use import instead of require
2024-03-12 13:49:54 -04:00
Jarrod Flesch
93584bc766
chore: use require if it exists on the global, else use esm import ( #5305 )
2024-03-12 13:32:05 -04:00
Alessio Gravili
a89180ea06
chore: make sure deprecation warnings do not happen in jest
2024-03-12 12:54:04 -04:00
Alessio Gravili
4983da7efa
chore(eslint-config-payload): improve @typescript-eslint/no-unused-vars rule ( #4793 )
2024-03-12 12:46:47 -04:00
Jacob Fletcher
8fd6bd4c71
fix(ui): document drawer titles ( #5306 )
2024-03-12 12:40:15 -04:00
Alessio Gravili
c7ea62a394
fix: JSON Field: validation not working and incorrect initialValue
2024-03-12 12:38:40 -04:00
Alessio Gravili
fc8e2d3e05
chore: get eslint to scream at default exports
2024-03-12 12:01:35 -04:00
Alessio Gravili
6cf3c91293
chore: simplify onChange handling, make sure previous onChange results are passed through to a potential next onChange
2024-03-12 11:57:36 -04:00
Alessio Gravili
e122278ec4
fix: path and schemaPaths for tabs not working, renderfields schemaPath adding unnecessary dot at the end of the path if the field has no name
2024-03-12 11:30:53 -04:00
Jarrod Flesch
7c9b5cba1c
chore: adds pnpm swc-plugin-transform-remove-imports to root dev deps
2024-03-12 10:36:34 -04:00
James
a86c1b7cd3
chore: error in _community e2e
2024-03-12 10:02:45 -04:00
James
dd6d08d61d
Merge branch 'alpha' of github.com:payloadcms/payload into alpha
2024-03-12 10:02:08 -04:00
James
0fc120d7d5
chore: _community e2e
2024-03-12 10:01:51 -04:00
Paul Popus
6e03558dcb
chore: eslint the _community code
2024-03-12 10:52:41 -03:00
Alessio Gravili
b327dd31b7
chore: fix up intellij run configs
2024-03-12 09:40:37 -04:00
Alessio Gravili
da1326a336
chore: eslint perf improvements for test suite, make use of cascading for all eslint configs to minimize duplicative rule
2024-03-12 09:15:38 -04:00
Dan Ribbens
d22cb1dfa7
chore(release): v3.0.0-alpha.46 [skip ci]
2024-03-11 17:33:49 -04:00
James Mikrut
5556915564
Merge pull request #5297 from payloadcms/fix/fixes-schema-path-issues-with-arrays-and-blocks
...
fix (alpha): fixes schema path issues with arrays and blocks
2024-03-11 17:18:28 -04:00
Paul Popus
4c6fc53ba5
fix (alpha): issues with wrong schemaPath in array and block fields
2024-03-11 18:15:42 -03:00
Alessio Gravili
626b6500de
chore: remove deprecation warnings for int & e2e tests
2024-03-11 17:03:50 -04:00
Jacob Fletcher
dbbbb6b921
fix(ui): document drawer permissions ( #5296 )
2024-03-11 17:03:13 -04:00
Alessio Gravili
d9e3d4dbae
Merge remote-tracking branch 'origin/alpha' into alpha
2024-03-11 15:57:43 -04:00
Alessio Gravili
92648de3b4
chore: patch playwright
2024-03-11 15:57:29 -04:00
Jacob Fletcher
4f9e5b9336
fix(ui): table cell links ( #5295 )
2024-03-11 15:55:44 -04:00
James Mikrut
d55d0ad621
Merge pull request #5279 from payloadcms/chore/alpha-remove-schemaOutputFile
...
chore (alpha): removes `schemaOutputFile` prop
2024-03-11 15:16:21 -04:00
PatrikKozak
4edbe2aace
Merge branch 'alpha' of https://github.com/payloadcms/payload into chore/alpha-remove-schemaOutputFile
2024-03-11 15:10:32 -04:00
Dan Ribbens
ba2702cfca
chore(release): v3.0.0-alpha.45 [skip ci]
2024-03-11 14:53:31 -04:00
James
eba1f6327d
Merge branch 'alpha' of github.com:payloadcms/payload into alpha
2024-03-11 14:41:37 -04:00
James Mikrut
1ba0b4037c
Merge pull request #5293 from payloadcms/fix/auth-schema-and-client-side
...
fix (alpha): `auth.strategies` schema and removal of auth functions from client config
2024-03-11 14:40:43 -04:00
James
49daa75bc4
chore: fixes race condition in payload hmr
2024-03-11 14:39:41 -04:00
PatrikKozak
cd21138b3d
Merge branch 'alpha' of https://github.com/payloadcms/payload into chore/alpha-remove-schemaOutputFile
2024-03-11 14:05:33 -04:00
PatrikKozak
fea1eb1149
fix: removes auth strategies & forgotPassword & verify functions from client side
2024-03-11 13:56:50 -04:00
PatrikKozak
9a58f6c454
fix: updates auth schema to match updated auth types
2024-03-11 13:54:54 -04:00
James
66cefe6bb5
chore: removes auth cache, sets overrideAccess false
2024-03-11 12:21:13 -04:00
Jarrod Flesch
23510acf40
chore: sets bg on templates ( #5289 )
2024-03-10 23:10:37 -04:00
Jarrod Flesch
faa49f36e7
fix(alpha): correctly set redirect route when logout is triggered ( #5288 )
2024-03-10 22:35:06 -04:00
James
a5fb8b20a1
Merge branch 'alpha' of github.com:payloadcms/payload into alpha
2024-03-10 22:18:56 -04:00
James
e14b303609
chore: int tests
2024-03-10 22:18:48 -04:00
PatrikKozak
189be7ce69
Merge branch 'alpha' of https://github.com/payloadcms/payload into chore/alpha-remove-schemaOutputFile
2024-03-08 15:58:45 -05:00
PatrikKozak
28f10ffc25
chore: removes schemaOutputFile prop in alpha
2024-03-08 15:58:37 -05:00