Alessio Gravili
27ba1fc79e
docs(richtext): fix typos and other issues
2023-10-09 04:34:50 +02:00
Elliot DeNolf
bdbfc8c9af
docs: remove mongoURL mentions
2023-10-08 22:26:40 -04:00
Elliot DeNolf
b398c44bfe
chore: update all references to main in docs, examples, and templates
2023-10-08 19:45:54 -04:00
Jacob Fletcher
f39ba60b08
docs: live preview config path
2023-10-08 19:39:50 -04:00
James
791f2051f3
Merge branch 'main' of github.com:payloadcms/payload
2023-10-08 19:38:34 -04:00
James
077bd7fad3
chore: rich text docs
2023-10-08 19:37:41 -04:00
Jacob Fletcher
8255088f39
docs: custom views ( #3483 )
2023-10-08 19:34:23 -04:00
Tylan Davis
f968b92968
fix: removes quotes in keywords
2023-10-08 16:10:35 -04:00
Tylan Davis
b51987d4ac
chore: adds point field database disclaimer
2023-10-08 16:10:10 -04:00
Tylan Davis
2639d29b91
fix: removes unused page
2023-10-08 16:09:30 -04:00
James
e0af6fea99
Merge branch '2.0' of github.com:payloadcms/payload into 2.0
2023-10-08 14:57:14 -04:00
James
27f861d725
chore: updates bundler docs
2023-10-08 14:57:05 -04:00
Dan Ribbens
eb58d9e877
chore: removes indexes from collection config ( #3476 )
2023-10-08 14:48:14 -04:00
James
c9387eba27
Merge branch '2_0/docs/bundlers' of github.com:payloadcms/payload into 2.0
2023-10-08 14:37:14 -04:00
Jarrod Flesch
1c577d1d0c
chore: removes placeholder vite
...
link
2023-10-08 14:33:44 -04:00
Jarrod Flesch
86802dd531
chore: add bundle doc page, update env and vite
2023-10-08 14:31:40 -04:00
James
1c3d969ef1
Merge branch '2.0' of github.com:payloadcms/payload into 2.0
2023-10-08 14:23:32 -04:00
James
b9aa4d96a3
chore: db docs
2023-10-08 14:23:18 -04:00
Jarrod Flesch
595ba1b241
chore: simplifies webpack/server-code docs
2023-10-08 11:03:25 -04:00
PatrikKozak
022ef85d8c
docs: removes generated type aliasing
...
Co-authored-by: Jacob Fletcher <jacobsfletch@gmail.com >
2023-10-08 10:13:03 -04:00
Jacob Fletcher
70d41407a8
docs: live preview ( #3474 )
2023-10-08 09:55:06 -04:00
Jarrod Flesch
6efedc174a
chore: updates admin/webpack, admin/overview. Adds admin/server-only.
2023-10-07 14:51:26 -04:00
Jarrod Flesch
fb07308dca
feat: 2.0 upload enhancements ( #3433 )
2023-10-06 17:02:42 -04:00
Jarrod Flesch
6a74173789
chore: merges existing docs with 2.0 docs ( #3450 )
2023-10-06 13:33:24 -04:00
Jessica Boezwinkle
a8ff06a134
docs: updates onInit options
2023-10-06 17:16:38 +01:00
Jessica Boezwinkle
01891bb8bc
docs: updates config examples, oninit props, mongoDB references and adds warning to point field
2023-10-06 17:16:38 +01:00
James
78d6643950
chore: docs stubbing
2023-10-06 10:20:44 -04:00
James
9da6506622
chore: initializes payload before build
2023-10-05 10:34:56 -04:00
Elliot DeNolf
f723b0e0e9
docs: add disableOnInit
2023-09-28 16:03:40 -04:00
Alessio Gravili
a81401cf77
feat: breaking: richtext adapter ( #3311 )
...
BREAKING: requires user to install @payloacms-richtext-slate and specify a `config.editor` property
* chore: move slate stuff into packages/richtext-slate
* chore: fieldTypes stuff
* chore: fix richtext-slate tsconfig
* chore: add clean:unix command
* chore: fix up things
* chore: undo subpath imports being hoisted up
* chore: fix incorrect imports
* chore: improve AdapterArguments type
* chore: remove unused richTextToHTML and stringifyRichText files
* fix: core-dev scss imports
* chore: fix publishConfig exports for richtext-slate
* chore: adjust joi schema for richtext field
* chore: various fixes
* chore: handle afterRead population in richText adapter
* chore: handle more after-read promise stuff
* chore: fix joi validation
* chore: add richtext adapter to tests
* chore: merge adapter props with field props
* chore: index.tsx => index.ts
* chore: rename `adapter` to `editor`
* chore: fix e2e tests not running due to importing a constant from a file (`Tabs`) which imports createSlate.
This fails because createSlate imports React components.
* chore: remove unnecessary import
* chore: improve various typings
* chore: improve typings for List view Cell components
* feat: richText adapter cell component
* chore: add missing types packages for packages/richtext-slate
* chore: add new adapter interface properties to joi schema
* chore: withMergedProps utility which replaces getSlateCellComponent and getSlateFieldComponent
* feat: added config.defaultEditor property which is now required. field.editor is no longer required and overrides config.defaultEditor
* docs: mention editor and defaultEditor property in the docs
* chore: fix incorrectly formatted JSX in docs files breaking mdx parser
* chore: fix various errors
* chore: auto-generated pointer files
2023-09-19 11:03:31 +02:00
Elliot DeNolf
79f9ef2481
chore: migration improvements ( #3335 )
...
* chore: better migrationDir handling
* chore: add .migrations to gitignore
* chore: migration cli debugging
* docs: stub out each migration command
2023-09-14 14:23:17 -04:00
Alessio Gravili
ae7d6f97d2
chore: formatting and linting ( #3261 )
...
* chore: lint packages/payload
* chore: lint packages/db-postgres
* chore: lint packages/db-mongodb
* chore: update eslintrc exclusion rules
* chore: update eslintrc exclusion rules
* chore: lint misc files
* chore: run prettier through packages
* chore: run eslint on payload again
* chore: prettier misc files
* chore: prettier docs
2023-09-01 17:39:44 +02:00
Alessio Gravili
9467074fb9
chore: update 2.0 branch from master ( #3207 )
...
Co-authored-by: Jacob Fletcher <jacobsfletch@gmail.com >
Co-authored-by: Alessio Gravili <alessio@gravili.de >
Co-authored-by: PatrikKozak <patrik@trbl.design >
Co-authored-by: Lucas Blancas <lablancas@gmail.com >
Co-authored-by: Stef Gootzen <37367280+stefgootzen@users.noreply.github.com >
Co-authored-by: Jarrod Flesch <30633324+JarrodMFlesch@users.noreply.github.com >
Co-authored-by: Jessica Chowdhury <67977755+JessChowdhury@users.noreply.github.com >
Co-authored-by: PatrikKozak <35232443+PatrikKozak@users.noreply.github.com >
Co-authored-by: Greg Willard <Wickett06@gmail.com >
Co-authored-by: James Mikrut <james@payloadcms.com >
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
Co-authored-by: Elliot DeNolf <denolfe@gmail.com >
fix: WhereBuilder component does not accept all valid Where queries (#3087 )
fix: passes in height to resizeOptions upload option to allow height resize (#3171 )
2023-08-22 16:04:50 -04:00
Alessio Gravili
f911257cd9
feat: RTL Support ( #3003 )
...
Co-authored-by: Alessio Gravili <alessio@gravili.de >
Co-authored-by: ibr-hin95 <ibr.hin95@gmail.com >
Co-authored-by: Seied Ali Mirkarimi <dasmergo@gmail.com >
Co-authored-by: muathkhatib <mkhatib.dev@gmail.com >
Co-authored-by: ibr-hin95 <40246707+ibr-hin95@users.noreply.github.com >
fix: recursiveNestedPaths not merging existing fields when hoisting row/collapsible fields (#2769 )
fix: exclude monaco code editor from ltr due to microsoft/monaco-editor#2371
BREAKING CHANGE:
- The admin hook for `useLocale` now returns a Locale object of the currently active locale. Previously this would only return the code as a string. Any custom components built which had `locale = useLocale()` should be replaced with `{ code: locale } = useLocale()` to maintain the same functionality.
- The property `localization.locales` of `SanitizedConfig` type has changed. This was an array of strings and is now an array of Locale objects having: `label: string`, `code: string` and `rtl: boolean`. If you are using localization.locales from the config you will need to adjust your project or plugin accordingly.
2023-08-22 12:18:15 -04:00
Dan Ribbens
e73cd26f10
merge master
2023-08-14 15:54:04 -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
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
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
Jessica Chowdhury
8ae98503f5
docs: adds images to each field page ( #3137 )
2023-08-08 10:00:21 -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
Jarrod Flesch
a78c4631b4
feat: programmatic control over array and block rows inside the form ( #3110 )
2023-08-03 09:39:50 -04:00
Dan Ribbens
5ef20e3440
docs: mention virtual fields cannot be sorted ( #3107 )
2023-08-01 05:10:02 -04:00
James
20179ba77b
chore: merge master
2023-07-29 11:18:39 -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
dda9ff01ca
docs(upload): Modify the note under adminThumbnail to reflect changes
2023-07-25 00:35:19 +00:00