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
Jarrod Flesch
f5cf546e19
fix: updates addFieldRow and replaceFieldRow rowIndex insertion ( #3145 )
2023-08-08 15:35:59 -04:00
Dan Ribbens
510510cc66
chore: update changelog
2023-08-08 12:54:47 -04:00
Dan Ribbens
69cb015e0b
chore(release): v1.13.0
v1.13.0
2023-08-08 12:54:14 -04:00
Dan Ribbens
c6e0908076
feat: recursive saveToJWT field support ( #3130 )
2023-08-08 12:38:44 -04:00
Jarrod Flesch
8e188cfe61
fix: adding and replacing similarly shaped block configs ( #3140 )
2023-08-08 12:38:14 -04:00
Jessica Chowdhury
8ae98503f5
docs: adds images to each field page ( #3137 )
2023-08-08 10:00:21 -04:00
Jessica Chowdhury
1039f39c09
fix: absolute staticURL admin thumbnails ( #3135 )
2023-08-08 09:49:03 -04:00
Hristiyan Dodov
463d6bbec6
fix: setPreference() return type ( #3125 )
2023-08-08 09:17:17 -04:00
Jarrod Flesch
b117e73464
feat: radio and select fields are filterable by options ( #3136 )
2023-08-07 16:58:42 -04:00
PatrikKozak
fd0f078586
Merge pull request #3134 from leikoilja/fix-form-builder-example
...
fix: form-builder buildInitialFormState example
2023-08-07 11:14:20 -04:00
Ilja Leiko
0aa494b339
fix: fix form-builder buildInitialFormState example
2023-08-07 12:36:07 +02:00
Dan Ribbens
e8f05165eb
feat: default tab labels from name ( #3129 )
2023-08-05 13:48:56 -04:00
Dan Ribbens
a776e06111
chore(release): v1.12.0
v1.12.0
2023-08-04 14:06:10 -04:00
Dan Ribbens
02fc36e988
chore: update devDependencies for supply chain vulnerabilities ( #3127 )
2023-08-04 13:53:57 -04:00