Commit graph

4408 commits

Author SHA1 Message Date
xavcz
0e100770e2 allow to query single category with its slug 2017-01-13 14:59:19 +01: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
Xavier Cazalot
7f99b48953 devel - revert commits related to simpl-schema (#1537)
* Revert "add note link to issue in collection2 on mutation insert, remove debug console logs on mutation edit"

This reverts commit 7a15103de7.

* Revert "node simpl-schema + collection2-core: fix vote by specifying the right type of the array (dont use blackbox in the end!)"

This reverts commit e894c3224c.

* Revert "add graphql date type (fix problem with node simple schema), fix an update bug on date picker,  add edit check on custom post item, add `blackbox: true` for arrays field (validation problem with simple-schema)"

This reverts commit 9d84fbec98.

* Revert "use node `simpl-schema` by aldeed to replace `meteor/aldeed:simple-schema` ; use the meteor collection2 core package as recommended"

This reverts commit 016935f4fa.

* revert before node-simple-schema, fix obj.hasOwnProperty undefined error thrown by simple-schema & collection2

* CustomPostsItem: check on renderActions; withDocument/List: pollInterval 20seconds by default; DateTime form component enhancement + GraphQLDate type
2017-01-11 18:02:12 +01:00
xavcz
ad007ac003 disable for now: manual reset/clear of the form (it's done by unmounting/mounting again without us controlling it) 2017-01-11 13:49:25 +01:00
xavcz
7a15103de7 add note link to issue in collection2 on mutation insert, remove debug console logs on mutation edit 2017-01-11 10:54:39 +01:00
xavcz
e894c3224c node simpl-schema + collection2-core: fix vote by specifying the right type of the array (dont use blackbox in the end!) 2017-01-11 10:39:52 +01:00
xavcz
c505fcbaac polling to 20s by default 2017-01-11 10:36:08 +01:00
xavcz
fe7baadc89 vote resolver: isSimulation false -> async callbacks will run 2017-01-10 11:38:42 +01:00
xavcz
9d84fbec98 add graphql date type (fix problem with node simple schema), fix an update bug on date picker, add edit check on custom post item, add blackbox: true for arrays field (validation problem with simple-schema) 2017-01-10 11:17:16 +01:00
xavcz
016935f4fa use node simpl-schema by aldeed to replace meteor/aldeed:simple-schema ; use the meteor collection2 core package as recommended 2017-01-10 10:09:24 +01:00
xavcz
871f8c65ca poll interval option on withDocument too, specific name for fragment on CustomPostsItem 2017-01-10 10:07:13 +01: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
Sacha Greif
834c33fecf simplify PostsDailyList logic a bit 2017-01-10 11:27:08 +09:00
Sacha Greif
bcda2bafef Add option to disable polling; add support for both incremental and non-incremental pagination (call loadMore or loadMoreInc) 2017-01-10 11:26:33 +09:00
Sacha Greif
b065e8c27a loading improvements 2017-01-09 22:09:09 +09:00
xavcz
31c2f22acd update graphql related packages, clean withMesages 2017-01-09 13:33:26 +01:00
Sacha Greif
130f43e3f3 Update std:accounts-ui 2017-01-09 21:14:54 +09:00
Sacha Greif
94b514675f fix daily view pagination 2017-01-09 21:14:25 +09:00
Sacha Greif
33e46fc6a9 Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel 2017-01-09 15:42:30 +09:00
Sacha Greif
fc982bc20f Make voting generic (posts, comments, etc.) WIP 2017-01-09 15:42:24 +09:00
Sacha Greif
b212163730 Merge pull request #1536 from philweber/devel
#1517 - Implement configurable excerpt lengths
2017-01-09 12:03:39 +09:00
Phil Weber
7d30a42b81 #1517 - Implement configurable excerpt lengths 2017-01-08 18:55:00 -08:00
Sacha Greif
03d272dfd4 Add movies parameters callback 2017-01-08 18:15:07 +09:00
Sacha Greif
ebf929774c sort movies list by createdAt; wrap MoviesNewForm with withMessages to fix setState bug 2017-01-08 18:14:41 +09:00
Sacha Greif
8f5891eb30 Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
# Conflicts:
#	packages/nova-categories/lib/resolvers.js
#	packages/nova-comments/lib/resolvers.js
#	packages/nova-core/lib/containers/withList.js
#	packages/nova-posts/lib/resolvers.js
#	packages/nova-users/lib/resolvers.js
2017-01-08 16:25:30 +09:00
Xavier Cazalot
3c57ba0a0a Merge pull request #1534 from dominictracey/master
fixed deployment instructions typo
2017-01-07 21:21:04 +01:00
Sacha Greif
2d627a9609 Refactor withList to use non-incremental pagination to work around polling+fetchMore incompatibility 2017-01-07 16:44:50 +09:00
xavcz
3666401364 withList: allow terms to be passed via options too, then merge it with the one passed via props ; disable events on CategoriesEditForm (todo: re-enable events client-side) 2017-01-05 17:11:38 +01:00
xavcz
6f69aff0fe make all 'collectionList' resolvers take care of collection.getParameters(terms) + add default parameters (order on categories, postId on comments) 2017-01-05 15:53:41 +01:00
xavcz
fe6e527b37 intl key on category, closeCallback passed via props: no need of ContextPasser 2017-01-05 15:13:31 +01:00
xavcz
817a81b7fc re-enable server-side method Posts.increaseClicks 2017-01-05 07:52:34 +01:00
xavcz
763baa3882 fix helpers use in nova:rss, stop using Npm.require, es6 code 2017-01-05 07:51:51 +01:00
Dominic Tracey
014f671f2a fixed deployment instructions typo 2017-01-04 13:01:40 -05:00
xavcz
2a997ed2b1 small tweak on categories edit form (intl, remove mutation) 2017-01-04 17:36:43 +01:00
xavcz
b3bcb4de87 improve Nova's redux utils (configureStore, addAction, addReducer) 2017-01-04 14:31:38 +01:00
xavcz
0d2ab862c8 SmartForm's prefilledProps effective on initialization of the form (autofilled values) and not on submit 2017-01-04 09:36:56 +01:00
Xavier Cazalot
71a4879e32 Merge pull request #1532 from comus/patch-1
addRoute function improve, not use array.concat because it will retur…
2017-01-03 16:59:20 +01:00
Comus Leong
f15906e887 addRoute function improve, not use array.concat because it will return a new array 2017-01-03 16:42:53 +08:00
Xavier Cazalot
bafccda2e7 Merge pull request #1530 from sonnygauran/devel
using nova:forms shows issues when being imported
2017-01-03 07:29:30 +01:00
xavcz
fcbfd3b3f7 update react-bootstrap (empty login dropdown bug fixed now #1463) 2017-01-03 07:27:42 +01:00
Sonny Gauran
1fb8be48b7 Fixed test and importability of nova:forms
Since package depends on Meteor 1.3, fourseven:scss 3.8.0 is used.
See compatibility on https://atmospherejs.com/fourseven/scss
2017-01-03 02:52:18 +08:00
Sonny Gauran
7fdd4f2cb8 Added test for nova:forms
When trying to import package, import fails because of outdated dependency on fourseven:scss

Test by executing `meteor test-packages nova:forms`
2017-01-03 02:52:18 +08:00
xavcz
4be5c86a58 fix #1529 2017-01-02 12:34:04 +01:00
xavcz
18bb665f78 modernize nova:voting package structure & re-enable voting/scoring operations async callbacks 2016-12-30 10:31:34 +01:00
xavcz
746da29d72 semver bump: 1.0.0 🚀 2016-12-27 11:58:58 +01: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
Xavier Cazalot
ab0642d9fa Merge pull request #1528 from dominictracey/devel
Allow redux middleware extensions
2016-12-26 17:23:31 +01:00