SachaG
53cd7f29b8
small newsletter tweaks
2017-01-20 14:12:59 +09:00
SachaG
04182efe22
Make mutation hoc accept mutations without arguments
2017-01-20 14:08:45 +09:00
SachaG
c6a1bf3617
pollInterval is NOT a variable!
2017-01-20 10:30:15 +09:00
xavcz
0d316ae89c
make routes replaceable if a new route is added with the same path
2017-01-19 14:57:56 +01:00
xavcz
a6ab0a6d89
refactor the NewsletterButton to be stateless (label & mutation to trigger controlled by its parent (ex: newsletter banner, newsletter field control); make the newsletter field control of the user edit form update its state AND the form state the action has succeeded
2017-01-19 10:37:42 +01:00
xavcz
0ceb2a714c
don't throw an error to somebody already in a Mailchimp list without knowing it: return the expected result (subscribed), log it server-side and update the relevant user setting if needed
2017-01-19 09:20:12 +01:00
xavcz
c3bff57cab
customization-demo: import order + comments
2017-01-19 08:32:33 +01:00
SachaG
3861cb8b53
Fix component export
2017-01-19 11:19:36 +09:00
xavcz
79e4cf5266
make FormWrapper exportable again, routes can accept either component or componentName property
2017-01-18 15:11:31 +01:00
SachaG
c2f1348336
Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
2017-01-18 22:28:54 +09:00
SachaG
71e9f1336e
React-router-scroll package
2017-01-18 22:28:46 +09: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
xavcz
8bd0404343
missing dependency
2017-01-18 09:16:42 +01:00
SachaG
efb34c76e0
Add react-router-scroll
2017-01-18 15:09:21 +09:00
SachaG
3357bc7726
Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
...
# Conflicts:
# packages/nova-base-components/lib/users/UsersEditForm.jsx
2017-01-18 10:20:00 +09:00
SachaG
b1d0cd8e69
call upvoting callback on post insert in sync way
2017-01-18 10:19:23 +09:00
SachaG
db17e917f8
Remove “__” prefix to avoid conflicts with GraphQL introspection types and simplify code
2017-01-18 10:18:33 +09:00
xavcz
a45aeb3834
currentUser log in/out: always check that we send the right token to the graphql server ; seize the opportunity to force update to latest std:accounts-ui
2017-01-17 21:53:54 +01:00
xavcz
78aed21d06
a single document can be found by a unique slug or a unique _id; prevent keepViewableFields to crash when no document found in single resolver
2017-01-17 19:46:17 +01:00
SachaG
7f2f8b1a89
add Users.keepViewableFields helper; make emails visible only to owner or admins
2017-01-16 12:32:28 +09:00
SachaG
5e3ed2b207
Move voting-related resolvers to nova:voting package
2017-01-16 12:24:59 +09:00
Sacha Greif
912f3848d1
move scalar declaration to global schema declaration
2017-01-16 12:22:17 +09:00
Sacha Greif
7e3bda4203
Change daily view loading
2017-01-16 10:27:42 +09:00
Sacha Greif
2130bf5efe
Add missing Utils
2017-01-15 22:06:50 +09:00
Sacha Greif
014ba87367
Make graphql type conversion logic more explicit again
2017-01-14 18:04:53 +09:00
Sacha Greif
cffc032b36
refactor Vote.jsx a bit
2017-01-14 18:03:35 +09:00
Sacha Greif
e9bc54426f
Call Utils.convertDates when loading and sorting data to convert any date field stored as a string into an actual date object
2017-01-14 17:57:44 +09:00
Sacha Greif
2707b8348d
Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
2017-01-14 08:29:55 +09:00
Sacha Greif
7de9912c92
add container aliases
2017-01-14 08:29:51 +09:00
xavcz
99548ca918
fix list filtering: de-couple pagination terms & props terms in withList; re-enable form cleaning: performed only if the form has not been unmounted; remove annoying eslint warnings
2017-01-13 18:17:08 +01:00
xavcz
0e100770e2
allow to query single category with its slug
2017-01-13 14:59:19 +01:00
xavcz
5303b4f4df
SmartForm: if 'field.value' is an array of (non-objects / object with no _id key), fallback to item itself; XxxForms: 'mutationFragment' prop where needed, remove deprecated 'queryToUpdate' prop
2017-01-13 09:21:07 +01:00
Sacha Greif
10d1e7cc22
Fragment -> mutationFragment
2017-01-13 15:48:00 +09:00
xavcz
204e70531c
add fragment prop on CategoriesEditForm ; allow to over-ride the query fragment for edit forms (same fragment option)
2017-01-12 16:53:16 +01:00
Sacha Greif
171bf9feb9
extraFragment -> fragment; deprecate Users.canEdit; add alias; use new withCurrentUser
2017-01-12 17:30:25 +09: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
ad007ac003
disable for now: manual reset/clear of the form (it's done by unmounting/mounting again without us controlling it)
2017-01-11 13:49:25 +01:00
xavcz
7a15103de7
add note link to issue in collection2 on mutation insert, remove debug console logs on mutation edit
2017-01-11 10:54:39 +01:00
xavcz
e894c3224c
node simpl-schema + collection2-core: fix vote by specifying the right type of the array (dont use blackbox in the end!)
2017-01-11 10:39:52 +01:00
xavcz
c505fcbaac
polling to 20s by default
2017-01-11 10:36:08 +01:00
xavcz
fe7baadc89
vote resolver: isSimulation false -> async callbacks will run
2017-01-10 11:38:42 +01:00
xavcz
9d84fbec98
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)
2017-01-10 11:17:16 +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
xavcz
871f8c65ca
poll interval option on withDocument too, specific name for fragment on CustomPostsItem
2017-01-10 10:07:13 +01:00
Sacha Greif
f810c7166b
Wrap PostsList with withCurrentUser instead of wrapping PostsItem (move it one level up); get rid of ContextPasser and pass closeModal as props instead of context;
2017-01-10 17:49:03 +09:00
Sacha Greif
834c33fecf
simplify PostsDailyList logic a bit
2017-01-10 11:27:08 +09:00
Sacha Greif
bcda2bafef
Add option to disable polling; add support for both incremental and non-incremental pagination (call loadMore or loadMoreInc)
2017-01-10 11:26:33 +09:00
Sacha Greif
b065e8c27a
loading improvements
2017-01-09 22:09:09 +09:00
xavcz
31c2f22acd
update graphql related packages, clean withMesages
2017-01-09 13:33:26 +01:00
Sacha Greif
130f43e3f3
Update std:accounts-ui
2017-01-09 21:14:54 +09:00