Comus Leong
1a7cc3c7db
Actions/Reducers/Middleware convert to getActions()/getReducers()/getMiddleware()
2017-01-26 12:41:02 +08:00
SachaG
3ab60533f2
some more vote clean-up
2017-01-26 13:09:27 +09:00
SachaG
99160a1831
Remove MongoDB logic in vote.js; split out db update into mutateItem
2017-01-26 11:14:39 +09:00
SachaG
ac5ab92143
Various clean up; use function syntax for callback functions
2017-01-25 13:58:41 +09:00
SachaG
1c42031fe5
Re-enable nested categories
2017-01-25 13:58:02 +09:00
xavcz
36ca34a267
fix upvote.async callback issue on collection.new mutation
...
* add collection as the last parameter of a collection.async cb,
* when inserting a new document, run upvote.async cb once the document has been inserted (collection.new.async)
* remove pre-meteor 1.3 '/server' folder, put everything in the root (initiated by grouping callbacks in the same file for less confusion)
2017-01-24 11:58:57 +01:00
xavcz
937fc718cc
update summary js-doc, fix typo
2017-01-23 17:39:46 +01:00
xavcz
1e2d43662d
form api, embedly url, fix posts autovalues
...
- Form API: updateCurrentValue(fieldName, fieldValue) => updateCurrentValues(newValues: {[fieldName]: fieldValue}) to update one or more fields at once;
- changes on EmbedlyURL: use of currentValues instead of autofilledValues, fix the use of 'media' field on new & edit (assigned server-side in async callback)
- fix Posts schema's autoValue logic: moved to callbacks (it worked on new docs but not triggered on edits)
2017-01-23 15:50:55 +01:00
SachaG
9193de08e3
Merge branch 'devel'
...
# Conflicts:
# README.md
# packages/nova-voting/lib/callbacks.js
# packages/nova-voting/lib/client.js
# packages/nova-voting/lib/modules.js
# packages/nova-voting/lib/server.js
# packages/nova-voting/package.js
2017-01-23 11:08:38 +09:00
SachaG
7c6e07ab6d
disable demo packages by default
2017-01-23 11:07:53 +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
957fe56df9
clean up before merge back to master
2017-01-23 11:00:44 +09:00
SachaG
4661ec9583
Wrap PostsPage with currentUser
2017-01-23 10:30:58 +09:00
SachaG
844d678888
returnPartialData option breaks SSR
2017-01-22 10:32:23 +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
1b9f1b13ce
Make custom fields extendable, not just replaceable
2017-01-21 16:56:54 +09:00
SachaG
bde420c46b
add optics support (Apollo stats)
2017-01-21 10:28:19 +09:00
SachaG
565d02cd79
Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
2017-01-21 10:02:11 +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
c3f0245c49
simple-schema Object type are queried as JSON in graphql
2017-01-20 10:44:15 +01:00
SachaG
53cd7f29b8
small newsletter tweaks
2017-01-20 14:12:59 +09:00
SachaG
04182efe22
Make mutation hoc accept mutations without arguments
2017-01-20 14:08:45 +09:00
SachaG
c6a1bf3617
pollInterval is NOT a variable!
2017-01-20 10:30:15 +09:00
xavcz
0d316ae89c
make routes replaceable if a new route is added with the same path
2017-01-19 14:57:56 +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
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
xavcz
c3bff57cab
customization-demo: import order + comments
2017-01-19 08:32:33 +01:00
SachaG
3861cb8b53
Fix component export
2017-01-19 11:19:36 +09:00
xavcz
79e4cf5266
make FormWrapper exportable again, routes can accept either component or componentName property
2017-01-18 15:11:31 +01:00
SachaG
c2f1348336
Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
2017-01-18 22:28:54 +09:00
SachaG
71e9f1336e
React-router-scroll package
2017-01-18 22:28:46 +09: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
xavcz
8bd0404343
missing dependency
2017-01-18 09:16:42 +01:00
SachaG
efb34c76e0
Add react-router-scroll
2017-01-18 15:09:21 +09: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
b1d0cd8e69
call upvoting callback on post insert in sync way
2017-01-18 10:19:23 +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
912f3848d1
move scalar declaration to global schema declaration
2017-01-16 12:22:17 +09:00
Sacha Greif
7e3bda4203
Change daily view loading
2017-01-16 10:27:42 +09:00
Sacha Greif
2130bf5efe
Add missing Utils
2017-01-15 22:06:50 +09:00
Sacha Greif
014ba87367
Make graphql type conversion logic more explicit again
2017-01-14 18:04:53 +09:00
Sacha Greif
cffc032b36
refactor Vote.jsx a bit
2017-01-14 18:03:35 +09:00
Sacha Greif
e9bc54426f
Call Utils.convertDates when loading and sorting data to convert any date field stored as a string into an actual date object
2017-01-14 17:57:44 +09:00
Sacha Greif
2707b8348d
Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
2017-01-14 08:29:55 +09:00
Sacha Greif
7de9912c92
add container aliases
2017-01-14 08:29:51 +09:00
xavcz
99548ca918
fix list filtering: de-couple pagination terms & props terms in withList; re-enable form cleaning: performed only if the form has not been unmounted; remove annoying eslint warnings
2017-01-13 18:17:08 +01:00