Commit graph

5539 commits

Author SHA1 Message Date
SachaG
9d5963da12 Lodash's merge mutates its first argument 2018-03-26 16:24:01 +09:00
SachaG
667f43bd5b Fix a few issues 2018-03-26 14:49:05 +09:00
SachaG
5bfa885de5 More refactoring 2018-03-26 14:27:45 +09:00
SachaG
d1a674d36e Convert SimpleSchema schema to JSON object before using it in Form.jsx 2018-03-26 11:51:08 +09:00
SachaG
754bb14889 Values are now fetched from FormComponent through context instead of being passed as props 2018-03-25 12:13:30 +09:00
SachaG
1d7cef5556 Work on form errors & validation 2018-03-25 10:54:45 +09:00
SachaG
8d686ae9e1 Formatting and re-organizing 2018-03-24 11:33:28 +09:00
SachaG
dcf1252f2f Use arrow functions and get rid of bindings 2018-03-24 11:21:39 +09:00
SachaG
4c99bc2a6d Use lodash set/unset 2018-03-24 11:16:11 +09:00
SachaG
a7bd9fd92a Handle form submission with new getData() method 2018-03-23 15:46:31 +09:00
SachaG
6f6eefae26 Use dot-object and deepmerge to let forms handle multiple nesting levels 2018-03-23 08:51:24 +09:00
SachaG
268090dcb2 Working on nested forms support 2018-03-22 19:22:54 +09:00
SachaG
f7da9108f7 Use getFormType(); make user.services object viewable to owner only; clean up Datatable props 2018-03-22 16:54:50 +09:00
SachaG
d2d66a211b Debounce on timeout's leading edge to always include form field value 2018-03-22 16:53:52 +09:00
SachaG
7061483af8 Improve Datatable new/edit buttons; simplify FormWrapper loading check 2018-03-20 14:56:09 +09:00
SachaG
18478041db add editUrl to users schema 2018-03-20 12:48:29 +09:00
SachaG
020bea31df Pass newDocument to edit callbacks 2018-03-19 14:58:31 +09:00
SachaG
6135910ca1 Fix #1933 2018-03-19 14:58:09 +09:00
SachaG
987d537b15 autogenerate type when possible 2018-03-19 14:57:44 +09:00
SachaG
d102044ef4 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-03-19 11:59:49 +09:00
SachaG
e7b0110e5f Replace FormComponent onBlur handler by debounced onChange; add date component 2018-03-19 11:59:30 +09:00
Sacha Greif
ca1f32e59b
Merge pull request #1928 from ochicf/update/mingo
Update mingo to 2.2.0
2018-03-14 21:44:55 +09:00
ochicf
041eb4254d Mingo.Query is a class now, instantiate it with new 2018-03-14 12:20:30 +01:00
ochicf
e19f7199be update mingo version 2018-03-14 12:19:48 +01:00
Sacha Greif
c77224858d
Merge pull request #1925 from ochicf/fix/server-only-sanitize-html-import
Remove sanitizeHtml import on client
2018-03-10 21:14:16 +09:00
ochicf
9690aaaefa reexport utils on server 2018-03-10 11:09:35 +01:00
ochicf
54b3b1d0b4 overwrite Utils.sanitize() on server by using sanitizeHtml module 2018-03-10 11:09:17 +01:00
ochicf
d16e865f0d remove sanitizeHtml import from modules/utils 2018-03-10 11:08:57 +01:00
SachaG
593330370c Make 'hidden' take a function as well as a boolean 2018-03-08 11:30:45 +09:00
SachaG
08016947db Split select form component into select and selectmultiple; Make "--select option--" the default selection for select form components 2018-03-08 11:28:29 +09:00
SachaG
ce6d6669c8 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-03-08 10:48:45 +09:00
SachaG
5534ab7430 Add amount property to charges schema; add addSubscriptionProduct; various other fixes 2018-03-08 10:48:35 +09:00
Sacha Greif
6467d9d3b0
Merge pull request #1923 from Apollinaire/componentsDashboard
vulcan:debug : Components Dashboard now shows all hocs
2018-03-06 21:08:19 +09:00
Apollinaire
936f98d359 Components Dashboard now shows all hocs
Previously, the hocs registered with options (ex: registerComponent('Foo', FooComponent, [withBar,barOptions])   ) were not shown in the dashboard from the debug package.
2018-03-06 12:32:51 +01:00
SachaG
926f155655 v1.8.11 2018-03-05 09:54:26 +09:00
SachaG
19c377e524 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-03-05 09:52:43 +09:00
SachaG
1ba69b1065 Fix sign up bug 2018-03-05 09:52:34 +09:00
Eric Burel
bf9ebaf57c
Allow guests to create document as a default
Hi, using when using the default mutations, you can't allow a guest user to create a document, even if you allowed it for `guests` when setting up permissions. This is because a undefined `user` will always trigger a `false` during the "new" check.

I think it is safe to remove this, because anyway you have to manually tell who can create document (or so I think, maybe I'm  wrong?) so you can't allow guests to create documents by mistake.
2018-03-03 23:11:33 +01:00
SachaG
63c2ff7048 Fix linting 2018-03-03 15:21:59 +09:00
SachaG
e650ce11cb Merge branch 'master' of https://github.com/VulcanJS/Vulcan 2018-03-03 15:12:44 +09:00
SachaG
d3fdb3ae38 v1.8.10 2018-03-03 15:12:16 +09:00
SachaG
150d28d9bb Unused getCollection 2018-03-03 15:10:40 +09:00
SachaG
20185cfda3 Move isAdmin init code to callback, fix #1917 2018-03-03 15:04:33 +09:00
SachaG
e63c412198 Don't try to reorder items on vote (fix https://github.com/VulcanJS/Vulcan-Starter/issues/34) 2018-03-03 12:04:41 +09:00
SachaG
861e65e641 Refactor connectors code to avoid repeating getSetting 2018-03-03 11:39:56 +09:00
SachaG
85c3ed8d8e Add customAmount prop to checkout component 2018-03-03 11:21:55 +09:00
SachaG
d4910cf2c5 Add clear to time control 2018-03-03 11:09:58 +09:00
SachaG
f3a8198f95 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-03-03 10:34:49 +09:00
SachaG
39f31a041a add missing await (fix https://github.com/VulcanJS/Vulcan-Starter/issues/24); get rid of extra db call 2018-03-03 10:34:39 +09:00
Sacha Greif
c8febe859d
Merge pull request #1918 from codedeep/patch-3
Update es_ES.js
2018-03-01 11:37:28 +09:00