Commit graph

4334 commits

Author SHA1 Message Date
xavcz
084188de3c update meteor, add patched react-router-ssr (npm check) 2016-11-30 11:34:10 +01:00
xavcz
4b4d40f6b3 fix updateQueries: queryName for every hoc => queryToUpdate on withNew/Remove ≠ queryName on withSingle; fix removeSuccessCallback redirect; telescope object on user = blackbox 2016-11-30 10:31:19 +01:00
Sacha Greif
b16c7ce0be put withCurrentUser back in nova:core after all… 2016-11-30 16:58:28 +09:00
Sacha Greif
0c2b9da97c working on post schema and resolvers check 2016-11-30 16:55:34 +09:00
Sacha Greif
868194de59 id -> documentId in single document resolver; various fixes 2016-11-30 16:54:58 +09:00
Sacha Greif
d5be97b56c split out withCurrentUser and loadCurrentUser for now 2016-11-30 10:50:04 +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
xavcz
ddd71eebd1 withCurrentUser belongs to nova:users 2016-11-29 14:08:24 +01:00
Sacha Greif
404dd6214c work on withCurrentUser 2016-11-29 12:35:00 +01:00
xavcz
7b4e64e97f voting: missing imports, patch on vote helpers in component (uncomment for debug) 2016-11-29 12:27:26 +01:00
Sacha Greif
002599e51e add preload:true option to Users schema 2016-11-29 18:54:12 +09:00
Sacha Greif
00fcc01c0d clean up imports/exports and other small things 2016-11-29 18:53:31 +09:00
Sacha Greif
9467837d1f move Users.hasUpvoted to nova:voting 2016-11-29 18:52:13 +09: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
Sacha Greif
384cc3ccc2 small fixes 2016-11-27 08:39:25 +09:00
Sacha Greif
6d376a5f1c remove dependency on Events 2016-11-26 11:51:52 +09:00
Sacha Greif
fc8837ff51 more cleaning up and reorganizing packages 2016-11-26 11:33:27 +09:00
Sacha Greif
6fbfe4399b simplify structure of mutation HoCs, improve form component names 2016-11-26 11:17:43 +09:00
Sacha Greif
fa581a85c3 lots of cleaning up 2016-11-26 11:17:01 +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
e57ac73a50 clean up console.log 2016-11-25 12:24:21 +09:00
Sacha Greif
043f7df114 use refetch() instead of updateQueries for now 2016-11-25 12:22:13 +09:00
Sacha Greif
4b70802c00 clean up 2016-11-25 11:46:31 +09:00
Sacha Greif
d2948e487a prevent rerenderings to prevent FormWithMutations from unmounting 2016-11-25 11:15:46 +09:00
Sacha Greif
698141e6fa clean up and comment withNew 2016-11-25 10:58:32 +09:00
Xavier Cazalot
99c8d6ef34 Merge pull request #1513 from bengott/newsletter-subcription-fixes
Newsletter subcription fixes
2016-11-24 11:33:57 -05:00
Ben Gott
e714aab27b replace hardcoded flash message with i18n 2016-11-24 08:27:12 -06:00
Ben Gott
6e9ef47aa5 remove 'Newsletter' label on NewsletterSubscribe component
to be consistent with neighboring components
2016-11-24 05:56:02 -06:00
Ben Gott
fc5f31b224 move field schemas from user schema to newsletter custom fields
per @xavcz’s suggestion, because the nova:users package doesn’t need to
know about these newsletter-specific fields
2016-11-24 05:54:02 -06:00
Sacha Greif
b0bd39f657 cleaning up fragments and debugging 2016-11-24 16:58:08 +09: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
Sacha Greif
e09022b350 add fragments inside components 2016-11-23 11:07:48 +09:00
Sacha Greif
65e74e6e5d Merge branch 'apollo' of https://github.com/TelescopeJS/Telescope into apollo 2016-11-23 08:42:18 +09:00
Sacha Greif
dd13571291 cleaning up 2016-11-23 08:41:50 +09:00
xavcz
22dd58114b get rid of nova:base-containers, move graphql vote-related code to nova:voting, undo mistake on some user fields 2016-11-22 18:39:50 -05:00
xavcz
1137fb96aa adapt the Telescope.createCollection api to all the collections, some clean up in old containers files 2016-11-22 18:14:51 -05:00
Sacha Greif
9e8fd36a75 more work on withNew, withEdit, withRemove 2016-11-22 21:12:14 +09:00
Sacha Greif
6321db3712 clean up 2016-11-22 16:46:32 +09:00
Sacha Greif
cb1b65fd32 remove withList wrapper from posts/comments/categories for now 2016-11-22 16:15:26 +09: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
d08c902799 so much elegant! such DRY! 2016-11-21 19:25:37 +09:00
Sacha Greif
f445239763 clean up Movies collection declaration; implement new check system for mutations, tie everything together 2016-11-21 19:23:43 +09:00
Sacha Greif
bfdc921523 add Telescope.createCollection and use it in Movies package to centralize everything; also create withList2 2016-11-21 16:18:08 +09:00
xavcz
afcb8f12c5 provide a nicer way to define options/config of a withList hoc (maybe re-inventing the wheel there), remove outdated CollectionContainers components 2016-11-20 02:25:16 +01:00
xavcz
6c14712a74 work on withList and queries generation 2016-11-19 20:01:17 +01:00
xavcz
4ac4c4cd06 centralize withList, withNew, withEdit, withRemove HOCs to nova:core 2016-11-19 11:20:18 +01:00