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
SachaG
bd192a5488
update to Meteor 1.5
2017-06-01 10:00:16 +09:00
SachaG
262dca5d3b
Add addToSubmitForm() function to form context that lets components add callbacks on form submission; make runCallbacks and runCallbacksAsync take arrays of functions as first arguments.
2017-05-30 09:49:38 +09:00
SachaG
a6fd1dd345
refactor getSetting; add redirect prop to PostsNewForm
2017-05-26 14:48:04 +09:00
SachaG
79b50d1454
Fixes and clean-up
2017-05-23 09:48:48 +09:00
SachaG
e07a0b1477
Improve onEdit behavior: if any onEdit returns null, unset the field
2017-05-23 09:48:31 +09:00
SachaG
ea4fb84d06
Improve callback handling: sync callbacks will show a warning if a value is not returned but still go on
2017-05-23 09:46:34 +09:00
SachaG
5a7d012145
Version 1.4.0
2017-05-20 10:02:37 +09:00
SachaG
2981ca3e93
Add new removeFromFragment function; fix collection.removeField
2017-05-14 11:08:07 +09:00
SachaG
5f7863c85e
do not throw errors in sync callbacks; fix click tracking callback
2017-05-14 10:42:19 +09:00
SachaG
5054dcc900
use normal validate() to throw an error
2017-05-07 22:15:52 +09:00
SachaG
3b651a6d2b
Change Utils.unflatten to accept an object as second argument; make name of children property customizable
2017-05-06 16:12:44 +09:00
SachaG
6cff2b19fd
integrate Embedly thumbnail inside EmbedlyURL component (not using ThumbnailURL anymore)
2017-05-06 16:08:01 +09:00
SachaG
f6499f8bf0
Add icons
2017-05-04 11:12:06 +09:00
SachaG
853ddf6ba4
clean up Layout; wrap Layout with withCurrentUser; change “required” schema property to “mustComplete”; add new avatarUrl field for twitter avatars; fix UsersProfileCheck
2017-05-01 10:49:27 +09:00
SachaG
ac2aa28e6c
fix twitter login; throw different error when document is not found
2017-04-30 20:36:14 +09:00
SachaG
1749d4dcd7
Small fixes
2017-04-30 20:32:06 +09:00
SachaG
97e138ac84
Update to Meteor 1.4.4.1
2017-04-28 09:49:36 +09:00
SachaG
ef9bcaa976
Clean up
2017-04-28 09:25:29 +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