Commit graph

48 commits

Author SHA1 Message Date
xavcz
0f4343573c chore: remove legacy properties 'publish' & 'join' 2017-02-16 08:39:42 +01:00
xavcz
c33ebd534a get collection name from typename on nova:subscribe, add missing import on previous commit 2017-02-10 09:55:06 +01:00
xavcz
efe56c2b97 remove unneeded actions on nova:subscribe 2017-02-07 16:35:34 +01:00
xavcz
42285a859c re-enable nova:subscribe 2017-02-07 12:51:11 +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
SachaG
db17e917f8 Remove “__” prefix to avoid conflicts with GraphQL introspection types and simplify code 2017-01-18 10:18:33 +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
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
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
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
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
xavcz
990f21aae1 withMessages hoc to avoid having redux code in components 2016-12-08 09:42:50 +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
212cdf48c2 Telescope.components.CanDo -> ShowIf 2016-12-01 16:09:54 +09:00
Sacha Greif
b16c7ce0be put withCurrentUser back in nova:core after all… 2016-11-30 16:58:28 +09:00
xavcz
ddd71eebd1 withCurrentUser belongs to nova:users 2016-11-29 14:08:24 +01:00
Sacha Greif
00fcc01c0d clean up imports/exports and other small things 2016-11-29 18:53:31 +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
8429502a64 schemas good practice: change control: "none" to hidden: true 2016-11-18 10:03:01 +01:00
xavcz
9f4fe1a917 withCurrentUser hoc in nova:core 2016-11-15 18:33:16 +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
db5605bd2e use a more generic prefix (__) for users settings and adapt Users.methods.setSetting 2016-11-10 14:22:47 +01:00
xavcz
460efe52f6 move namespace to prefix on user schema: user.telescope.xxx by user.nova_xxx 2016-11-08 18:22:17 +01:00
xavcz
84a73a988d comments.postId available in commentsInput (insertableIf/editableIf) -> add control: "none" where needed in the app ; fix wrong import from previous commit on nova-voting (vote (operateOnItem) is needed on client/server, score algorithm is only server-side (async callback)) 2016-11-08 13:49:41 +01:00
xavcz
b5709b0a52 flash-messages logic handle via redux for all the components 2016-10-31 17:13:14 +01:00
xavcz
67d4ff5fc8 updates from devel: Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into cleaning-oldies 2016-10-14 11:25:59 +02:00
chptung
7678d83dd5 Update subscriberIdsToNotify to send unique emails
Added .uniq() for subscribersIdsToNotify in the Categories section to prevent a user from receiving multiple emails if he/she is subscribed to multiple categories.
2016-10-07 08:14:58 -07: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
xavcz
dfa9ab0063 allow custom classname for SubscribeTo component 2016-08-30 10:56:01 +02:00
xavcz
9f85dbefba nova:subscribe - display clear message to the user after performing an action 2016-08-19 13:18:51 +02:00
xavcz
11d7524798 nova:subscribe - fix exception in category's callback when a post isn't assigned to a category 2016-08-17 10:29:08 +02:00
xavcz
c6381ee383 use reify nested imports to avoid dependencies on nova:posts & nova:categories, export default subscribeMethodsGenerator 2016-08-14 17:59:20 +02:00
xavcz
a7d9dc9f8f clarify some things 🤓 2016-08-12 16:02:33 +02:00
xavcz
bd49addff5 intl: emoji test -> text 2016-08-12 15:41:19 +02:00
xavcz
6812b54f71 make Categories fields extensible & "subscribe-able" , subscribe methods generator 🤖 2016-08-12 14:33:51 +02:00
xavcz
44bf243e89 subscribed user's post callback (posts.new.async), SubscribeTo generic component taking a document and a documentType 2016-08-12 11:35:58 +02:00
xavcz
3918881455 check on methods, added permissions, rename components for more consistency 2016-08-12 09:10:05 +02:00
xavcz
3d5c3d0330 refactor methods so user can subscribe to another user, create UsersSubscribe 2016-08-11 18:01:27 +02:00
Sacha Greif
3ec90a04b5 remove Telescope global 2016-08-08 11:18:21 +09:00
schabluk
79ba615bae Better error handling 2016-08-07 18:31:58 +02:00
schabluk
3dde711f41 Change subscription method names 2016-08-07 18:14:38 +02:00
Sacha Greif
99a70a3262 cleaning up nova:subscribe 2016-08-07 19:26:08 +09:00
Sacha Greif
952617dd96 subscribe-to-posts -> subscribe 2016-08-07 19:10:53 +09:00