Commit graph

34 commits

Author SHA1 Message Date
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
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
03d272dfd4 Add movies parameters callback 2017-01-08 18:15:07 +09:00
Sacha Greif
ebf929774c sort movies list by createdAt; wrap MoviesNewForm with withMessages to fix setState bug 2017-01-08 18:14:41 +09:00
Sacha Greif
8f5891eb30 Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
# Conflicts:
#	packages/nova-categories/lib/resolvers.js
#	packages/nova-comments/lib/resolvers.js
#	packages/nova-core/lib/containers/withList.js
#	packages/nova-posts/lib/resolvers.js
#	packages/nova-users/lib/resolvers.js
2017-01-08 16:25:30 +09:00
Sacha Greif
2d627a9609 Refactor withList to use non-incremental pagination to work around polling+fetchMore incompatibility 2017-01-07 16:44:50 +09:00
xavcz
746da29d72 semver bump: 1.0.0 🚀 2016-12-27 11:58:58 +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
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
1bf4933ebb clean up Telescope imports 2016-12-13 11:32:23 +09:00
Sacha Greif
b8662441e0 Telescope.strings.add -> addString 2016-12-12 15:10:53 +09:00
Sacha Greif
aa85aaf9c8 Telescope.routes -> Routes, addRoute; no more indexRoute 2016-12-12 11:12:41 +09:00
Sacha Greif
a2d7b7c2ef Telescope.graphQL.foo -> GraphQLSchema.foo 2016-12-12 10:41:50 +09:00
Sacha Greif
5e1e124a8f Telescope.callbacks -> Callbacks; Telescope.createCollection -> createCollection 2016-12-12 10:24:34 +09:00
Sacha Greif
8fa846fda3 withSingle -> withDocument 2016-12-12 09:54:16 +09:00
Sacha Greif
ce103c568c make withSingle accept slug parameter; no need for variables in withMutation anymore; port newsletter methods to Apollo 2016-12-07 15:30:40 +09:00
xavcz
37f4bdaf91 Telescope.components.Foo -> Components.Foo, same for related components utils like registerComponent, getRawComponent & replaceComponent 2016-12-06 18:06:29 +01:00
xavcz
4e6e312469 permission API: [editable/insertable/viewable](If) -> (By) ; anonymous -> guests ; default -> members 2016-12-06 10:55:47 +01:00
xavcz
94edfc01ec small tweaks on loadMore buttons, update graphql-tools (JSON scalar fix), fix remove callback on comments 2016-12-06 09:45:36 +01:00
Sacha Greif
56c04baf3b use new group-based syntax for permissions; various tweaks 2016-12-01 15:29:07 +09:00
Sacha Greif
09cce8f978 get fragmentName from fragment, no need to define it separately anymore 2016-12-01 12:13:27 +09:00
Sacha Greif
1c421f7c9e queryName -> queryToUpdate 2016-12-01 09:10:51 +09:00
Sacha Greif
b16c7ce0be put withCurrentUser back in nova:core after all… 2016-11-30 16:58:28 +09:00
Sacha Greif
868194de59 id -> documentId in single document resolver; various fixes 2016-11-30 16:54:58 +09:00
xavcz
ddd71eebd1 withCurrentUser belongs to nova:users 2016-11-29 14:08:24 +01:00
Sacha Greif
404dd6214c work on withCurrentUser 2016-11-29 12:35:00 +01:00
Sacha Greif
002599e51e add preload:true option to Users schema 2016-11-29 18:54:12 +09:00
Sacha Greif
00fcc01c0d clean up imports/exports and other small things 2016-11-29 18:53:31 +09:00
Sacha Greif
d0c72c98f1 clean up packages names 2016-11-29 11:35:20 +09:00