SachaG
7777fcbcf7
Do not validate required fields on edit operation
2017-09-11 15:55:25 +02:00
SachaG
1258619ef0
Fix handling of GraphQL schema-level validation errors in forms. Note: GraphQL errors currently happen before server-side validation errors, instead of happening at the same time.
2017-09-06 18:10:26 +02:00
SachaG
73edab4858
Add original resolver fields to default fragments
2017-09-06 18:01:25 +02:00
SachaG
ca0932c705
add extendRoute
2017-08-30 18:50:14 +09:00
SachaG
4727d90f38
cannot use async/await with forEach
2017-08-30 09:38:05 +09:00
SachaG
63c39a3c66
Add new graphql.init.before callback hook and use it to create Chargeable union type based on all collections
2017-08-29 17:57:04 +09:00
SachaG
0e803276e0
Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel
2017-08-28 22:27:23 +09:00
SachaG
dbe888a56c
refactor vulcan:newsletter package to be collection-agnostic; move posts newsletter logic to posts package
2017-08-28 22:27:07 +09:00
klokie
3c3e79f853
fix to previous graphql fragment mod
2017-08-25 11:15:51 +02:00
klokie
9bbd5f5470
ignore comments in fragments and provide GraphQL spec-compliant regexp for parsing GraphQL fragment names
2017-08-25 11:10:29 +02:00
SachaG
69dc464902
clean up notifications/email code
2017-08-24 13:16:50 +09:00
SachaG
2d0c422607
Add 'user.postlogin' hook to queue actions until after a user is logged in
2017-08-21 15:35:19 +09:00
SachaG
2ad26e2d80
Add new SiteData resolver on query to give access to site name, url, etc.
2017-08-20 16:12:23 +09:00
SachaG
00d7466b57
Add new collection.queryOne function
2017-08-20 15:24:13 +09:00
SachaG
71aa051aa7
various fixes
2017-08-19 16:18:18 +09:00
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
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