Commit graph

300 commits

Author SHA1 Message Date
SachaG
8a9e1785e7 add runQuery utility to run GraphQL queries on the server 2017-08-19 16:13:01 +09:00
SachaG
05520088da split out validation code in its own file 2017-08-17 10:48:20 +09:00
SachaG
985c509aca Improve form error handling; fields now show relevant validation errors 2017-08-16 16:18:40 +09:00
SachaG
cf41794380 compactObject now removes empty arrays too 2017-08-16 15:08:22 +09:00
Kerem Kazan
8beb910de4 [fix] give default value to unset 2017-08-11 19:51:46 -07:00
SachaG
1fdee1025f fix newsletter issues 2017-08-09 19:20:21 +09:00
SachaG
2cf193af1e Improve image upload form styling; pass context to parameters callback 2017-08-05 14:46:02 +09:00
SachaG
f82531e6e7 version 1.7.0 2017-08-02 19:02:18 +09:00
SachaG
364559d7de add new Datatable component and use it for Users dashboard 2017-08-02 16:19:15 +09:00
SachaG
0fc94d9bdc add new searchable schema property 2017-08-02 16:18:34 +09:00
SachaG
dfa2609e43 register CollectionDefaultFragment as regular fragment, too 2017-08-02 15:51:11 +09:00
SachaG
5a0d0bd4c5 version 1.6.1 2017-08-01 14:20:56 +09:00
SachaG
80fa8be256 hardcode package versions to enable meteor publish 2017-08-01 14:16:16 +09:00
SachaG
7a5c67f354 refactor HeadTags and update Helmet 2017-07-29 16:26:34 +09:00
Sacha Greif
8421da4144 Merge pull request #1678 from ayhid/remove-tags-from-head
add function to remove tags from head
2017-07-29 15:18:19 +09:00
SachaG
12925718a5 Merge branch 'feature/graphql-interfaces' of https://github.com/ochicf/Vulcan into ochicf-feature/graphql-interfaces
# Conflicts:
#	.meteor/packages
2017-07-29 15:11:23 +09:00
SachaG
9a9b42bf86 add fields option to Card component; make withDocument use default fragments 2017-07-29 09:26:31 +09:00
SachaG
cf7d41d009 add new "default" fragment used by withList if no fragment is specified 2017-07-25 18:37:23 +09:00
AYOUB HIDRI
b75b7a3720 add function to remove tags from head 2017-07-25 11:28:49 +02:00
ochicf
0f9e0a8238 Relax regex to find subfragments so inline-fragments can be bypassed WIP
The old regex looked for any `...` considered it a subfragment. The new regex only considers a subfragment when finding `...` followed by a non-space character (ex: `...SubFragmentName`), ignoring inline-fragments (ex: `... on TypeName {`).

This should be improved with a more restrictive regex. See [issue](https://github.com/VulcanJS/Vulcan/issues/1674).
2017-07-22 11:25:27 +02:00
ochicf
a25cb4b30b Allow graphql types to implement interfaces
A collection now can be created with the `interfaces` option (passed to `createdCollection` function) with the names of the interfaces to implement. Here they are handled to create the graphql type.
2017-07-22 11:19:51 +02:00
SachaG
6151b800b8 v1.6.0 2017-07-14 10:53:52 +09:00
SachaG
a6e3ee85d6 keepOriginal -> addOriginalField 2017-07-14 10:37:19 +09:00
SachaG
7b4d6912e5 make resolveAs accept GraphQL arguments 2017-07-14 10:07:48 +09:00
SachaG
f3ac2a03f9 add keepOriginal option to resolveAs to keep original schema field in GraphQL schema 2017-07-08 11:43:43 +09:00
SachaG
8b1ffd309a automatically resolve fields with an associated array 2017-07-07 20:39:57 +09:00
SachaG
3974471e67 Use apollo-errors package for form errors 2017-07-07 10:21:15 +09:00
SachaG
ebdaa61fea add break=true option to errors to interrupt callback cycles 2017-07-07 09:50:05 +09:00
SachaG
08f957dec4 refactor fragments to support multiple successive extensions; simplify logic 2017-07-07 09:40:34 +09:00
SachaG
e7bc639ffb Make dynamic imports work properly; move Avatar component to core to enable using admin dashboard without base-components 2017-07-05 10:31:37 +09:00
SachaG
de486a607e clean up 2017-07-03 12:32:20 +09:00
SachaG
7ff1ada7d9 add new default resolvers and default mutations; improve the way field resolvers are defined 2017-07-03 10:54:10 +09:00
SachaG
a370cca0ce Better Apollo error handling using apollo-errors (used for newsletter for now) 2017-06-30 11:18:16 +09:00
SachaG
a3abb94d3a do not try to extend fragments that don’t exist yet 2017-06-22 16:19:23 +09:00
SachaG
de76f6404d add posts component to admin dashboard 2017-06-21 15:03:38 +09:00
SachaG
59f4f6a8df enable blank Input schemas (for when no editableBy or insertableBy fields are defined) 2017-06-20 10:44:19 +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
e87fc07351 generate input fragment even if no input fields exist 2017-06-19 21:48:22 +09:00
SachaG
55bb30bce9 Add fragment initialization step; get rid of duplicate fragments warning; Note: Vulcan HoCs cannot be used outside of registerComponent anymore 2017-06-19 10:19:05 +09:00
SachaG
985f2c69f3 Make admin dashboard extendable 2017-06-17 15:25:41 +09:00
SachaG
374c512341 enable extending fragments that haven’t been defined yet by adding an initializeFragments() step 2017-06-17 15:24:53 +09:00
SachaG
eafd294d49 Add route name to wrapper class in layout; add support for custom layouts; export RoutesTable 2017-06-14 09:53:42 +09:00
SachaG
10048b2772 adding support for dynamic imports in routes via react-loadable 2017-06-13 01:48:07 -07:00
SachaG
6887c70fc0 Telescope -> Vulcan 2017-06-13 00:16:52 -07:00
SachaG
c4b2691d43 version 1.5.0 2017-06-11 19:39:57 -07:00
SachaG
ad5c2818c0 Add new limit custom property to show character count in form fields 2017-06-07 17:59:02 -07:00
SachaG
35a7904f92 performCheck fix 2017-06-07 05:04:05 -07:00
SachaG
2b4283ae43 Use InjectData to send server timezone offset to client 2017-06-06 18:06:32 -07:00
SachaG
26835bf4aa added vulcan:i18n package 2017-06-01 11:49:32 +09:00
SachaG
7e2de51bde react-i18n -> vulcan:i18n 2017-06-01 11:42:30 +09:00