SachaG
bdfa76aca6
Improve error logging on server; add createdAt to PostsList fragment; use componentNames for base routes
2017-02-04 11:43:21 +09:00
xavcz
1e2d43662d
form api, embedly url, fix posts autovalues
...
- Form API: updateCurrentValue(fieldName, fieldValue) => updateCurrentValues(newValues: {[fieldName]: fieldValue}) to update one or more fields at once;
- changes on EmbedlyURL: use of currentValues instead of autofilledValues, fix the use of 'media' field on new & edit (assigned server-side in async callback)
- fix Posts schema's autoValue logic: moved to callbacks (it worked on new docs but not triggered on edits)
2017-01-23 15:50:55 +01:00
Phil Weber
7d30a42b81
#1517 - Implement configurable excerpt lengths
2017-01-08 18:55:00 -08: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
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
dd0df7dfc5
Telescope.utils -> Utils
2016-12-12 11:34:28 +09:00
Sacha Greif
a2d7b7c2ef
Telescope.graphQL.foo -> GraphQLSchema.foo
2016-12-12 10:41:50 +09:00
Sacha Greif
292a5e5566
various fixes: upgrade react-apollo; handle array fields in forms; fix "daily" view
2016-12-12 09:55:24 +09:00
Sacha Greif
b6b31222fd
remove limit on categories and daily lists; re-export stuff from nova:core; add copyHoCs function;
2016-12-10 21:58:40 +09:00
xavcz
2638023f4e
harmonize apollo branch to be on v0.27.5
2016-12-08 23:48:16 +01:00
xavcz
4e6e312469
permission API: [editable/insertable/viewable](If) -> (By) ; anonymous -> guests ; default -> members
2016-12-06 10:55:47 +01:00
Sacha Greif
714d89a1ed
pass extra fields to form fragment
2016-12-04 19:00:01 +09:00
Sacha Greif
b16c7ce0be
put withCurrentUser back in nova:core after all…
2016-11-30 16:58:28 +09:00
Sacha Greif
0c2b9da97c
working on post schema and resolvers check
2016-11-30 16:55:34 +09:00
Comus Leong
464e20a96c
eslint & clean up code, also fixed some bugs ( #1515 )
...
* [eslint] update eslint rules & add .eslintignore to ignore non-ready nova packages
* [clean-up] nova-voting
* [clean-up] [bug] nova-users: missing user parameter
* [clean-up] nova-users
* [clean-up] nova-subscribe
* [clean-up] nova-settings
* [clean-up] nova-rss
* [clean-up] [bug] nova-posts: correct UsersRemoveDeletePosts
* [clean-up] nova-posts
* [clean-up] nova-notifications
* [clean-up] [bug] nova-newsletter: no error.message on throw error
* [clean-up] nova-newsletter
* [clean-up] nova-lib
* [clean-up] nova-kadira
* [clean-up] nova-inject-data
* [clean-up] nova-getting-started
* [clean-up] nova-forms
* [clean-up] nova-events
* [clean-up] [bug] nova-embedly: no FlowRouter
* [clean-up] nova-embedly
* [clean-up] nova-email-templates
* [clean-up] nova-email
* [clean-up] nova-debug
* [clean-up] nova-core
* [clean-up] [bug] nova-comments: correct UsersRemoveDeleteComments
* [clean-up] nova-comments
* [clean-up] [bug] nova-cloudinary: use Telescope.settings.collection instand
* [clean-up] nova-cloudinary
* [clean-up] nova-categories
* [clean-up] nova-base-components
* [clean-up] nova-api
* [eslint] extends react recommended
* [clean-up] for jsx files
* [eslint] extends meteor recommended
* i forgot this one little change
2016-11-25 13:46:55 -05:00
Sacha Greif
4b70802c00
clean up
2016-11-25 11:46:31 +09:00
Sacha Greif
e09022b350
add fragments inside components
2016-11-23 11:07:48 +09:00
xavcz
1137fb96aa
adapt the Telescope.createCollection
api to all the collections, some clean up in old containers files
2016-11-22 18:14:51 -05:00
xavcz
8429502a64
schemas good practice: change control: "none"
to hidden: true
2016-11-18 10:03:01 +01:00
xavcz
dcd7269f74
small tweak on mutations & userId field
2016-11-18 09:28:32 +01:00
Sacha Greif
e1744f9f93
working on custom collection demo package
2016-11-18 16:01:27 +09:00
Sacha Greif
8689a4de73
clean up callbacks by moving logic to mutations and schema (autoValue)
2016-11-14 17:17:44 +09:00
Sean Song
f764ca2b46
finish the "status bug" off with its field schema legacy(autoValue) changed to nova(defaultValue)
2016-11-10 10:36:35 +01:00
Sacha Greif
1b7574d8fe
add missing properties
2016-11-08 15:16:58 +09:00
Sacha Greif
9b7cdcd8bc
add typeName to each collection
2016-11-08 15:12:23 +09:00
Sacha Greif
4907310480
extract queries into their own files
2016-11-08 15:04:17 +09:00
Sacha Greif
bee5eaf373
generate graphQL schemas for posts, comments, and categories from simpleSchema
2016-11-08 14:56:39 +09:00
xavcz
bca4b38358
fix commenters (UI / schema / resolvers), pass documentId to postsVote, move PostsListsContainer query to Posts.graphQLQueries.list, FormWrapper.clearErrors() -> FormWrapper.clearForm({clearErrors, clearCurrentValues}): prevent bug of keeping latest value when submitting a formNew that doesn't unmount
2016-11-07 18:03:07 +01:00
Sacha Greif
4e91966072
working on commentsListContainer
2016-11-07 23:46:12 +09:00
Sacha Greif
8eae4fda1d
get rid of PostsNewFormContainer and PostsEditFormContainer
2016-11-07 22:46:31 +09:00
Sacha Greif
7ce835b0fd
apollo forms wip
2016-11-07 17:45:17 +09:00
Sacha Greif
a0a7d235e9
working on comments mutations
2016-11-05 18:37:46 +09:00
Sacha Greif
5372aace33
unset should be all booleans
2016-11-05 17:23:25 +09:00
Sacha Greif
4c5c696a82
split out set/unset to work around fact that I don't know GraphQL syntax
2016-11-04 15:49:42 +09:00
Sacha Greif
2d0e2fde83
working on postsEdit
2016-11-04 14:38:31 +09:00
Sacha Greif
f332c8810b
use Apollo for new post mutation
2016-11-04 10:28:54 +09:00
Sacha Greif
56bcfba245
first pass at splitting off resolvers
2016-11-03 21:39:09 +09:00
Sacha Greif
0b2af51c89
split graphQL schemas in their respective packages
2016-10-29 16:37:33 +09:00
Sacha Greif
7533d67296
add viewableIf property to schemas to define which fields are viewable by which users; use it in resolver
2016-10-29 14:17:57 +09:00
xavcz
7775838980
change old reference to AutoForm (legacy): field schema "autoform" -> "form"
2016-10-05 08:43:13 +02:00
xavcz
5463ff7b86
prefer Users namespace to Meteor.users in active packages
2016-10-05 08:37:48 +02:00
Sacha Greif
72b6353321
put statuses on Telescope object instead of Posts
2016-08-10 10:40:17 +09:00
Sacha Greif
9cc7840b85
new permissions
2016-07-21 09:40:05 +09:00
Sacha Greif
c33983eaae
groups -> formGroups
2016-07-19 15:13:16 +09:00
Sacha Greif
336a1624eb
remove Scheduled status; add new isFuture flag instead; set flag after insert and edit; extend base parameters in view instead of in Posts.parameters.get
2016-07-14 15:54:59 +09:00
Sacha Greif
e5a943240d
put admin group on Posts object
2016-07-13 11:46:45 +09:00
xavizalote
ade25cc639
post status scheduled + 10-minute cron to update scheduled posts to approved status
2016-07-07 15:13:19 +02:00
xavizalote
e3479d216f
generic datetime picker component for nova:forms working on new & edit post
2016-07-06 15:53:14 +02:00
Sacha Greif
d6c0be150d
remove old i18n function call
2016-07-04 10:42:50 +09:00
Sacha Greif
41f349d18c
removing Users global
2016-06-23 15:00:58 +09:00