Dan Ribbens
0296c51324
testing rollback
2023-08-22 11:07:52 -04:00
Dan Ribbens
e73cd26f10
merge master
2023-08-14 15:54:04 -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
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
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
Elliot DeNolf
791ed3be50
feat: conditionally use transactions
2023-08-10 13:54:04 -04:00
Dan Ribbens
4f7d7a4d1b
adds postgres findOne
2023-08-09 11:55:14 -04:00
Dan Ribbens
9d7f88c8f7
adds pagination to find
2023-08-09 07:15:26 -04:00
James
353e851b29
chore: renames insertRow to upsertRow
2023-08-08 16:02:42 -04:00
Jarrod Flesch
f5cf546e19
fix: updates addFieldRow and replaceFieldRow rowIndex insertion ( #3145 )
2023-08-08 15:35:59 -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
eea3cca28b
chore: WIP - nested array insertion
2023-08-08 13:30:08 -04:00
Dan Ribbens
f6379e2117
Merge branch 'master' into feat/db-adapters
2023-08-08 12:58:43 -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
Dan Ribbens
57e25689a7
merge
2023-08-07 17:02:52 -04:00
Dan Ribbens
8ec4a70aa8
wip: build query
2023-08-07 17:00:46 -04:00
Elliot DeNolf
8685ca6e94
feat: dev push migrations handling and prompt
2023-08-07 16:23:02 -04:00
Dan Ribbens
89f759fa84
merge master
2023-08-07 09:22:19 -04:00
Dan Ribbens
e8f05165eb
feat: default tab labels from name ( #3129 )
2023-08-05 13:48:56 -04:00
Alessio Gravili
c5756ed4a1
feat: option to pre-fill login credentials automatically ( #3021 )
...
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
2023-08-04 13:41:08 -04:00
Dan Ribbens
356f174b9f
feat: set JWT token field name with saveToJWT ( #3126 )
2023-08-04 13:22:05 -04:00
Alessio Gravili
a09c4ddc3b
chore: improve flaky admin test suite ( #3085 )
2023-08-04 11:23:17 -04:00
James
e120d08282
chore: begins insert
2023-08-03 16:01:57 -04:00
Jarrod Flesch
a78c4631b4
feat: programmatic control over array and block rows inside the form ( #3110 )
2023-08-03 09:39:50 -04:00
James
a1388630d0
chore: adds postgres test suite
2023-08-02 19:57:22 -04:00
James
b3b1146fe1
chore: local postgres db for testing
2023-08-01 10:50:59 -04:00
Josef Bredreck
144bb81721
feat: add support for sharp resize options ( #2844 )
...
* feat(ImageResize): add support for resize options
* fix(ImageUpload): reuse name for accidental duplicate
* fix(ImageResize): e2e tests for added media size
* chore: simplify fileExists method
* fix: typo
* feat(ImageResize): update name to be more transparent
* fix: use fileExists in file removal
* improve names, comments and clarity of needsResize function
* fix: jsDoc params
* fix: incorrect needsResize condition and add failing test case
* chore: improve comment
* fix: merge conflict error
---------
Co-authored-by: Alessio Gravili <70709113+AlessioGr@users.noreply.github.com >
2023-08-01 09:20:50 -04:00
James
3a5851d28a
chore: passing tests
2023-07-31 18:12:09 -04:00
James
872b38d378
chore: corrects remaining mongodb adapter paths
2023-07-31 15:57:59 -04:00
James
028872261b
chore: path cleanup
2023-07-31 14:41:52 -04:00
James
f69e5949e1
chore: abstracts adapters to be their own package
2023-07-31 12:42:21 -04:00
James
9050493c61
chore: abstracts dev / test suites to accept incoming database specification
2023-07-30 12:27:15 -04:00
James
20179ba77b
chore: merge master
2023-07-29 11:18:39 -04:00
Jarrod Flesch
7542a92104
chore(tests): adds array row manipulation tests ( #3086 )
2023-07-26 16:34:13 -04:00
Alessio Gravili
67ba131cc6
feat: ability to add context to payload's request object ( #2796 )
...
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
2023-07-26 09:07:49 -04:00
Sanna Jammeh
5b7aac08f5
test(uploads): Add test case for adminThumbnail
2023-07-25 00:29:54 +00:00
Jarrod Flesch
641c765fb9
feat: solidifies bundler adapter pattern ( #3044 )
2023-07-21 17:20:51 -04:00
Dan Ribbens
8a681450d1
feat: add database transaction support( #2983 )
2023-07-21 14:13:18 -04:00
Alessio Gravili
3ac910bf6d
chore: improves datepicker styles and functionality ( #2347 )
...
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2023-07-18 14:32:30 -04:00
Jarrod Flesch
60fca40780
fix: rich text link element not validating on create ( #3014 )
2023-07-18 08:54:22 -04:00
Alessio Gravili
733fc0b2d0
feat: auto-login in config capability ( #3009 )
...
This is useful when developing/testing, where logging after every change can be cumbersome.
2023-07-17 16:35:58 -04:00
Alessio Gravili
c8c22dad06
feat: work on database adapter ( #3000 )
2023-07-17 13:22:51 -04:00
Jacob Fletcher
2fc03f196e
feat: returns queried user alongside refreshed token ( #2813 )
...
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
2023-07-17 09:35:34 -04:00
Jarrod Flesch
4925f90b5f
feat: adds array, collapsible, tab and group error states
...
Co-authored-by: Jessica Boezwinkle <jessica@trbl.design >
Co-authored-by: James <james@trbl.design >
2023-07-11 23:20:27 -04:00
James
d6bfba72a6
fix : #2980 , locale=all was not iterating through arrays / blocks
2023-07-10 11:47:34 -04:00
Dan Ribbens
fc1f4c494f
chore: cherry pick missing from migrations
2023-07-07 11:31:36 -04:00
Elliot DeNolf
2198445df9
Feat/migrations cli ( #2940 )
...
* feat: migrate cli call db adapter
* feat: mongoose adapter migrate:create
* feat: implement migrate command
* feat: use mongooseAdapter in test config
* feat: use filename as migration name
* feat: intelligently execute migrations, status table
* feat: implement migrate:down
* feat: implement migrate:reset
* feat: implement migrate:refresh
* feat: move common adapter operations to database/migrations dir
* feat: delete migrations instead of storing ran property
* feat: createMigration cleanup
* feat: clean up logging and add duration to output
* chore: export type, handle graphQL false
* chore: simplify getting latest batch number
* chore: remove existing migration logging noise
* feat: remove adapter export from top level
* chore: fix some db types
2023-07-07 11:02:56 -04:00
Dan Ribbens
756fe197c2
Merge branch 'master' into feat/mongoose-adapter-merge
2023-07-05 16:30:19 -04:00