Commit graph

25 commits

Author SHA1 Message Date
Comus Leong
736cbac509 npm simpl-schema, meteor aldeed:collection2-core package 2017-03-16 01:25:50 +08:00
xavcz
79e4cf5266 make FormWrapper exportable again, routes can accept either component or componentName property 2017-01-18 15:11:31 +01:00
xavcz
c0fcc944d7 Nova's components & routes registered in a declarative way: no load order mess, better control of the flow, no changes for the end user 2017-01-18 12:51:10 +01: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
Sacha Greif
62368a0d48 NovaForm -> SmartForm 2016-12-20 09:27:16 +09:00
xavcz
2638023f4e harmonize apollo branch to be on v0.27.5 2016-12-08 23:48:16 +01: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
6fbfe4399b simplify structure of mutation HoCs, improve form component names 2016-11-26 11:17:43 +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
dfe2d2d0df give edit forms their own FormWithSingle data loader 2016-11-23 17:22:29 +09:00
xavcz
bb0d4f2076 extract withNew & withEdit HOCs from FormWithMutation component, wrap FormWrapper with them 2016-11-12 15:49:07 +01:00
Sacha Greif
7ce835b0fd apollo forms wip 2016-11-07 17:45:17 +09:00
Sacha Greif
45b1a8cc7d use elementOnly for thumbnail URL; add support for beforeComponent and afterComponent to NovaForms; handle empty URLs in getDomain; add enableNewsletterInDev setting; add more logging to newsletter cron job; make newsletter time GMT; campaign -> newsletter; add missing imports; add spanish translation to README 2016-06-28 17:33:30 +09:00
Sacha Greif
b4d0a8366f small tweaks to nova:forms 2016-06-14 16:36:05 +09:00
Sacha Greif
471f74adf7 make nova:forms accept schemas as well as collections 2016-06-13 16:05:46 +09:00
Sacha Greif
204fa1d8b7 added support for field groups; small tweaks to user edit form 2016-06-03 11:03:36 +09:00
Sacha Greif
312a7b4f9e various small tweaks 2016-04-21 15:08:43 +09:00
Sacha Greif
31959ae287 update formsy and get rid of warnings (yay!) 2016-04-20 09:23:11 +09:00
Sacha Greif
4cf74cfc27 clean up publishedFields 2016-04-05 16:27:48 +09:00
Sacha Greif
f59729bbc4 merge NewDocument and EditDocument components into single NovaForm component; use it for comment edit form as well 2016-04-04 10:21:18 +09:00
michelherszak
03bcd084a9 Commit after merge 2016-04-01 08:20:54 -06:00
Sacha Greif
aff400ec9f use ES6 classes for form components; disable form while it's submitting 2016-04-01 20:57:37 +09:00
michelherszak
8f148bbf1a EditComponent wasn't available through Telescope.components. The import from nova:forms fixed it for UserEdit.jsx 2016-03-31 13:24:19 -06:00
Sacha Greif
b23b7eea73 include forms package in repo; add cache for FR-SSR; fix modal window callback issue; fix posts.single publication and subscription bug 2016-03-30 19:08:06 +09:00