Commit graph

4876 commits

Author SHA1 Message Date
AYOUB HIDRI
b75b7a3720 add function to remove tags from head 2017-07-25 11:28:49 +02:00
SachaG
4c9c48dff6 fix isFuture callback; small clean-ups 2017-07-24 16:06:04 +09:00
SachaG
12aa126fef Pass pic object to CommentsItem; add custom mutations; add managerId field 2017-07-23 17:14:21 +09:00
SachaG
bdc32f6bb1 Add coupon code support to payment package 2017-07-23 16:29:21 +09:00
ochicf
2c6526f81f Added example-interfaces package
Shows how to use a simple a hierarchical interface implemented in a Categories collection.
2017-07-22 11:37:06 +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
Sacha Greif
a5c42b81cf Merge pull request #1673 from ochicf/patch-1
Fix remove permission strings
2017-07-20 09:11:31 +09:00
ochicf
6f61f74a34 Fix remove permission strings
Transform collection name to lower case as it is done with the other permission strings.
2017-07-19 18:49:11 +02:00
SachaG
66e527fab4 create new example-permissions package to showcase groups & permissions API 2017-07-19 16:59:41 +09:00
SachaG
8703a7c303 include user edit modal inside admin package; fix default avatar; admins can now perform every action; include form styles in form package; small form fixes 2017-07-19 16:55:51 +09:00
SachaG
6151b800b8 v1.6.0 2017-07-14 10:53:52 +09:00
SachaG
9a8c7b7411 Merge branch 'devel'
# Conflicts:
#	packages/vulcan-newsletter/lib/server/integrations/mailchimp.js
2017-07-14 10:52:32 +09:00
SachaG
44d2f5af87 versions 2017-07-14 10:51:45 +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
14f46a889e whoops 2017-07-13 17:41:29 +09:00
SachaG
77f651d2d5 syntax clean up 2017-07-13 17:37:59 +09:00
SachaG
de281b9120 fix type error 2017-07-08 11:43:49 +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
334591450d use new resolveAs syntax 2017-07-08 11:36:27 +09:00
SachaG
4f0affc15e update versions 2017-07-08 11:12:47 +09:00
SachaG
68ebf0498f typeName -> type 2017-07-08 10:53:34 +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
665f37ce97 add totalResolver option to withList to enable/disable total resolver (enabled by default) 2017-07-07 09:10:11 +09:00
Sacha Greif
a0feda1e0f Merge pull request #1666 from Discordius/devel
Added failure form callbacks and success form callbacks to forms
2017-07-07 08:28:58 +09:00
Discordius
5d9ba69292 Added failure form callbacks and success form callbacks 2017-07-06 13:31:37 -07: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
31d0490a36 Use default resolvers and mutations for instagram example 2017-07-03 12:46:11 +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
8965f657cd small fixes 2017-06-30 11:22:29 +09:00
SachaG
296fe702b2 Use test keys for Stripe when in dev mode 2017-06-30 11:22:13 +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
fb6f651dae Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2017-06-28 08:51:29 +09:00
SachaG
6a927c444f do not override existing content fields when prefilling 2017-06-28 08:50:51 +09:00
Sacha Greif
92df3242a7 Merge pull request #1654 from gdad-s-river/devel
(update_version): package:dymanic-import from 0.1.0 -> 0.1.1 to fix
2017-06-23 09:03:10 +09:00
gdad-s-river
399d8a03f5 (update_version): package:dymanic-import from 0.1.0 -> 0.1.1 to fix https://github.com/meteor/meteor/issues/8751 2017-06-23 03:53:02 +05:30
SachaG
f984b814f6 Use url type for url field 2017-06-22 16:42:29 +09:00
SachaG
9b0b9698a1 fix to avoid duplicate posts 2017-06-22 16:41:56 +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
624308ab28 fix postedAt callback 2017-06-20 10:46:45 +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
7a66e0f9a7 move HeadTags component to core package since it’s used by App.jsx 2017-06-20 10:43:45 +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