xavcz
|
eb2644ad8a
|
Form: display nicer, multiple & internationalizable (encode -> decode) errors, ensure that state updates are queued; in general prefer Error to Meteor.Error, clean some dead code
|
2017-02-02 15:15:51 +01:00 |
|
SachaG
|
957fe56df9
|
clean up before merge back to master
|
2017-01-23 11:00:44 +09:00 |
|
SachaG
|
53cd7f29b8
|
small newsletter tweaks
|
2017-01-20 14:12:59 +09: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 |
|
xavcz
|
0ceb2a714c
|
don't throw an error to somebody already in a Mailchimp list without knowing it: return the expected result (subscribed), log it server-side and update the relevant user setting if needed
|
2017-01-19 09:20:12 +01:00 |
|
SachaG
|
db17e917f8
|
Remove “__” prefix to avoid conflicts with GraphQL introspection types and simplify code
|
2017-01-18 10:18:33 +09:00 |
|
Sacha Greif
|
171bf9feb9
|
extraFragment -> fragment; deprecate Users.canEdit; add alias; use new withCurrentUser
|
2017-01-12 17:30:25 +09:00 |
|
Phil Weber
|
7d30a42b81
|
#1517 - Implement configurable excerpt lengths
|
2017-01-08 18:55:00 -08: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 |
|
Sacha Greif
|
62368a0d48
|
NovaForm -> SmartForm
|
2016-12-20 09:27:16 +09:00 |
|
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 |
|
Sacha Greif
|
002599e51e
|
add preload:true option to Users schema
|
2016-11-29 18:54:12 +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
|
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
|
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
|
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 |
|
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
|
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 |
|
Sacha Greif
|
c748bdc5bd
|
permissions clean up & refactoring
|
2016-07-20 10:25:05 +09:00 |
|