Commit graph

51 commits

Author SHA1 Message Date
xavcz
0f4343573c chore: remove legacy properties 'publish' & 'join' 2017-02-16 08:39:42 +01:00
xavcz
e07c844710 provide better error messages for Embedly & Mailchimp 2017-02-11 12:27:32 +01:00
xavcz
e533dd47e7 fix some lint issues, remove some dead code, remove double imports from the same package & import from core instead of lib except for packages depending explicitly on lib (users, emails, ..) 2017-02-02 16:18:33 +01:00
xavcz
eb2644ad8a Form: display nicer, multiple & internationalizable (encode -> decode) errors, ensure that state updates are queued; in general prefer Error to Meteor.Error, clean some dead code 2017-02-02 15:15:51 +01: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
Sacha Greif
171bf9feb9 extraFragment -> fragment; deprecate Users.canEdit; add alias; use new withCurrentUser 2017-01-12 17:30:25 +09:00
Sacha Greif
4e1a82c130 Callbacks.add -> addCallback; and other callback functions 2016-12-13 11:40:24 +09:00
Sacha Greif
1bf4933ebb clean up Telescope imports 2016-12-13 11:32:23 +09:00
Sacha Greif
98fef8ef62 Telescope.settings.get -> getSetting 2016-12-12 15:00:56 +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
xavcz
2638023f4e harmonize apollo branch to be on v0.27.5 2016-12-08 23:48:16 +01: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
7d83b93b81 embedly: use withMutation + make getEmbedlyData mutation returning a JSON type 2016-12-06 18:09:26 +01: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
Sacha Greif
711a7b1153 add withMutation helper HoC for mutations that return a single JSON object 2016-12-06 16:25:50 +09:00
Sacha Greif
1386467e5c implement Embedly methods as graphql mutations 2016-12-06 15:51:59 +09:00
Sacha Greif
56c04baf3b use new group-based syntax for permissions; various tweaks 2016-12-01 15:29:07 +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
xavcz
600ab15c4d Apollo branch up to date with v0.27.4 2016-11-15 12:51:43 +01:00
xavcz
4ae1c01eec complete eslint devDeps and fix lint errors 2016-11-15 09:02:30 +01:00
Sacha Greif
5df3377418 clean up published_fields files; clean up unnecessary packages; more work on callbacks 2016-11-15 15:59:34 +09:00
xavcz
fa4f0bfcf3 add viewableIf to non-array fields of Users (array fields cause trouble with mongo $ projection) 2016-10-30 18:25:51 +01:00
xavcz
7775838980 change old reference to AutoForm (legacy): field schema "autoform" -> "form" 2016-10-05 08:43:13 +02:00
xavcz
cbd9141e78 update react (15.3.1) and associated packages, fix warnings "unknown prop" 2016-09-07 14:35:49 +02:00
Sacha Greif
3ec90a04b5 remove Telescope global 2016-08-08 11:18:21 +09:00
Sacha Greif
4a05939bb7 Users.is.admin -> Users.isAdmin 2016-07-21 14:51:58 +09:00
Sacha Greif
9cc7840b85 new permissions 2016-07-21 09:40:05 +09:00
Sacha Greif
c748bdc5bd permissions clean up & refactoring 2016-07-20 10:25:05 +09:00
Sacha Greif
93ec8fa9e2 fix thumbnail aspect ratio 2016-07-15 11:15:32 +09:00
Sacha Greif
9cc12be2da test if URL is not empty 2016-07-04 12:57:41 +09:00
Sacha Greif
d6c0be150d remove old i18n function call 2016-07-04 10:42:50 +09:00
Sacha Greif
45b1a8cc7d use elementOnly for thumbnail URL; add support for beforeComponent and afterComponent to NovaForms; handle empty URLs in getDomain; add enableNewsletterInDev setting; add more logging to newsletter cron job; make newsletter time GMT; campaign -> newsletter; add missing imports; add spanish translation to README 2016-06-28 17:33:30 +09:00
xavizalote
c0f4c40e85 decouple components actions from Meteor 2016-06-24 09:44:32 +02:00
Sacha Greif
41f349d18c removing Users global 2016-06-23 15:00:58 +09:00
Sacha Greif
d9e69110a6 removing Posts global 2016-06-23 11:40:35 +09:00
Sacha Greif
2c6e3d0d30 more i18n work 2016-06-10 10:25:38 +09:00
Sacha Greif
5296e21bfe cloudinary and embedly improvements 2016-06-06 11:42:49 +09:00
Sacha Greif
12b6268832 prefilledValues -> autofilledValues 2016-05-12 11:47:49 +09:00
Sacha Greif
2415cb23a5 do not track value with state after all because of props/state conflicts with Formsy; update parent component on clear 2016-05-12 11:47:13 +09:00
Sacha Greif
35d1083ecd add clear thumbnail link and simple styling to embedly thumbnail 2016-05-07 18:12:02 +09:00
Sacha Greif
2e9df52a08 work on posts parameters an nova:api package 2016-04-09 10:22:44 +09:00
Sacha Greif
37861c4695 simplify nova:forms (again) 2016-04-07 22:21:01 +09:00
Sacha Greif
013afb158f finish work on embedly prefilling 2016-04-07 12:43:41 +09:00
Sacha Greif
4cf74cfc27 clean up publishedFields 2016-04-05 16:27:48 +09:00
Sacha Greif
a74d29ebb0 fixing a few bugs 2016-04-04 17:08:09 +09:00
Sacha Greif
a367ed426d adding embedly integration 2016-04-04 16:50:07 +09:00
Sacha Greif
0cb56d8b79 create separate PostNewForm component; add error messages to post new and edit forms (for now); add errors to comment new and edit 2016-03-31 09:36:25 +09:00
Sacha Greif
dfca7df846 remove Blaze templates; add import React everywhere 2016-03-30 09:24:52 +09:00