Comus Leong
2ab3fd3c66
change nova-lib folder structure
2017-02-06 21:47:27 +08:00
SachaG
33446172a6
Pass Apollo client object to parameters callback to fix #1546
2017-01-29 09:51:38 +09:00
SachaG
1b9f1b13ce
Make custom fields extendable, not just replaceable
2017-01-21 16:56:54 +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
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
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
62368a0d48
NovaForm -> SmartForm
2016-12-20 09:27:16 +09: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
1bf4933ebb
clean up Telescope imports
2016-12-13 11:32:23 +09:00
Sacha Greif
5816b175f0
some more clean up
2016-12-12 16:48:49 +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
2638023f4e
harmonize apollo branch to be on v0.27.5
2016-12-08 23:48:16 +01:00
Sacha Greif
ce103c568c
make withSingle accept slug parameter; no need for variables in withMutation anymore; port newsletter methods to Apollo
2016-12-07 15:30:40 +09:00
xavcz
4e6e312469
permission API: [editable/insertable/viewable](If) -> (By) ; anonymous -> guests ; default -> members
2016-12-06 10:55:47 +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
Sacha Greif
868194de59
id -> documentId in single document resolver; various fixes
2016-11-30 16:54:58 +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
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
e09022b350
add fragments inside components
2016-11-23 11:07:48 +09: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
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
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
Sacha Greif
5df3377418
clean up published_fields files; clean up unnecessary packages; more work on callbacks
2016-11-15 15:59:34 +09:00
Sacha Greif
bee5eaf373
generate graphQL schemas for posts, comments, and categories from simpleSchema
2016-11-08 14:56:39 +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
Sacha Greif
3ec90a04b5
remove Telescope global
2016-08-08 11:18:21 +09:00
Sacha Greif
36a81acf8c
improve handling of private settings
2016-04-21 15:09:03 +09:00
Sacha Greif
104cad9b15
adding @summary for jsdocs compatibility
2016-04-09 09:41:20 +09:00
Sacha Greif
b89f1693a7
adding jsdoc
2016-04-08 11:40:23 +09:00
Sacha Greif
40e0cd67c7
added cheatsheet at /cheatsheet
2016-03-19 10:15:36 +09:00
Sacha Greif
14b5af4b41
using smart publications and smart methods
2016-02-28 13:12:36 +09:00
Sacha Greif
ecea1e6a74
refactor code to use smart-publications package
2016-02-27 16:41:50 +09:00
Sacha Greif
0ea6775d3a
implement "autoform"
2016-02-25 17:44:43 +09:00
Sacha Greif
e3d7454b82
find -> selector; removed some logic from listContainer
2016-02-17 19:39:43 +09:00
Sacha Greif
7daabf9e42
renaming
2016-02-17 14:27:27 +09:00