Commit graph

161 commits

Author SHA1 Message Date
Sacha Greif
e09022b350 add fragments inside components 2016-11-23 11:07:48 +09:00
xavcz
1137fb96aa adapt the Telescope.createCollection api to all the collections, some clean up in old containers files 2016-11-22 18:14:51 -05:00
xavcz
6c14712a74 work on withList and queries generation 2016-11-19 20:01:17 +01:00
xavcz
8429502a64 schemas good practice: change control: "none" to hidden: true 2016-11-18 10:03:01 +01:00
xavcz
dcd7269f74 small tweak on mutations & userId field 2016-11-18 09:28:32 +01:00
Sacha Greif
3d5fbe7b54 comment out publications code 2016-11-17 17:38:38 +09:00
Sacha Greif
041c7f4ad7 more clean-up 2016-11-17 16:53:07 +09:00
xavcz
600ab15c4d Apollo branch up to date with v0.27.4 2016-11-15 12:51:43 +01:00
xavcz
c8615d3439 v0.27.4 2016-11-15 10:44:01 +01:00
Sacha Greif
5df3377418 clean up published_fields files; clean up unnecessary packages; more work on callbacks 2016-11-15 15:59:34 +09:00
xavcz
08a686f496 use Collection.fragments in queries/mutations 2016-11-14 20:27:23 +01:00
Sacha Greif
8689a4de73 clean up callbacks by moving logic to mutations and schema (autoValue) 2016-11-14 17:17:44 +09:00
xavcz
78802d6790 add query collectionListTotal (= list total count) on every collection by default, query list from the ui : getCollectionList(..) { collectionListTotal(..) collection(..) } ; withRemove "automation" based on these queries 2016-11-13 13:43:36 +01:00
xavcz
db5605bd2e use a more generic prefix (__) for users settings and adapt Users.methods.setSetting 2016-11-10 14:22:47 +01:00
Sacha Greif
cab93c1128 re-enable comment nesting 2016-11-09 11:55:12 +09:00
xavcz
460efe52f6 move namespace to prefix on user schema: user.telescope.xxx by user.nova_xxx 2016-11-08 18:22:17 +01:00
xavcz
84a73a988d comments.postId available in commentsInput (insertableIf/editableIf) -> add control: "none" where needed in the app ; fix wrong import from previous commit on nova-voting (vote (operateOnItem) is needed on client/server, score algorithm is only server-side (async callback)) 2016-11-08 13:49:41 +01:00
Sacha Greif
364dacaecf split out user schema fields in appropriate packages 2016-11-08 16:33:25 +09:00
Sacha Greif
9b7cdcd8bc add typeName to each collection 2016-11-08 15:12:23 +09:00
Sacha Greif
4907310480 extract queries into their own files 2016-11-08 15:04:17 +09:00
Sacha Greif
bee5eaf373 generate graphQL schemas for posts, comments, and categories from simpleSchema 2016-11-08 14:56:39 +09:00
xavcz
6e82219c5b wip on categories mutation, comment logs on comments (🤔) 2016-11-07 23:04:41 +01:00
xavcz
bca4b38358 fix commenters (UI / schema / resolvers), pass documentId to postsVote, move PostsListsContainer query to Posts.graphQLQueries.list, FormWrapper.clearErrors() -> FormWrapper.clearForm({clearErrors, clearCurrentValues}): prevent bug of keeping latest value when submitting a formNew that doesn't unmount 2016-11-07 18:03:07 +01:00
Sacha Greif
4e91966072 working on commentsListContainer 2016-11-07 23:46:12 +09:00
Sacha Greif
a74744d2c7 work on updateQueries for commentsNew 2016-11-07 13:00:09 +09:00
Sacha Greif
8701dace84 refactor mutations; collection.x.method callback is now collection.x.validate 2016-11-07 12:11:02 +09:00
Sacha Greif
b369d90341 use standard newMutation, editMutation, and removeMutation mutations for posts and comments 2016-11-07 11:47:33 +09:00
xavcz
7059b19772 'users.remove' method: check if the user wants to remove itself or another user ; ensure options are defined in related callbacks 2016-11-06 12:04:20 +01:00
Sacha Greif
a0a7d235e9 working on comments mutations 2016-11-05 18:37:46 +09:00
Sacha Greif
70cf664602 Merge pull request #1497 from keenethics/apollo
No comments.deleteById simulation for now
2016-11-04 09:32:15 +09:00
Sacha Greif
b006db3a78 finish cleaning up resolvers 2016-11-04 09:31:32 +09:00
Epaminond
d91e7ff567 No comments.deleteById simulation for now 2016-11-04 00:03:27 +02:00
Sacha Greif
56bcfba245 first pass at splitting off resolvers 2016-11-03 21:39:09 +09:00
xavcz
7c88d27d62 have the mutation simulation and server operation returning the same result, add missing viewableIf, pass comment object to Telescope.operateOnItem 2016-11-02 13:29:43 +01:00
xavcz
fa4f0bfcf3 add viewableIf to non-array fields of Users (array fields cause trouble with mongo $ projection) 2016-10-30 18:25:51 +01:00
Sacha Greif
0b2af51c89 split graphQL schemas in their respective packages 2016-10-29 16:37:33 +09:00
Sacha Greif
005d912222 filter fields in all resolvers 2016-10-29 16:02:43 +09:00
Sacha Greif
230018c066 clean up 2016-10-29 14:18:16 +09:00
xavcz
042cb4ff86 v0.27.3 2016-10-19 09:54:15 +02:00
xavcz
b04cb52470 currentUser is now only given via context, update README about it, add a missing import 2016-10-14 08:47:18 +02:00
xavcz
7775838980 change old reference to AutoForm (legacy): field schema "autoform" -> "form" 2016-10-05 08:43:13 +02:00
xavcz
5463ff7b86 prefer Users namespace to Meteor.users in active packages 2016-10-05 08:37:48 +02:00
xavcz
dfce3f66dc use comment's getPageUrl helper in rss feed instead of dead function 2016-10-05 08:07:52 +02:00
xavcz
b3ae8ef6c6 v0.27.2 2016-10-01 18:11:37 +02:00
xavcz
4e3d32d2a6 v0.27.1 2016-09-22 07:58:59 +02:00
Sacha Greif
2b34713c0b v0.27.0 2016-08-29 09:02:11 +09:00
Sacha Greif
f0dc6ff124 Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel 2016-08-24 10:06:00 +09:00
Sacha Greif
6319c76fb4 add missing import 2016-08-24 10:05:53 +09:00
xavcz
7e0b1fb2d7 fix Comments.getPageUrl ; dust some related functions down 2016-08-10 07:49:40 +02:00
Sacha Greif
3ec90a04b5 remove Telescope global 2016-08-08 11:18:21 +09:00