Commit graph

38 commits

Author SHA1 Message Date
xavcz
1c058b60c6 clean-up 2016-12-09 09:11:20 +01:00
xavcz
2638023f4e harmonize apollo branch to be on v0.27.5 2016-12-08 23:48:16 +01:00
Comus Leong
464e20a96c eslint & clean up code, also fixed some bugs (#1515)
* [eslint] update eslint rules & add .eslintignore to ignore non-ready nova packages

* [clean-up] nova-voting

* [clean-up] [bug] nova-users: missing user parameter

* [clean-up] nova-users

* [clean-up] nova-subscribe

* [clean-up] nova-settings

* [clean-up] nova-rss

* [clean-up] [bug] nova-posts: correct UsersRemoveDeletePosts

* [clean-up] nova-posts

* [clean-up] nova-notifications

* [clean-up] [bug] nova-newsletter: no error.message on throw error

* [clean-up] nova-newsletter

* [clean-up] nova-lib

* [clean-up] nova-kadira

* [clean-up] nova-inject-data

* [clean-up] nova-getting-started

* [clean-up] nova-forms

* [clean-up] nova-events

* [clean-up] [bug] nova-embedly: no FlowRouter

* [clean-up] nova-embedly

* [clean-up] nova-email-templates

* [clean-up] nova-email

* [clean-up] nova-debug

* [clean-up] nova-core

* [clean-up] [bug] nova-comments: correct UsersRemoveDeleteComments

* [clean-up] nova-comments

* [clean-up] [bug] nova-cloudinary: use Telescope.settings.collection instand

* [clean-up] nova-cloudinary

* [clean-up] nova-categories

* [clean-up] nova-base-components

* [clean-up] nova-api

* [eslint] extends react recommended

* [clean-up] for jsx files

* [eslint] extends meteor recommended

* i forgot this one little change
2016-11-25 13:46:55 -05: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
Sacha Greif
f332c8810b use Apollo for new post mutation 2016-11-04 10:28:54 +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
xavcz
328be8b07d define mutation postVote(postId: String, voteType: String), wire it to <Vote /> 2016-10-31 18:21:28 +01:00
xavcz
26f5e73119 more work on single post 2016-10-19 17:38:21 +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
4a05939bb7 Users.is.admin -> Users.isAdmin 2016-07-21 14:51:58 +09:00
Sacha Greif
616a34f0c6 more permissions refactoring 2016-07-21 09:53:58 +09:00
Sacha Greif
c748bdc5bd permissions clean up & refactoring 2016-07-20 10:25:05 +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
0e28be3c92 removing Comments global 2016-06-23 12:17:39 +09:00
Sacha Greif
d9e69110a6 removing Posts global 2016-06-23 11:40:35 +09:00
Sacha Greif
28dec2d449 add imports 2016-06-15 11:07:10 +09:00
Sacha Greif
fbccfa588b more methods clean up 2016-04-14 09:54:41 +09:00
Sacha Greif
5acda44722 debugging newsletter 2016-04-11 10:23:23 +09:00
Sacha Greif
104cad9b15 adding @summary for jsdocs compatibility 2016-04-09 09:41:20 +09:00
Sacha Greif
aff400ec9f use ES6 classes for form components; disable form while it's submitting 2016-04-01 20:57:37 +09:00
Sacha Greif
9127c43b26 use ES6 class for CategoriesList because functional stateless components can't return null 2016-04-01 16:52:02 +09:00
Sacha Greif
62928f1b2d use simpleSchema for validation; make sure posts default to sticky: false 2016-03-31 10:04:41 +09:00
Sacha Greif
ac45ef754c show thumbnails 2016-03-27 18:17:20 +09:00
Sacha Greif
733887ca2b working on voting feature; added methods to cheatsheet 2016-03-21 10:27:43 +09:00
Sacha Greif
e913cd6abc fix getting started bug 2016-03-01 14:01:12 +09:00
Sacha Greif
0a98c14288 convert posts.new to callbacks; fix flash message typos 2016-02-24 18:11:53 +09:00
Sacha Greif
56fb10d23a user edit/account page 2016-02-23 11:34:40 +09:00
Sacha Greif
1248e1e33a add username field 2016-02-21 13:57:02 +09:00
Sacha Greif
dd921e0301 working on comments 2016-02-18 16:26:52 +09:00
Sacha Greif
38d0f03d39 working on methods 2016-02-18 12:16:32 +09:00
Sacha Greif
aa54340e05 adding i18n package stub; working on new post page; adding user accounts widget 2016-02-18 11:55:00 +09:00
Sacha Greif
6b360d51eb remove this.unblock() for now 2016-02-17 17:46:34 +09:00
Sacha Greif
7daabf9e42 renaming 2016-02-17 14:27:27 +09:00
Renamed from packages/telescope-posts/lib/methods.js (Browse further)