Jacob Fletcher
2d96a1f0b6
docs: misc improvements to high-level docs ( #7177 )
2024-07-16 15:47:56 -04:00
Jacob Fletcher
2925c3bb90
docs: root hooks ( #7160 )
2024-07-15 17:15:34 -04:00
Hulpoi George-Valentin
9c72ab97b0
feat: configure cors allowed headers ( #6837 )
...
## Description
Currently, the Payload doesn't support to extend the Allowed Headers in
CORS context. With this PR, `cors` property can be an object with
`origins` and `headers`.
- [x] I have read and understand the
[CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md )
document in this repository.
## Type of change
- [ ] Chore (non-breaking change which does not add functionality)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] Change to the
[templates](https://github.com/payloadcms/payload/tree/main/templates )
directory (does not affect core functionality)
- [ ] Change to the
[examples](https://github.com/payloadcms/payload/tree/main/examples )
directory (does not affect core functionality)
- [x] This change requires a documentation update
## Checklist:
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] Existing test suite passes locally with my changes
- [x] I have made corresponding changes to the documentation
Co-authored-by: Alessio Gravili <alessio@gravili.de >
2024-07-15 13:26:29 -04:00
Jacob Fletcher
fac5425ec0
docs: improves queries docs ( #7122 )
2024-07-11 17:49:54 -04:00
Jacob Fletcher
e9adeecc7a
docs: more misc improvements ( #7115 )
2024-07-11 14:55:13 -04:00
Jacob Fletcher
a1bb661a1a
docs: misc improvements ( #7107 )
2024-07-11 09:54:21 -04:00
Jacob Fletcher
7be80e31c3
docs: cleans up configuration ( #7105 )
2024-07-10 23:56:02 -04:00
Jacob Fletcher
5a76d6db8b
docs: improves configuration docs ( #7090 )
2024-07-09 18:10:04 -04:00
James Mikrut
314488e55a
Chore/overview docs ( #6908 )
...
## Description
docs tweaks
2024-06-24 13:57:01 -04:00
James Mikrut
7f753fb3b5
Chore/overview docs ( #6901 )
...
## Description
Getting Started docs progress
2024-06-24 12:08:13 -04:00
Jacob Fletcher
a20cf70105
docs: removes express
2024-05-13 10:29:59 -04:00
Jacob Fletcher
1a20390454
docs: removes bundlers, webpack, and vite
2024-05-09 15:58:51 -04:00
Alessio Gravili
19f8cbcf76
docs: new and improve lexical docs, hoist up all headings ( #6639 )
2024-06-05 17:08:15 -04:00
Alessio Gravili
6789e61488
chore: run lint & prettier on everything
2024-03-14 23:53:47 -04:00
Michał Korczak
a92a160a13
docs: fix link to public demo example config ( #4007 )
2023-11-09 00:23:58 -05:00
Elliot DeNolf
cfd9231403
docs: update config overview
2023-10-12 10:28:04 -04:00
Jarrod Flesch
6a74173789
chore: merges existing docs with 2.0 docs ( #3450 )
2023-10-06 13:33:24 -04: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
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
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
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
Jacob Fletcher
9b22c4b654
docs: fixes misc links ( #2971 )
2023-07-05 12:02:56 -04:00
Teun Mooij
023719d775
feat: configuration extension points
...
* added custom config extension points
* Added custom field to documentation
* fix deeprequired issue
2023-04-18 15:28:42 -04:00
James
90284ff626
docs: adds more clarity regarding dotenv, fixes #2378
2023-03-27 16:17:51 -04:00
James
1614bcdc0b
docs: updates to reflect new async init
2023-02-01 11:57:46 -05:00
James
ddfb011904
docs: quick fix to strong tag
2022-11-01 17:50:55 -04:00
Matt Arnold
5e21048457
docs: update custom endpoints link ( #1075 )
2022-09-06 15:41:27 -04:00
Elliot DeNolf
1ed867ce0c
docs: update examples with ts types
2022-08-23 11:43:24 -04:00
Dan Ribbens
dac3308441
docs: custom api endpoints
2022-08-17 14:08:01 -04:00
Elliot DeNolf
cc360191b5
docs: remove references to demo config
2022-07-19 11:09:13 -07:00
Dan Ribbens
ad43cbc808
feat: graphql schema output ( #730 )
...
* chore: refactor graphql initialization
* feat: generate graphql schema script
* feat: script commands are case insenstive
2022-07-08 13:50:46 -04:00
Andres Kalle
81aa74bbbe
docs: fixed example URL ( #705 )
2022-07-02 07:42:12 -04:00
Dan Ribbens
1c37ec3902
feat: telemetry
...
* feat: add telemetry to payload config
wip: more telemetry
* feat: send telemetry events
* chore: update node ci versions
* chore: cleanup console log
* chore: updates ts due to dependency update
* chore: remove unused deps
* chore: fix origin and casing
* docs: telemetry
* feat: uses oneWayHash within telemetry
* chore: sends hashed domain in telemetry
* feat: improves reliability of telemetry projectID
* chore: revises telemetry docs
Co-authored-by: Elliot DeNolf <denolfe@gmail.com >
Co-authored-by: James <james@trbl.design >
2022-06-24 17:32:09 -04:00
James
9e9aa6485c
docs: payload.init accuracy
2022-04-05 14:55:29 -04:00
Elliot DeNolf
6620a4f682
feat(logging): allow pino logger options to be passed into init
2022-04-04 22:55:54 -04:00
Dan Ribbens
dca90c4aa9
feat: serverURL is no longer required ( #437 )
2022-02-11 08:32:37 -05:00
James
ac4e5985d9
docs: elaborate on safe payload.config re-use, references #416
2022-02-03 12:19:42 -05:00
James
ad2b47e725
docs: clarity
2021-10-04 11:25:12 -04:00
Dan Ribbens
ad097820bf
feat: add indexSortableField option to create indexes for sortable fields on all collections
2021-09-30 16:05:47 -04:00
James
cb422bb4c6
docs: accuracy improvements
2021-08-12 23:05:21 -04:00
James
aa81e04861
docs: typescript configs
2021-07-27 20:21:51 -04:00
James
6b255315e0
feat: adds plugins infrastructure
2021-07-06 20:17:12 -04:00
James Mikrut
67c1e280eb
feat: exposes babel config via payload/babel ( #203 )
...
* feat: exposes babel config via payload/config
* docs: adds info about re-using babel.config.js
2021-06-21 12:59:17 -04:00
Elliot DeNolf
b383eb65c6
feat: autolabel fields when label is omitted ( #42 )
...
* feat: autolabel fields when omitted
* feat: handle autolabel in graphql mutation build
* feat: autolabel blocks
* test: add required slug field to blocks
* feat: handle graphql names when label is false
* feat: adds relationship field to test searchable input
* feat: handle block cell type labeling pluralization
* docs: remove all explicit labeling, no longer needed
* fix: falsey column labels, allows false array labels
* fix: client tests
* fix: auto-labels globals
* docs: globals auto-labeling and hooks clarification
* fix; proper object type naming
Co-authored-by: James <james@trbl.design >
2021-04-16 22:37:08 -04:00
James
fef1b98cf1
docs: fixes a few links
2021-03-01 08:39:31 -05:00
Jessica Boezwinkle
3999400049
fix: removes outdated link from docs-config-overview
2021-02-04 11:41:56 -05:00
Jessica Boezwinkle
1ed189cfb9
fix: reverts ESLint syntax changes to mdx files
2021-02-04 11:36:09 -05:00
Jessica Boezwinkle
da61feb73b
feat: adds meta descriptions to docs
2021-02-04 11:04:18 -05:00
James
fce56a0e82
Merge branch 'master' of github.com:payloadcms/payload into feat/restrict-serverurl-path
2021-01-24 11:26:25 -05:00
Elliot DeNolf
e638efa847
docs: revert serverURL changes
2021-01-24 11:23:11 -05:00