Dan Ribbens
d727fc8e24
feat: validate relationship and upload ids ( #1004 )
...
* feat: validate relationship and upload ids
* chore: update fields-relationship test data
* fix: skip FE relationship and upload id validation
2022-08-29 14:57:06 -04:00
Dan Ribbens
50b0303ab3
fix: incorrect field paths when nesting unnamed fields ( #1011 )
...
* chore: reproduce issue #976
* fix: incorrect field paths when nesting non-named fields
2022-08-29 14:52:17 -04:00
Dan Ribbens
6bc6e7bb61
fix: require properties in blocks and arrays fields ( #1020 )
...
* fix: make blocks required in block fields
* fix: make fields required in array fields
2022-08-29 14:51:12 -04:00
James Mikrut
32cebb56ff
Merge pull request #999 from jacobsfletch/master
...
chore: exports PayloadHandler interface
2022-08-24 08:24:14 -07:00
Jacob Fletcher
c508ac6dee
chore: exports PayloadHandler interface
2022-08-24 07:54:09 -04:00
Dan Ribbens
4900fa799f
fix: remove lazy loading of array and blocks
2022-08-23 15:42:33 -04:00
dsod
bc97d3d6f2
Keep original request and add properties to it, instead of copy
2022-08-20 01:33:29 +02:00
Afzaal Ahmad
38a1a38c0c
feat: enable reordering of hasMany relationship and select fields ( #952 )
...
* feature: enable reordering of hasMany relationship and select fields using config
* update: correct docs for select, and relationship field for sortable config
* update: move sortable to admin config, and rename it to isSortable, apply grab, and grabbing classes while drag, and drop
2022-08-18 16:59:33 -04:00
Dan Ribbens
2b7785d101
chore: update endpoint type ( #966 )
2022-08-18 16:22:35 -04:00
Will Viles
f45d5a0421
feat: adds more prismjs syntax highlighting options for code blocks ( #961 )
2022-08-18 13:17:05 -04:00
Dan Ribbens
39586d3cdb
fix: missing fields in rows on custom id collections ( #954 )
2022-08-18 12:26:05 -04:00
James Mikrut
a284f6c066
Merge pull request #950 from payloadcms/feat/top-level-endpoints
...
Feat/top level endpoints
2022-08-17 15:32:35 -07:00
James
fa01b353ef
chore: removes unused code
2022-08-17 15:31:39 -07:00
Dan Ribbens
11d8fc71e8
feat: custom api endpoints
2022-08-17 13:28:50 -04:00
Dan Ribbens
771bbaedbc
chore: validation reuses endpoints schema
2022-08-17 13:06:58 -04:00
Dan Ribbens
040833ead8
test: move endpoints tests to new suite
2022-08-17 12:57:07 -04:00
Felix Hofmann
7c2acb4324
chore: use type-var instead of 'as'-keyword for jwtDecode
2022-08-16 23:22:00 +02:00
Felix Hofmann
88fe797007
chore: remove unreachable return statement
2022-08-16 23:21:38 +02:00
James Mikrut
97ff49f2bf
Merge pull request #926 from rustyy/feat/datepicker-month-only
...
feat: add new pickerAppearance option 'monthOnly'
2022-08-15 19:21:50 -07:00
James
ccada2e8c9
chore: migrates to PATCH for collection updates
2022-08-15 19:19:44 -07:00
James
1d8bcd6e16
Merge commit 'refs/pull/863/head' of github.com:payloadcms/payload
2022-08-15 18:55:07 -07:00
James
1b58094e6f
Merge branch 'master' of github.com:payloadcms/payload
2022-08-15 18:54:43 -07:00
James
1437bfe0c9
merge: #799
2022-08-15 18:54:34 -07:00
James
a3edbf4fef
fix : #568
2022-08-15 18:41:34 -07:00
James
078e8dcc51
feat: ensures you can query on blocks via specifying locale or not specifying locale
2022-08-15 17:59:08 -07:00
James
b1a1575122
fix : #939
2022-08-15 17:58:59 -07:00
James
7c449e0d30
Merge branch 'chore/simplify-indexes' of github.com:payloadcms/payload
2022-08-15 13:58:10 -07:00
Dan Ribbens
2ca526bd22
chore: simplifies index creation
2022-08-15 16:54:23 -04:00
James
48f929f3ab
chore: begins to simplify index creation
2022-08-15 13:03:13 -07:00
James
f2bec90663
Merge branch 'fix/#922-nested-index-creation' of github.com:payloadcms/payload into fix/#922-nested-index-creation
2022-08-15 12:37:10 -07:00
Dan Ribbens
1c7445dc7f
fix: format graphql localization input type ( #932 )
...
* fix: format locales for graphql
* fix: locale missing from graphql mutation args
2022-08-15 11:42:29 -04:00
James Mikrut
32fb72a5bb
Merge pull request #935 from payloadcms/fix/#930
...
fix : #930
2022-08-14 10:42:10 -07:00
James
cbb1c84be7
fix : #930
2022-08-14 10:40:52 -07:00
Dan Ribbens
145e1db05d
fix: dev:generate-types on all test configs ( #919 )
2022-08-13 13:04:24 -04:00
Dan Ribbens
d0744f3702
fix: nested schema indexes
2022-08-13 07:44:36 -04:00
James
fba0847f0f
fix: ensures you can query on mixed schema type within blocks
2022-08-12 16:08:36 -07:00
Felix Hofmann
566c6ba3a9
feat: add new pickerAppearance option 'monthOnly'
2022-08-12 23:11:33 +02:00
Dan Ribbens
b860959fea
fix: point index
2022-08-12 16:35:08 -04:00
James
9e4e4b231c
chore: adds commenting to obscure form function
2022-08-12 13:11:49 -07:00
James
b8421ddc0c
fix : #905
2022-08-12 12:18:02 -07:00
Dan Ribbens
9165b25fd6
chore: remove unused devDependency mongodb
2022-08-12 12:01:34 -04:00
Dan Ribbens
f615abc9b1
fix: create indexes in nested fields
2022-08-12 11:59:51 -04:00
James
e1347d5a39
Merge branch 'master' of github.com:payloadcms/payload
2022-08-11 15:02:28 -07:00
James
ca852e8cb2
fix: ensures you can query on nested block fields
2022-08-11 15:02:17 -07:00
KGZM
d0da3d7962
fix: saving multiple versions ( #918 )
...
* test: saving multiple versions with unique fields
* fix: saving multiple versions with unique fields
Version schemas were getting produced with uniqueness constraints which
caused updates to likely fail because each successive version would
potentially reuse unchanged unique key-values (particularly ident keys
like slug) from previous versions.
This was due to `mongoose.buildSchema` not respecting buildSchemaOptions.disableUnique.
This regression was introduced with the fix at commit c175476e .
* test: eslint fix
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
2022-08-11 15:53:51 -04:00
Tim Hallyburton
2f4f075441
feat: field name validation ( #903 )
...
* feat: add simple validation for field names
* test: add invalid field name coverage
2022-08-11 08:02:55 -04:00
Arick
50972b98a1
fix: E11000 duplicate key error has no keyValue ( #916 )
2022-08-11 07:49:59 -04:00
Dan Ribbens
874c001d3b
fix: number validation works with 0 min and max ( #906 )
2022-08-10 08:18:39 -04:00
James
a8d2e09952
feat: exposes static upload handlers
2022-08-07 19:00:26 -04:00
James
3735a28b0c
chore: allows url to be used as thumbnail when no adminThumbnail property present
2022-08-06 15:35:54 -04:00