James
12c5100bc8
chore: pulls mongodb from main
2024-02-16 11:27:23 -05:00
James
abf0f7111d
chore: type fixes
2024-02-15 14:12:59 -05:00
James
ca531f0c13
chore: functional _community e2e
2024-02-15 13:39:18 -05:00
James
c8c393eff9
chore: bumps mongoose to 7
2024-02-15 13:28:07 -05:00
James
6f7a3ed031
chore: restores payload-config tsconfig path temporarily
2024-02-15 11:34:50 -05:00
Jarrod Flesch
db6758f7f7
chore: adds rest client for Next handlers
2024-02-15 10:01:13 -05:00
James
df6fa0be24
chore: moves dev folder to top, establishes new test pattern
2024-02-14 15:58:03 -05:00
Jarrod Flesch
86bfc0a7f9
chore: separates graphql package out for schema generation
2024-02-07 16:38:01 -05:00
Jarrod Flesch
56c766c7b8
feat: adds i18n functionality within Rest API, Local and Client contexts ( #4749 )
2024-01-09 14:37:17 -05:00
Jacob Fletcher
5558e0c62f
Merge branch 'main' into feat/next-poc
2023-12-19 10:34:34 -05:00
Jacob Fletcher
b1f3582764
chore(plugin-redirects): lints and builds ( #4551 )
2023-12-18 14:25:32 -05:00
Jacob Fletcher
f51f8493c9
Merge branch 'main' into chore/plugin-seo
2023-12-18 11:50:10 -05:00
Jacob Fletcher
dd32f5e450
chore(plugin-seo): scaffolds tests ( #4531 )
2023-12-17 23:49:02 -05:00
Jacob Fletcher
303f0d6227
chore(plugin-search): scaffolds tests ( #4511 )
2023-12-14 13:06:19 -05:00
Jacob Fletcher
6d9110ec48
chore(plugin-stripe): scaffolds tests ( #4510 )
2023-12-14 11:56:33 -05:00
Alessio Gravili
c6c5cabfbb
feat(plugin-form-builder): Lexical support ( #4487 )
...
* chore(plugin-form-builder): upgrade dependencies
* chore(plugin-form-builder): update demo
* feat(plugin-form-builder): lexical support
* chore(plugin-form-builder): add yarn.lock
* chore(plugin-form-builder): undo changes to demo
* fix(plugin-form-builder): get plugin to build for payload 2.0
2023-12-13 16:14:14 +01:00
James
fee8838e7b
chore: establishes package pattern
2023-11-15 16:00:45 -05:00
Jacob Fletcher
771df061b4
chore(plugin-nested-docs): migrates to monorepo setup
2023-10-16 10:29:04 -04:00
Jacob Fletcher
f77c41978b
chore: resolves path to live preview module
2023-10-05 14:33:02 -04:00
Alessio Gravili
9308c792e1
feat: Lexical richtext editor ( #3359 )
...
* 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
* feat: create base structure for lexical adapter
* chore: upgrade dependencies
* chore: improve package.json property order
* chore: undo unnecessary changes in core
* chore: initial, working lexical editor
* chore: utils
* chore: add license.md
* chore: work on Floating toolbar
* chore: floatingSelectToolbar extensibility
* chore: FloatingSelectToolbar format buttons
* chore: add functionality to format buttons
* chore: caret handling improvements
* chore: keep toolbar hidden during mousedown
* chore: keep carat centered unless at edge of container
* chore: placeholder, style improvements
* chore: DraggableBlock Handle
* chore: limit cell preview length
* chore: fix drag handle styling in light mode
* chore: remove unnecessary listener
* feat: add block handle
* chore: handle removal of handles properly
* chore: add HistoryPlugin
* chore: improve naming of format button properties
* chore: fix incorrect position of HistoryPlugin
* chore: serif font
* chore: improve opacity handling of FloatingSelectToolbar
* feat: slash menu
* feat: slash menu interface
* chore: fix mixed-up icon
* chore: add missing editorConfig?.feature dependency
* feat: sanitizedEditorConfig, slash menu grouping
* feat: interface for nodes
* feat: Plugin interface
* feat: working AddBlockHandlePlugin
* feat: headings
* chore: improve editor focus handling for add block handle's slash menu
* chore: improve handling of slash menu filtering
* fix: cloneDeep function not handling all data types well
* feat: markdown transformers for headings
* feat: proper dependency system
* feat: add remaining markdown transformers
* feat: order system for floating toolbar format buttons
* chore: customizable floating select toolbar sections system
* feat: WIP floatingSelectToolbar dropdown sections
* feat: working dropdown & misc improvements
* chore: fix dropdown top positioning after scrolling down
* chore: downgrade @types/react
* feat: treeview debug feature, & misc improvements
* feat: add TabIndentationPlugin by default
* fix: wrong key for treeviewfeature
* chore: handle plugin keys
* chore: simplify Heading Feature
* feat: Text Align
* feat: Indent
* chore: floating text toolbar section dividers
* feat: isEnabled for floating select toolbar, and isEnabled handling for decreaseIndent
* chore: add all missing icons
* feat: checklist, orderedlist, unorderedlist
* chore: improve lists by using lexical/react's ListPlugin
* chore: lists markdown transformers
* chore: improve key generation for plugins
* fix: add missing payload scss import
* fix: make default editorConfig null instead of defaultSanitizedEditorConfig for EditorConfigProvider. This fixes a bug where the editor would crash if some feature was using this EditorConfigProvider, as EditorConfigProvider needs the feature (due to the serialization process) and the Feature needing EditorConfigProvider (circular dependency)
* chore: allow positioning plugins under floatingAnchorElem
* feat: WIP: Link Feature
* chore: add box shadow to slash menu in light mode
* chore: CheckList => Check List
* chore: respect admin.readOnly setting
* chore: Simplify Link Feature
* chore: restructuring
* chore: prettier
* chore: scss-ify
* feat: wip: nicer draggable blocks
* chore: lots of block drag improvements
* helllll yea
* chore: just pure niceness
* fix: drag handle not working when scrolling down
* fix: "add" drag handle not working when scrolling down
* chore: remove unnecessary console log
* chore: fix slash menu positioning if there is not enough space below
* chore: increase animation speed of floating select toolbar
* chore: expect transforms for top-level editor nodes
* chore: move css rule to correct position
* chore: slightly animate target drag line
* chore: do not indicate drag-ability in un-dragable positions
* chore: explanatory comment
* chore: link editor styling
* chore: lots of link-related improvements
* chore: a lot of floating toolbar improvements
* chore: adjust link colors to be the same as in the website
* chore: prep work link extensibility
* chore: work on link plugin
* feat: fully-working link feature 🎉
* chore: add upload icon
* chore: merge in useful changes from playground & misc stuff
* feat: WIP relationship feature
* feat: Relationship Feature
* feat: BlockQuote Feature
* chore: base structure for Upload feature
* chore: fix types
* chore: WIP work on population and upload nodes
* chore: stuff
* fix: ensure uuid is only generated once
* chore: remove console.log's
* feat: link and relationship population
* fix: populate relationships at correct position
* chore: bunch of progress on upload node
* chore: working upload node!
* chore: various upload feature improvements
* chore: misc
* feat: working upload feature fields customization
* feat: WIP Blocks feature
* chore: fix incorrectly registered editor commands
* chore: get Block fields to render
* feat: functional blocks feature
* chore: improve functionality of blocks feature component (styling, collapsing)
* chore: disable console logs
2023-10-01 21:03:44 +02: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
Alessio Gravili
4aad563f58
chore: cleanup 2.0 tsconfigs, fix building types for db adapters ( #3293 )
...
* chore: cleanup tsconfigs and fix db-mongodb builds
* chore: make the db adapters depend on payload
* chore: fix tsconfig for test directory
* chore: fix packages/db-mongodb not building
2023-09-07 22:36:17 +02:00
James
0f3b364e46
chore: hoists tests out of payload package
2023-09-01 14:45:41 -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
373e89a6ba
chore: eslint, turbo and various configs
2023-09-01 16:59:45 +02:00
Alessio Gravili
a67278b29f
chore: move to monorepo structure
2023-08-23 12:20:30 +02:00
James
028872261b
chore: path cleanup
2023-07-31 14:41:52 -04:00
James
832c1069f1
chore: moves db adapters to top-level packages
2023-07-31 14:26:14 -04:00
James
f69e5949e1
chore: abstracts adapters to be their own package
2023-07-31 12:42:21 -04:00
James
6f62429382
chore: merges removal of swc/register
2023-01-17 16:51:11 -05:00
James
0af29ff4db
chore: dynamically uses generated types via tsconfig paths
2023-01-15 12:22:16 -05:00
James
f1c342e05e
feat: requires ts-node to start a project for any config that uses ts or jsx
2023-01-10 11:48:40 -05:00
James
ee54c1481c
fix : #1808 , arrays and blocks now save localized nested field data upon reordering rows
2023-01-09 12:58:13 -05:00
Jarrod Flesch
206d0c2c2a
chore: adds sourcemaps for swc register
2023-01-04 13:54:39 -05:00
James Mikrut
c11bcd1416
feat: swc register ( #1779 )
...
* feat: implements esbuild and removes babel
* chore: implements esbuild-register
* chore: tests passing
* chore: implements @swc/jest for tests
* feat: implements swc
* chore: removes build and relies on swc/register only
* chore: converts some exports
* chore: flattens ts configs
* chore: allows tsx in swc
* chore: converts more exports into js
* chore: restores payload module.exports
* chore: removes unused dependency
2023-01-04 10:11:26 -05:00
Jarrod Flesch
bb6ee6a974
chore: reverts irrelevant ts-config change
2022-11-18 08:26:05 -05:00
Jarrod Flesch
7c6d6fd1ca
feat: exports field types properly
2022-11-17 17:06:34 -05:00
Elliot DeNolf
839e3f9dae
test: fix all ts errors, eslint overrides
2022-04-03 23:40:29 -04:00
James
2176ce0cf7
chore: ensures tests pass
2021-11-28 17:03:20 -05:00
James
72537106a3
feat: scaffolds admin revisions
2021-11-28 16:37:21 -05:00
James
84f6a9d659
fix: more strict field typing
2021-10-12 21:18:12 -04:00
Elliot DeNolf
52a0096d3b
fix: target es2019, optional chaining not supported for Node < 14
2021-01-23 15:58:50 -05:00
James
06a722ffdb
chore: updates all references from @payloadcms/payload to payload
2021-01-05 13:17:59 -05:00
James
8090b2a23b
fix: disables inline sourcemaps for admin dist
2020-12-28 13:31:37 -05:00
James
be04310810
flattens dist folder
2020-12-24 10:28:41 -05:00
Elliot DeNolf
d38c6f8118
buildSchema types and exclude tests from tsconfig
2020-12-20 11:42:36 -05:00
Elliot DeNolf
4cb8bbd2f4
type traverseFields and other misc
2020-12-08 11:36:00 -05:00
James
a5bbb338b9
resets ts error truncation
2020-11-29 11:35:28 -05:00
James
aa795d19d5
converts demo to ts
2020-11-28 16:07:54 -05:00
James
0e2fbe0e8f
enables build w/ typescript, refines the way configs are found
2020-11-25 18:57:17 -05:00