Commit graph

84 commits

Author SHA1 Message Date
Sacha Greif
0f6aeb3670 small fixes on user mutations 2016-11-09 11:55:28 +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
xavcz
ec95b3c591 wip on nova:base-containers, rename nova:base-apollo in nova:apollo for the sake of clarity, remove some obsolete/experimental functions (triggerMainRefetch, refetchQuery, ..) 2016-11-08 12:58:53 +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
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
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
328be8b07d define mutation postVote(postId: String, voteType: String), wire it to <Vote /> 2016-10-31 18:21:28 +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
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
6a4c9c1f57 consistency on users callbacks (users.new, users.profileCompleted), remove dead code (~copy of users.edit method) not used anymore: what it did is now handled thanks to callbacks 2016-10-07 10:50:21 +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
4646e1041a ensure user slug unicity, fixes #1213 2016-10-04 22:42:07 +02:00
xavcz
f17560047d prefer displayName to username on notifications/events: getDisplayName fallbacks to getUserName if it doesn't exist 2016-09-21 12:37:26 +02:00
Comus Leong
b5dafdf16b Update groups.js 2016-09-11 14:49:56 +08:00
Sacha Greif
d64c0f689f Merge branch 'devel'
# Conflicts:
#	README.md
2016-08-29 08:56:34 +09:00
chptung
935c1fa5c0 Update callback.js to include Linkedin
- Update the options.email if/else if statement to include a section for Linkedin
- Update the displayName if/else if statement to include a section for Linkedin
2016-08-22 10:07:37 -07:00
xavcz
fef3e3281c add intl support for avatar + fix typo in avatar's doc 2016-08-17 18:08:37 +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
00d65bbc4d clean up helpers 2016-07-21 15:02:20 +09:00
Sacha Greif
4a05939bb7 Users.is.admin -> Users.isAdmin 2016-07-21 14:51:58 +09:00
Sacha Greif
1b015b0a2b add /groups debug route 2016-07-21 12:38:11 +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
Sacha Greif
c50bdcb2e4 groups first pass 2016-07-19 17:30:59 +09:00
Sacha Greif
7bd5c1f044 more i18n cleanup 2016-07-07 10:38:18 +09:00
Sacha Greif
d6c0be150d remove old i18n function call 2016-07-04 10:42:50 +09:00
Sacha Greif
4c3b752748 fix user edit; add edit user link to profile page for admins; fix user name link 2016-06-30 12:05:59 +09:00
xavizalote
4bf0a15a41 whoops, remove console.log 2016-06-27 22:59:06 +02:00
xavizalote
bfcc395c6f import Users in publications & some components 2016-06-27 21:36:45 +02:00
Sacha Greif
51623d7e31 Telescope.email -> NovaEmail 2016-06-23 16:42:06 +09:00
Sacha Greif
4ce55702eb removing Events global 2016-06-23 15:16:32 +09:00
Sacha Greif
41f349d18c removing Users global 2016-06-23 15:00:58 +09:00
Sacha Greif
d9e69110a6 removing Posts global 2016-06-23 11:40:35 +09:00
Sacha Greif
d0275aa77f update readme 2016-06-22 18:29:35 +09:00
Sacha Greif
2dd3f3c7fa move newsletter callback to server only; split users.setSetting method in method+mutator; always call mutator directly when on server 2016-06-15 19:55:59 +09:00
Sacha Greif
28dec2d449 add imports 2016-06-15 11:07:10 +09:00
Sacha Greif
550ca85258 complete work on react-router 2016-06-14 10:01:44 +09:00
Sacha Greif
bc22398192 react-router wit (fix later) 2016-06-11 16:37:03 +09:00
Sacha Greif
f899713408 more work on i18n 2016-06-09 20:26:33 +09:00
Sacha Greif
5ee570299a replacing packages with their npm equivalents 2016-06-07 15:03:00 +09:00