Commit graph

55 commits

Author SHA1 Message Date
Sacha Greif
fe222144f2 fix case 2015-01-22 12:03:44 +09:00
Sacha Greif
a0ebc73cf7 fix bug preventing posting comments 2015-01-22 11:58:14 +09:00
Sacha Greif
8931fa11a5 fixing issue with submitting extra properties 2015-01-22 10:59:13 +09:00
Anthony Mayer
f9d9891fba Getting rid of redundant permissions functions
Switched everything over to use can.* functions from telescope-lib instead of using can* functions from lib/permissions.js, deleted lib/permissions.js, added some tests for permissions, and some other random cleanup like deleting unused code.

Conflicts:
	client/views/comments/comment_form.js
2015-01-07 08:22:46 +01:00
Sacha Greif
6a8a6ee8bb working on getting started package 2014-12-31 17:44:21 +09:00
Sacha Greif
03922286e1 refactoring comment form code and fixing upvote issue 2014-12-28 12:13:13 +09:00
Sacha Greif
7d7a3939fc working on comment form latency compensation 2014-12-28 11:45:35 +09:00
Sacha Greif
b786a7121a fixes 2014-12-24 14:22:45 +09:00
Sacha Greif
f2760f9168 refactoring comment submit method 2014-12-24 10:13:48 +09:00
Sacha Greif
ff8bf40694 Merge branch 'telescope-master-semantic-messages' of https://github.com/AdmitHub/Telescope into AdmitHub-telescope-master-semantic-messages
Conflicts:
	client/helpers/handlebars.js
	client/views/comments/comment_edit.js
	client/views/comments/comment_form.js
	client/views/comments/comment_item.js
	client/views/posts/modules/post_upvote.js
	client/views/posts/post_edit.js
	client/views/posts/post_submit.js
	client/views/users/user_edit.js
	client/views/users/user_email.js
	lib/router.js
	packages/telescope-tags/lib/client/views/category_item.js
2014-12-06 17:34:08 +09:00
Daniel Chcouri
2605dcb27c Convert translation keys format to tap:i18n standard
all_lower_cased_underscored_sperated names
2014-11-19 00:00:09 +08:00
Charlie DeTar
ea7efc3550 Replace "throwError" with "flashMessage" and type
Currently, ``throwError`` is used for all manner of messages, including
errors, "success" messages, and "info" messages.  This makes appropriate
styling of the error message difficult.  In addition, the name
``throwError`` seems to create confusion, implying that an error will
actually be thrown (e.g. stopping execution when a user isn't logged in
[0][1]), when in fact it just displays a message.

Replace ``throwError`` with ``flashMessage``, and reliably include a
message "type" (e.g. "error", "success", "info") every time.  rename
``lib/errors.js`` to ``lib/messages.js`` to more accurately reflect its
function.

This commit doesn't rename the message collection (``Errors``), nor the
template responsible for rendering the messages (``error_item.html``) --
that should probably still be done, but has higher likelihood of
trouble for existing alternate themes and installations.

[0] 6ccf7d7d47/client/views/users/user_edit.js (L43)
[1] 083a4c4dc4/client/views/users/user_email.js (L13)
2014-11-05 13:12:09 -07:00
Steffen Strätz
6e863598d1 Merged 2014-10-16 00:32:08 +02:00
Steffen Strätz
226645b770 Refactored "data.commentsCount" to "commentsCount" 2014-10-15 23:59:02 +02:00
Sacha Greif
f00ffd8498 Adding instructions to settings form 2014-09-29 10:15:21 +09:00
Sacha Greif
8625e06045 Renaming callbacks and adding new ones 2014-09-20 10:42:42 +09:00
Sacha Greif
2a911217e9 Making notifications into their own package 2014-09-20 09:57:09 +09:00
Steffen Strätz
ebfd372899 Fixed plural / singular issue in schema naming 2014-09-17 20:20:23 +02:00
Steffen Strätz
b3806468f1 Replaced deprecated "schema" property with "attachSchema" method. 2014-09-17 20:10:43 +02:00
Mitchell Wulfman
6fc6b9eb78 cleanup while getting familiar with the codebase 2014-09-16 15:18:27 -04:00
Sacha Greif
7dc8249910 Do not remove deleted comments from db 2014-09-16 12:12:48 +09:00
Sacha Greif
3cc5dd417c same thing for comments 2014-09-11 14:11:41 +09:00
Sacha Greif
c665e1818e remove unneeded allow insert 2014-09-01 18:19:36 +09:00
Sacha Greif
e21f5c7056 adding new htmlBody field and adding hooks to sanitise it 2014-08-31 16:11:48 +09:00
Sacha Greif
df479d43c3 Stop tracking comments in User object; Refactor publications; add data property to user 2014-08-23 11:28:05 +09:00
Sacha Greif
9b8e16f177 now showing comments on user profile page 2014-08-22 17:06:22 +09:00
Sacha Greif
063242b78d Changed comments to CommentsCount; Now tracking _ids of commenters on each Post document 2014-08-22 10:31:05 +09:00
Sacha Greif
d375bc3c1b Using templates for on-site notifications too; refactoring a lot of stuff 2014-08-04 11:22:43 +09:00
Sacha Greif
ea9ca1e1c5 Still refactoring notifications 2014-08-04 09:47:10 +09:00
Sacha Greif
dc683d7a10 Rename property to lastCommentedAt 2014-07-22 10:29:37 +09:00
Sacha Greif
bcefb66075 typo fix 2014-07-19 15:10:47 +09:00
Sacha Greif
65eae8f171 add lastCommentDate to posts 2014-07-19 15:08:28 +09:00
Sacha Greif
4879a8943f Fixing #312 2014-07-06 09:12:30 +09:00
Sacha Greif
fa25d69444 fixing comment bugs 2014-07-05 16:21:28 +09:00
Sacha Greif
e1919593e7 refactoring dates and timestamps 2014-07-03 13:15:23 +09:00
Sacha Greif
a429a5608f remove regEx validation on ID 2014-06-22 17:25:07 +09:00
Sacha Greif
a99a0f89e6 fixing new comments validation 2014-06-22 10:34:39 +09:00
Sacha Greif
9bf61f3807 Changing "headline" to "title" 2014-05-16 09:19:35 +09:00
Sacha Greif
7812d65c6c Enabling Collection2 (validation doesn't work yet) 2014-05-15 15:18:17 +09:00
Sacha Greif
d073a6dfd3 adding schemas 2014-05-10 16:57:17 +09:00
Egor Suvorov
2f2b5d49f6 #209: createNotifications() is a server-side function now. It's called from 'inviteUser' and 'comment' methods (not from stubs) 2014-01-05 18:44:13 +02:00
Toam
9d9f941f9d More localisation 2013-11-11 22:07:19 +01:00
Sacha Greif
e18c5bbc0f bugfix 2013-11-08 11:23:18 +09:00
Sacha Greif
1c5c8fb575 improved user dashboard even more! 2013-11-08 11:10:23 +09:00
Sacha Greif
2583338d73 fixed comment edit bug 2013-11-05 09:32:21 +09:00
Sacha Greif
b6c2a3aa6a fixed comment voting bug 2013-11-03 13:23:11 +09:00
Sacha Greif
75714297e3 change createNotifications syntax 2013-10-23 20:20:10 +09:00
Sacha Greif
2cfbcd2360 improving notifications 2013-10-23 10:21:08 +08:00
Sacha Greif
2d8df6b3c2 working on comment reply 2013-10-09 20:11:58 +09:00
Sacha Greif
3a4a5adc9d prevent non-authorized comment deletions 2013-10-04 19:51:34 +09:00