Commit graph

111 commits

Author SHA1 Message Date
Sacha Greif
70ddd87039 update to apollo-client 0.5.22; small fixes and clean-up; Posts.parameters.get -> Posts.getParameters; add sorting to withList (even though it doesn't work yet); add getParameters to all collections; 2016-12-18 19:04:11 +09:00
Sacha Greif
4e1a82c130 Callbacks.add -> addCallback; and other callback functions 2016-12-13 11:40:24 +09:00
Sacha Greif
1bf4933ebb clean up Telescope imports 2016-12-13 11:32:23 +09:00
Sacha Greif
98fef8ef62 Telescope.settings.get -> getSetting 2016-12-12 15:00:56 +09:00
Sacha Greif
dd0df7dfc5 Telescope.utils -> Utils 2016-12-12 11:34:28 +09:00
Sacha Greif
a2d7b7c2ef Telescope.graphQL.foo -> GraphQLSchema.foo 2016-12-12 10:41:50 +09:00
Sacha Greif
5e1e124a8f Telescope.callbacks -> Callbacks; Telescope.createCollection -> createCollection 2016-12-12 10:24:34 +09: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
xavcz
4e6e312469 permission API: [editable/insertable/viewable](If) -> (By) ; anonymous -> guests ; default -> members 2016-12-06 10:55:47 +01:00
Sacha Greif
56c04baf3b use new group-based syntax for permissions; various tweaks 2016-12-01 15:29:07 +09:00
xavcz
41d19f52aa v0.27.5 2016-11-30 12:07:45 +01:00
Sacha Greif
002599e51e add preload:true option to Users schema 2016-11-29 18:54:12 +09:00
Sacha Greif
cbcfc1bcaf clean up i18n files 2016-11-29 11:39:35 +09: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
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
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
xavcz
600ab15c4d Apollo branch up to date with v0.27.4 2016-11-15 12:51:43 +01:00
xavcz
c8615d3439 v0.27.4 2016-11-15 10:44:01 +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
8b35d59323 try/catch for mailchimp 2016-11-07 13:00:15 +09:00
xavcz
b5709b0a52 flash-messages logic handle via redux for all the components 2016-10-31 17:13:14 +01:00
xavcz
fa4f0bfcf3 add viewableIf to non-array fields of Users (array fields cause trouble with mongo $ projection) 2016-10-30 18:25:51 +01:00
xavcz
042cb4ff86 v0.27.3 2016-10-19 09:54:15 +02: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
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
9fb82628d2 clean up dead code, remove package-tap.i18n 2016-10-05 08:05:11 +02:00
xavcz
b3ae8ef6c6 v0.27.2 2016-10-01 18:11:37 +02:00
xavcz
4e3d32d2a6 v0.27.1 2016-09-22 07:58:59 +02:00
Sacha Greif
2b34713c0b v0.27.0 2016-08-29 09:02:11 +09:00
Sacha Greif
3ec90a04b5 remove Telescope global 2016-08-08 11:18:21 +09:00
xavcz
5e6c553284 NovaForm custom components with boolean value: fix a bug on account edit + newsletter setting using autofilledValues 2016-07-31 14:14:51 +02:00
Sacha Greif
cfc52b1158 v0.26.5 2016-07-24 19:15:55 +09:00
Sacha Greif
189e97f7c4 Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel 2016-07-22 14:44:54 +09:00
Sacha Greif
fa7c4c6079 make sure user is instance of Users collection 2016-07-22 14:44:41 +09:00
Xavier Cazalot
7cd4bd9b5a Merge pull request #1403 from xavcz/document-to-control
NovaForm: custom control has access to document as a props
2016-07-21 09:12:59 +02:00
Sacha Greif
4a05939bb7 Users.is.admin -> Users.isAdmin 2016-07-21 14:51:58 +09:00
Sacha Greif
9cc7840b85 new permissions 2016-07-21 09:40:05 +09: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