James
b2c5b7e575
feat: ensures update hooks have access to full original docs even in spite of access control
2021-11-10 17:25:59 -05: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
a5ea0ff619
fix: args no longer optional in collection and global hooks
2021-08-06 12:38:31 -04:00
James
5a7e5b921d
feat: revises naming conventions of config types
2021-07-27 20:13:25 -04:00
James
a1b3414dd0
chore: ensures tests can run locally on mac
2021-07-27 17:55:57 -04:00
Dan Ribbens
fe0098ccd9
feat: add component support to collection and global description
2021-07-27 12:53:43 -04:00
Dan Ribbens
29a1108518
feat: add descriptions to every allowed field type, globals and collections
2021-07-27 12:53:43 -04:00
Dan Ribbens
4544711f0e
feat: add admin description to collections and globals
2021-07-27 12:53:43 -04:00
Dan Ribbens
bb63b4aad1
feat: add global slug and field names to schema validation errors
2021-07-26 23:21:19 -04:00
Dan Ribbens
fb60bc79a1
feat: user preferences ( #195 )
...
* feat: adds preferences to rest api and graphql
* feat: admin panel saves user preferences on locales
* feat: admin panel saves user column preferences for collection lists
* feat: adds new id field to blocks and array items
* feat: exposes new DocumentInfo context and usePreferences hooks to admin panel
* docs: preferences api documentation and useage details
Co-authored-by: James <james@trbl.design >
2021-06-21 12:49:10 -04:00
James
f9319bd055
chore: better organizes preview types
2021-05-10 09:45:43 -04:00
James Mikrut
f17c6e4010
feat: builds plugin infrastructure ( #149 )
2021-04-22 08:36:54 -04:00
James Mikrut
353042467f
feat: dynamically populates richtext relationships
...
* feat: adds relationship field to test searchable input
* fix: searching on relationship fields properly fetches results
* chore: more dry relationship field
* feat: sets default access control to requiring a user to be logged in
* feat: dynamically populates richtext relationships
* feat: allows depth param in graphql richText field
* feat: ensures relationship input is initialized with up to 3 related collections
2021-04-18 15:29:54 -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
Jarrod Flesch
c71ba2b079
feat: changes global find and update payload api from global to slug as the key to find/update with
2021-03-22 09:15:55 -04:00
James Mikrut
30db1d1c39
Merge pull request #81 from payloadcms/feat/simplify-update
...
Feat/simplify update
2021-02-28 19:10:07 -05:00
James
8197d060d3
fix: preview types
2021-02-28 14:24:50 -05:00
James
e268e25719
feat: simplifies collection update operation
2021-02-27 21:24:19 -05:00
James Mikrut
ad5f070286
Merge pull request #74 from payloadcms/feat/detach-localization-mongoose
...
Feat/detach localization from Mongoose
2021-02-20 18:19:59 -05:00
Jacob Fletcher
6b6297fb2d
feat: supports newTab in Button, updates generatePreviewURL api to forward through PreviewButton
2021-02-18 19:26:43 -05:00
James
162ec74445
feat: detaches localization from mongoose entirely
2021-02-17 22:31:53 -05:00
James
300536033f
fix: forces fallbackLocale to null in update ops
2021-02-05 14:47:09 -05:00
James
e50fc1f314
fix: localized fields within blocks
2021-02-05 10:33:25 -05:00
James
f1c5cfe1a5
docs: adapts hooks docs to new formatting
2021-01-02 18:28:11 -05:00
Jarrod Flesch
5823a864f9
fix: lowecases joi like everywhere else in payload
2020-12-30 15:30:34 -05:00
James
0c03c2e3af
fix: type issues that arose from reorganizing certain config props
2020-12-28 17:36:43 -05:00
James
cf32ee460c
lays operation type pattern
2020-12-26 16:25:58 -05:00
James
569ce08174
further types to admin
2020-12-26 14:51:07 -05:00
Elliot DeNolf
a95aada35a
misc gql types
2020-12-12 22:50:43 -05:00
Elliot DeNolf
b9c597af92
add global request handler types
2020-12-03 15:00:40 -05:00
James
9ef954f430
defines pattern for request handler types
2020-11-29 14:18:23 -05:00
James
9019cc9101
merges and WIP - field types
2020-11-27 14:40:16 -05:00
James
5ffa0ed6ee
swaps out ajv for joi
2020-11-26 15:22:34 -05:00
Dan Ribbens
70a84d90ad
cleanup in payload init
2020-11-25 17:36:51 -05:00
Elliot DeNolf
d10f3f140f
add hook types
2020-11-23 10:23:04 -05:00
Elliot DeNolf
7670a23611
more types and intellisense comments
2020-11-22 18:29:27 -05:00
James
3e9ad427ec
enables typescript intellisense in buildConfig
2020-11-21 13:53:54 -05:00
James
16d0289c36
progress to buildConfig, splitting out type organization
2020-11-21 12:22:38 -05:00
James
e00321a101
int tests pass
2020-11-21 10:02:46 -05:00
James
1eeee4854a
converts auth and email
2020-11-20 14:53:45 -05:00
James
63e86c4147
further module conversion
2020-11-20 14:39:35 -05:00
James
dfc77f0a3f
further module conversion
2020-11-20 14:34:32 -05:00
Elliot DeNolf
551c249e39
refactor: migrate to typescript
2020-11-20 13:39:18 -05:00
James
f0374d5772
adds an option to show hidden fields within local operations
2020-10-15 18:12:19 -04:00
James
fd9453889e
sanitizes json before it comes out of global and collection find operations
2020-10-12 15:13:37 -04:00
James
681bba82a9
removes mongoose-hidden, updates globals accordingly
2020-10-12 12:41:31 -04:00
Elliot DeNolf
60a3e680dd
move tests dir to root
2020-10-08 05:01:48 -04:00
Elliot DeNolf
c599522e44
isolate api tests inside tests/api
2020-10-08 04:50:33 -04:00
James
d589a90a42
allows for local payload initialization
2020-10-05 17:08:59 -04:00
James
7f47cdacbb
enables lean mongoose queries for all find operations
2020-10-05 10:25:35 -04:00