Commit graph

36 commits

Author SHA1 Message Date
Sacha Greif
20caeb47fb Add before/after collection callbacks to run callback hooks either before or after the db insertion/update 2017-10-21 12:47:58 +09:00
SachaG
5434356866 Merge branch 'devel'
# Conflicts:
#	.github/CONTRIBUTING.md
#	packages/vulcan-lib/lib/server/mutations.js
2017-10-06 08:54:18 +09:00
SachaG
ef935c0b4e Isolate "reducers may not dispatch actions" bug for now 2017-10-05 09:15:24 +09:00
SachaG
24ccf1ff95 Various fixes 2017-10-05 09:14:42 +09:00
SachaG
d8fb30591b Enable context to be passed to runQuery and collection.queryOne 2017-09-25 22:07:46 +02:00
SachaG
342cc39bf4 test if autoValue is undefined 2017-09-23 08:10:58 +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
d8159d3bde Adding new debug mode 2017-09-14 19:47:35 +02:00
SachaG
fb6287d45d clean up post callbacks 2017-09-05 15:45:14 +02: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
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
Kerem Kazan
8beb910de4 [fix] give default value to unset 2017-08-11 19:51:46 -07: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