Commit graph

25 commits

Author SHA1 Message Date
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
dbe888a56c refactor vulcan:newsletter package to be collection-agnostic; move posts newsletter logic to posts package 2017-08-28 22:27:07 +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
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
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
SachaG
e07a0b1477 Improve onEdit behavior: if any onEdit returns null, unset the field 2017-05-23 09:48:31 +09:00
SachaG
5054dcc900 use normal validate() to throw an error 2017-05-07 22:15:52 +09:00
SachaG
c9c2030752 Replace autoValue with onInsert, onEdit, onRemove 2017-04-28 09:24:28 +09:00
SachaG
1f9e5c17b9 Test for existence of loader before trying to clear cache 2017-04-25 12:57:08 +09:00
SachaG
0dd0078a1f clean up 2017-04-15 21:39:36 +09:00
SachaG
1c080a4059 use Dataloader for posts list, post user, and post upvoters resolvers 2017-04-15 12:03:25 +09:00
SachaG
0369d19c10 Telescope -> Vulcan; add Vulcan.getGraphQLSchema on the server 2017-04-06 11:10:23 +09:00
SachaG
7ad8fc6ffc Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
# Conflicts:
#	prestart_nova.sh
2017-04-03 22:35:50 +09:00
SachaG
e5837a6c0e Get rid of collection2; do validations at mutation level 2017-04-03 16:24:19 +09:00
Dominic Tracey
3f20efb5ec Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel 2017-03-27 12:09:36 -04:00
SachaG
72be56a590 renaming nova-xyz directories to vulcan-xyz 2017-03-24 10:19:24 +09:00