Jarrod Flesch
5960f2c836
Merge branch 'alpha' into chore/e2e-upload-tests
2024-04-02 16:06:12 -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
Jarrod Flesch
1779bc4db7
chore: fix dirname for upload test
2024-04-02 15:53:30 -04:00
Jarrod Flesch
df1f101db5
Merge remote-tracking branch 'origin/alpha' into chore/e2e-upload-tests
2024-04-02 15:52:05 -04:00
Jarrod Flesch
ca2c1153d8
chore: adjusts how adminThumbnail functions
2024-04-02 15:33:02 -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
Jarrod Flesch
b6e444e709
chore: remove admin thumbnail when creating client config
2024-04-01 16:19:15 -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
Jarrod Flesch
e97bd39a59
chore: basic runtime err fixes
2024-04-01 15:53:13 -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
Elliot DeNolf
82c5257202
chore: move back to probe-image-size, tiff files do not support buffers
2024-04-01 12:00:11 -04:00
Kendell Joseph
e7b1b8bbe4
chore: updates e2e tests (WIP)
2024-04-01 12:00:11 -04:00
Kendell Joseph
4d9541b007
fix: adds relationTo information to field map
2024-04-01 12:00:09 -04:00
Kendell Joseph
82d6eee04f
chore: enables upload tests on CI
2024-04-01 11:59:48 -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
Dan Ribbens
2ec3df6680
chore(release): v3.0.0-alpha.44 [skip ci]
2024-03-10 22:07:16 -04:00
Elliot DeNolf
1f4b6001ef
chore: run eslint on pre-commit hook
2024-03-10 22:01:15 -04:00
James
6e7c9cc6a3
Merge branch 'alpha' of github.com:payloadcms/payload into alpha
2024-03-10 21:56:06 -04:00
James
2db385c6a5
chore: requires drizzle-kit within func
2024-03-10 21:54:31 -04:00
Elliot DeNolf
bd27f48eae
test: remove component test suite
2024-03-10 21:19:04 -04:00
Dan Ribbens
98a33250f6
chore(release): v3.0.0-alpha.43 [skip ci]
2024-03-10 21:11:46 -04:00
Elliot DeNolf
8f9729a928
ci: remove component tests
2024-03-10 21:10:19 -04:00
James
1a8564bc35
chore: safely import drizzle-kit
2024-03-10 19:03:15 -04:00
James
76c9632417
Merge branch 'alpha' of github.com:payloadcms/payload into alpha
2024-03-10 18:18:32 -04:00
James
2370361b43
chore: stops excluding pino and pino-pretty in webpack config
2024-03-10 18:17:57 -04:00
Dan Ribbens
cb63095d3f
chore(release): v3.0.0-alpha.42 [skip ci]
2024-03-10 14:28:05 -04:00
Dan Ribbens
601f2fb450
chore: add building plugins to release
2024-03-10 14:16:45 -04:00
Alessio Gravili
e746f17167
fix: incorrect TypeScript type for getPayload() props, throw proper error if config doesn't exist
2024-03-10 14:14:29 -04:00
James
5f76097562
chore: merge playwright revisions
2024-03-10 14:08:52 -04:00
James Mikrut
03756c4210
Merge pull request #5286 from payloadcms/feat/pre-compile-css
...
Feat/pre compile css
2024-03-10 14:06:10 -04:00
James
5e1e158414
chore: add exports for css
2024-03-10 14:05:22 -04:00
James
76d2525fd2
chore: cleanup
2024-03-10 13:57:28 -04:00
James
ec8c7e5c2c
chore: finishes css pre-compilation
2024-03-10 13:53:37 -04:00
Elliot DeNolf
0a4cbe1a08
chore: remove unused directive
2024-03-10 13:52:48 -04:00
Dan Ribbens
c228421a38
chore(plugin-form-builder): esm imports
2024-03-10 12:12:49 -04:00
Dan Ribbens
a742f82370
chore: plugins peerDependencies payload workspace
2024-03-10 11:43:13 -04:00
Dan Ribbens
213678ca3e
chore(plugin-redirects): esm imports
2024-03-10 11:42:14 -04:00
Dan Ribbens
e1b7ad6a71
chore(plugin-nested-docs): esm imports
2024-03-10 11:39:41 -04:00
Dan Ribbens
8b9985a92c
chore(plugin-search): payload peer dependency workspace
2024-03-10 11:32:05 -04:00
Dan Ribbens
f276826b09
chore(plugin-search): esm imports
2024-03-10 11:28:54 -04:00
geisterfurz007
8c1df551ef
chore: fix typescript hallucinations ( #4559 )
2024-03-10 01:53:59 -05:00
Akhil Naidu
b62cb157e1
docs: improve naming for afterForgotPassword hook example code ( #5062 )
2024-03-10 00:23:29 -05:00
Max Morozov
045c74ce67
docs: fix typo ( #5052 )
2024-03-10 00:13:09 -05:00
madaxen86
911e902da4
feat: add support for displaying AVIF images ( #5227 )
2024-03-10 00:00:26 -05:00
Alessio Gravili
4e0d90d720
WIP
2024-03-09 18:20:32 -05:00
James
7b62705cc0
chore: restores webpack config, still broken
2024-03-09 15:55:26 -05:00
James
bdf02bebaa
chore: adds spawn process to playwright tests as well
2024-03-09 14:53:53 -05:00
James
94aa309910
chore: avoids importing config into playwright tests
2024-03-09 14:41:00 -05:00
Elliot DeNolf
499a0a782a
chore: adjust tgz specifier in pnpm lock
2024-03-08 21:05:00 -05:00
Elliot DeNolf
1e5a531a83
ci: add alpha branch to main workflow
2024-03-08 20:57:14 -05:00
Elliot DeNolf
3e6a4073c4
chore(scripts): cleanup release script
2024-03-08 20:56:39 -05:00
Alessio Gravili
e7cb6abd1f
chore: add new obliterate-playwright-cache
2024-03-08 19:48:26 -05:00
Dan Ribbens
abfd8841a5
chore(release): v3.0.0-alpha.41 [skip ci]
2024-03-08 17:07:01 -05:00
Dan Ribbens
5e385fa33b
fix(db-postgres): postgres dev push schemas
2024-03-08 17:05:10 -05:00
Jarrod Flesch
95688c7e30
chore: more test adjustments
2024-03-08 16:41:03 -05:00
Jarrod Flesch
b041d3e70e
chore: fix uploads int suite
2024-03-08 16:41:03 -05:00
Jarrod Flesch
0e91cddab9
chore: fix relationships test
2024-03-08 16:41:03 -05:00
Jarrod Flesch
d3856693ce
chore: fixes localization test
2024-03-08 16:41:03 -05:00
Alessio Gravili
40f36104f3
feat(ui): upgrade react-datepicker and date-fns, fix datepicker not working
2024-03-08 16:20:03 -05:00
Dan Ribbens
7215edb784
chore(release): v3.0.0-alpha.40 [skip ci]
2024-03-08 16:07:05 -05: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
Dan Ribbens
be015320de
chore(release): v3.0.0-alpha.39 [skip ci]
2024-03-08 15:57:39 -05:00
Alessio Gravili
a37d53b2e7
fix: lazy imports for DatePicker and CodeEditor
2024-03-08 15:49:40 -05:00
Jarrod Flesch
f43de11121
chore: fixes create view
2024-03-08 15:45:44 -05:00
Jacob Fletcher
4c1129188b
Merge pull request #5278 from payloadcms/fix/custom-logout-button
...
fix(next): ssr custom logout button and icon graphic and narrows client config type
2024-03-08 15:39:00 -05:00
Dan Ribbens
34e04f5251
chore(release): v3.0.0-alpha.37 [skip ci]
2024-03-08 15:33:40 -05:00
Jacob Fletcher
b613d65b36
fix(ui): server renders custom icon
2024-03-08 15:33:27 -05:00
Dan Ribbens
66aec63f6b
chore: pnpm lock
2024-03-08 15:32:23 -05:00
James
5b0d18bb3b
Merge branch 'alpha' of github.com:payloadcms/payload into alpha
2024-03-08 15:31:42 -05:00
James
1c5b43c218
chore: migration fixes
2024-03-08 15:31:35 -05:00
Jacob Fletcher
c78cfb9fcf
chore: narrows ClientConfig type
2024-03-08 15:21:52 -05:00
Jacob Fletcher
927d4dd06f
fix(ui): server renders custom logout button
2024-03-08 15:19:53 -05:00
Dan Ribbens
afb75ef75a
chore(release): v3.0.0-alpha.36 [skip ci]
2024-03-08 15:06:34 -05:00
James
92181866a4
Merge branch 'alpha' of github.com:payloadcms/payload into alpha
2024-03-08 15:04:12 -05:00
James
c97805c7f1
chore: type issue
2024-03-08 15:04:05 -05:00
Alessio Gravili
c20a139e58
chore(translations): run prettier after creating translation files
2024-03-08 15:03:24 -05:00
James
4287d1032f
chore: build fix
2024-03-08 15:03:08 -05:00
Alessio Gravili
8b784d7c10
chore: remove console log
2024-03-08 14:56:02 -05:00
Alessio Gravili
8895f6420f
chore: fix all esm test suite imports
2024-03-08 14:42:24 -05:00
Jarrod Flesch
bb10ed5b7d
fix: sync localization data after switching locale ( #5277 )
...
Co-authored-by: James <james@trbl.design >
2024-03-08 14:40:23 -05:00
Jacob Fletcher
9dc315dbf3
fix(next): ssr custom providers ( #5276 )
2024-03-08 14:22:20 -05:00
Jacob Fletcher
677531531f
fix: sanitizes root components from client config ( #5274 )
2024-03-08 14:20:50 -05:00
James
70c89b14a9
chore: builds translations as ts instead of json
2024-03-08 14:14:09 -05:00
Alessio Gravili
7f7c94e0d5
Revert "chore: imports translations in a safer manner"
...
This reverts commit e12e720a99 .
2024-03-08 13:44:03 -05:00
Alessio Gravili
e6f09e42a1
chore: fix tsconfig for tests
2024-03-08 13:12:09 -05:00
Dan Ribbens
f0419b7502
chore(release): v3.0.0-alpha.35 [skip ci]
2024-03-08 12:57:12 -05:00
Dan Ribbens
f01072eb11
chore: test drop db
2024-03-08 12:46:29 -05:00
James
c88102d6cc
Merge branch 'alpha' of github.com:payloadcms/payload into alpha
2024-03-08 12:34:01 -05:00
Alessio Gravili
847a2994f9
chore: work on e2e's
2024-03-08 12:33:44 -05:00
James
ab186c0608
chore: functional bin
2024-03-08 12:33:37 -05:00
James
349ae8ed27
chore: progress to client files in bin script
2024-03-08 12:01:58 -05:00
Jarrod Flesch
0066b858d6
fix: simplify searchParams provider, leverage next router properly ( #5273 )
2024-03-08 11:59:37 -05:00
James
e12e720a99
chore: imports translations in a safer manner
2024-03-08 11:24:25 -05:00
Jacob Fletcher
c17f2e2560
fix(ui): prevents missing entity permissions from crashing buildComponentMap
2024-03-08 11:17:23 -05:00
James
d75bf235bb
chore: builds esm register script
2024-03-08 11:16:55 -05:00
Alessio Gravili
881d1e9594
chore: replace all __dirname's in test dir
2024-03-08 11:09:59 -05:00
Will Viles
45a443989a
fix(next): missing FormQueryParamsProvider in account view ( #5270 )
...
Co-authored-by: Will Viles <will@vil.es >
2024-03-08 11:02:23 -05:00
Alessio Gravili
7880fb402a
chore: playwright support ( #5262 )
...
* working playwright
* chore: use zipped, local build of playwright instead of patching it
* chore: remove bloat
* chore: get playwright and lexical to work by fixing imports from cjs modules
2024-03-08 10:56:13 -05:00
Jacob Fletcher
ac2f8c9141
fix(ui): prevents missing field permissions from crashing buildComponentMap
2024-03-08 10:32:31 -05:00
Jarrod Flesch
e36e774382
fix: requests without Content-Type failing ( #5268 )
2024-03-08 09:54:17 -05:00
Dan Ribbens
b1be2dfbf4
chore: add cross-env to dev scripts
2024-03-08 09:41:11 -05:00
mhjmaas
32f3a11bf7
chore(translations): NL mistranslation of crop from "gewas" to "bijsnijden"
2024-03-07 22:59:31 -05:00
Dan Ribbens
7d0c72f92e
chore(release): v3.0.0-alpha.34 [skip ci]
2024-03-07 21:56:31 -05:00
Dan Ribbens
27e0e12595
chore: fix type payload-cloud builds
2024-03-07 21:48:14 -05:00
Dan Ribbens
f6ae6b3658
Merge branch 'feat/next-poc' of github.com:payloadcms/payload into feat/next-poc
2024-03-07 21:46:10 -05:00
James
9e1d633244
chore: fix graphql json import
2024-03-07 21:42:24 -05:00
James
6b28e72686
chore: begins fixing esm bin script
2024-03-07 20:21:35 -05:00
Dan Ribbens
dfd3a06600
chore(release): v3.0.0-alpha.33 [skip ci]
2024-03-07 18:54:35 -05:00
Alessio Gravili
2c35a6f0e1
Merge remote-tracking branch 'origin/feat/next-poc' into feat/next-poc
2024-03-07 18:48:14 -05:00
Alessio Gravili
f956558656
fix(richtext-lexical): error when loading lexical without custom config (so it uses the defaultSanitizedServerEditorConfig), due to error in the cloneDeep function which clones react components. Now, it doesn't clone them anymore.
2024-03-07 18:48:07 -05:00
Dan Ribbens
32fa7006ff
chore(release): v3.0.0-alpha.32 [skip ci]
2024-03-07 18:37:20 -05:00
James
95acf71dbf
chore: bumps next peer deps
2024-03-07 17:43:02 -05:00
James
5640c27cec
chore: bumps bin to cjs
2024-03-07 17:37:18 -05:00
Alessio Gravili
a7c5e4f317
Merge remote-tracking branch 'origin/feat/next-poc' into feat/next-poc
2024-03-07 16:41:26 -05:00
Alessio Gravili
274682e736
chore(eslint-config-payload): disable no-restricted-exports rule for payload config files
2024-03-07 16:41:19 -05:00
Jarrod Flesch
b4b6ab2667
chore: fix version restoration
2024-03-07 16:37:16 -05:00
Jarrod Flesch
bbe9dd6760
chore: adds more translations
2024-03-07 16:37:16 -05:00
Alessio Gravili
2aa7adb3bd
chore: get old ts-node scripts to work, replace ts-node with tsx, fix runE2E.ts
2024-03-07 16:35:44 -05:00
James
fb7e671c26
chore: begins work to get playwright working with esm
2024-03-07 16:26:46 -05:00
Alessio Gravili
7420dba0c9
chore: upgrade testing libraries, remove express devDependency
2024-03-07 16:21:14 -05:00
Alessio Gravili
9a059bdce4
chore: undo weird as any removal
2024-03-07 16:11:25 -05:00
Alessio Gravili
50c7269315
chore: replace .d.ts type imports with .js imports, as .d.ts imports break usage checks in the IDE
2024-03-07 16:08:49 -05:00
Alessio Gravili
b4434a369b
chore: improve clean commands
2024-03-07 15:49:33 -05:00
Jarrod Flesch
1c945ebfbf
chore: add missing translation
2024-03-07 15:45:48 -05:00
Jarrod Flesch
20d0915a03
chore: adjust rest endpoints to use new query property on req
2024-03-07 15:45:48 -05:00
James
21ee94739b
chore: jest esm compat
2024-03-07 15:40:39 -05:00
Alessio Gravili
9ebb894694
chore: replace probe-image-size with image-size to reduce bundle size
2024-03-07 15:38:06 -05:00
Alessio Gravili
483db08057
chore: upgrade turborepo to 1.12.5
2024-03-07 15:11:27 -05:00
Jacob Fletcher
3a557998d0
fix(next): completely opts out of router cache
2024-03-07 15:08:54 -05:00
Alessio Gravili
c8322349a0
fix(richtext-lexical): Blocks: generated output schema is not fully correct ( #5259 )
2024-03-07 15:08:30 -05:00
Jacob Fletcher
75b993bc6b
fix(next): account view isEditing prop
2024-03-07 14:17:24 -05:00
Jacob Fletcher
b9db83a741
fix(next): threads isEditing through document info context
2024-03-07 14:01:06 -05:00
Jarrod Flesch
5bbb65b569
chore: fixes DiffMethod imports
2024-03-07 13:55:47 -05:00
Jacob Fletcher
974eedc4dd
fix(next): reports globals to events provider
2024-03-07 13:48:36 -05:00
Jacob Fletcher
c38c95dab5
fix(next): adds optional chaining for globals in getDataAndFile
2024-03-07 13:36:50 -05:00
Jacob Fletcher
c3a3446baa
fix(next): global api url
2024-03-07 13:36:50 -05:00
Fabian Aggeler
443413c03e
fix(richtext-lexical): Link: add open-in-new-tab to html converter
2024-03-07 13:33:31 -05:00
Dan Ribbens
0c56f420d5
chore(ecommerce-template): fix duplicate cart update calls ( #5228 )
2024-03-07 13:33:10 -05:00
Ed
f66bcb22c4
chore(next): updated auth API status codes for improved error handling ( #5254 )
2024-03-07 13:28:41 -05:00
James
b44d59a303
chore: adds script to analyze bundle
2024-03-07 13:01:53 -05:00
Jacob Fletcher
dbe382f91e
fix(ui): document info types
2024-03-07 12:59:07 -05:00
Jacob Fletcher
1d4ec9cd71
chore(next): moves document info provider from root to page
2024-03-07 12:54:49 -05:00
Alessio Gravili
36f88b198c
fix(ui): ID field Cell component not being displayed
2024-03-07 12:27:43 -05:00
James
e2ca80a33f
chore: fixes usage of NextLink in nav
2024-03-07 12:12:21 -05:00
James
c08f981224
chore: simplifies logs
2024-03-07 12:10:11 -05:00
Dan Ribbens
846f59974c
chore(release): v3.0.0-alpha.31 [skip ci]
2024-03-07 12:06:51 -05:00
Jarrod Flesch
5e368f486a
chore: esm fixes in _community test dir
2024-03-07 12:03:02 -05:00
Jarrod Flesch
42eed07dfd
chore: moves file handler into catch all GET rest handler
2024-03-07 12:02:44 -05:00
Dan Ribbens
fcd647832c
chore(release): v3.0.0-alpha.30 [skip ci]
2024-03-07 11:43:53 -05:00
Dan Ribbens
06d30f0182
chore: dependency file lock
2024-03-07 11:36:13 -05:00
James
c6c5b2e682
chore: safely uses deepMerge
2024-03-07 11:33:46 -05:00
James
5431a84f37
chore: safely accesses more dependencies
2024-03-07 11:04:27 -05:00
Jacob Fletcher
764c6f0086
chore(ui): react-animate-height esm imports
2024-03-07 10:55:26 -05:00
Jarrod Flesch
7f48c5c0e5
chore: fixes esm next/link imports
2024-03-07 10:54:36 -05:00
James
bd66cda0ee
chore: safely accesses bson-objectid within both ts and webpack
2024-03-07 10:54:27 -05:00
James
030ddbe12f
chore: move to lexical for local testing
2024-03-07 10:37:48 -05:00
James
60e3b21596
chore: builds
2024-03-07 10:23:12 -05:00
James
647e0236bb
chore: removes unused dependencies
2024-03-07 10:12:38 -05:00
James
83c0b8b96e
chore: removes webpack build script from next package
2024-03-07 10:11:30 -05:00
James
4d2f1ca10e
chore: fixes esm dependency imports
2024-03-07 10:10:44 -05:00
Jarrod Flesch
678a617b0b
chore: esm fixes for GenerateViewMetadata
2024-03-07 10:07:12 -05:00
Jacob Fletcher
b88d78a7e5
chore(next): more esm imports
2024-03-07 10:03:18 -05:00
Jarrod Flesch
3d4092ee3e
chore: esm createFirstUser
2024-03-07 10:00:28 -05:00
Kendell Joseph
0306a79a37
chore: updates imports for ESM
2024-03-07 09:56:19 -05:00
PatrikKozak
539503f766
chore: converts more files in ui package to esm
2024-03-07 09:55:51 -05:00
Jarrod Flesch
e06022e4d4
chore: partial esm conversion of next package
2024-03-07 09:54:18 -05:00
James
afb93eda2c
chore: restores submit
2024-03-07 09:54:11 -05:00
James
6d2f5fcb60
chore: converts some files to esm
2024-03-07 09:54:11 -05:00
Alessio Gravili
1fb37aec25
providers
2024-03-07 09:53:34 -05:00
Alessio Gravili
5174662fe8
providers up to Locale
2024-03-07 09:46:53 -05:00
Alessio Gravili
e47bafce29
ui/src/elements -> H through S, ui/src/utilities
2024-03-07 09:43:17 -05:00
Jacob Fletcher
7cf68a4b68
chore(next): esm imports
2024-03-07 09:29:16 -05:00
James
694d5d92b7
chore: begins next / ui esm transform
2024-03-07 09:03:08 -05:00
Jacob Fletcher
83d9d98ba3
fix(next): clears document info id when creating new
2024-03-06 23:12:02 -05:00
Jacob Fletcher
cf3d0fe78d
fix(next): redirect after create
2024-03-06 22:36:57 -05:00
Jacob Fletcher
56aaf52430
fix(next): field read permissions
2024-03-06 22:15:21 -05:00
Dan Ribbens
40696ddea7
chore(release): v3.0.0-alpha.29 [skip ci]
2024-03-06 19:35:37 -05:00
Alessio Gravili
38d2dc8c8e
Merge remote-tracking branch 'origin/feat/next-poc' into feat/next-poc
2024-03-06 19:32:32 -05:00
Alessio Gravili
69346c5b3e
feat(eslint-config-payload): add no-restricted-exports to discourage default exports
2024-03-06 19:32:10 -05:00
James
a2aa527f50
chore: removes default exports from slate
2024-03-06 19:29:04 -05:00
Alessio Gravili
b2ae40c8c8
chore(richtext-lexical): replace all default exports with named exports
2024-03-06 19:15:43 -05:00
Alessio Gravili
11498dcc7f
chore(richtext-slate): use normal exports for field and cell components
2024-03-06 18:54:36 -05:00
Alessio Gravili
140d5242cf
fix: react-animate-height issues for esm
2024-03-06 18:36:18 -05:00
Dan Ribbens
e3dff56479
chore(release): v3.0.0-alpha.28 [skip ci]
2024-03-06 18:08:11 -05:00
Alessio Gravili
0fb7666b97
chore: add tsconfig to prettierignore, because tsconfig is being overwritten by a script, then overwritten by prettier again, then overwritten by a script,... endlessly
2024-03-06 18:07:21 -05:00
James
5c06de6abc
chore: dev script adjustments
2024-03-06 18:05:58 -05:00
James
582a609d27
chore: removes payload packages from serverComponentsExternalPackages
2024-03-06 18:02:23 -05:00
Alessio Gravili
ec3d25e64e
fix: esm fixes
2024-03-06 17:48:01 -05:00
Alessio Gravili
740c7510ea
Merge remote-tracking branch 'origin/feat/next-poc' into feat/next-poc
2024-03-06 16:56:38 -05:00
Alessio Gravili
c9f6c707ac
fix(richtext-lexical): error rendering clickableLink or RichTextPlugin components
2024-03-06 16:56:32 -05:00
Dan Ribbens
667eee07b1
chore(release): v3.0.0-alpha.27 [skip ci]
2024-03-06 16:53:19 -05:00
Alessio Gravili
deba38ab60
chore(translations): exclude all folder from eslint
2024-03-06 16:49:15 -05:00
James
25e44e54fb
chore(release): v3.0.0-alpha.26 [skip ci]
2024-03-06 16:45:04 -05:00
James
62a2341ab4
chore: builds translations without swc
2024-03-06 16:42:55 -05:00
Jacob Fletcher
53b465b7bb
fix(ui): wires delete document
2024-03-06 16:08:41 -05:00
Jarrod Flesch
fc6a3282ad
chore: remove old import
2024-03-06 16:08:21 -05:00
Dan Ribbens
cecd1ccc96
chore(release): v3.0.0-alpha.25 [skip ci]
2024-03-06 16:03:46 -05:00
James
439987c149
chore: fixes types
2024-03-06 16:01:54 -05:00
James
61279ac119
chore: removes unused import
2024-03-06 16:00:08 -05:00
James
ca2fbf5cdf
chore: build
2024-03-06 15:56:13 -05:00
Dan Ribbens
d3129224bd
chore(release): v3.0.0-alpha.24 [skip ci]
2024-03-06 15:44:49 -05:00
Jarrod Flesch
57625b26c9
chore: adds strictNullHandling to query parsing
2024-03-06 15:42:46 -05:00
Jarrod Flesch
e345009e0a
Merge branch 'feat/next/qs' into feat/next-poc
2024-03-06 15:40:51 -05:00
Jacob Fletcher
41f5071d7f
fix(next): ssr document title
2024-03-06 15:39:02 -05:00
James
623969be82
chore: updates swcrc for keepImportAssertions
2024-03-06 15:37:19 -05:00
James
d106037f42
chore: wepback dev works, turbo still not
2024-03-06 15:30:24 -05:00
Dan Ribbens
a9f1b3eea9
chore(release): v3.0.0-alpha.23 [skip ci]
2024-03-06 15:17:30 -05:00
James Mikrut
a1f1067063
Merge pull request #5253 from payloadcms/feat/next-esm
...
Feat/next esm
2024-03-06 15:13:25 -05:00
PatrikKozak
f57dda5d09
Merge branch 'feat/next-esm' of https://github.com/payloadcms/payload into feat/next-esm
2024-03-06 15:10:22 -05:00
Alessio Gravili
93acb8b163
chore(richtext-lexical): it builds
2024-03-06 15:08:03 -05:00
PatrikKozak
4f32ab4421
Merge branch 'feat/next-esm' of https://github.com/payloadcms/payload into feat/next-esm
2024-03-06 15:05:28 -05:00
PatrikKozak
c52736372a
chore: updates richtext-slate imports to ESM
2024-03-06 15:05:04 -05:00
PatrikKozak
eca11bc064
chore: updates plugin-seo imports to ESM
2024-03-06 15:03:56 -05:00
PatrikKozak
093fd2d638
chore: updates plugin-cloud-storage imports to ESM
2024-03-06 15:02:56 -05:00
PatrikKozak
194fb44fb5
chore: updates plugin-cloud imports to ESM
2024-03-06 15:01:33 -05:00
James
0c032d69ee
chore: ui and next now build w/ bundler specification
2024-03-06 15:00:33 -05:00
James
b2219d879f
chore: fixes package compat
2024-03-06 14:57:30 -05:00
James
304cf9d797
chore: proper tsconfig
2024-03-06 14:57:30 -05:00
Alessio Gravili
29963a04fc
Merge remote-tracking branch 'origin/feat/next-esm' into feat/next-esm
2024-03-06 14:56:08 -05:00
Alessio Gravili
dff80d8276
chore(richtext-lexical): fixes
2024-03-06 14:56:02 -05:00
Tylan Davis
f33bb0d73f
chore: updates live-preview imports for ESM
2024-03-06 14:53:54 -05:00
Tylan Davis
be09dd41fa
chore: updates graphql imports for ESM
2024-03-06 14:53:02 -05:00
Dan Ribbens
36b12b645b
Merge branch 'feat/next-esm' of github.com:payloadcms/payload into feat/next-esm
2024-03-06 14:49:00 -05:00
Dan Ribbens
bea15771b9
chore: fix utilities imported function calls
2024-03-06 14:48:46 -05:00
James
8c2cbce4a4
chore: esm
2024-03-06 14:48:02 -05:00
James
9674f4e739
chore: esm-ify payload
2024-03-06 14:48:02 -05:00
Alessio Gravili
137952af73
chore(richtext-lexical): migrate remaining stuff to esm
2024-03-06 14:46:10 -05:00
Dan Ribbens
66dcb1020a
chore: import extensions added in uploads and utilities
2024-03-06 14:37:00 -05:00
Alessio Gravili
829d19dfc2
chore(richtext-lexical): migrate imports to esm
2024-03-06 14:26:50 -05:00
Jarrod Flesch
c73159d2d0
chore: adds qs, adds query to createPayloadRequest
2024-03-06 14:26:21 -05:00
Tylan Davis
4159fae8c9
chore: updates translations imports for ESM
2024-03-06 14:22:49 -05:00
Kendell Joseph
bff045fff2
chore: updates db-postgres imports for ESM
2024-03-06 14:19:13 -05:00
Kendell Joseph
3090e7c163
chore: updates db-mongodb imports for ESM
2024-03-06 14:19:13 -05:00
Alessio Gravili
38798aec73
Merge remote-tracking branch 'origin/feat/next-poc' into feat/next-esm
2024-03-06 13:33:12 -05:00
Alessio Gravili
bc7a69044b
chore: add proper eslint types
2024-03-06 13:30:13 -05:00
Jacob Fletcher
ee6512567e
fix(next): not found meta
2024-03-06 13:27:46 -05:00
James
1b7ded4560
chore: updates tsconfig to use NodeNext rather than Bundler
2024-03-06 13:10:13 -05:00
Jacob Fletcher
e9abe63b47
fix(next): 404 handling
2024-03-06 13:02:43 -05:00
Alessio Gravili
b70bf81d6c
chore: fix all eslint configs to work with esm
2024-03-06 12:48:15 -05:00
Dan Ribbens
410fddbf7f
chore(release): v3.0.0-alpha.22 [skip ci]
2024-03-06 12:46:13 -05:00
Dan Ribbens
c0c9026da6
chore(release): v3.0.0-alpha.21 [skip ci]
2024-03-06 12:38:58 -05:00
James
f76e534b64
chore: corrects translations build script
2024-03-06 12:37:52 -05:00
James
468148ceb2
chore: fixes jest config to esm
2024-03-06 12:28:14 -05:00
Dan Ribbens
cc69cac29e
chore(release): v3.0.0-alpha.20 [skip ci]
2024-03-06 12:24:25 -05:00
Dan Ribbens
19d2a4d1cd
chore: esm compatible scripts
2024-03-06 12:24:25 -05:00
James
a7dcdc8df2
chore: builds payload to esm
2024-03-06 12:23:00 -05:00
James
7815d5ac5d
chore: successful build
2024-03-06 11:57:24 -05:00
James
23051db54a
chore: converts dev script from cjs to esm
2024-03-06 11:38:26 -05:00
James
f51434880f
chore: add type: module to all packages
2024-03-06 11:27:45 -05:00
Alessio Gravili
87d5b4d3af
chore(plugin-seo): adjust prepublishOnly script
2024-03-06 11:26:52 -05:00
Dan Ribbens
dd335ac75b
chore(release): v3.0.0-alpha.19 [skip ci]
2024-03-06 11:18:06 -05:00
Jarrod Flesch
16d5e5f906
chore: simplifies serverSideProps on document views
2024-03-06 11:13:41 -05:00
James
42114a3680
chore: adds db-postgres to serverComponentsExternalPackages
2024-03-06 11:09:41 -05:00
James
e7adaecb0f
chore: converts bin script to commonjs, which imports esm
2024-03-06 11:06:14 -05:00
James
9818f3df46
chore: builds to esm
2024-03-06 10:59:27 -05:00
Dan Ribbens
ca832a01cb
chore(release): v3.0.0-alpha.18 [skip ci]
2024-03-06 10:46:17 -05:00
Jacob Fletcher
aaa2b204ba
fix(next): uses correct global slug in getViewsFromConfig
2024-03-06 09:56:19 -05:00
Alessio Gravili
78bf9e5993
feat(plugin-seo): working plugin-seo
2024-03-06 09:50:37 -05:00
Alessio Gravili
8be0296fc1
fix(translations): translations variable not resolved if provided value is 0 (the number, not null)
2024-03-06 09:48:55 -05:00
Alessio Gravili
26cd741c04
fix: payload cache: set cached.reload to false immediately to prevent parallel reloads from unnecessarily performing the reload
2024-03-05 18:56:18 -05:00
Alessio Gravili
bf655b3327
fix: make sure schemaPath of Edit View updates when switching collections
2024-03-05 18:55:32 -05:00
Jacob Fletcher
1793b37adc
fix(next): field permissions
2024-03-05 16:39:53 -05:00
Dan Ribbens
d0ffe85abb
chore(release): v3.0.0-alpha.16 [skip ci]
2024-03-05 16:28:45 -05:00
James
f9f7dcfc58
chore: attempts to build to es6 instead of commonjs for next / ui
2024-03-05 16:27:48 -05:00
Dan Ribbens
f06257e7ff
chore(release): v3.0.0-alpha.15 [skip ci]
2024-03-05 16:13:34 -05:00
James
e490f0bce6
chore: attempts to abstract sharp to optional dependency
2024-03-05 16:12:17 -05:00