Commit graph

51 commits

Author SHA1 Message Date
Sacha Greif
dd0df7dfc5 Telescope.utils -> Utils 2016-12-12 11:34:28 +09: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
Sacha Greif
8689a4de73 clean up callbacks by moving logic to mutations and schema (autoValue) 2016-11-14 17:17:44 +09:00
xavcz
35302d291f wip on withRemove HOC included in withEdit; fix posts.remove.validate callback 2016-11-12 17:28:08 +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
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
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
f332c8810b use Apollo for new post mutation 2016-11-04 10:28:54 +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
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
5463ff7b86 prefer Users namespace to Meteor.users in active packages 2016-10-05 08:37:48 +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
b69b341a7d fix #247 2016-09-28 13:46:59 +02:00
Sacha Greif
3ec90a04b5 remove Telescope global 2016-08-08 11:18:21 +09:00
Sacha Greif
f4c4f9261f test for postedAt (for pending posts) 2016-07-25 10:46:43 +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
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
336a1624eb remove Scheduled status; add new isFuture flag instead; set flag after insert and edit; extend base parameters in view instead of in Posts.parameters.get 2016-07-14 15:54:59 +09:00
xavizalote
ade25cc639 post status scheduled + 10-minute cron to update scheduled posts to approved status 2016-07-07 15:13:19 +02: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
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
5ee570299a replacing packages with their npm equivalents 2016-06-07 15:03:00 +09:00
Sacha Greif
e3903575d7 fix new posts notifications 2016-05-20 09:32:37 +09:00
Sacha Greif
55fcdf98dc fix Telescope.notifications undefined 2016-05-17 09:50:37 +09:00
Sacha Greif
e872c19fd0 small bugfixes 2016-05-12 11:49:15 +09:00
Sacha Greif
24c1dc4722 cleaning up component naming 2016-04-14 10:12:35 +09:00
Sacha Greif
fbccfa588b more methods clean up 2016-04-14 09:54:41 +09:00
Sacha Greif
104cad9b15 adding @summary for jsdocs compatibility 2016-04-09 09:41:20 +09:00
Sacha Greif
3967e5ca73 publish createdAt 2016-04-01 20:57:50 +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
f2f7b6ab18 switching Email back to global Telescope.email for now; getting rid of Herald; improving user edit form; 2016-04-01 12:38:50 +09:00
Sacha Greif
ece9a98c4b wrap post edit form in DocumentContainer to load extra properties like body 2016-03-31 11:04:24 +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
8d5c5ece0e add post excerpt (see https://github.com/TelescopeJS/Telescope/pull/1280) 2016-03-28 10:31:28 +09:00
Sacha Greif
0ea6775d3a implement "autoform" 2016-02-25 17:44:43 +09:00
Sacha Greif
0a98c14288 convert posts.new to callbacks; fix flash message typos 2016-02-24 18:11:53 +09:00
Sacha Greif
8cb101317a nova:tags -> nova:categories 2016-02-24 14:47:44 +09:00
Sacha Greif
38d0f03d39 working on methods 2016-02-18 12:16:32 +09:00
Sacha Greif
a119d2b2c0 breaking up notifications package into separate feature-related pieces 2016-02-17 21:57:07 +09:00