Jarrod Flesch
8ca67d5aaa
fix( #3289 ): removes HMR plugin from prod webpack configs ( #3319 )
2023-09-12 13:09:56 -04:00
Jarrod Flesch
096d33718d
fix: fields with relationTo[] correctly load returned data from form submission ( #3317 )
2023-09-12 11:43:45 -04:00
Jessica Chowdhury
0bd335303d
fix: greater than equal admin filter not working ( #3306 )
2023-09-11 13:08:06 -04:00
Jarrod Flesch
a7d47c627d
fix: corrects hasMany relationships within addFieldStatePromise ( #3300 )
2023-09-09 00:32:29 -04:00
Jarrod Flesch
5e1bed3177
chore: fixes console errors for checkboxes ( #3291 )
2023-09-07 09:11:35 -04:00
Jarrod Flesch
9cd5e5aefa
fix: appends versions key to incoming where query ( #3287 )
2023-09-06 15:07:46 -04:00
Bas Dalenoord
429a88a5a1
fix: change scoping of force parameter to prevent false negation; ( #3278 )
2023-09-06 12:54:39 -04:00
Jarrod Flesch
cf12b5fc70
fix( #3274 ): sets full user data from fetchFullUser instead of partial jwt data ( #3279 )
2023-09-06 12:52:48 -04:00
Jarrod Flesch
5096c37874
fix: aligns depth behaviour between local api and admin panel ( #3276 )
2023-09-06 12:51:59 -04:00
Jarrod Flesch
ef27b9f641
chore: revert changes related to the status displayed by the Status component
2023-09-05 16:33:01 -04:00
Jarrod Flesch
2dcce0339c
chore: simplify logic for global status rendering
2023-09-05 16:04:56 -04:00
Jarrod Flesch
b649ad7bb5
chore: ensure not to update the version doc that was just created
2023-09-05 16:04:12 -04:00
Jarrod Flesch
33561a8ea2
chore: adds feature flag to config
2023-08-31 21:16:50 -04:00
Jarrod Flesch
e500b46576
chore: removes console log
2023-08-31 16:57:49 -04:00
Jarrod Flesch
16e94d401b
feat: improves query speed for version enabled collections
2023-08-31 16:50:35 -04:00
Jarrod Flesch
9fbabc8fd6
fix: globals not saving updatedAt and createdAt and version dates correctly
2023-08-31 16:49:33 -04:00
Jarrod Flesch
9bc072ccaf
fix: draft globals always displaying unpublish button
2023-08-31 16:48:25 -04:00
Tylan Davis
3a15e077c6
fix: correct out of order dark-mode color variables ( #3197 )
2023-08-24 15:09:31 -04:00
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
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
Jarrod Flesch
294fb5e574
chore: improve ts typing in sanitization functions ( #3194 )
2023-08-17 10:47:54 -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
PatrikKozak
7963d04a27
fix: passes in height to resizeOptions upload option to allow height resize ( #3171 )
2023-08-15 14:58:16 -04: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
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
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
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
Jarrod Flesch
cb04d4a82a
fix: unable to add arrays inside secondary named tabs ( #3158 )
2023-08-11 09:02:29 -04:00
Jarrod Flesch
f5cf546e19
fix: updates addFieldRow and replaceFieldRow rowIndex insertion ( #3145 )
2023-08-08 15:35:59 -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