SachaG
2d2d1033b5
Enable required locale validation for individual locales; add support for intl: true
on schema fields
2018-06-28 21:35:44 +02:00
SachaG
367c071fc0
Move mutation/query generating logic to graphql.js; do not crash when schema has no GraphQL-compatible fields
2018-06-17 13:24:09 +09:00
SachaG
629e4c2c58
Minor clean-ups
2018-06-17 08:00:19 +09:00
SachaG
d9bc8b8c88
New default mutations/default resolvers API
2018-06-17 07:49:33 +09:00
SachaG
51acfa7ffc
Migrate new callbacks to new single argument API
2018-06-15 10:18:20 +09:00
SachaG
d4193fd7e5
Merge branch 'devel' into opencrud
...
# Conflicts:
# packages/vulcan-lib/lib/modules/collections.js
2018-06-14 09:55:52 +09:00
SachaG
b0e7c4bf97
Only reset store when intl fields exist
2018-06-14 08:47:58 +09:00
SachaG
4da86c44a3
Add support for sortable property (bool/string) on datatable columns to make them sortable
2018-06-12 15:24:17 +09:00
SachaG
f3c1f7bf31
isolate accounts-base dependency
2018-06-10 11:39:18 +09:00
SachaG
dbabb98ed4
Fix spacing and case
2018-06-05 10:17:59 +09:00
SachaG
1d3921287c
Refactored GraphQL schema generation code to use new GraphQL templates
2018-06-05 10:04:20 +09:00
SachaG
f3ba2cc59f
Working on GraphQL template system for GraphQL schema generation
2018-06-04 11:22:49 +09:00
SachaG
96eab44309
Start CRUD renaming
2018-06-02 18:49:53 +09:00
SachaG
1f389dbf0a
Intl fields should not appear in forms
2018-05-29 18:02:15 +09:00
Erik Schannen
373857131a
SubSchema Fields
...
- Added support for fields that have their own subschema
- The code flattens the subschema fields, so the path for `address: { street }`` becomes `'address.street'`
- Several places needed to be changed to properly support paths, so `currentValues[path]` becomes `get(currentValues, path)`
- In Form.getData(), replaced underscore's `pick` with lodash's `pick` which properly supports paths and returns a new object
- Fixed a bug in collection.getParameters that made it impossible to specify a `limit` with addView or addDefaultView
2018-05-23 16:02:36 -04:00
SachaG
2b0f8cdd88
Change data structure of translations in db to match MongoDB standards
2018-05-21 09:42:08 +09:00
SachaG
47f21e4740
Eslint clean up
2018-05-10 09:39:35 +09:00
Sebastian Grebe
90c3e8d2cd
Add MongoDB aggregation to Collections
...
It would be great to allow mongodb aggregation. I am personally using geoNear for example.
2018-04-21 11:40:56 +02:00
SachaG
5534ab7430
Add amount property to charges schema; add addSubscriptionProduct; various other fixes
2018-03-08 10:48:35 +09:00
SachaG
908a570664
Fix Intercom ID, fix withList context issue
2018-02-05 10:45:51 +09:00
Justin Reynolds
0b9289d549
#1865 Fix upsert
2018-01-31 18:29:49 -06:00
Justin Reynolds
9212a1970e
Add upsert mutation
2018-01-28 22:26:05 -06:00
SachaG
13a2453009
Merge branch 'vulcan-updates-jan-2018' of https://github.com/justinr1234/Vulcan into justinr1234-vulcan-updates-jan-2018
...
# Conflicts:
# packages/vulcan-forms/lib/components/Form.jsx
# packages/vulcan-lib/lib/modules/utils.js
2018-01-27 12:30:33 +09:00
Justin Reynolds
651e3e6866
Fix circular dependencies between schemas and collections
2018-01-26 16:41:30 -06:00
SachaG
0a40e57312
only add search parameter if there are searchable fields
2018-01-26 18:41:29 +09:00
Justin Reynolds
75b6ece0a4
Fix linting
2018-01-25 15:03:03 -06:00
SachaG
c131ccb167
Make sure GraphQL schema is properly formatted when outputted as a string
2018-01-25 18:12:26 +09:00
SachaG
fec2fc8321
Document query and mutation arguments
2018-01-02 13:13:56 +09:00
SachaG
05084e6fb5
Add support for GraphQL comments/descriptions for fields, queries, mutations, types
2018-01-02 13:04:33 +09:00
SachaG
0cbb904f2d
Set enableCache when defining HoC rather than when defining resolvers for more granularity
2017-12-13 18:39:19 +09:00
SachaG
7a921915c3
Small fixes
2017-10-05 10:17:14 +09:00
SachaG
7bfa4afba3
Do not generate default fragment when empty
2017-09-25 22:08:17 +02:00
SachaG
c52e53afbe
Make runParameters callbacks support async
2017-09-22 16:20:07 +02:00
SachaG
984021cd7f
Clean up/refactor settings; add registerSetting and /settings route
2017-09-22 12:24:15 +02:00
SachaG
af1528aca8
improve seeding & debugging
2017-09-15 11:14:09 +02:00
SachaG
4811b8ca44
more clean-up
2017-09-15 10:08:23 +02:00
SachaG
2cf193af1e
Improve image upload form styling; pass context to parameters callback
2017-08-05 14:46:02 +09:00
SachaG
364559d7de
add new Datatable component and use it for Users dashboard
2017-08-02 16:19:15 +09:00
SachaG
dfa2609e43
register CollectionDefaultFragment as regular fragment, too
2017-08-02 15:51:11 +09:00
SachaG
de486a607e
clean up
2017-07-03 12:32:20 +09:00
SachaG
4ad845440c
clean up; remove flatten call from Form.jsx; make it possible to specify id:null to not sort by id
2017-06-20 10:25:34 +09:00
SachaG
ad5c2818c0
Add new limit custom property to show character count in form fields
2017-06-07 17:59:02 -07:00
SachaG
2981ca3e93
Add new removeFromFragment function; fix collection.removeField
2017-05-14 11:08:07 +09:00
SachaG
1749d4dcd7
Small fixes
2017-04-30 20:32:06 +09:00
SachaG
f4dc181d60
don’t capitalize collection name
2017-04-25 12:56:48 +09:00
SachaG
11abfb8ad3
Fix issue in categories parameters callback; fix issue with generated fragment in edit form; convert collection name to lowercase to get hook name; do not wrap mailchimp sync all in try..catch; add console.log after subscribe/unsubscribe; tweak posts list resolver so that it works even with multiple statuses; show url in ssr errors; add limit to RSS feed
2017-04-19 12:19:17 +09:00
SachaG
dd76442ab3
keepViewableFields -> restrictViewableFields (clearer name); always capitalize collection names; export new Collections array
2017-04-15 12:02:16 +09:00
SachaG
4f0c190dd8
Add permission checks to Posts resolvers
2017-04-07 16:06:33 +09:00
SachaG
e5837a6c0e
Get rid of collection2; do validations at mutation level
2017-04-03 16:24:19 +09:00
SachaG
23b71dbda8
Add missing categories dependency; fix cloudinaryUrls blackbox bug; clean up forms dependencies; add optional collection2 replacement; fix restart script
2017-03-31 11:40:29 +09:00