Commit graph

2014 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
e714aab27b replace hardcoded flash message with i18n 2016-11-24 08:27:12 -06:00
Ben Gott
6e9ef47aa5 remove 'Newsletter' label on NewsletterSubscribe component
to be consistent with neighboring components
2016-11-24 05:56:02 -06:00
Ben Gott
fc5f31b224 move field schemas from user schema to newsletter custom fields
per @xavcz’s suggestion, because the nova:users package doesn’t need to
know about these newsletter-specific fields
2016-11-24 05:54:02 -06: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
20aefa707f missed a rename in i18 strings 2016-11-18 04:00:35 -06:00
Ben Gott
846e5c43ad rename newsletter settings
correctly this time! ;)
2016-11-17 14:43:35 -06:00
Ben Gott
8192b06451 Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into newsletter-subcription-fixes 2016-11-17 11:39:59 -06:00
Ben Gott
cb55efbd81 whitespace edits 2016-11-17 11:38:35 -06:00
Ben Gott
f3d15944b6 minor grammar fix in mailchimp logging 2016-11-17 11:38:10 -06:00
Ben Gott
dc594af50f fix newsletter banner dismissal persistence 2016-11-17 11:37:26 -06:00
Comus Leong
97a027217f it s important, fix wrong comment in deep function 2016-11-17 14:16:53 +08:00
xavcz
c8615d3439 v0.27.4 2016-11-15 10:44:01 +01:00
xavcz
52c50933e7 repair deepValue utils (error introduced by "errors linting" fix) 2016-11-15 10:17:27 +01:00
xavcz
28cf7a20c7 Update to Meteor 1.4.2.1, add npm babel-runtime, remove some Meteor packages constraints versions 2016-11-15 09:55:05 +01:00
xavcz
4ae1c01eec complete eslint devDeps and fix lint errors 2016-11-15 09:02:30 +01:00
Xavier Cazalot
4717100099 Merge pull request #1507 from sherryxiao1988/patch-1
Fix react setState race condition
2016-11-11 10:52:02 +01:00
Shundan Xiao
7a4c540d06 Fix react setState race condition
when multiple components need to call addToAutoFilledValues (I am using the avatar(xavcz:nova-forms-upload) plugn along with the subscription package), this state is concurrently called by multiple components when they are rendered. autofilledValues sometimes only holds the last value.
2016-11-11 17:39:39 +08:00
Curtis G
eb0536a662 Only show comment reply button for logged in users 2016-11-06 13:31:58 -05:00
xavcz
f988686653 use a fork of meteorhacks:inject-data to fix data-injection with meteor 1.4.2 2016-11-06 14:52:12 +01: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
xavcz
8aaef596f5 modify getUnusedSlug to handle edge case on Users collection, fix #1501 and related to #1213 2016-11-06 11:51:52 +01:00
Curtis G
38aecb78a0 Add i18n messages for no more posts, no results, and load more days 2016-11-03 23:00:30 -04:00
Matt Lively
4f6b7d78fd ml/cjl: adding support for users logged in. 2016-11-01 19:38:06 -07:00
Matt Lively
eef2b7e233 ml/cjl: adding reset password feature 2016-10-28 21:27:27 -07:00
xavcz
133dab5263 get rid of this disallowed insert error client-side 2016-10-28 17:55:36 +02:00
Sean Song
f1fd21dd58 fix typo in style class name 2016-10-26 16:25:28 +08:00
Sacha Greif
bbfb857c23 make document prop available to all form components (but don't pass it down to standard input controls to avoid error) 2016-10-26 15:20:32 +09:00
xavcz
042cb4ff86 v0.27.3 2016-10-19 09:54:15 +02:00
Xavier Cazalot
3ed95e78a5 Merge pull request #1469 from chptung/patch-3
Updated _posts.scss
2016-10-17 12:31:48 +02:00
xavcz
21086fe18b UsersMenu: user: props -> currentUser: context 2016-10-17 12:26:56 +02:00
xavcz
01429c9f5b backward compatibility for the autoform field on schema definition 2016-10-14 11:55:47 +02:00
xavcz
67d4ff5fc8 updates from devel: Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into cleaning-oldies 2016-10-14 11:25:59 +02:00
xavcz
e0d9775c87 fix conflict with shortcut update from devel 2016-10-14 11:23:12 +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
huli
325abdc850 Add shortcut to submit form, close #1471 2016-10-13 21:57:19 +08:00
chptung
779179754c Updated _posts.scss
Added `flex-wrap: wrap;` to posts-categories for better styling if a user creates a post with too many categories.
2016-10-11 09:08:19 -07:00
chptung
7678d83dd5 Update subscriberIdsToNotify to send unique emails
Added .uniq() for subscribersIdsToNotify in the Categories section to prevent a user from receiving multiple emails if he/she is subscribed to multiple categories.
2016-10-07 08:14:58 -07:00
xavcz
6a4c9c1f57 consistency on users callbacks (users.new, users.profileCompleted), remove dead code (~copy of users.edit method) not used anymore: what it did is now handled thanks to callbacks 2016-10-07 10:50:21 +02:00
xavcz
09eaf71f38 prevent bug on categories new/edit with custom fields (load order with extended schema problem) 2016-10-06 12:16:59 +02:00
xavcz
137348148f fix errors on logging out from UsersProfileCheck 2016-10-05 11:35:06 +02:00
xavcz
8bf496f7e5 fix errors on nova:forms
-> NovaForm: don't call callbacks of unmounted component (ex: ModalTrigger)
-> FormComponent - call updateCurrentValue only if the component is rendered
2016-10-05 11:19:20 +02: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
xavcz
dfce3f66dc use comment's getPageUrl helper in rss feed instead of dead function 2016-10-05 08:07:52 +02:00
xavcz
4ccbf6148b consistency on posts parameters callback: posts.parameters 2016-10-05 08:06:34 +02:00
xavcz
9fb82628d2 clean up dead code, remove package-tap.i18n 2016-10-05 08:05:11 +02:00
xavcz
4646e1041a ensure user slug unicity, fixes #1213 2016-10-04 22:42:07 +02:00
xavcz
5078639d92 add slug to newPendingPost notification, closes #1254 2016-10-04 17:38:09 +02:00
xavcz
b3ae8ef6c6 v0.27.2 2016-10-01 18:11:37 +02:00