Alessio Gravili
e7f6bfbe9d
fix(richtext-lexical): Blocks: generated output schema is not fully correct ( #5259 )
2024-03-07 13:27:27 -05:00
Dan Ribbens
e8f2ca484e
feat(db-postgres): configurable custom schema to use ( #5047 )
...
* feat(db-postgres): configurable custom schema to use
* test(db-postgres): use public schema
* chore(db-postgres): simplify drop schema
* chore: add postgres-custom-schema test to ci
* chore: add custom schema to postgres ci
* chore(db-postgres): custom schema in migrate
* chore: ci postgres wait condition
2024-02-23 12:48:06 -05:00
Dan Ribbens
ceca5c4e97
fix(db-postgres): set _parentID for array nested localized fields ( #5117 )
...
* fix(db-postgres): find missing path for nested arrays
* fix(db-postgres): set _parentID for array nested localized fields
* fix: afterRead fallbackLocale causing locale data loss
* chore(richtext-lexical): updated args to match payload type change
* test: simplify localization e2e duplicate
2024-02-23 12:44:30 -05:00
Dan Ribbens
815bdfac0b
fix(db-mongodb): unique sparse for not required fields ( #5114 )
...
* fix(db-mongodb): unique sparse for not required fields
* chore(db-mongodb): cleanup sparse index condition
* test: indexed field fix
2024-02-23 12:36:34 -05:00
Dan Ribbens
7a7f0ed7e8
fix: disabling API Key does not remove the key ( #5145 )
...
* fix: disabling API Key does not remove the key
* chore: encryptKey hook return null
* chore: fix auth e2e test setup
2024-02-23 12:31:14 -05:00
Elliot DeNolf
32ed95e1ee
fix: handle thrown errors in config-level afterError hook ( #5147 )
2024-02-21 16:44:16 -05:00
Yunsup Sim
70e57fef18
fix: Add Context Provider in EditMany Component ( #5005 )
...
* fix: Add Context Provider in EditMany Component
* test: Fix e2e test error
2024-02-21 16:39:34 -05:00
Dan Ribbens
98b87e2278
feat(plugin-search): add req to beforeSync args for transactions ( #5068 )
...
* feat(plugin-search): pass `req` to beforeSync to support using transactions
* fix(plugin-search): hooks do not respect transactions
* chore(plugin-search): await hooks
* chore: remove eslint disable comments
2024-02-16 14:20:40 -05:00
Dan Ribbens
5f3d0169be
fix: filterOptions errors cause transaction to abort ( #5079 )
...
* fix: filterOptions errors cause transaction to abort
* fix(db-mongodb): uncaught abortTransaction race condition
* chore: remove test that is not adding value
* chore: limit options on errors in filterOptions
* chore: limit options when an error occurs in filterOptions
2024-02-16 13:33:40 -05:00
Dan Ribbens
35c2a085ef
fix(db-postgres): query using blockType ( #5044 )
...
* fix(db-postgres): query using blockType
* chore: cleanup commented lines
2024-02-16 13:30:26 -05:00
Elliot DeNolf
e80c70acae
test: cleanup
2024-02-16 12:33:07 -05:00
Elliot DeNolf
70b0064d0b
test: adjust adapter log message
2024-02-16 11:32:00 -05:00
Elliot DeNolf
9636bf6efd
test: rename .env -> .env.emulated, safely assert bucket contents
2024-02-16 11:31:14 -05:00
Elliot DeNolf
8f4d0da4e0
test: conditionally run plugin-cloud-storage
2024-02-16 11:31:14 -05:00
Elliot DeNolf
b8cd1c6ba4
test(plugin-cloud-storage): add test against localstack
2024-02-16 11:31:12 -05:00
Elliot DeNolf
6344464bc6
test(plugin-cloud-storage): add single docker compose for all emulators
2024-02-16 11:30:55 -05:00
Dan Ribbens
5d4022f144
fix(db-mongodb): find versions pagination ( #5091 )
2024-02-15 16:14:01 -05:00
Dan Ribbens
d6c25783cf
feat(db-postgres): adds idType to use uuid or serial id columns ( #3864 )
...
* feat(db-postgres): WIP adds idType to use uuid or serial id columns
* chore: add postgres-uuid test ci
* chore: add postgres-uuid env vars
* chore: sanitizeQueryValue prevent invalid types
* fix(db-postgres): invalid parentID of nested arrays
2024-02-15 16:06:37 -05:00
Elliot DeNolf
cdc4cb971b
fix(db-mongodb): handle null values with exists ( #5037 )
2024-02-09 08:58:10 -05:00
Elliot DeNolf
a0a58e7fd2
fix: query relationships by explicit id field ( #5022 )
2024-02-07 14:18:13 -05:00
Elliot DeNolf
f3876c2a39
fix(db-postgres): localized field sort count ( #4997 )
...
* fix(db-postgres): localized field sort count
* test: localized sort doc count
2024-02-06 11:44:54 -05:00
Elliot DeNolf
c3a3942969
fix(db-postgres): filtering relationships with drafts enabled ( #4998 )
...
* fix(db-postgres): filtering relationships with drafts enabled
* test: draft relationship filtering
2024-02-06 11:16:27 -05:00
Elliot DeNolf
c0eef90cdc
ci: supabase ( #4983 )
...
* ci: supabase
* test: add supabase to adapter record
* test: adjust index tests conditional
2024-02-02 15:26:18 -05:00
Dan Ribbens
db22cbdf21
fix(plugin-seo): tabbedUI with email field causes duplicate field ( #4944 )
...
* fix(plugin-seo): tabbedUI with email field causes duplicate field
* chore(plugin-seo): code comment
2024-02-02 14:53:51 -05:00
Dan Ribbens
1e8a6b7899
feat: extend transactions to cover after and beforeOperation hooks ( #4960 )
...
* feat: extend transactions to cover after and beforeOperation hooks
* feat: use transactions in refresh operation
* docs: add req to beforeOperation and afterOperation args
2024-02-02 14:53:14 -05:00
Dan Ribbens
5d934ba02d
feat: previousValue and previousSiblingDoc args added to beforeChange field hooks ( #4958 )
...
* feat: previousValue and previousSiblingDoc args added to beforeChange field hooks
* chore: fieldHook type docs
2024-02-02 13:59:11 -05:00
Alessio Gravili
90d7ee3e65
feat(richtext-lexical): Blocks: generate type definitions for blocks fields ( #4529 )
2024-01-30 16:51:18 +01:00
Dan Ribbens
eba53ba60a
feat: forceAcceptWarning migration arg added to accept prompts ( #4874 )
...
* chore: gitignore test migrations
* feat: `forceAcceptWarning` migration args added to accept prompts
* chore: migrationDir env variable fallback
* chore: migrationDir testSuiteDir fallback
* chore: migrationDir testSuiteDir fallback fix
* chore: skip migrate down test
2024-01-26 13:48:53 -05:00
Dan Ribbens
6930c4e9f2
fix: upload input drawer does not show draft versions ( #4903 )
...
* chore: add field classname to upload field
* fix: upload input drawer does not show draft versions
2024-01-26 13:42:32 -05:00
Dan Ribbens
3eb681e847
fix: afterLogin hook write conflicts ( #4904 )
...
* fix: afterLogin hook conflict
* test: afterLogin hook returns for assertion
* chore: commit increment login attempt
2024-01-26 13:39:45 -05:00
Dan Ribbens
b40e9f85a2
chore: use transactions in tests running mongoDB memory server ( #4750 )
...
* chore: use transactions in tests running mongoDB memory server
* chore: relationship test async setup changes
* chore: async test fix
* chore: flaky e2e localization test
2024-01-23 19:18:55 -05:00
Jesse Sivonen
8ce15c8b07
fix(db-postgres): query unset relation ( #4862 )
2024-01-19 13:35:58 -05:00
Timothy Choi
9f5efef78f
chore: lint #4766 ( #4801 )
...
* fix: import location for config test
* fix: linting fix
2024-01-18 09:25:52 -05:00
Paul
eb9e771a9c
fix(db-postgres): Remove duplicate keys from response ( #4747 )
...
* Remove duplicate keys from response
* Update to delete duplicates at a higher level and remove '_order' from array rows too
2024-01-16 13:22:08 -05:00
James Mikrut
74c3fe1bb2
Merge pull request #4806 from payloadcms/fix/#4775-postgres-block-validation-arrays
...
fix(db-postgres): validateExistingBlockIsIdentical with arrays
2024-01-15 15:04:47 -05:00
Paul Popus
a6a1963ec6
Merge branch 'main' into feat/4539-seo-plugin-allow-field-and-interface-overrides
2024-01-15 16:29:49 -03:00
Dan Ribbens
3b88adc7d0
fix(db-postgres): validateExistingBlockIsIdentical with arrays
2024-01-13 22:40:30 -05:00
James Mikrut
f9dda628b2
Merge pull request #4730 from payloadcms/feat/4471-add-validation-for-form-submission
...
feat(plugin-form-builder):Add validation for form ID when creating a form submissions
2024-01-12 15:39:35 -05:00
Patrik
84818469ea
fix(plugin-form-builder): replaces curly brackets with lexical editor ( #4753 )
...
* chore: scaffolds fix for replacing curly brackets in email with lexical editor
* fix: submissionData not passed to nested fields
* chore: adds int test for lexical serializer
---------
Co-authored-by: Alessio Gravili <alessio@bonfireleads.com >
2024-01-12 10:37:01 -05:00
Patrik
0a259d27b5
fix: passes draft=true in fetch for relationships ( #4784 )
...
* fix: passes draft=true to fetch for relationships
* chore: removes unnecessary delay on field click in e2e test
2024-01-12 10:36:45 -05:00
Patrik
d0f7677d5f
fix: prioritizes value key when filtering / querying for relationships ( #4727 )
...
* fix: object equality query by prioritizing value key in relationship queries
* chore: adds e2e & int test
* chore: updates test for REST querying on poly relationships
2024-01-11 15:56:07 -05:00
Timothy Choi
d92af295eb
feat: allow custom config properties in blocks ( #4766 )
2024-01-11 13:57:32 -05:00
Paul
6d5ac1de1e
fix: allow a custom ID field to be nested inside unnamed tabs and rows ( #4701 )
...
* Adds a check for the first tab and e2e test for custom ID
* Add support for ids in any order inside an unnamed tab
* Update tests for rows
* Minor fixes and remove dead commented code
2024-01-11 10:17:24 -05:00
Jarrod Flesch
1115387744
fix: build payload without initializing ( #4028 )
2024-01-10 20:40:46 -05:00
Elliot DeNolf
7923edd7bc
test: fix limit=0 test
2024-01-10 16:45:34 -05:00
James Mikrut
be39ed4317
Merge pull request #4633 from payloadcms/fix/#3839-postgres-exist-json
...
fix(db-postgres): incorrect results querying json field using exists
2024-01-09 15:27:22 -05:00
Paul Popus
2b731c1088
feat(plugin-form-builder):Add validation for form ID when creating a submission
2024-01-08 20:35:52 -03:00
Dan Ribbens
983733ad74
merge main
2024-01-08 17:12:02 -05:00
Dan Ribbens
cab6babd60
fix(db-postgres): validation prevents group fields in blocks ( #4699 )
...
* fix(db-postgres): validation prevents using group fields within blocks
* fix(db-postgres): validation of non-matching blocks in reverse order
2024-01-05 15:03:08 -05:00
Paul
55399424a1
fix(plugin-nested-docs): children wrongly publishing draft data ( #4692 )
...
* fix(plugin-nested-docs): handles child parent doc publishing
* Add tests
* Fix error failing on save hook
---------
Co-authored-by: Jessica Chowdhury <jessica@trbl.design >
2024-01-05 15:02:15 -05:00