ochicf
|
affd4d61f1
|
remove added props to remove complexity
this commit undoes some changes introduced in this PR that added more complexity than usefulness
|
2018-06-29 20:03:54 +02:00 |
|
ochicf
|
7d4a1685d4
|
add missing import
|
2018-06-29 13:22:46 +02:00 |
|
ochicf
|
f7b949b86c
|
use getDeletedValues to apply DRY
|
2018-06-29 13:22:21 +02:00 |
|
ochicf
|
198d7f6e5d
|
refactor mergeValue
- takes into account deletedValues
- only will merge simple objects. this prevents merging with different prototype such as `File`
|
2018-06-29 13:06:52 +02:00 |
|
ochicf
|
2e2c480b34
|
add getDeletedValues and getNestedDeletedValues functions
|
2018-06-29 13:04:35 +02:00 |
|
ochicf
|
59965f9614
|
fix: properly retrieve parent path when current path is of an array elem
Example: for path `fieldArray[0]`, parent path was `fieldArray[0`, now is `fieldArray`.
|
2018-06-29 13:01:56 +02:00 |
|
ochicf
|
ea01b8ef10
|
add path utils module
|
2018-06-29 12:58:59 +02:00 |
|
ochicf
|
6f437f0284
|
remove shouldMergeValue function
|
2018-06-29 12:57:11 +02:00 |
|
ochicf
|
3f6a3f6731
|
return undefined to indiciate that the merge has not happened
|
2018-06-29 12:55:55 +02:00 |
|
ochicf
|
057896f0df
|
remove shouldMergeValue prop
|
2018-06-29 12:55:03 +02:00 |
|
ochicf
|
939f2d7ca5
|
Merge branch 'devel' into field-value-merge
|
2018-06-28 12:34:31 +02:00 |
|
ochicf
|
d3f24f43cd
|
use shouldMergeValue and mergeValue & allow them to be injected as props
|
2018-06-28 12:32:32 +02:00 |
|
ochicf
|
84ea1bd84e
|
add shouldMergeValue and mergeValue functions
|
2018-06-28 12:31:35 +02:00 |
|
ochicf
|
c821610d46
|
allow injection of emptyValue and defaultValue
both default to '' so they behave the same way as they did
|
2018-06-28 12:30:56 +02:00 |
|
ochicf
|
8025590020
|
allow injection of isEmptyValue as prop, default to FormUtils' one
|
2018-06-28 12:20:45 +02:00 |
|
SachaG
|
4f80444743
|
Better debug logging
|
2018-06-25 08:41:44 +02:00 |
|
SachaG
|
f9d759b2a0
|
Handle empty options better
|
2018-06-25 08:39:00 +02:00 |
|
SachaG
|
fae6511965
|
Fix #1998 part 2
|
2018-06-25 08:16:22 +02:00 |
|
SachaG
|
7bf8056111
|
Fix #1998
|
2018-06-24 09:05:54 +02:00 |
|
SachaG
|
cc00b6dae7
|
Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel
|
2018-06-24 08:41:35 +02:00 |
|
Matt Black
|
d486b49ac3
|
Fix async callbacks called with no arguments
|
2018-06-22 23:41:20 -04:00 |
|
SachaG
|
6d0dd73b41
|
editableBy -> canUpdate
|
2018-06-22 20:58:02 +09:00 |
|
SachaG
|
6201b55837
|
insertableBy -> canCreate
|
2018-06-22 20:57:31 +09:00 |
|
SachaG
|
50fba6b0a3
|
viewableBy -> canRead
|
2018-06-22 20:55:22 +09:00 |
|
SachaG
|
6ee6dea156
|
Merge branch 'fieldViewEdit' of https://github.com/Apollinaire/Vulcan into Apollinaire-fieldViewEdit
|
2018-06-22 11:53:29 +09:00 |
|
Apollinaire
|
ac0a875c3a
|
remove backwards comp. from function name change and add new names to...
all instances of functions Users.can... in the whole code
|
2018-06-21 14:27:20 +02:00 |
|
Apollinaire
|
8bfb9e8966
|
Handle openCRUD api and change function names
|
2018-06-21 11:02:18 +02:00 |
|
SachaG
|
973b2bfce3
|
Pass document to form.reset() to avoid resetting it to pre-submission values
|
2018-06-21 10:29:00 +09:00 |
|
SachaG
|
b4ac2d23af
|
Revert formsy/formsy-react-component update
|
2018-06-21 10:28:34 +09:00 |
|
Matt Black
|
8b8976db58
|
Allow passing multiple args to HOCs
|
2018-06-20 16:08:49 -04:00 |
|
Apollinaire
|
b610856a8e
|
viewableBy, editableBy, insertableBy accept arrays of functions and...
strings
|
2018-06-20 17:13:50 +02:00 |
|
SachaG
|
a2e3ca01cc
|
Convert Select option values to strings
|
2018-06-20 10:54:02 +09:00 |
|
SachaG
|
a7081f71c1
|
Show warning when collections have no GraphQL-enabled fields
|
2018-06-20 10:24:57 +09:00 |
|
SachaG
|
994c19a98d
|
Make withMutation accept return fragmentName
|
2018-06-20 10:24:30 +09:00 |
|
SachaG
|
d8b09a396c
|
Fix users mutations
|
2018-06-20 10:24:15 +09:00 |
|
SachaG
|
eea1a1dadb
|
Update for new formsy-react & formsy-react-component
|
2018-06-20 10:23:54 +09:00 |
|
SachaG
|
193da85887
|
Wrap checkboxgroup (fix #2004)
|
2018-06-20 07:45:04 +09:00 |
|
SachaG
|
91246d083c
|
Better backwards compatibility + fix callback names case
|
2018-06-19 11:00:20 +09:00 |
|
Matt Black
|
e991155585
|
fix duplicate noneOption on rerender
|
2018-06-18 16:58:00 -04:00 |
|
SachaG
|
8ec093aac5
|
Better backwards compatibility; improve mutator debug
|
2018-06-18 10:05:54 +09:00 |
|
SachaG
|
213ec0f385
|
Fix a few issues with data/modifier
|
2018-06-17 16:23:22 +09:00 |
|
SachaG
|
228a93eb3b
|
Throw Stripe error; add successCallback/errorCallback props to Checkout component
|
2018-06-17 15:56:57 +09:00 |
|
SachaG
|
367c071fc0
|
Move mutation/query generating logic to graphql.js; do not crash when schema has no GraphQL-compatible fields
|
2018-06-17 13:24:09 +09:00 |
|
SachaG
|
1d5d5b8ebc
|
Small bugfixes, make selectors work with both _id and documentId
|
2018-06-17 12:30:37 +09:00 |
|
SachaG
|
629e4c2c58
|
Minor clean-ups
|
2018-06-17 08:00:19 +09:00 |
|
SachaG
|
d9bc8b8c88
|
New default mutations/default resolvers API
|
2018-06-17 07:49:33 +09:00 |
|
SachaG
|
2b61d31ccb
|
Merge branch 'master' into devel
# Conflicts:
# packages/vulcan-users/lib/server/on_create_user.js
|
2018-06-16 10:16:09 +09:00 |
|
SachaG
|
e783d51dca
|
v1.11.2
|
2018-06-16 08:57:45 +09:00 |
|
SachaG
|
7455d7b21b
|
Add debug statements and fix #2001
|
2018-06-16 08:56:44 +09:00 |
|
SachaG
|
ecc97f157e
|
Support new syntax for registerComponent
|
2018-06-15 14:30:45 +09:00 |
|