Paul
6d3b8636f4
fix: mutation type with tabs missing previous tabs ( #3196 )
2023-08-24 14:29:25 -04:00
PatrikKozak
cb8e07f852
fix: arrays in richtext uploads ( #3222 )
...
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2023-08-24 14:12:18 -04:00
Jessica Chowdhury
301be0a5d4
docs: adds minRow and maxRow to array and blocks pages ( #3203 )
2023-08-24 11:19:49 -04:00
Dan Ribbens
466589b483
chore(release): v1.15.0
v1.15.0
2023-08-24 10:22:55 -04:00
Alessio Gravili
6754f55ce0
chore: improve filtering for hasMany number field ( #3193 )
...
* chore: improve fiiltering for hasMany number field
* chore: add translation for 'items' and replace rows with items
* chore: new exceededLimit key
* Revert "chore: add translation for 'items' and replace rows with items"
This reverts commit 3a91dabdfd .
* chore: undo adding items key in translation schema
* chore: new limitReached key
* chore: remove unnecessary exceededLimit key
2023-08-21 18:01:10 +02:00
Alessio Gravili
84d2bacb56
chore: improve checkboxes ( #3191 )
2023-08-21 10:39:40 -04:00
Alessio Gravili
739abdcd81
feat: query support for geo within and intersects + dynamic GraphQL operator types ( #3183 )
...
Co-authored-by: Lucas Blancas <lablancas@gmail.com >
2023-08-21 10:12:27 -04:00
Jacob Fletcher
c7cf2d3d2c
chore(examples): updates draft-preview next-app example to use revalidateTag ( #3199 )
2023-08-21 08:45:44 -04:00
Jacob Fletcher
79561497f9
Merge pull request #3200 from payloadcms/chore/ecom-deploy
...
chore(templates): updates e-commerce template
2023-08-21 08:45:31 -04:00
Jacob Fletcher
600306274e
chore(templates): renders static cart page fallback
2023-08-20 18:26:53 -04:00
Jacob Fletcher
398378a867
chore(templates): implements draft preview and on-demand revalidation
2023-08-20 13:20:06 -04:00
Jacob Fletcher
4e755dfde2
chore(templates): safely handles bad network requests
2023-08-20 02:09:51 -04:00
Elliot DeNolf
3634e2cc4d
chore(templates): default port on website
2023-08-17 15:01:55 -04:00
Jarrod Flesch
294fb5e574
chore: improve ts typing in sanitization functions ( #3194 )
2023-08-17 10:47:54 -04:00
Dan Ribbens
f5f2332755
chore(release): v1.14.0
v1.14.0
2023-08-16 13:58:20 -04:00
Jarrod Flesch
0acd7b8706
chore: file cleanup ( #3190 )
2023-08-16 13:03:43 -04:00
James Mikrut
d91b44cbb3
feat: improve field ops ( #3172 )
...
Co-authored-by: PatrikKozak <patrik@trbl.design >
2023-08-16 11:00:52 -04:00
Greg Willard
e03a8e6b03
feat: Improve admin dashboard accessibility ( #3053 )
...
Co-authored-by: Alessio Gravili <alessio@gravili.de >
2023-08-16 10:26:17 -04:00
Jacob Fletcher
846485388a
docs: removes auto-formatting from rich-text.mdx ( #3188 )
2023-08-16 10:15:27 -04:00
Jacob Fletcher
8d83e05948
docs: fixes syntax error in rich-text.mdx that was breaking build
2023-08-16 03:28:19 -04:00
PatrikKozak
7963d04a27
fix: passes in height to resizeOptions upload option to allow height resize ( #3171 )
2023-08-15 14:58:16 -04:00
Jessica Chowdhury
20b6b29c79
chore(test): adds test to ensure relationship returns over 10 docs ( #3181 )
...
* chore(test): adds test to ensure relationship returns over 10 docs
* chore: remove unnecessary movieDocs variable
2023-08-15 19:48:33 +02:00
Alessio Gravili
fdfdfc83f3
fix: WhereBuilder component does not accept all valid Where queries ( #3087 )
...
* chore: add jsDocs for ListControls
* chore: add jsDocs for ListView
* chore: add jsDocs for WhereBuilder
* chore: add comment
* chore: remove unnecessary console log
* chore: improve operator type
* fix: transform where queries which aren't necessarily incorrect, and improve their validation
* chore: add type to import
* fix: do not merge existing old query params with new ones if the existing old ones got transformed and are not valid, as that would cause duplicates
* chore: sort imports and remove extra validation
* fix: transformWhereQuery logic
* chore: add back extra validation
* chore: add e2e tests
2023-08-15 19:22:57 +02:00
Jarrod Flesch
c154eb7e2b
chore: remove swc version pin ( #3179 )
2023-08-15 09:19:18 -04:00
Stef Gootzen
33686c6db8
feat: add afterOperation hook ( #2697 )
...
* feat: add afterOperation hook for Find operation
* docs: change #afterOperation to #afteroperation
* chore: extract afterOperation in function
* chore: implement afterChange in operations
* docs: use proper CollectionAfterOperationHook
* chore: remove outdated info
* chore: types afterOperation hook
* chore: improves afterOperation tests
* docs: updates description of afterOperation hook
* chore: improve typings
* chore: improve types
* chore: rename index.tsx => index.ts
---------
Co-authored-by: Jacob Fletcher <jacobsfletch@gmail.com >
Co-authored-by: Alessio Gravili <alessio@gravili.de >
2023-08-15 14:37:01 +02:00
Alessio Gravili
6d6acbcfc1
Merge pull request #3176 from payloadcms/chore/docs-design-contributions
...
chore: add section for design contributions in contributing.md
2023-08-15 14:25:50 +02:00
Alessio Gravili
4e2f2561ff
chore: add section for design contributions in contributing.md
2023-08-15 13:34:11 +02:00
Chingiz Mammadov
63e3063b9e
feat: Added Azerbaijani language file ( #3164 )
...
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
2023-08-14 15:40:53 -04:00
rpfaeffle
942cfec286
feat: add support for hotkeys ( #1821 )
...
Co-authored-by: Jacob Fletcher <jacobsfletch@gmail.com >
Co-authored-by: Alessio Gravili <70709113+AlessioGr@users.noreply.github.com >
Co-authored-by: Alessio Gravili <alessio@gravili.de >
Co-authored-by: Jessica Boezwinkle <jessica@trbl.design >
2023-08-14 15:36:49 -04:00
Jarrod Flesch
35dfaab7c2
chore: works around changes in @swc/core 1.3.76 ( #3170 )
2023-08-14 14:32:42 -04:00
Jordy Alcides
bad363882c
feat: allow async relationship filter options ( #2951 )
...
* chore: improving relationship filter options;
Updating prop filterOptions from field type "relationship" to allow async functions;
* chore: add failing test case
* fix: translation followingFieldsInvalid_many not getting triggered
* docs: improve documentation
---------
Co-authored-by: Alessio Gravili <alessio@gravili.de >
2023-08-14 17:29:29 +02:00
Alessio Gravili
20a6ce8823
Merge pull request #3166 from payloadcms/fix/external-website-redirects
...
fix: do not allow redirects to external sites
2023-08-14 17:20:07 +02:00
Alessio Gravili
6797222733
chore: remove duplicate code
2023-08-14 17:19:19 +02:00
Jarrod Flesch
edcb3933cf
fix: DatePicker showing only selected day by default ( #3169 )
2023-08-14 11:18:13 -04:00
Mark Barton
a0b13a5b01
feat: text alignment for richtext editor ( #2803 )
...
* Update isActive.tsx
This change allows us to define toggling of custom types in Slate. Specifically, this fixes the ability to toggle Alignment on nodes that use other active elements.
isElementActive(editor, format, TEXT_ALIGN_TYPES.includes(format) ? 'align' : 'type');
Type is the default for elements, allowing us to use a custom field lets us greater extend the functionality of Slate in Payload without causing any breaking changes
* Update toggle.tsx
Added to toggleElement public function
* Update isActive.tsx
* Update toggle.tsx
Added Rich Text Alignment, updated toggle function, added tests and doc updates
* added margin to void elements
* fix: list alignment
* removed textAlign from elements and added docs
* chore: fix typo
---------
Co-authored-by: Alessio Gravili <alessio@gravili.de >
2023-08-14 17:08:50 +02:00
Alessio Gravili
5744de7ec6
feat: make PAYLOAD_CONFIG_PATH optional ( #2839 )
...
* feat: make PAYLOAD_CONFIG_PATH optional
* hardcode common search paths
* docs: update docs regarding PAYLOAD_CONFIG_PATH
* make the tsConfig parser less prone to errors
2023-08-14 16:46:10 +02:00
Alessio Gravili
8a6cbf8a4d
Merge pull request #2500 from Elliot67/feat/file-caching
2023-08-14 16:37:00 +02:00
Alessio Gravili
0a4730188b
chore: update from master
2023-08-14 15:23:28 +02:00
Alessio Gravili
ea46fadc26
Merge remote-tracking branch 'origin/master' into pr/2500
2023-08-14 15:23:19 +02:00
Alessio Gravili
40db0d0462
chore: improve regex
2023-08-14 15:14:54 +02:00
Alessio Gravili
c0f05a1c38
fix: only allow redirects to /admin sub-routes
2023-08-13 16:25:14 +02:00
Elliot DeNolf
52de1f6ab0
chore(release): v1.13.4
v1.13.4
2023-08-11 16:58:06 -04:00
Jarrod Flesch
479293fe6f
chore: removes duplicative code for getting parent path ( #3163 )
2023-08-11 13:04:43 -04:00
Jarrod Flesch
3c60abd61a
fix: correctly passes block path inside buildFieldSchemaMap ( #3162 )
2023-08-11 10:49:52 -04:00
Elliot DeNolf
f9807b5bd5
chore(release): v1.13.3
v1.13.3
2023-08-11 09:27:27 -04:00
Jarrod Flesch
cb04d4a82a
fix: unable to add arrays inside secondary named tabs ( #3158 )
2023-08-11 09:02:29 -04:00
James
5f7ea17717
chore(release): v1.13.2
v1.13.2
2023-08-10 17:43:46 -04:00
Jarrod Flesch
608ae42eff
chore: pins @swc/core to 1.3.75
2023-08-10 16:23:43 -04:00
Jacob Fletcher
1da412a9bf
chore(templates): fixes orders access control in ecommerce template ( #3150 )
2023-08-09 12:27:11 -04:00
Dan Ribbens
324b51e778
chore(release): v1.13.1
v1.13.1
2023-08-08 16:00:52 -04:00