Commit graph

6285 commits

Author SHA1 Message Date
Bogdan Dimofte
3ea00f6ded SmartForm: use prop schema, if given 2018-10-01 11:03:10 +03:00
Sacha Greif
2ce8297c3b
Merge pull request #2091 from Apollinaire/debugIntl
Add /i18n debug page
2018-10-01 09:23:50 +09:00
Apollinaire
042dee1e12 Add debug dashboard 2018-09-30 23:16:13 +02:00
Sacha Greif
c22fd7a067
Merge pull request #2075 from Apollinaire/devel
Users' slug is updated on displayname change
2018-09-30 13:37:57 +09:00
SachaG
7847798e09 Better error when template doesn't exist 2018-09-29 17:12:58 +09:00
Sacha Greif
336a5442e7
Merge pull request #2082 from ErikDakoda/SubmitButtonLabels
SubmitButtonLabels
2018-09-29 08:43:49 +09:00
Apollinaire
af5693077e Add /i18n debug page 2018-09-28 18:33:53 +02:00
Sacha Greif
30ed4cc648
Merge pull request #2086 from Apollinaire/SchemaMerging
Don't merge schema in Vulcan, only do it with SimpleSchema
2018-09-28 21:52:21 +09:00
Sacha Greif
4c4510d260
Merge pull request #2088 from mousetraps/itani/email-subject
Email subjects shouldn't be coupled with sitename
2018-09-28 19:09:12 +09:00
Eric Burel
90d0e0c5a9
Merge pull request #2089 from lbke/apollo2-withMessages
Apollo2 withMessages
2018-09-28 11:14:49 +02:00
Eric Burel
e8a62d93ef
Merge branch 'apollo2' into apollo2-withMessages 2018-09-27 16:38:30 +02:00
Eric Burel
cbc387e7d1 withMessage is functionnal, need testing 2018-09-27 16:27:24 +02:00
Eric Burel
fd26020074
Update npm apollo-client and react-apollo to v2
It seems to fix the undefined results issue in the `graphql` HOC
It also enables Apollo chrome development tool, which is necessary to debug local cache
2018-09-27 16:21:22 +02:00
Eric Burel
e9788cbf45 rewriting withMessages with new apollo-link-state api 2018-09-27 15:52:51 +02:00
Sara Itani
6a54521dc6 Email subjects shouldn't be coupled with sitename 2018-09-27 03:24:11 -07:00
Eric Burel
f88715384b
Merge pull request #2083 from lbke/lbke-apollo2
[WIP] Apollo 2: apollo-state-link and RR4
2018-09-27 11:12:35 +02:00
Eric Burel
a8e6b8b8ea cleanup test, import, modules, wrap registerWatechedMutation with isClient 2018-09-27 11:07:17 +02:00
Eric Burel
f7a2a9ef78 defer apollo2 client creation until app startup 2018-09-27 09:48:35 +02:00
Sacha Greif
68a956a639
Merge pull request #2087 from mousetraps/itani/email-headers
Support email headers property and simplify logic
2018-09-27 08:26:06 +09:00
Sara Itani
aeeb87ddc0 simplify email logic 2018-09-26 12:41:02 -07:00
Sara Itani
cf260fdc5c Support email headers property 2018-09-26 12:24:48 -07:00
Apollinaire
b6cea13db2 Don't merge schema in Vulcan, only do it with SimpleSchema 2018-09-26 17:31:52 +02:00
Apollinaire
b0fbbfbe13 Use connectors and move getUnusedSlug to server code 2018-09-26 17:14:57 +02:00
Eric Burel
bbb9263c27 experiment with reloading the client when adding a mutation 2018-09-26 15:36:24 +02:00
Eric Burel
58afb6c547 Fixed routes with layout exact prop 2018-09-26 12:22:39 +02:00
Eric Burel
2bacae7a0e copy-pasted meteor/apollo, updated to RR4
meteor/apollo Atmosphere version does not seem up to date with the Github repo
2018-09-26 11:34:28 +02:00
Eric Burel
9366d41463 delete confusing file 2018-09-26 10:17:44 +02:00
Eric Burel
9cc23a1e4f moved apollo-client to client code 2018-09-26 10:17:03 +02:00
Eric Burel
a50fc3ddb3 fix export/import update.js 2018-09-26 10:01:55 +02:00
Eric Burel
e63137a943 split code and started working on apollo-state-link 2018-09-25 20:48:25 +02:00
Erik Dakoda
73086be5ca SubmitButtonLabels
- `submitLabel`, `cancelLabel`, and `revertLabel` now take a node (which is backwards compatible with string) so that you can include a FormattedMessage, an icon, etc.
2018-09-25 09:42:56 -04:00
SachaG
4c500e856e Disable routing package 2018-09-24 10:26:56 +09:00
SachaG
7b9da35b19 Finish work on post-mutation update functions 2018-09-24 09:08:11 +09:00
SachaG
bbf07273e4 Use WatchedMutations for post-mutation updates 2018-09-23 16:38:45 +09:00
SachaG
7adb8b3c7c Rename routing -> init 2018-09-23 11:04:29 +09:00
SachaG
6275108d41 Comment out/disable legacy code for now 2018-09-23 10:52:52 +09:00
SachaG
e166e39546 Working on Apollo2 + React Router v4 2018-09-23 10:52:40 +09:00
SachaG
6864b572be Merge branch 'devel' into custom-form-components
# Conflicts:
#	packages/vulcan-forms/lib/components/FormNestedArray.jsx
2018-09-23 08:16:48 +09:00
SachaG
5b09d98918 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-09-23 08:15:34 +09:00
SachaG
07427a2c96 Add formComponents prop to forms to enable customizing a specific form's components 2018-09-23 08:13:09 +09:00
Sacha Greif
73d7172896
Merge pull request #2077 from ErikDakoda/GetLabelIntlFallback
SmartForm.getLabel() intl string fallback
2018-09-22 22:54:27 +09:00
Apollinaire
169e01cc4f revert changes on Utils.getUnusedSlug and add check to users slug 2018-09-21 15:12:58 +02:00
Apollinaire
844d457cac remove Users slug onUpdate
I left the updates related to the openCrud API:
`onInsert` -> `onCreate`
And also left the update on `Utils.GetUnusedSlug`
2018-09-21 13:14:16 +02:00
Erik Dakoda
5ca08daa8e SmartForm.getLabel() now falls back to a "global" namespace when a collection-specific intl string is not found; then it falls back to using no namespace 2018-09-19 21:12:27 -04:00
Sacha Greif
f54e777618
Merge pull request #2076 from ErikDakoda/RemoveBootstrap
Remove bootstrap from vulcan-forms
2018-09-20 08:47:25 +09:00
Erik Dakoda
7e66908d21 Refactoring to remove react-bootstrap and to customize FormNestedArray for material-ui 2018-09-19 13:16:48 -04:00
Apollinaire
9bd1d36aa4 Users' slug is updated on displayname change
- The slug is updated when the displayname changes
- The `Utils.getUnusedSlug` helper function does not return empty slugs anymore (it's '0' if the `slug` argument is falsy)
2018-09-19 17:34:48 +02:00
SachaG
bfd336871e Fix "Variable "$data" of required type "CreateAnalyticsEventDataInput!" was not provided." error 2018-09-18 09:53:37 +09:00
SachaG
649f74e25b Used could be null 2018-09-18 09:52:50 +09:00
SachaG
c4cec6a012 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-09-18 08:33:24 +09:00