James
a53682acee
chore: uses resulting version in update ops if draft=true
2023-01-17 09:59:32 -05:00
James
34582da561
chore: leverages versions refactor to simplify draft query logic
2023-01-16 21:40:34 -05:00
James
8cfa550954
feat: simplifies versions logic
2023-01-16 21:02:32 -05:00
James
fc7709da51
chore: flattens saving versions into a single file
2023-01-16 20:43:37 -05:00
James
0a4766a61e
chore: passing tests
2023-01-16 19:04:09 -05:00
James
671adc7e0e
chore: begins simplifying versions
2023-01-16 18:09:38 -05:00
James
a054cf098c
chore: excludes versions that do not have a parent document from draft queries
2023-01-12 13:35:17 -05:00
James
1ea6e8b4f3
chore: ensures that while querying with draft=true, outdated versions are excluded
2023-01-12 10:20:20 -05:00
James
f018fc04b0
fix: ensures querying with drafts works on both published and non-published posts
2023-01-12 10:06:44 -05:00
James
69026c5779
fix: ensures find with draft=true does not improperly exclude draft ids
2023-01-12 09:50:24 -05:00
James
3f30b2f489
fix: ensures that find with draft=true returns ids with drafts
2023-01-11 16:08:32 -05:00
James
ea9943e135
chore: ensures versions aggregate runs in the right order
2023-01-09 19:47:31 -05:00
James
faab09b76f
chore: ensures sort is used within mergeDrafts
2023-01-09 19:41:30 -05:00
James
33401f4064
chore: comment accuracy
2023-01-09 19:11:40 -05:00
James
9e9dfbcb10
chore: cleanup mergeDrafts
2023-01-09 19:06:02 -05:00
James
73af283e1c
feat: ensures compatibility with azure cosmos and aws documentdb
2023-01-09 18:59:20 -05:00
James Mikrut
e366624440
Merge pull request #1672 from payloadcms/fix/query-drafts
...
fix : #1611 , unable to query draft versions with draft=true
2022-12-19 16:01:57 -05:00
James
c755143cc0
chore: uses mongo aggregate for merging draft results
2022-12-19 16:01:30 -05:00
James
915f1e2b3a
fix : #1698 - globals and autosave not working
2022-12-19 10:52:11 -05:00
James
44b31a9e58
fix : #1611 , unable to query draft versions with draft=true
2022-12-14 16:25:04 -05:00
Dan Ribbens
396ea0bd53
fix: reset password regression ( #1574 )
2022-12-02 12:36:19 -05:00
Dan Ribbens
48989d0f6e
fix: update drafts includes latest version changes
2022-11-30 17:03:00 -05:00
Jacob Fletcher
25822a91b1
fix: allows patching global drafts #1415
2022-11-18 14:55:24 -05:00
Jacob Fletcher
f700f51f2b
fix: flattens locales before versioning published docs #1415
2022-11-18 14:31:25 -05:00
Jacob Fletcher
fc16ffefdb
fix: ensures drafts operations saves as draft #1415
2022-11-18 13:08:16 -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
James
c2ec54a7cb
fix : #1184
2022-10-06 16:11:24 -04:00
James
b43e8c5db0
tests: ports versions tests to new infra
2022-07-17 13:11:38 -07: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
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
515f20372e
chore: passing tests
2022-04-29 18:30:40 -04:00
James
a703e0582d
fix : #495 , avoids appending version to id queries
2022-04-04 13:56:09 -04: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
James
fa8a6b769b
chore: simplifies buildVersionWhereInput
2022-02-11 15:00:16 -05:00
Dan Ribbens
26b13a81c3
feat: improve code coverage for graphql versions
2022-02-11 13:39:17 -05:00
Dan Ribbens
7cfb2f7f02
feat: GraphQL version collection resolvers
2022-02-10 15:23:39 -05:00
Dan Ribbens
ee58471aed
WIP: graphql revisions operations
2022-02-10 15:09:08 -05:00
James
e81ba84ca7
feat: improves versions UI count and list view
2022-02-09 16:23:39 -05:00
James
652bd4ab23
chore: cleans up duplicative versions
2022-02-09 13:26:20 -05:00
James
ee9cd24e10
feat: uses debounce in autosave
2022-02-08 11:46:39 -05:00
James
a59b14bd8c
feat: implements versions in globals, adds tests
2022-02-07 17:46:51 -05:00
James
86890a2de4
tests: fixes outdated test
2022-02-07 16:44:56 -05:00
James
03c8445a6d
fix: removes required from versions status field
2022-02-07 16:16:49 -05:00
James
7397d63073
feat: builds global publishVersion
2022-02-06 20:34:52 -05:00
James
c38470c7b2
feat: allows access control to prevent reading of drafts
2022-02-06 14:46:34 -05:00
James
0ba508a87e
fix: ensures versions have proper data
2021-12-31 17:42:42 -05:00
James
ed8abd94e6
feat: merges back in logic for non draft versions and draft versions
2021-12-31 17:35:27 -05:00
James
5afabee1f2
separates version vs draft version functionality
2021-12-31 16:25:47 -05:00
James
1e093e1eee
feat: adds most recently published comparison doc
2021-12-31 14:29:41 -05:00