Commit graph

21 commits

Author SHA1 Message Date
xavcz
4b4d40f6b3 fix updateQueries: queryName for every hoc => queryToUpdate on withNew/Remove ≠ queryName on withSingle; fix removeSuccessCallback redirect; telescope object on user = blackbox 2016-11-30 10:31:19 +01:00
Sacha Greif
25f685c06c fix user helpers; add Users.canViewField helper 2016-11-30 10:21:25 +09:00
Sacha Greif
002599e51e add preload:true option to Users schema 2016-11-29 18:54:12 +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
8429502a64 schemas good practice: change control: "none" to hidden: true 2016-11-18 10:03:01 +01:00
xavcz
6e2819919e keep the user.telescope settings schema for migration and backward compatibility with full-Meteor powered app 2016-11-10 16:00:17 +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
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
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
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
Sacha Greif
3ec90a04b5 remove Telescope global 2016-08-08 11:18:21 +09:00
Sacha Greif
616a34f0c6 more permissions refactoring 2016-07-21 09:53:58 +09:00
Sacha Greif
c50bdcb2e4 groups first pass 2016-07-19 17:30:59 +09:00
Sacha Greif
41f349d18c removing Users global 2016-06-23 15:00:58 +09:00