Commit graph

2021 commits

Author SHA1 Message Date
xavcz
e78cbe523f telescope's graphql mutations extensible as schema and queries, re-enable context.actions.call with Meteor for now 2016-10-31 16:19:37 +01:00
xavcz
fa4f0bfcf3 add viewableIf to non-array fields of Users (array fields cause trouble with mongo $ projection) 2016-10-30 18:25:51 +01:00
Sacha Greif
0b2af51c89 split graphQL schemas in their respective packages 2016-10-29 16:37:33 +09:00
Sacha Greif
753eafc217 finish filtering resolvers 2016-10-29 16:17:14 +09:00
Sacha Greif
005d912222 filter fields in all resolvers 2016-10-29 16:02:43 +09:00
Sacha Greif
aa33585d2e Merge branch 'apollo' of https://github.com/TelescopeJS/Telescope into apollo 2016-10-29 14:21:40 +09:00
Sacha Greif
230018c066 clean up 2016-10-29 14:18:16 +09:00
Sacha Greif
7533d67296 add viewableIf property to schemas to define which fields are viewable by which users; use it in resolver 2016-10-29 14:17:57 +09: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
xavcz
00b66a0988 get rid of this disallowed insert error client-side 2016-10-28 17:54:57 +02:00
xavcz
3c9c9673a3 add currentUser to schema/resolvers and give it to the AppContainer; re-enable canView/canEdit on CanDo comp (got broken at first migration to apollo); give back the document to custom FormComponent (used for example in the NewsletterButton in the account page) 2016-10-28 13:56:07 +02:00
Sacha Greif
f9ef536280 clean up ListContainer and DocumentContainer 2016-10-28 16:24:23 +09:00
Sacha Greif
7b3b37adc2 make user resolver take either id or slug; add UsersSingleContainer and use it for UsersAccount and UsersProfile 2016-10-28 16:22:07 +09:00
Sacha Greif
e160aca568 create AppContainer to load categories; remove settings package; todo: load current user with AppContainer 2016-10-28 15:45:43 +09:00
xavcz
4f31a06d41 re-enable search: add search query to Terms schema 2016-10-27 16:48:18 +02:00
Sacha Greif
67a761569d port PostsEditForm to Apollo container; PostsPageContainer -> PostsSingleContainer 2016-10-27 16:06:42 +09:00
Sacha Greif
2c8fca39b1 use PostsListContainer for PostsDay view (create new container for all days later?) 2016-10-27 15:36:11 +09:00
Sacha Greif
c203e303d2 create new PostsPageContainer 2016-10-27 15:29:15 +09:00
Sacha Greif
c9c8e3c3d1 extract Apollo logic into PostsListContainer 2016-10-27 15:15:22 +09:00
xavcz
ce3d33b0f0 work on loadMore (fetchMore -> updateQuery) on PostsHome: extends Terms schema input with cat, add postsViewTotal (cursor count) schema/resolver 2016-10-26 12:47:41 +02:00
Sacha Greif
879a9e4c55 working on UsersProfile container 2016-10-26 18:03:26 +09:00
Sacha Greif
3af91b00ee use terms argument instead of view (since view is contained inside terms anyway); add userIP etc. properties to post 2016-10-26 17:59:31 +09:00
Sacha Greif
5bb36193e0 Merge branch 'apollo' of https://github.com/TelescopeJS/Telescope into apollo 2016-10-26 16:39:54 +09:00
xavcz
a27dfdab1c Meteor 1.4.2 + latest updates 2016-10-26 09:14:05 +02:00
Sacha Greif
bbfb857c23 make document prop available to all form components (but don't pass it down to standard input controls to avoid error) 2016-10-26 15:20:32 +09:00
Sacha Greif
858c2b78c4 Merge branch 'apollo' of https://github.com/TelescopeJS/Telescope into apollo 2016-10-26 14:46:39 +09:00
Sacha Greif
03fd4c19d6 clean up 2016-10-26 14:46:36 +09:00
xavcz
ab99894207 adding 20sec pollInterval + refetchQuery props when voting / submitting a comment 2016-10-25 15:48:54 +02:00
xavcz
3bcecf5fc2 add variables to posts(view, offset, limit) graphql query -> linked to PostsHome 2016-10-25 13:13:25 +02:00
Sacha Greif
2a714894a5 use Apollo for PostsHome 2016-10-25 16:24:03 +09:00
xavcz
26f5e73119 more work on single post 2016-10-19 17:38:21 +02: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
f6bbbd14ca redux basic setup (to be improved) - test case on FlashMessages, used in PostNewForm 2016-10-19 10:32:24 +02:00
xavcz
e88ecae84d npm + meteor dependencies 2016-10-19 10:17:04 +02:00
xavcz
042cb4ff86 v0.27.3 2016-10-19 09:54:15 +02:00
Xavier Cazalot
3ed95e78a5 Merge pull request #1469 from chptung/patch-3
Updated _posts.scss
2016-10-17 12:31:48 +02:00
xavcz
21086fe18b UsersMenu: user: props -> currentUser: context 2016-10-17 12:26:56 +02:00
xavcz
01429c9f5b backward compatibility for the autoform field on schema definition 2016-10-14 11:55:47 +02:00
xavcz
67d4ff5fc8 updates from devel: Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into cleaning-oldies 2016-10-14 11:25:59 +02:00
xavcz
e0d9775c87 fix conflict with shortcut update from devel 2016-10-14 11:23:12 +02:00
xavcz
b04cb52470 currentUser is now only given via context, update README about it, add a missing import 2016-10-14 08:47:18 +02:00
huli
325abdc850 Add shortcut to submit form, close #1471 2016-10-13 21:57:19 +08:00
chptung
779179754c Updated _posts.scss
Added `flex-wrap: wrap;` to posts-categories for better styling if a user creates a post with too many categories.
2016-10-11 09:08:19 -07:00
chptung
7678d83dd5 Update subscriberIdsToNotify to send unique emails
Added .uniq() for subscribersIdsToNotify in the Categories section to prevent a user from receiving multiple emails if he/she is subscribed to multiple categories.
2016-10-07 08:14:58 -07:00
xavcz
6a4c9c1f57 consistency on users callbacks (users.new, users.profileCompleted), remove dead code (~copy of users.edit method) not used anymore: what it did is now handled thanks to callbacks 2016-10-07 10:50:21 +02:00
xavcz
09eaf71f38 prevent bug on categories new/edit with custom fields (load order with extended schema problem) 2016-10-06 12:16:59 +02:00
xavcz
137348148f fix errors on logging out from UsersProfileCheck 2016-10-05 11:35:06 +02:00
xavcz
8bf496f7e5 fix errors on nova:forms
-> NovaForm: don't call callbacks of unmounted component (ex: ModalTrigger)
-> FormComponent - call updateCurrentValue only if the component is rendered
2016-10-05 11:19:20 +02:00
xavcz
7775838980 change old reference to AutoForm (legacy): field schema "autoform" -> "form" 2016-10-05 08:43:13 +02:00