Commit graph

44 commits

Author SHA1 Message Date
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
SachaG
5bad048505 Add dbCollectionName option to createCollection 2017-03-29 15:49:07 +09:00
SachaG
a5d8202f27 add onClick handler to icons; fix forms placeholder; add dummy property hook in users package directly 2017-03-27 10:53:44 +09:00
SachaG
72be56a590 renaming nova-xyz directories to vulcan-xyz 2017-03-24 10:19:24 +09:00
Renamed from packages/nova-lib/lib/modules/collections.js (Browse further)