Commit graph

161 commits

Author SHA1 Message Date
xavcz
439478dddc resolvers: put a default "max limit" for users & comments as similar as posts 2017-02-17 19:02:33 +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
f6f057041b Telescope.statuses -> Posts.statuses; 2017-02-16 10:14:25 +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
0f4343573c chore: remove legacy properties 'publish' & 'join' 2017-02-16 08:39:42 +01: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
ac5ab92143 Various clean up; use function syntax for callback functions 2017-01-25 13:58:41 +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
db17e917f8 Remove “__” prefix to avoid conflicts with GraphQL introspection types and simplify code 2017-01-18 10:18:33 +09:00
SachaG
5e3ed2b207 Move voting-related resolvers to nova:voting package 2017-01-16 12:24:59 +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
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
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
746da29d72 semver bump: 1.0.0 🚀 2016-12-27 11:58:58 +01:00
xavcz
b04fabb449 more clean-up 2016-12-23 20:58:10 +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
Sacha Greif
e6324788dc rollback version change for now to fix issue on run 2016-12-20 10:55:11 +09:00
Sacha Greif
fa7987d67a v0.3.0 2016-12-20 09:50:14 +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
381cdc7cff Telescope.headtags -> Headtags; Telescope.actions -> Actions; Telescope.reducers -> Reducers; Telescope.operateOnItem -> operateOnItem; TODO: fix withMessages 2016-12-12 16:43: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
1c058b60c6 clean-up 2016-12-09 09:11:20 +01:00
xavcz
2638023f4e harmonize apollo branch to be on v0.27.5 2016-12-08 23:48:16 +01:00
xavcz
4e6e312469 permission API: [editable/insertable/viewable](If) -> (By) ; anonymous -> guests ; default -> members 2016-12-06 10:55:47 +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
Sacha Greif
ac713264a3 move optimistic UI logic to withList using reducers option instead of inside individual mutations; add extraFragment option to form wrapper and handle query and mutation fragments differently; give remove mutation a return value; pass Terms in listTotal resolver 2016-12-05 09:29:49 +09:00
xavcz
2e72185a2c wip on comments 2016-12-02 13:43:26 +01:00
xavcz
e61e009196 profile.isDummy -> isDummy; don't try to send email on dummy comments 2016-12-02 09:19:41 +01:00
Sacha Greif
212cdf48c2 Telescope.components.CanDo -> ShowIf 2016-12-01 16:09:54 +09:00
Sacha Greif
56c04baf3b use new group-based syntax for permissions; various tweaks 2016-12-01 15:29:07 +09:00
xavcz
41d19f52aa v0.27.5 2016-11-30 12:07:45 +01:00
Sacha Greif
868194de59 id -> documentId in single document resolver; various fixes 2016-11-30 16:54:58 +09:00
Sacha Greif
25f685c06c fix user helpers; add Users.canViewField helper 2016-11-30 10:21:25 +09:00
xavcz
b4896ae521 work on comments remove callback 2016-11-29 19:33:13 +01:00
Sacha Greif
cbcfc1bcaf clean up i18n files 2016-11-29 11:39:35 +09:00
Sacha Greif
d0c72c98f1 clean up packages names 2016-11-29 11:35:20 +09:00
Sacha Greif
a6836a5db8 move App and Layout components to core; insertableIf, editableIf, and viewableIf also accept group names; clean up 2016-11-27 19:12:54 +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
Sacha Greif
395a5926be make movies package work independently; nova:base-routes -> nova:routing 2016-11-24 15:47:51 +09:00
Sacha Greif
dfe2d2d0df give edit forms their own FormWithSingle data loader 2016-11-23 17:22:29 +09:00