SachaG
|
a2f7592b94
|
Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
|
2017-02-02 13:24:51 +09:00 |
|
SachaG
|
ebb38cf643
|
Working on new fragments API
|
2017-02-02 11:56:52 +09:00 |
|
xavcz
|
08c171ed64
|
fix #1541: increasePostViewCount mutation + associated resolver; store posts viewed on the client session on postsViewed in the redux store; document PostsPage HOC & lifecycle hook
|
2017-02-01 16:37:06 +01:00 |
|
xavcz
|
2c2a647e7a
|
work on <head />: allow custom script tag, fix rss feed, expose 'excerpt' on post fragment
|
2017-01-31 18:57:45 +01:00 |
|
xavcz
|
f196333a25
|
add comments to fragments (related to packages) & compose them in nova:base-components for easier customization
|
2017-01-31 17:51:28 +01:00 |
|
SachaG
|
45b9de4789
|
Add new fragments API (registerFragment/getFragment); move fragments to own fragments.js file; registerComponent doesn’t return anything anymore; withList & withDocument accept either fragment or fragmentName
|
2017-01-30 19:46:48 +09:00 |
|
SachaG
|
38de180530
|
Add comment voting using graphql union type
|
2017-01-29 11:17:00 +09:00 |
|
SachaG
|
1c42031fe5
|
Re-enable nested categories
|
2017-01-25 13:58:02 +09:00 |
|
SachaG
|
7e640cc1bd
|
Make new comment mutation return post to auto-update post object in store with new commentCount and list of commenters
|
2017-01-23 11:01:14 +09:00 |
|
SachaG
|
4661ec9583
|
Wrap PostsPage with currentUser
|
2017-01-23 10:30:58 +09:00 |
|
SachaG
|
c1131422a0
|
Use immutability helper for vote; pass currentUser to Vote.jsx as prop
|
2017-01-22 10:12:05 +09:00 |
|
SachaG
|
301d1017f9
|
Add underscore package; update Apollo-client package; add HoC aliases; disable categories polling; remove required schema properties; use strings for dates client-side
|
2017-01-21 10:02:03 +09: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
|
79e4cf5266
|
make FormWrapper exportable again, routes can accept either component or componentName property
|
2017-01-18 15:11:31 +01: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 |
|
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
|
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
|
7e3bda4203
|
Change daily view loading
|
2017-01-16 10:27:42 +09:00 |
|
Sacha Greif
|
cffc032b36
|
refactor Vote.jsx a bit
|
2017-01-14 18:03:35 +09: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 |
|
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
|
b065e8c27a
|
loading improvements
|
2017-01-09 22:09:09 +09:00 |
|
Sacha Greif
|
130f43e3f3
|
Update std:accounts-ui
|
2017-01-09 21:14:54 +09:00 |
|
Sacha Greif
|
94b514675f
|
fix daily view pagination
|
2017-01-09 21:14:25 +09:00 |
|
Sacha Greif
|
fc982bc20f
|
Make voting generic (posts, comments, etc.) WIP
|
2017-01-09 15:42:24 +09:00 |
|
xavcz
|
3666401364
|
withList: allow terms to be passed via options too, then merge it with the one passed via props ; disable events on CategoriesEditForm (todo: re-enable events client-side)
|
2017-01-05 17:11:38 +01:00 |
|
xavcz
|
fe6e527b37
|
intl key on category, closeCallback passed via props: no need of ContextPasser
|
2017-01-05 15:13:31 +01:00 |
|
xavcz
|
2a997ed2b1
|
small tweak on categories edit form (intl, remove mutation)
|
2017-01-04 17:36:43 +01:00 |
|
xavcz
|
4be5c86a58
|
fix #1529
|
2017-01-02 12:34:04 +01:00 |
|
xavcz
|
746da29d72
|
semver bump: 1.0.0 🚀
|
2016-12-27 11:58:58 +01:00 |
|
xavcz
|
d5f9c2369b
|
update the correct user thanks to the NewsletterButton, disable setState no-op (why is the component unmounted?)
|
2016-12-27 11:44:35 +01:00 |
|
xavcz
|
45e032d7b9
|
update npm react deps, clean some dead code/packages, use query deduplication sent to the server (apollo-client 0.5.24)
|
2016-12-23 12:01:16 +01:00 |
|
Sacha Greif
|
6c5fc6c0dd
|
fix small issue with users edit form when logged out
|
2016-12-22 10:47:44 +09:00 |
|
xavcz
|
4ca3cab7ce
|
use networkStatus === 1 instead of loading prop from apollo-client hoc
|
2016-12-21 18:14:13 +01:00 |
|
xavcz
|
1558531c84
|
update grapqhl-tools to be able to ask for terms as JSON type, propTypes on UsersMenu
|
2016-12-20 15:19:13 +01:00 |
|
Sacha Greif
|
e6324788dc
|
rollback version change for now to fix issue on run
|
2016-12-20 10:55:11 +09:00 |
|
Sacha Greif
|
fa7987d67a
|
v0.3.0
|
2016-12-20 09:50:14 +09:00 |
|
Sacha Greif
|
fbff53d761
|
fix user log in bug (maybe?)
|
2016-12-20 09:45:55 +09:00 |
|
Sacha Greif
|
62368a0d48
|
NovaForm -> SmartForm
|
2016-12-20 09:27:16 +09:00 |
|
Sacha Greif
|
70ddd87039
|
update to apollo-client 0.5.22; small fixes and clean-up; Posts.parameters.get -> Posts.getParameters; add sorting to withList (even though it doesn't work yet); add getParameters to all collections;
|
2016-12-18 19:04:11 +09:00 |
|
Sacha Greif
|
b931fb0df2
|
pass entire mutation fragment to NovaForm after all
|
2016-12-15 12:07:13 +09:00 |
|
Sacha Greif
|
f384b78cd2
|
rework withList reducer; fix post slug bug
|
2016-12-15 10:10:18 +09:00 |
|