James
d3d367c635
feat: isolates local api to local-only functions, converts it to ts generic for stronger typing
2023-01-11 17:03:10 -05:00
James
8de92dc6b9
Merge branch 'master' of github.com:payloadcms/payload into feat/revamped-local-api
2023-01-11 16:14:23 -05:00
James
3f30b2f489
fix: ensures that find with draft=true returns ids with drafts
2023-01-11 16:08:32 -05:00
James
84e03893fd
chore: begins local api abstraction
2023-01-11 15:58:58 -05:00
James Mikrut
5e7d731ddd
Merge pull request #1850 from payloadcms/fix/1848
...
fix: rte link from text
2023-01-11 10:33:21 -05:00
Jacob Fletcher
1cde647a2a
fix: rte link element initial state #1848
2023-01-11 09:44:41 -05:00
James
047efe02ff
chore: revert #1794 for now until permanent init architecture is established
2023-01-11 09:32:44 -05:00
Jarrod Flesch
96002dbda5
Merge pull request #1719 from payloadcms/feat/1695-nullable-localized-array-and-blocks
...
Feat: allow null for non-default locales on arrays and blocks
2023-01-10 11:23:46 -05:00
James Mikrut
93d0a9b3d4
Merge pull request #1837 from payloadcms/chore/manual-draft-aggregate
...
feat/documentdb / azure cosmos compatibiilty
2023-01-10 11:23:19 -05:00
Jarrod Flesch
571495c3e0
chore: sets parameter defaults for locale and defaultLocale to null
2023-01-10 10:44:48 -05:00
Jarrod Flesch
9b71aa17b3
chore: uses defaultLocale for local operations locale and fallbackLocale
2023-01-10 10:40:35 -05:00
Jacob Fletcher
03dcf743e8
Merge pull request #1835 from payloadcms/fix/1801
...
fix: upload field filterOptions
2023-01-10 09:46:26 -05:00
Jacob Fletcher
dadaf32e4d
Merge pull request #1839 from payloadcms/fix/date-useastitle
...
fix: formats date when useAsTitle
2023-01-10 09:45:04 -05:00
Jacob Fletcher
086117d703
fix: formats date when useAsTitle
2023-01-09 22:05:56 -05:00
James
ea9943e135
chore: ensures versions aggregate runs in the right order
2023-01-09 19:47:31 -05:00
James
faab09b76f
chore: ensures sort is used within mergeDrafts
2023-01-09 19:41:30 -05:00
James
33401f4064
chore: comment accuracy
2023-01-09 19:11:40 -05:00
James
9e9dfbcb10
chore: cleanup mergeDrafts
2023-01-09 19:06:02 -05:00
James
73af283e1c
feat: ensures compatibility with azure cosmos and aws documentdb
2023-01-09 18:59:20 -05:00
PatrikKozak
6c25ad9cc2
Merge branch 'master' of https://github.com/payloadcms/payload into feat/1695-nullable-localized-array-and-blocks
2023-01-09 17:49:31 -05:00
PatrikKozak
c247f3130c
feat: adds translations for fallbackToDefaultLocale
2023-01-09 17:46:35 -05:00
Jacob Fletcher
4194632318
chore: fixes failing upload e2e test
2023-01-09 17:15:05 -05:00
Jarrod Flesch
21420f16df
chore: adjusts skipValidation for array
2023-01-09 16:39:13 -05:00
Jarrod Flesch
ee682270a4
Merge remote-tracking branch 'origin' into feat/1695-nullable-localized-array-and-blocks
2023-01-09 16:19:11 -05:00
Jarrod Flesch
6923128774
chore: abstracts NullifyField component out, non-default locales can be set to null to use fallback
2023-01-09 16:08:55 -05:00
Jarrod Flesch
5cabd8e4c0
chore: abstracts CheckboxInput into a uncontrolled input
2023-01-09 16:07:41 -05:00
Jarrod Flesch
84bc5ab299
chore: fixes incorrect tooltip arrow color
2023-01-09 16:06:51 -05:00
Jacob Fletcher
9483ccb120
fix: upload field filterOptions
2023-01-09 14:40:30 -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
James
78af86f9d1
chore: simplifies init code
2023-01-09 11:27:00 -05:00
Christian Schurr
82961767e3
feat!: enforces payload.init is async
...
* Run connectMongoose before starting payload init
* - reverted changes
- added deprecated to init
- docs: changed all payload.init to payload.initAsync
- changed all internal init calls
* forgotten inits in docs
* reverted back - removed init and renamed initAsync to init
2023-01-09 11:24:22 -05:00
James Mikrut
7583289d24
Merge pull request #1830 from payloadcms/fix/#1737-upload-filedata-available
...
fix: ensures upload file data is available for conditions
2023-01-09 11:14:55 -05:00
James
d40e136947
fix: ensures upload file data is available for conditions
2023-01-09 10:43:42 -05:00
Jessica Chowdhury
ed7cfff45c
fix: bug when clearing relationship field without hasMany: true ( #1829 )
...
* fix: bug when clearing relationship field without hasMany: true
* fix: checks for null value within function
2023-01-09 10:23:40 -05:00
James Mikrut
a10376372a
Merge pull request #1796 from payloadcms/fix/groups-within-row
...
fix: updates margin for group field within a row
2023-01-09 10:03:50 -05:00
James Mikrut
f6e749734a
Merge pull request #1824 from payloadcms/fix/rte-uploads-drawer
...
fix: prevents uploads drawer from crashing when no uploads are enabled
2023-01-09 09:06:25 -05:00
Jacob Fletcher
84e1417b71
fix: prevents uploads drawer from crashing when no uploads are enabled
2023-01-08 23:04:42 -05:00
Elliot Lintz
bf1242aafa
fix: wrong translation and punctuation spacing
2023-01-07 03:38:40 +01:00
Jarrod Flesch
001a68f45c
chore: adjusts block and array schemas to store undefined instead of empty arrays by default
2023-01-06 16:56:26 -05:00
Jacob Fletcher
a823e75d2b
Merge pull request #1815 from iamprompt/patch-1
...
fix: fix miss typo in Thai translation
2023-01-06 12:24:39 -05:00
James
84e00bf7b3
feat: allows init to accept a pre-built config
2023-01-06 11:23:55 -05:00
Supakarn Laorattanakul
25e5ab7cee
fix: fix miss typo in Thai translation
2023-01-06 20:23:27 +07:00
James
74e10b1788
Merge branch 'master' of github.com:payloadcms/payload
2023-01-05 13:32:47 -05:00
James
6c3bc6fb34
chore: moves graphql types for globals onto payload class
2023-01-05 13:32:38 -05:00
Jessica Boezwinkle
c9e7c1b3bc
chore: commits the correct file (jess negligence)
2023-01-05 13:58:44 +00:00
Jessica Boezwinkle
6567454ae4
fix: theme flicker on code editor
2023-01-05 10:03:19 +00:00
Jacob Fletcher
7d27431312
fix: ignores admin and components from swc
2023-01-04 14:57:07 -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
d97c9fd2ee
chore: moves editorProps into admin property for code and json field types
2023-01-04 08:41:59 -05:00