SachaG
bfbd5869d9
Get rid of preload schema option; use new UsersCurrent fragment instead; trigger users.profileCompleted.async hook when profile is completed during user update, too
2017-02-28 11:49:40 +01:00
SachaG
f11cb20c8c
Make search form preserve existing url query parameters
2017-02-22 09:55:21 +01:00
SachaG
ba32f4245b
Few more framework-demo tweaks; throw error when missing components
2017-02-19 16:10:21 +01:00
SachaG
f82e458302
Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
...
# Conflicts:
# packages/nova-base-components/package.js
# packages/nova-posts/package.js
2017-02-16 23:11:47 +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
d195d366c8
Nova v1.1.0 🔭
...
* bump packages version
* update to Meteor 1.4.3! 🚀
2017-02-16 11:50:22 +01:00
xavcz
390ea7444d
fix metatags on PostsPage
2017-02-16 10:09:28 +01:00
xavcz
b67989fbc2
work on notifications
...
* Telescope.notifications.create -> import { createNotifications } from 'meteor/nova:notifications' ;
* leverage Meteor's weak dependencies on packages & move code related to emails / notifications from nova:posts et al. to nova:notifications
2017-02-16 10:04:00 +01:00
xavcz
e07c844710
provide better error messages for Embedly & Mailchimp
2017-02-11 12:27:32 +01:00
SachaG
395200d299
Remove react-list-container dependency; add index on Posts.categories; bypass C2 in events code; other small tweaks
2017-02-11 13:12:17 +09:00
Comus Leong
01b4a800a4
update std:accounts-ui to 1.2.18 and remove meteor_subscribe.js
2017-02-07 09:43:51 +08:00
SachaG
435cc3555d
decorate categories with active and expanded properties; adapt Categories.getParents to work with store; add category parent resolver; improve mongo-redux; remove duplicate unflatten; add level property to items in unflatten
2017-02-06 10:50:48 +09:00
SachaG
8bc6aacf85
Small tweaks: i18n’ize error message, pass terms to posts list
2017-02-06 10:43:55 +09:00
SachaG
b11188eda6
handle missing users/posts better
2017-02-04 15:40:26 +09:00
SachaG
9d9929d0b8
Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
2017-02-04 11:46:54 +09:00
SachaG
bdfa76aca6
Improve error logging on server; add createdAt to PostsList fragment; use componentNames for base routes
2017-02-04 11:43:21 +09:00
Sacha Greif
1fce2006ff
Merge pull request #1555 from dominictracey/devel
...
Add username tooltip to user's avatar
2017-02-04 09:48:34 +09:00
Dominic Tracey
d0732c4ac9
Add username tooltip to user's avatar. Nice in the commenters list of a PostItem.
2017-02-03 13:55:51 -05:00
SachaG
3cde24d4fb
Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
...
# Conflicts:
# packages/nova-base-components/lib/posts/PostsList.jsx
# yarn.lock
2017-02-03 15:37:52 +09:00
SachaG
cf1ee06273
pass error to PostsList and show error message
2017-02-03 15:36:40 +09: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
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
a2f7592b94
Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
2017-02-02 13:24:51 +09:00
SachaG
ebb38cf643
Working on new fragments API
2017-02-02 11:56:52 +09:00
xavcz
08c171ed64
fix #1541 : increasePostViewCount mutation + associated resolver; store posts viewed on the client session on postsViewed in the redux store; document PostsPage HOC & lifecycle hook
2017-02-01 16:37:06 +01:00
xavcz
2c2a647e7a
work on <head />: allow custom script tag, fix rss feed, expose 'excerpt' on post fragment
2017-01-31 18:57:45 +01:00
xavcz
f196333a25
add comments to fragments (related to packages) & compose them in nova:base-components for easier customization
2017-01-31 17:51:28 +01:00
SachaG
45b9de4789
Add new fragments API (registerFragment/getFragment); move fragments to own fragments.js file; registerComponent doesn’t return anything anymore; withList & withDocument accept either fragment or fragmentName
2017-01-30 19:46:48 +09:00
SachaG
38de180530
Add comment voting using graphql union type
2017-01-29 11:17:00 +09:00
SachaG
1c42031fe5
Re-enable nested categories
2017-01-25 13:58:02 +09:00
SachaG
7e640cc1bd
Make new comment mutation return post to auto-update post object in store with new commentCount and list of commenters
2017-01-23 11:01:14 +09:00
SachaG
4661ec9583
Wrap PostsPage with currentUser
2017-01-23 10:30:58 +09:00
SachaG
c1131422a0
Use immutability helper for vote; pass currentUser to Vote.jsx as prop
2017-01-22 10:12:05 +09:00
SachaG
301d1017f9
Add underscore package; update Apollo-client package; add HoC aliases; disable categories polling; remove required schema properties; use strings for dates client-side
2017-01-21 10:02:03 +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
79e4cf5266
make FormWrapper exportable again, routes can accept either component or componentName property
2017-01-18 15:11:31 +01:00
xavcz
c0fcc944d7
Nova's components & routes registered in a declarative way: no load order mess, better control of the flow, no changes for the end user
2017-01-18 12:51:10 +01:00
SachaG
3357bc7726
Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
...
# Conflicts:
# packages/nova-base-components/lib/users/UsersEditForm.jsx
2017-01-18 10:20:00 +09:00
SachaG
db17e917f8
Remove “__” prefix to avoid conflicts with GraphQL introspection types and simplify code
2017-01-18 10:18:33 +09:00
xavcz
a45aeb3834
currentUser log in/out: always check that we send the right token to the graphql server ; seize the opportunity to force update to latest std:accounts-ui
2017-01-17 21:53:54 +01:00
xavcz
78aed21d06
a single document can be found by a unique slug or a unique _id; prevent keepViewableFields to crash when no document found in single resolver
2017-01-17 19:46:17 +01:00
SachaG
7f2f8b1a89
add Users.keepViewableFields helper; make emails visible only to owner or admins
2017-01-16 12:32:28 +09:00
SachaG
5e3ed2b207
Move voting-related resolvers to nova:voting package
2017-01-16 12:24:59 +09:00
Sacha Greif
7e3bda4203
Change daily view loading
2017-01-16 10:27:42 +09:00
Sacha Greif
cffc032b36
refactor Vote.jsx a bit
2017-01-14 18:03:35 +09:00
xavcz
5303b4f4df
SmartForm: if 'field.value' is an array of (non-objects / object with no _id key), fallback to item itself; XxxForms: 'mutationFragment' prop where needed, remove deprecated 'queryToUpdate' prop
2017-01-13 09:21:07 +01:00
Sacha Greif
10d1e7cc22
Fragment -> mutationFragment
2017-01-13 15:48:00 +09:00
xavcz
204e70531c
add fragment prop on CategoriesEditForm ; allow to over-ride the query fragment for edit forms (same fragment option)
2017-01-12 16:53:16 +01:00
Sacha Greif
171bf9feb9
extraFragment -> fragment; deprecate Users.canEdit; add alias; use new withCurrentUser
2017-01-12 17:30:25 +09:00
Sacha Greif
f810c7166b
Wrap PostsList with withCurrentUser instead of wrapping PostsItem (move it one level up); get rid of ContextPasser and pass closeModal as props instead of context;
2017-01-10 17:49:03 +09:00