Commit graph

183 commits

Author SHA1 Message Date
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
SachaG
71e9f1336e React-router-scroll package 2017-01-18 22:28:46 +09: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
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
31c2f22acd update graphql related packages, clean withMesages 2017-01-09 13:33:26 +01: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
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
763baa3882 fix helpers use in nova:rss, stop using Npm.require, es6 code 2017-01-05 07:51:51 +01:00
xavcz
fcbfd3b3f7 update react-bootstrap (empty login dropdown bug fixed now #1463) 2017-01-03 07:27:42 +01:00
xavcz
746da29d72 semver bump: 1.0.0 🚀 2016-12-27 11:58:58 +01:00
xavcz
45e032d7b9 update npm react deps, clean some dead code/packages, use query deduplication sent to the server (apollo-client 0.5.24) 2016-12-23 12:01:16 +01:00
xavcz
1558531c84 update grapqhl-tools to be able to ask for terms as JSON type, propTypes on UsersMenu 2016-12-20 15:19:13 +01: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
83f72c9646 when a document is edited, test if it still belongs to a list or not 2016-12-14 22:35:02 +09:00
Sacha Greif
292a5e5566 various fixes: upgrade react-apollo; handle array fields in forms; fix "daily" view 2016-12-12 09:55:24 +09:00
xavcz
2638023f4e harmonize apollo branch to be on v0.27.5 2016-12-08 23:48:16 +01:00
xavcz
311948fb9b grab cookies directly in graphql server (step forward to simpler ssr) 2016-12-07 10:19:55 +01:00
xavcz
94edfc01ec small tweaks on loadMore buttons, update graphql-tools (JSON scalar fix), fix remove callback on comments 2016-12-06 09:45:36 +01:00
xavcz
41d19f52aa v0.27.5 2016-11-30 12:07:45 +01:00
Sacha Greif
612e817a3f update apollo packages; use new fragments syntax (see https://github.com/apollostack/graphql-fragments#migrating); create new MoviesDetails, MoviesEditForm, MoviesItem components; simplify withEdit and withNew containers; create new withSingle container 2016-11-22 16:15:00 +09:00
Sacha Greif
eafac17683 use generic withList container for movies demo 2016-11-19 18:01:05 +09:00
xavcz
71e0a00e34 update apollo-related packages + add graphql-type-json & graphql-subscriptions 2016-11-17 10:21:49 +01:00
Comus Leong
747b93896f npm run lint support for jsx files 2016-11-17 13:53:11 +08:00
xavcz
f5ef406bf7 got something ~working with a hacks on reactrouter:react-router-ssr 2016-11-16 16:17:12 +01: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
28cf7a20c7 Update to Meteor 1.4.2.1, add npm babel-runtime, remove some Meteor packages constraints versions 2016-11-15 09:55:05 +01:00
xavcz
4ae1c01eec complete eslint devDeps and fix lint errors 2016-11-15 09:02:30 +01:00
xavcz
bb0d4f2076 extract withNew & withEdit HOCs from FormWithMutation component, wrap FormWrapper with them 2016-11-12 15:49:07 +01:00
xavcz
400b4d8c72 load categories with their own container (with loading handled in the presentational component); handle login / logout / register with fixed client.resetStore (apollo 0.5.1) 2016-11-10 10:54:43 +01:00
Sacha Greif
7e344476a4 update to Meteor 1.4.2.1 2016-11-10 17:27:06 +09:00
xavcz
d382c995d0 specify explicit dependencies (npm & meteor packages) 2016-11-04 08:40:21 +01:00
Sacha Greif
ae94226990 use updateQueries to update the main post list after new post 2016-11-04 10:53:06 +09:00
xavcz
5d34f695e5 ApolloProvider wraps the route (and not the opposite), however store is not rehydrated -> loading state is server-side rendered :-/ 2016-11-01 11:45:44 +01:00
xavcz
6eddc86c6e decouple ourselves from the apollo's meteor integration to handle it our way atm (ssr, query batching, latest updates) 2016-10-28 18:09:41 +02:00
Sacha Greif
aa45d77105 update to Meteor 1.4.2; update packages 2016-10-26 14:46:30 +09:00
xavcz
e15093824a sketchy example on single post 2016-10-19 11:07:21 +02:00
xavcz
81ab2f45cd apollo data transport connected to client / mongo / server 2016-10-19 10:55:19 +02:00
xavcz
e88ecae84d npm + meteor dependencies 2016-10-19 10:17:04 +02:00
Michael Scott Hertzberg
8db19a1c6c add eslint with basic plugins and configuration. fixes #1470 2016-10-15 14:00:30 -04:00
xavcz
eb98fb0199 force react-bootstrap@0.30.3 - newer versions break the dropdown atm 2016-10-05 17:26:08 +02:00
xavcz
02e434cea2 fix #1447, remove unnecessary load-script dependency 2016-09-22 07:39:55 +02:00
xavcz
b06fb2f843 explicitly depends on latest versions of react and react-router 2016-09-21 12:51:55 +02:00
xavcz
5e13edc480 pure render mixin add-on is needed to run react-meteor-data 😅 2016-09-09 15:05:21 +02:00
xavcz
cbd9141e78 update react (15.3.1) and associated packages, fix warnings "unknown prop" 2016-09-07 14:35:49 +02:00
Sacha Greif
e788998bec Upgrade to Meteor 1.4.1.1 2016-08-29 08:53:20 +09:00
Sacha Greif
c0f0f4b293 update formsy and formsy-react-components 2016-08-10 10:32:36 +09:00
Sacha Greif
c33983eaae groups -> formGroups 2016-07-19 15:13:16 +09:00