Commit graph

29 commits

Author SHA1 Message Date
SachaG
72be56a590 renaming nova-xyz directories to vulcan-xyz 2017-03-24 10:19:24 +09:00
SachaG
d970c92f82 nova -> vulcan 2017-03-23 16:27:59 +09:00
xavcz
1e416fd9d2 fix possible errors in decoding errors (meta? 🤔); mailchimp api v2 returns an error.message "214" when a user is already subscribed, not an error.code 214 📥 2017-02-16 13:40:52 +01:00
xavcz
e07c844710 provide better error messages for Embedly & Mailchimp 2017-02-11 12:27:32 +01:00
xavcz
e533dd47e7 fix some lint issues, remove some dead code, remove double imports from the same package & import from core instead of lib except for packages depending explicitly on lib (users, emails, ..) 2017-02-02 16:18:33 +01:00
xavcz
a6ab0a6d89 refactor the NewsletterButton to be stateless (label & mutation to trigger controlled by its parent (ex: newsletter banner, newsletter field control); make the newsletter field control of the user edit form update its state AND the form state the action has succeeded 2017-01-19 10:37:42 +01:00
SachaG
db17e917f8 Remove “__” prefix to avoid conflicts with GraphQL introspection types and simplify code 2017-01-18 10:18:33 +09:00
xavcz
d5f9c2369b update the correct user thanks to the NewsletterButton, disable setState no-op (why is the component unmounted?) 2016-12-27 11:44:35 +01:00
xavcz
2638023f4e harmonize apollo branch to be on v0.27.5 2016-12-08 23:48:16 +01:00
xavcz
990f21aae1 withMessages hoc to avoid having redux code in components 2016-12-08 09:42:50 +01:00
Sacha Greif
ce103c568c make withSingle accept slug parameter; no need for variables in withMutation anymore; port newsletter methods to Apollo 2016-12-07 15:30:40 +09:00
xavcz
37f4bdaf91 Telescope.components.Foo -> Components.Foo, same for related components utils like registerComponent, getRawComponent & replaceComponent 2016-12-06 18:06:29 +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
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
xavcz
5b3f2105d1 apply the new API registerComponent to the base-components 2016-11-17 20:42:16 +01:00
Ben Gott
dc594af50f fix newsletter banner dismissal persistence 2016-11-17 11:37:26 -06:00
xavcz
9f4fe1a917 withCurrentUser hoc in nova:core 2016-11-15 18:33:16 +01:00
xavcz
b5709b0a52 flash-messages logic handle via redux for all the components 2016-10-31 17:13:14 +01: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
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
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
f899713408 more work on i18n 2016-06-09 20:26:33 +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
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
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