Commit graph

168 commits

Author SHA1 Message Date
xavcz
460efe52f6 move namespace to prefix on user schema: user.telescope.xxx by user.nova_xxx 2016-11-08 18:22:17 +01:00
Sacha Greif
364dacaecf split out user schema fields in appropriate packages 2016-11-08 16:33:25 +09:00
Sacha Greif
1b7574d8fe add missing properties 2016-11-08 15:16:58 +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
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
8eae4fda1d get rid of PostsNewFormContainer and PostsEditFormContainer 2016-11-07 22:46:31 +09:00
Sacha Greif
7ce835b0fd apollo forms wip 2016-11-07 17:45:17 +09:00
Sacha Greif
747ff91721 add posts.remove callbacks 2016-11-07 12:59:39 +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
Sacha Greif
a0a7d235e9 working on comments mutations 2016-11-05 18:37:46 +09:00
Sacha Greif
5372aace33 unset should be all booleans 2016-11-05 17:23:25 +09:00
Sacha Greif
4c5c696a82 split out set/unset to work around fact that I don't know GraphQL syntax 2016-11-04 15:49:42 +09:00
Sacha Greif
2d0e2fde83 working on postsEdit 2016-11-04 14:38:31 +09:00
Sacha Greif
f332c8810b use Apollo for new post mutation 2016-11-04 10:28:54 +09:00
Sacha Greif
b006db3a78 finish cleaning up resolvers 2016-11-04 09:31:32 +09:00
Sacha Greif
56bcfba245 first pass at splitting off resolvers 2016-11-03 21:39:09 +09:00
Sacha Greif
9ce7fe703f make PostsListContainer and PostsSingleContainer stateful components; add refetchQuery on child context; call it from post edit form; clone item in Telescope.operateOnItem to avoid modifying the original by mistake 2016-11-03 14:07:58 +09:00
Sacha Greif
c1e1c68c23 disable polling; make posts.edit method work again; run refetch in NovaForms success callback 2016-11-02 19:56:44 +09:00
xavcz
3390b5af24 test optimistic ui on vote with sleep server-side 2016-11-02 09:53:16 +01:00
Sacha Greif
123da6b79d add latency compensation (a.k.a. optimistic UI) simulation for Telescope.operateOnItem; it now takes the item as argument (not the item _id) 2016-11-02 16:31:15 +09:00
xavcz
328be8b07d define mutation postVote(postId: String, voteType: String), wire it to <Vote /> 2016-10-31 18:21:28 +01:00
Sacha Greif
0b2af51c89 split graphQL schemas in their respective packages 2016-10-29 16:37:33 +09:00
Sacha Greif
7533d67296 add viewableIf property to schemas to define which fields are viewable by which users; use it in resolver 2016-10-29 14:17:57 +09:00
xavcz
26f5e73119 more work on single post 2016-10-19 17:38:21 +02:00
xavcz
042cb4ff86 v0.27.3 2016-10-19 09:54:15 +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
4ccbf6148b consistency on posts parameters callback: posts.parameters 2016-10-05 08:06:34 +02:00
xavcz
9fb82628d2 clean up dead code, remove package-tap.i18n 2016-10-05 08:05:11 +02:00
xavcz
5078639d92 add slug to newPendingPost notification, closes #1254 2016-10-04 17:38:09 +02:00
xavcz
b3ae8ef6c6 v0.27.2 2016-10-01 18:11:37 +02:00
xavcz
b69b341a7d fix #247 2016-09-28 13:46:59 +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
xavcz
7e0b1fb2d7 fix Comments.getPageUrl ; dust some related functions down 2016-08-10 07:49:40 +02:00
Sacha Greif
72b6353321 put statuses on Telescope object instead of Posts 2016-08-10 10:40:17 +09:00
Sacha Greif
3ec90a04b5 remove Telescope global 2016-08-08 11:18:21 +09:00
Sacha Greif
4f0b1c1bd3 fix user posts 2016-07-29 10:29:50 +09:00
Sacha Greif
f4c4f9261f test for postedAt (for pending posts) 2016-07-25 10:46:43 +09:00
Sacha Greif
cfc52b1158 v0.26.5 2016-07-24 19:15:55 +09:00
Sacha Greif
5b0fad6f7f use escapeStringRegexp 2016-07-22 10:25:17 +09:00
Sacha Greif
4a05939bb7 Users.is.admin -> Users.isAdmin 2016-07-21 14:51:58 +09:00
Sacha Greif
9a9f47b84b add groups example to custom package 2016-07-21 12:11:17 +09:00
Sacha Greif
616a34f0c6 more permissions refactoring 2016-07-21 09:53:58 +09:00
Sacha Greif
9cc7840b85 new permissions 2016-07-21 09:40:05 +09:00
Sacha Greif
c748bdc5bd permissions clean up & refactoring 2016-07-20 10:25:05 +09:00