Dan Ribbens
0296c51324
testing rollback
2023-08-22 11:07:52 -04:00
Dan Ribbens
ddc692a966
wip: postgres transactions
2023-08-21 16:04:37 -04:00
James
640fd2843f
Merge branch 'feat/db-adapters' of github.com:payloadcms/payload into feat/db-adapters
2023-08-21 15:44:59 -04:00
James
af13924d3f
chore: handles date in upsertRow
2023-08-21 15:44:46 -04:00
Alessio Gravili
7c4dd5ec5e
feat: option to disable auto pluralization for the mongoose adapter ( #3153 )
...
* chore: disable slug pluralization for versions model
* chore: disable slug pluralizations for globals version model
* chore: disable auto slug pluralization for globals collection
* feat: autoPluralization option for mongoose adapter
2023-08-21 18:05:39 +02:00
Dan Ribbens
e73cd26f10
merge master
2023-08-14 15:54:04 -04: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
Elliot DeNolf
24aa1f27c1
feat: handle postgres numeric field for batch number comparison
2023-08-14 14:02:56 -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
Elliot DeNolf
791ed3be50
feat: conditionally use transactions
2023-08-10 13:54:04 -04:00
James
7345fa8fcd
chore: cleanup
2023-08-09 19:33:07 -04:00
James
589fbba5aa
chore: merge
2023-08-09 19:23:23 -04:00
James
237a91f0cc
chore: ensures block and array locale relations are built properly
2023-08-09 19:22:19 -04:00
Elliot DeNolf
f8e6914f44
feat: proper type for createMigration func
2023-08-09 17:10:00 -04:00
Elliot DeNolf
cd447f1a9d
feat: drizzle json generation
2023-08-09 17:07:51 -04:00
James
2f8549f331
chore: ports over find utilities
2023-08-09 16:41:21 -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
4f7d7a4d1b
adds postgres findOne
2023-08-09 11:55:14 -04:00
Dan Ribbens
a7ad9903d7
Merge branch 'feat/db-adapters' of github.com:payloadcms/payload into feat/db-adapters
2023-08-09 07:15:46 -04:00
Dan Ribbens
9d7f88c8f7
adds pagination to find
2023-08-09 07:15:26 -04:00
Elliot DeNolf
0447dd3a33
chore: formatting
2023-08-08 16:36:55 -04:00
Elliot DeNolf
5bac50bca9
chore: apply schema changes before inserting into migrations table
2023-08-08 16:35:39 -04:00
James
353e851b29
chore: renames insertRow to upsertRow
2023-08-08 16:02:42 -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
James
e25b77b411
chore: adds todo for update
2023-08-08 15:35:35 -04:00
James
84207d1e3b
chore: cleanup
2023-08-08 15:06:56 -04:00
James
7e5f091e3a
chore: inserts arrays within blocks
2023-08-08 14:38:48 -04:00
James
2f3f830de0
chore: merge
2023-08-08 14:27:43 -04:00
James
9500d94add
chore: functional create
2023-08-08 14:25:28 -04:00
James
eea3cca28b
chore: WIP - nested array insertion
2023-08-08 13:30:08 -04:00