Commit graph

71 commits

Author SHA1 Message Date
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
Ben Gott
48cd5c83d7 add this.props.user back to NewsletterButton
…and use this.props.user instead of this.context.currentUser (allows an
admin to edit another user)
2016-11-18 11:35:48 -06:00
Ben Gott
846e5c43ad rename newsletter settings
correctly this time! ;)
2016-11-17 14:43:35 -06:00
Ben Gott
dc594af50f fix newsletter banner dismissal persistence 2016-11-17 11:37:26 -06:00
xavcz
21086fe18b UsersMenu: user: props -> currentUser: context 2016-10-17 12:26:56 +02:00
xavcz
b04cb52470 currentUser is now only given via context, update README about it, add a missing import 2016-10-14 08:47:18 +02:00
Sacha Greif
3ec90a04b5 remove Telescope global 2016-08-08 11:18:21 +09:00
xavcz
830d6015ad small fix on default props value not taken in consideration 2016-08-05 18:26:55 +02:00
xavizalote
a2e32140ee fix behavior of newsletter button: display message when subscribing on the banner & update the right account when editing someone's account 2016-07-21 00:38:49 +02:00
Sacha Greif
c21b9d0908 make headTags extensible again 2016-07-19 18:12:17 +09:00
xavizalote
1ef77c8c04 meta: avoid repetition (no more concat, should fix Facebook scrape) + favicon setting name 2016-07-18 18:01:41 +02:00
Sacha Greif
0870b56c69 fix getDomain; make head tags extensible; make redirection logic more flexible 2016-07-06 10:21:58 +09:00
xavizalote
7c45773802 don't do modification on a var if undefined => fixes #1375 error at startup on HeadTags 2016-07-01 08:36:00 +02:00
xavizalote
2328e2f19e use react-helmet instead of dochead 2016-06-29 09:15:52 +02:00
xavizalote
c67c04f068 fix a bug on go:image/twitter:image and add some clarity 2016-06-27 19:55:24 +02:00
xavizalote
8cb454d15f use fat arrow in method callback to give access to the right this 2016-06-27 17:35:53 +02:00
xavizalote
c0f4c40e85 decouple components actions from Meteor 2016-06-24 09:44:32 +02:00
Sacha Greif
41f349d18c removing Users global 2016-06-23 15:00:58 +09:00
Sacha Greif
d0275aa77f update readme 2016-06-22 18:29:35 +09:00
xavizalote
e73e8bbbfa make custom package work again: routes, moment & newsletter button 2016-06-17 11:14:49 +02:00
Sacha Greif
fd946158fc Merge pull request #1342 from GameDevTV/ts-custom-site-image
Hook up siteImage in settings to the open graph meta tags.
2016-06-16 17:16:47 +09:00
Sacha Greif
d6835d266d update react-router; update react-intl; make intl polyfill available to client too 2016-06-16 10:43:25 +09:00
Sam Pattuzzi
425de4710d Silly typo 2016-06-15 15:00:24 +01:00
xavizalote
d777b6d9a9 App container: default export -> App component: from props to context 2016-06-14 22:36:54 +02:00
Sacha Greif
b51c48b117 pass actions, messages, and events as part of context instead of depending on them from within base-components 2016-06-14 17:03:35 +09:00
Sacha Greif
eefa2b9203 remove currentRoute 2016-06-14 12:50:08 +09:00
Sacha Greif
f5021a0a1e reenable old categories/views behavior 2016-06-14 10:17:11 +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
5ce95e4229 react router first pass 2016-06-11 16:36:18 +09:00
Ben Tristem
5e65b4c81d Hook up siteImage in settings to the open graph meta tags. 2016-06-10 13:47:06 +01:00
Sacha Greif
2c6e3d0d30 more i18n work 2016-06-10 10:25:38 +09:00
Sacha Greif
15f8808b67 fix en locale 2016-06-09 20:45:58 +09:00
Sacha Greif
f899713408 more work on i18n 2016-06-09 20:26:33 +09:00
Sacha Greif
c1572344ba working on i18n 2016-06-09 17:42:20 +09:00
Sacha Greif
0d28817ac0 small tweaks 2016-06-06 15:03:02 +09:00
Sacha Greif
241ba651e8 change import syntax; add listId to all ListContainers 2016-06-06 10:06:53 +09:00
Sacha Greif
204fa1d8b7 added support for field groups; small tweaks to user edit form 2016-06-03 11:03:36 +09:00
xavizalote
262c7ffc2b clearer & cleaner 2016-05-26 10:46:30 +02:00
xavizalote
d9ae45b32b isomorphic cookies + meteor-node-stubs (~= browserify), componentWillReceiveProps + context to hide/show banner reactively 2016-05-26 10:13:13 +02:00
xavizalote
8ad7efae59 delete user from list to make it possible for him to resubscribe, default props for the button, style newsletter settings in the UsersEdit 2016-05-25 09:30:29 +02:00
xavizalote
460c81c598 fix required PropTypes 2016-05-25 08:57:48 +02:00
xavizalote
571d1877d0 handle errors & avoid repeating code in the component NewsletterButton with "subscriptionAction" 2016-05-25 08:57:12 +02:00
xavizalote
63c5a11b43 NewsletterButton linked to method called with certain props 2016-05-25 08:52:04 +02:00
xavizalote
a6991a3a28 don't use newsletter_showBanner anymore 2016-05-23 08:15:05 +02:00
Sacha Greif
e8a7c657ad change component import syntax to be more explicit 2016-05-22 16:42:24 +09:00
Sacha Greif
b7ec5598eb better import syntax 2016-05-22 15:23:30 +09:00
Sacha Greif
453634c4c4 small improvements and clean up to components 2016-05-03 12:44:50 +09:00
Sacha Greif
64f357d601 Meteor 1.3.2.4; small fixes and tweaks for easier customisation; bug fixes 2016-04-25 17:02:41 +09:00
Sacha Greif
312a7b4f9e various small tweaks 2016-04-21 15:08:43 +09:00