James
|
3b78ab04c7
|
fix: #2662, draft=true querying by id
|
2023-05-22 15:46:04 -04:00 |
|
James Mikrut
|
a0bb13a412
|
fix: #2592, allows usage of hidden fields within access query constraints (#2599)
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com>
|
2023-05-01 17:15:14 -04:00 |
|
James
|
e67ca20108
|
fix: #2521, graphql AND not working with drafts
|
2023-04-20 09:31:29 -05:00 |
|
James
|
3f9bbe90bd
|
fix: incorrect version defaults
|
2023-04-17 19:37:22 -04:00 |
|
James
|
d187b809d7
|
feat: refactors buildQuery to rely on fields instead of mongoose
|
2023-04-17 16:08:44 -04:00 |
|
James
|
2d0441a72e
|
chore: begins work to build queries from fields instead of mongoose schema
|
2023-04-14 15:52:38 -04:00 |
|
Dan Ribbens
|
0fedbabe9e
|
feat: bulk-operations (#2346)
Co-authored-by: PatrikKozak <patrik@trbl.design>
|
2023-03-23 12:33:13 -04:00 |
|
davidko604
|
40033c64fb
|
Add allowDiskUse parameter to draft versions aggregate query
|
2023-03-01 11:27:31 -08:00 |
|
Dan Ribbens
|
4cd228a367
|
chore: split getLatestEntityVersion to separate globals and collections
|
2023-02-28 09:03:28 -05:00 |
|
Dan Ribbens
|
44651e6ecc
|
fix: globals publish after draft
|
2023-02-28 09:03:28 -05:00 |
|
James
|
c87fd2b649
|
fix: ensures sorting on drafts works in all cases
|
2023-02-22 11:09:01 -05:00 |
|
Dan Ribbens
|
b4a20741b2
|
fix: useFacet config option to disable $facet aggregation (#2141)
|
2023-02-20 13:54:12 -05:00 |
|
James
|
42ebf68932
|
fix: #2125, ensures createdAt and updatedAt are returned in update operations
|
2023-02-18 10:56:09 -05:00 |
|
Jarrod Flesch
|
8c7e37c56a
|
fix: ensures versions createdAt matches the original doc
|
2023-02-13 11:03:12 -05:00 |
|
Jarrod Flesch
|
9fed4f1c49
|
chore: simplifies query
|
2023-02-10 12:07:45 -05:00 |
|
Jarrod Flesch
|
8e95383afe
|
chore: accounts for globals in filter query
|
2023-02-10 11:53:57 -05:00 |
|
Jarrod Flesch
|
30688bbe41
|
fix: adds query constraint to ensureMaxVersions query
|
2023-02-10 11:37:36 -05:00 |
|
Jarrod Flesch
|
2e4f7ab35c
|
fix: max versions incorrectly sorting, causing incorrect versions to be held onto
|
2023-02-07 11:29:25 -05:00 |
|
James
|
2d74bb00f2
|
chore: merge
|
2023-01-31 21:17:35 -05:00 |
|
James
|
6ae6b9268f
|
chore: removes ability to retain deleted versions
|
2023-01-31 21:16:40 -05:00 |
|
Jarrod Flesch
|
ab7b14d81e
|
chore: defaults maxVersions to 100
|
2023-01-31 11:29:52 -05:00 |
|
Jarrod Flesch
|
52589f7c59
|
chore: removes top level spread of version data on version doc
|
2023-01-30 10:31:30 -05:00 |
|
Jarrod Flesch
|
46b750b3ec
|
chore: ensures only drafts use current time in versioning
|
2023-01-30 10:29:38 -05:00 |
|
Jarrod Flesch
|
9b613ee202
|
fix: limits and sorts within pagination and not on initial aggregation
|
2023-01-20 16:30:46 -05:00 |
|
Dan Ribbens
|
338c4e2fb1
|
fix: versions error on cosmos db
|
2023-01-19 13:47:38 -05:00 |
|
Jacob Fletcher
|
b3f2c79d87
|
chore: passing versions int tests
|
2023-01-19 11:39:27 -05:00 |
|
Jacob Fletcher
|
bd4da37f23
|
fix: creates backup of latest version after restoring draft #1873
|
2023-01-19 11:38:39 -05:00 |
|
James
|
412064d77f
|
chore: merges version deletion
|
2023-01-18 10:46:23 -05:00 |
|
James
|
700e3a159f
|
Merge branch 'master' of github.com:payloadcms/payload into canary
|
2023-01-18 10:33:39 -05:00 |
|
James
|
e3c5a6c294
|
chore: further types local operations
|
2023-01-17 16:16:26 -05:00 |
|
James
|
66dac29ee6
|
chore: merges versions simplification
|
2023-01-17 15:44:11 -05:00 |
|
James
|
2c6844c327
|
chore: removes unused code
|
2023-01-17 15:03:38 -05:00 |
|
James
|
3bb262fd66
|
chore: passing tests
|
2023-01-17 15:01:15 -05:00 |
|
James
|
ed998598df
|
chore: implements new typing into create and find operations
|
2023-01-17 10:22:17 -05:00 |
|
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
|
6903d7f52f
|
chore: ts compiles
|
2023-01-13 16:58:10 -05:00 |
|
James
|
a5c76d4bd5
|
feat: allows versions to be deleted alongside of main document deletion
|
2023-01-12 14:30:51 -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
|
c0710a3b74
|
chore: progress to ts improvements
|
2023-01-12 13:22:15 -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
|
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 |
|
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 |
|