Commit graph

199 commits

Author SHA1 Message Date
SachaG
270c6b4215 Use connectors and await/async 2018-02-18 15:26:59 +09:00
SachaG
a899532c4f mutation -> mutator 2018-02-17 11:17:25 +09:00
SachaG
29d10c9277 Merge branch 'devel' into connectors 2018-02-17 10:58:33 +09:00
SachaG
97e0883f31 Refactor NewButton/EditButton code 2018-02-15 12:04:51 +09:00
SachaG
e3ba347f80 Better way: just use options' fragmentName as mutationFragment 2018-02-15 09:32:41 +09:00
SachaG
f9893aa615 Pass down newFragmentName and editFragmentName 2018-02-14 22:22:51 +09:00
SachaG
cee5fa6b6c Make currentUser available as a variable for withDocument and withList 2018-02-14 19:10:29 +09:00
SachaG
6add1d7f0e Merge branch 'devel' into connectors 2018-02-12 18:55:47 +09:00
SachaG
faf92b3650 Use better API (create, update, delete, find, get) 2018-02-12 18:55:37 +09:00
SachaG
2eeb252bd5 Let EditButton, NewButton pass through props to SmartForm 2018-02-12 18:49:22 +09:00
SachaG
7639801434 Split out Mongo operations into connectors 2018-02-11 12:57:51 +09:00
SachaG
31621b39b2 Add createdAtFormattedShort field to charges 2018-02-09 11:30:15 +09:00
SachaG
88c69b9d78 Pass down currentUserData 2018-02-08 12:21:45 +09:00
SachaG
ac838a65e4 Add notifyOnNetworkStatusChange option to withList 2018-02-05 10:45:20 +09:00
Vincent Roman
d03963680b Datatable - spacing consistency 2018-02-03 07:06:56 +00:00
Vincent Roman
dd3384d195 Merge branch 'upstream-devel' into vincro-devel
# Conflicts:
#	packages/vulcan-core/lib/modules/components/Datatable.jsx
2018-02-03 06:59:39 +00:00
Vincent Roman
47e5db0068 Datatable - add targetting className for column headers like data-item-* 2018-02-03 06:41:10 +00:00
Vincent Roman
e9c088136d Datatable - amend replace to change SPACE for more than first instance with REGEX 2018-02-03 06:39:57 +00:00
SachaG
44bff952b1 Make datatable accept static JSON as data property; add Routes admin dashboard 2018-02-02 18:43:35 +09:00
Justin Reynolds
0b9289d549 #1865 Fix upsert 2018-01-31 18:29:49 -06:00
Vincent Roman
77733d2b81 Datatable - replace SPACE with - in the datatable-item-* className 2018-01-31 15:39:03 +00:00
Justin Reynolds
9212a1970e Add upsert mutation 2018-01-28 22:26:05 -06:00
SachaG
da300fe8a7 Add missing "}"; fix formatting 2018-01-29 10:09:31 +09:00
Sacha Greif
cf05aedddc
Merge pull request #1853 from justinr1234/check-on-count
Respect checkAccess for total resolver
2018-01-29 10:02:16 +09:00
Justin Reynolds
4ef51afaac Respect checkAccess for total resolver 2018-01-28 09:59:51 -06:00
Sacha Greif
8e507552df
Merge pull request #1851 from MHerszak/withEdit-withRemove
Added getCollection to withEdit & withRemove
2018-01-28 11:34:59 +09:00
Michel Herszak
f38d0ca3b0 Added getCollection to withEdit & withRemove 2018-01-27 19:11:03 -07:00
Sacha Greif
0e7b7297e7
Merge pull request #1850 from MHerszak/withNew
Added getCollection to withNew
2018-01-28 10:59:41 +09:00
Michel Herszak
392fdbd1ce Added getCollection to withNew 2018-01-27 18:53:28 -07:00
SachaG
8602bdcc27 Fix withDocument 2018-01-27 15:58:09 +09:00
Justin Reynolds
9cb5db5c67 Consolidate getCollection code 2018-01-26 22:00:36 -06:00
SachaG
ab7ca9e53e Un-revert the revert 2018-01-27 12:46:45 +09:00
SachaG
832fd5198d Make withDocument accept collectionName too like withList 2018-01-27 12:42:12 +09:00
Eric Burel
e85bbab894
showEdit on Card
This make the Card consistent with the Datatable, and allow to hide the `edit` button on cards using the `showEdit` prop.
2018-01-26 17:57:15 +01:00
Justin Reynolds
75b6ece0a4 Fix linting 2018-01-25 15:03:03 -06:00
Justin Reynolds
020d970beb Fix circular dependency in example-forum 2018-01-25 12:53:19 -06:00
SachaG
55494d3de2 Only show Edit and New buttons if user has proper permissions 2018-01-25 18:20:29 +09:00
SachaG
4985ba2571 Fix withAccess 2018-01-25 18:12:32 +09:00
SachaG
2ae8176c71 Small fixes 2018-01-20 11:02:11 +09:00
SachaG
63df1fdd3e Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-01-11 21:30:41 +09:00
SachaG
b21dac2c3d Card component tweaks 2018-01-11 21:30:34 +09:00
Sacha Greif
0b859bd871
Merge pull request #1803 from schuttsm/admin-delete-user-hide
fix admin delete user hide bug
2018-01-11 15:10:34 +09:00
Stephen Schutt
747350c0e5 fix bug where modal doesn't hide after user is deleted 2018-01-06 17:52:52 +01:00
Luca Hagel
1ecf8eb4ec Stringify logged objects 2018-01-06 13:46:31 +01:00
Luca Hagel
bdc05e1bc1 Add indentation groups & color escape sequences to cb & resolver logs 2018-01-06 13:40:40 +01:00
Luca Hagel
0f4eff8183 Use prop-types package in withDocument 2018-01-06 07:07:38 +01:00
Luca Hagel
bf5a67f790 Use prop-types package in withList 2018-01-06 07:06:48 +01:00
SachaG
6659bd14e6 Add support for throwing/showing "document not found" errors in withDocument and default resolvers 2018-01-04 09:41:48 +09:00
SachaG
c80e38eb1f Add New button to datatables 2018-01-03 15:13:50 +09:00
SachaG
c6d3911fd1 Small fixes 2018-01-02 13:05:34 +09:00