Patrik
42d8d11fd7
fix: ensures compare-version select field cannot be cleared ( #3901 )
2023-10-27 12:15:36 -04:00
Alessio Gravili
56e58e9ec7
fix(db-mongodb): improve find query performance ( #3836 )
...
Fixes #3904
* fix(db-mongodb): improve find query performance
* fix: add optimization to other operations which use pagination: findGlobalVersions, findVersions, queryDrafts
* fix: index createdAt field by default
2023-10-27 17:57:18 +02:00
Jessica Chowdhury
c564a83ab6
fix: ensure serverURL has string value for getBaseUploadFields function ( #3900 )
2023-10-27 11:42:14 -04:00
Alessio Gravili
dac9514eb0
fix(richtext-*): type issues with typescript strict mode enabled
2023-10-27 15:44:10 +02:00
Jacob Fletcher
4f2b080d1c
fix(db-mongodb): versions pagination ( #3875 )
2023-10-26 12:18:54 -04:00
Patrik
115e592b54
fix: handles null & undefined relationship field values in versions view ( #3609 )
2023-10-26 11:59:00 -04:00
Elliot DeNolf
6c5d525d8e
fix: store resized image on req or tempFilePath ( #3883 )
2023-10-26 09:35:27 -04:00
Elliot DeNolf
f53b713154
fix: resize image if no aspect ratio change ( #3859 )
...
* fix: resize image if no aspect ratio change
* test: adjust unawaited assertion
2023-10-26 09:04:13 -04:00
Dan Ribbens
435eb6204e
fix: error handling when duplicating documents fails ( #3873 )
2023-10-25 16:39:11 -04:00
Jacob Fletcher
3032e0b5a2
fix: global permissions for live preview ( #3854 )
2023-10-24 23:32:55 -04:00
Elliot DeNolf
3182d422c4
chore: export more upload types
2023-10-24 17:05:26 -04:00
Jarrod Flesch
24eab3af1d
fix: checks for user before accessing properties in preferences update operation( #3844 )
2023-10-24 14:46:56 -04:00
Elliot DeNolf
b901401ab3
chore(release): payload/2.0.13 [skip ci]
2023-10-24 14:17:04 -04:00
Dan Ribbens
7eee0ec355
fix: prevent storing duplicate user preferences ( #3833 )
...
* fix(payload): prevent storing duplicate user preferences
* test: add int tests for payload-preferences
* chore: add comments and cleanup preferences useEffects
2023-10-24 14:07:43 -04:00
Paul
a0019d0a78
fix: named tabs not appearing in the gql mutation input type ( #3835 )
2023-10-24 07:40:51 -04:00
Jarrod Flesch
5a0d0dbc02
fix: reverting localized versions ( #3831 )
2023-10-23 21:57:24 -04:00
Jacob Fletcher
71a3e5ba10
fix: prevents document sidebar from collapsing
2023-10-23 17:01:58 -04:00
Daniel Kirchhof
e8f237783b
fix: only parses live preview ready message when same origin ( #3791 )
2023-10-23 15:51:32 -04:00
Jacob Fletcher
a13ec2ebc4
fix: renders live preview for globals ( #3801 )
2023-10-23 14:30:51 -04:00
Jacob Fletcher
eaef0e7395
fix: alignment of collapsible within row ( #3822 )
2023-10-23 14:30:37 -04:00
Elliot DeNolf
4268b7833e
chore: export FileData type
2023-10-23 14:02:33 -04:00
Jarrod Flesch
c476d01f4e
fix: adjusts props to accept components for before and after fields instead of functions ( #3820 )
2023-10-23 14:01:51 -04:00
Elliot DeNolf
cac33ac275
chore(release): payload/2.0.12 [skip ci]
2023-10-23 13:18:50 -04:00
Elliot DeNolf
219aa3b2f3
fix: remove duplicate removal of temp upload file ( #3818 )
2023-10-23 13:01:18 -04:00
Jarrod Flesch
ea83c3f3a2
fix: simplify how the search input and query params are connected ( #3797 )
2023-10-21 10:04:54 -04:00
Alessio Gravili
b5c7bbed93
fix(richtext-lexical): defaultValue property didn't fit into field schema
2023-10-21 14:52:26 +02:00
Alessio Gravili
0af36af16c
feat(richtext-lexical): HTML Serializer ( #3685 )
...
* chore(richtext-lexical): add jsdocs for afterReadPromise in GraphQL
* feat(richtext-lexical): HTML Serializer
* chore(richtext-lexical): adjust comment
* chore(richtext-lexical): change the way the html serializer works
* chore: working html converter field, improve various exports
* feat: link and heading html serializers
* fix: populationPromises not being added properly
* feat: allow html serializers to be async
* feat: upload html serializer
* feat: text format => html
* feat: lists => html
* feat: Quote => html
* chore: improve Checklist => html conversion, by passing in the full parent to converters
2023-10-21 14:37:59 +02:00
Alessio Gravili
f6adbae0c7
feat: collection, global and field props for hooks, fix request context initialization, add context to global hooks ( #3780 )
...
* feat: pass collection, global and field props to collection, global and field hooks - where applicable
* fix: initial request context not set for all operations
* chore: add tests which check the collection prop for collection hooks
* feat: add context to props of global hooks
* chore: add global tests for global and field props
* chore: int tests: use JSON instead of object hashes
2023-10-21 11:40:57 +02:00
Jacob Fletcher
67d61df563
fix: standardizes layout of document fields ( #3798 )
2023-10-20 22:22:41 -04:00
Jarrod Flesch
f259645488
fix: issue where dragging unsortable item would crash the page ( #3789 )
2023-10-20 16:14:08 -04:00
Elliot DeNolf
eec60d5883
chore: rename .eslintrc.cjs -> .js
2023-10-20 15:50:25 -04:00
Elliot DeNolf
71407e19e2
chore(deps): bump sharp for CVE-2023-4863 ( #3786 )
2023-10-20 10:40:59 -04:00
Elliot DeNolf
b6bf354f6a
chore(release): payload/2.0.11 [skip ci]
2023-10-19 16:10:46 -04:00
Elliot DeNolf
9918c2499a
chore(deps): bump sass ( #3768 )
...
* chore(deps): bump sass and sass-loader
* chore: handle sass slash div deprecation
2023-10-19 15:52:39 -04:00
Jacob Fletcher
2697753715
chore(live-preview): significantly improves test coverage ( #3763 )
2023-10-19 14:56:16 -04:00
Jessica Chowdhury
ab7999d3c1
fix: updates req after file resize ( #3754 )
2023-10-19 12:56:24 -04:00
Jessica Chowdhury
a592188c1d
fix: correctly renders focal point when crop is set to false ( #3759 )
2023-10-19 12:51:13 -04:00
Elliot DeNolf
5ff0846b6c
feat: add ability to opt out of type gen declare statement ( #3765 )
...
* feat: add ability to opt out of type gen declare statement
* chore: docs wording
2023-10-19 12:44:28 -04:00
xHomu
13cabf129e
fix: account for many slug types in generate types ( #3698 )
...
* Fix generate:types bug #3697
generateEntityDeclarations function creates mismatched type names. We'll simply use the existing Config type instead.
* code cleanup
2023-10-19 11:36:26 -04:00
Take Weiland
bcdd2d626f
fix: handle graphQL: false on globals when building policy type ( #3729 )
2023-10-19 09:13:51 -04:00
Jacob Fletcher
7c52d6ee28
Merge pull request #3745 from payloadcms/fix/misc-admin
...
Fix/misc admin
2023-10-19 09:06:20 -04:00
Jacob Fletcher
4e05e6fd85
fix(a11y): tab indices
2023-10-18 17:55:55 -04:00
Jacob Fletcher
6988a68eaf
fix: renders id as fallback title in DeleteDocument
2023-10-18 17:55:55 -04:00
Jacob Fletcher
a272692726
chore: refines drawer and blur styles
2023-10-18 17:55:39 -04:00
Dan Ribbens
229e4459cb
fix(db-postgres): block and array inserts error ( #3714 )
...
Co-authored-by: James <james@trbl.design >
2023-10-18 16:53:26 -04:00
Take Weiland
056585ed31
fix: properly handles hideAPIURL ( #3721 )
2023-10-18 16:36:57 -04:00
Jarrod Flesch
1670a603f6
chore: adjust where sharp types are imported from ( #3645 )
2023-10-18 11:44:49 -04:00
Jacob Fletcher
370e8d1938
chore: replaces bg blur in document controls ( #3736 )
2023-10-18 11:40:25 -04:00
Elliot DeNolf
3a3eab761e
fix: filesRequiredOnCreate typing, tests, linting ( #3737 )
2023-10-18 11:27:55 -04:00
Jacob Fletcher
58e2083882
Merge pull request #3719 from payloadcms/fix/live-preview/uploads
...
Fix/live preview/uploads
2023-10-17 17:05:30 -04:00