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
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
Alessio Gravili
08ff286f9a
chore: e2e: replace flaky manual save actions with non-flaky saveDocAndAssert helper
2024-03-27 12:18:17 -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
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