Commit graph

89 commits

Author SHA1 Message Date
Sacha Greif
60e0f61813 when decorating terms with current user id, call it currentUserId and not userId (which conflicts with userId from posts, comments, etc.) 2016-02-06 12:30:29 +09:00
Sacha Greif
f75300529f update self-upvoting calls 2016-02-06 11:13:02 +09:00
Sacha Greif
baa38bfa40 make comment's postId uneditable in schema (fix #1231) 2016-02-06 11:09:10 +09:00
Sacha Greif
c5312aabe0 add this.unblock() 2016-01-02 18:40:49 +01:00
Sacha Greif
e9e33fe23b Fix wrong route (atSignIn -> signIn) 2015-12-30 15:52:24 +09:00
Sacha Greif
8b5a5f127c fix post in comment reply template 2015-10-26 15:14:31 +09:00
Sacha Greif
a896a434a0 add CSS class to comment list + small tweaks 2015-10-14 10:24:10 +09:00
Sacha Greif
9be658ad79 Merge pull request #1155 from Scott-Hutcheson/fix-notificationsDisplayName
replaced getUserName with getDisplayName for comments
2015-10-13 10:33:11 +09:00
Sacha Greif
1dd14b68f2 various small fixes 2015-10-06 21:31:57 +09:00
Scott-Hutcheson
d6e83c84a0 reverted Comments.getDisplayName to .getAuthorName 2015-10-01 16:56:50 +01:00
Scott-Hutcheson
5d5dd88ed5 replaced getUserName with getDisplayName for comments
This is to ensure that in notifications, those users who do not have a username,
are still displayed using their display name.

This is required because certain users are missing user names (caused by the usage of
the social sign-up options which does not create a username)
2015-10-01 16:48:51 +01:00
Sacha Greif
ca18dc1aa2 fix comment edit bug 2015-09-25 09:59:29 +09:00
Sacha Greif
1ffcc09b39 add post slug to comment submit redirection 2015-09-23 18:00:26 +09:00
Sacha Greif
b192c2a74b disable form inputs on post and comment submit 2015-09-23 11:36:19 +09:00
Sacha Greif
dafae9b57c working on permissions and router filters 2015-09-19 10:33:37 +09:00
Sacha Greif
4894d5f4f2 sign-in/sign-up routes; clean up 2015-09-18 16:27:59 +09:00
Sacha Greif
19b561df20 use loader template 2015-09-17 18:15:00 +09:00
Sacha Greif
50c48745a3 migrating to Flow Router (WIP) 2015-09-17 14:51:14 +09:00
Sacha Greif
63bfed8d4d fix subscribe to comments 2015-09-12 11:46:23 +09:00
Sacha Greif
e6aa69ac2f move part of permission logic from router to templates; clean up router filters 2015-09-08 11:08:02 +09:00
Sacha Greif
f1d37f0afc Merge branch 'master' into devel 2015-09-04 12:30:16 +09:00
Sacha Greif
04ee6e908d fix typo 2015-09-04 12:30:04 +09:00
Sacha Greif
19171dba00 Merge branch 'master' into devel 2015-09-04 12:20:12 +09:00
Sacha Greif
b0a1f645c8 fix collection internationalization for other collections 2015-09-04 12:19:56 +09:00
Sacha Greif
993a5f65a8 Comments.getSubParams -> Comments.parameters.get; add commentsParameters callback array 2015-09-03 14:30:35 +09:00
Sacha Greif
882ea92921 pass old unedited post to callbacks 2015-08-22 18:13:37 +09:00
Sacha Greif
c000e3f2dd add comments and notifications indexes 2015-08-13 11:32:41 +09:00
Sacha Greif
edfd8f4666 hide comment body label 2015-08-12 17:56:42 +09:00
Sacha Greif
044f210f13 link up "please log in to comment" message; fix Posts.current() helper 2015-07-23 12:00:40 +09:00
Sacha Greif
afbc0fc8e3 remove regEx validation for now to work around SimpleSchema bug 2015-07-14 11:40:24 +09:00
Sacha Greif
3a5117069a more checks 2015-07-10 11:40:11 +09:00
Sacha Greif
9b8bbaeed3 calling vote methods with id and not whole object 2015-07-10 11:06:40 +09:00
Sacha Greif
bfd36c5213 using audit-argument-check and adding check to all methods 2015-07-10 11:05:13 +09:00
Sacha Greif
9eef5fdf07 use Subs Manager for some template-level subscriptions to fix post page content flash issue 2015-07-07 12:54:23 +09:00
Sacha Greif
8f7adeb188 small tweaks 2015-07-01 15:28:08 +09:00
Sacha Greif
974b3c70b5 clean up 2015-06-30 19:12:29 +09:00
Sacha Greif
7e518007f1 Disallow $rename 2015-06-30 19:11:25 +09:00
Sacha Greif
c206230ee5 completely refactor notifications code 2015-06-24 15:38:14 +09:00
Sacha Greif
31f3384e85 Split out own comment and post upvote into separate callbacks to make them easier to remove 2015-06-21 11:58:46 +09:00
Sacha Greif
464e1ae481 fix comment voting style 2015-06-19 15:30:31 +09:00
Sacha Greif
b098a26a19 using better URLs 2015-06-19 12:00:47 +09:00
Sacha Greif
b15d9095c0 add email testing routes for post approved, new comment, and new reply; clean up notifications; clean up posts, comments, user, utils helpers; change post URL format to /id/slug 2015-06-19 11:52:57 +09:00
Sacha Greif
6d7a0fa316 Rename comment_reply route to comment_page 2015-06-19 11:51:35 +09:00
Sacha Greif
3b2c957496 make sure comment exists 2015-05-21 15:51:19 +09:00
Sacha Greif
5299db4866 Merge branch 'master' into devel
# Conflicts:
#	Dockerfile
#	packages/telescope-comments/lib/client/templates/comment_item.html
#	packages/telescope-comments/lib/client/templates/comment_item.js
2015-05-20 10:14:08 +09:00
Sacha Greif
074037d22c post comments are not paginated yet, so set their limit to 0 2015-05-20 09:19:50 +09:00
Sacha Greif
b296d87e44 make profileCompletedAsync callback work; make invites work even with Twitter or Facebook accounts 2015-05-19 12:34:27 +09:00
Sacha Greif
c8754f0dd3 register -> add 2015-05-17 15:38:02 +09:00
Sacha Greif
affec3c1c8 using spacebars helpers for profileUrl, username, and displayName 2015-05-14 16:42:19 +09:00
Sacha Greif
24e3a41d73 add comment submit keyboard shortcut, tweak comment styling 2015-05-14 11:21:44 +09:00