James
198b077257
chore: removes logger memoization
2023-01-19 20:23:20 -05:00
James
d3d367c635
feat: isolates local api to local-only functions, converts it to ts generic for stronger typing
2023-01-11 17:03:10 -05:00
Jessica Boezwinkle
e5ffb1e92d
Merge branch 'master' of https://github.com/payloadcms/payload into feat/json-field
2022-12-20 13:33:02 +00:00
Calvin Lai
57f5f5ec43
feat(graphql): upgrade to graphql 16
2022-12-19 14:01:51 -05:00
James
8eaf05efef
chore: json field now edits string but saves json in db
2022-12-15 21:10:56 -05:00
Jessica Boezwinkle
28d9f9009c
feat: adds initial json field
2022-12-15 18:32:11 +00:00
Jarrod Flesch
eda6f70acb
Roadmap/#1379 admin ui doc level access ( #1624 )
...
* feat: adds document level access endpoints so admin ui can now accurately reflect document level access control
* chore(docs): new doc access callout, updates useDocumentInfo props from change
2022-12-14 16:14:29 -05:00
Dan Ribbens
eff3f18e7c
fix : #1632 graphQL non-nullable relationship and upload fields ( #1633 )
2022-12-09 09:38:05 -05:00
Jarrod Flesch
ec51929b1a
fix: ensures enums cannot query on partial matches
2022-11-23 16:38:25 -05:00
Jarrod Flesch
cde1f128e9
chore: adds contains to operators.contains
2022-11-23 14:59:51 -05:00
Jarrod Flesch
4c37af6f10
fix: adds contain operators for text/email/radio fields
2022-11-23 14:46:54 -05:00
Dan Ribbens
bab34d82f5
feat: add i18n to admin panel ( #1326 )
...
Co-authored-by: shikhantmaungs <shinkhantmaungs@gmail.com >
Co-authored-by: Thomas Ghysels <info@thomasg.be >
Co-authored-by: Kokutse Djoguenou <kokutse@Kokutses-MacBook-Pro.local >
Co-authored-by: Christian Gil <47041342+ChrisGV04@users.noreply.github.com >
Co-authored-by: Łukasz Rabiec <lukaszrabiec@gmail.com >
Co-authored-by: Jenny <jennifer.eberlei@gmail.com >
Co-authored-by: Hung Vu <hunghvu2017@gmail.com >
Co-authored-by: Shin Khant Maung <101539335+shinkhantmaungs@users.noreply.github.com >
Co-authored-by: Carlo Brualdi <carlo.brualdi@gmail.com >
Co-authored-by: Ariel Tonglet <ariel.tonglet@gmail.com >
Co-authored-by: Roman Ryzhikov <general+github@ya.ru >
Co-authored-by: maekoya <maekoya@stromatolite.jp >
Co-authored-by: Emilia Trollros <3m1l1a@emiliatrollros.se >
Co-authored-by: Kokutse J Djoguenou <90865585+Julesdj@users.noreply.github.com >
Co-authored-by: Mitch Dries <mitch.dries@gmail.com >
BREAKING CHANGE: If you assigned labels to collections, globals or block names, you need to update your config! Your GraphQL schema and generated Typescript interfaces may have changed. Payload no longer uses labels for code based naming. To prevent breaking changes to your GraphQL API and typescript types in your project, you can assign the below properties to match what Payload previously generated for you from labels.
On Collections
Use `graphQL.singularName`, `graphQL.pluralName` for GraphQL schema names.
Use `typescript.interface` for typescript generation name.
On Globals
Use `graphQL.name` for GraphQL Schema name.
Use `typescript.interface` for typescript generation name.
On Blocks (within Block fields)
Use `graphQL.singularName` for graphQL schema names.
2022-11-18 07:36:30 -05:00
Nick Borko
cfef68f364
fix: fixed GraphQL Access query resolver to return the correct data ( #1339 )
2022-11-11 04:25:46 -08:00
James
66bf8c3cbd
fix : #1286 , uses defaultDepth in graphql rich text depth
2022-10-24 11:31:09 -04:00
Elliot DeNolf
b3bb421c6c
fix: adjust prevPage and nextPage graphql typing ( #1140 )
2022-09-16 09:40:21 -07:00
James
ad4f7a5fff
chore: fixes and cleanup
2022-09-11 20:07:02 -07:00
James
cd209379b2
chore: merge master
2022-09-11 18:07:05 -07:00
James
a99d9c98c3
feat: allows rich text links to link to other docs
2022-09-07 16:42:43 -07:00
Elliot DeNolf
888734dcdf
fix: accented label char sanitization for GraphQL ( #1080 )
2022-09-06 16:03:43 -07:00
Dan Ribbens
29e82ec845
fix: children of conditional fields required in graphql schema ( #1055 )
2022-09-02 14:02:58 -04:00
James
1437bfe0c9
merge: #799
2022-08-15 18:54:34 -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
Dan Ribbens
a83921a2fe
feat: support localized tab fields
2022-08-11 12:05:02 -04:00
Slava Nossar
1b3a328388
update graphql schema builder
2022-08-11 12:04:20 -04:00
James
209b02b069
fix : #898
2022-08-06 13:12:25 -04:00
James
61673907ca
chore: threads through forceNullable in buildObjectType
2022-08-04 16:37:04 -04:00
James
8d968b7690
fix: allows querying incomplete drafts in graphql
2022-08-04 15:45:33 -04:00
lordie
bc83153b60
assert every list element non null
2022-07-27 18:46:39 -03:00
James
5d57bfa438
feat: significantly improves complex GraphQL query performance
2022-07-25 15:54:52 -04:00
lordie
e13c6fa955
graphql schema: check blockfield 'required' property for null-ability
2022-07-22 18:05:43 -03:00
James
e8b72f186f
chore: restores deprecated features for ease of uploading
2022-07-16 11:27:28 -07:00
James
3b9fdf3ffd
feat: ensures nested fields not affecting data can be traversed properly
2022-07-15 21:06:12 -07:00
James
85b7a490eb
feat: scaffolds tabs field
2022-07-15 16:24:54 -07:00
James
98676bea69
feat: adds collapsible field type
2022-07-13 14:45:10 -07:00
Dan Ribbens
ad43cbc808
feat: graphql schema output ( #730 )
...
* chore: refactor graphql initialization
* feat: generate graphql schema script
* feat: script commands are case insenstive
2022-07-08 13:50:46 -04:00
Dan Ribbens
1c37ec3902
feat: telemetry
...
* feat: add telemetry to payload config
wip: more telemetry
* feat: send telemetry events
* chore: update node ci versions
* chore: cleanup console log
* chore: updates ts due to dependency update
* chore: remove unused deps
* chore: fix origin and casing
* docs: telemetry
* feat: uses oneWayHash within telemetry
* chore: sends hashed domain in telemetry
* feat: improves reliability of telemetry projectID
* chore: revises telemetry docs
Co-authored-by: Elliot DeNolf <denolfe@gmail.com >
Co-authored-by: James <james@trbl.design >
2022-06-24 17:32:09 -04:00
James Mikrut
7083225abd
Feat/remove this bindings ( #629 )
...
* feat: removes this bindings for cleaner, more maintainable code
Co-authored-by: Elliot DeNolf <denolfe@users.noreply.github.com >
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
2022-06-08 14:44:34 -04:00
James Mikrut
20d251fd5d
fix : #576 , graphql where on hasMany relationship not working ( #582 )
2022-05-23 22:06:37 -04:00
James Mikrut
18489faceb
feat: optimizes field operations
...
* wip: beforeChange field op pattern
* feat: optimizes field-level beforeChange
* feat: optimizes beforeValidate
* feat: optimizes afterChange
* feat: optimizes afterRead
* chore: comment accuracy
2022-05-02 12:46:52 -04:00
James
ec91757257
feat: allows like to search by many words, adds contain to match exact strings
2022-04-05 16:22:57 -04:00
James
f4a2dff892
fix : #499 , graphql row / ui field bug
2022-04-04 15:09:56 -04:00
Dan Ribbens
647db5122e
feat: add pagination argument to optimize graphql relationships and use in local api ( #482 )
2022-03-16 14:58:41 -04:00
Dan Ribbens
ad98b29398
feat: adds path to GraphQL errors ( #457 )
...
* feat: adds path to GraphQL errors
* feat: afterError hook complete and error handling types
* Revert "feat: afterError hook complete and error handling types"
This reverts commit 5517d16c58f516fd4663b1bff791dd7c78b1e721.
* fix: moves extra graphql error response to extensions
2022-03-16 13:11:30 -04:00
Dan Ribbens
f14e187545
feat: allow empty string radio and select option values ( #479 )
2022-03-16 13:09:37 -04:00
James
fd0629e932
fix : #464 , graphql upload access control
2022-03-01 19:44:03 -05:00
James
c9fda13e61
chore: passing global graphql tests
2022-02-13 19:05:21 -05:00
Dan Ribbens
76077c539d
WIP: globals graphql versions
2022-02-13 17:34:22 -05:00
Dan Ribbens
a5c8ea4e2e
fix: version where input type
2022-02-11 15:50:42 -05:00
James
fa8a6b769b
chore: simplifies buildVersionWhereInput
2022-02-11 15:00:16 -05:00
Dan Ribbens
407bc35a31
chore: rename buildInputObject to withWhereAndOr
2022-02-11 13:45:27 -05:00