Commit graph

20 commits

Author SHA1 Message Date
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
Sacha Greif
365eb467a2 more epic editor clean up 2014-12-05 08:23:31 +09:00
Anthony Mayer
23b72b9cb8 Switching from manually generating urls to using IronRouter functions.
Using {{pathFor}}, path(), and url() where possible. Passing in path
to Meteor.absoluteUrl() where the IronRouter functions didn't make sense.
Also deleting some random unused code.
2014-12-03 00:06:00 -08: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
Mitchell Wulfman
6fc6b9eb78 cleanup while getting familiar with the codebase 2014-09-16 15:18:27 -04:00
Sacha Greif
c483464f4d making all template helpers dynamic 2014-07-05 11:24:28 +09:00
Sacha Greif
9f801f14fe fixing post edit and comment edit validations 2014-06-22 10:49:39 +09:00
Sacha Greif
8263575879 removing constant and fixing bugs 2014-05-01 19:58:56 -07:00
ajduke
e1e4dec278 fixed issue for broken redirection to template after commment deletion 2014-03-20 13:02:07 +05:30
Tarang Patel
39eb1c8e0a Update Events
Move from using depreciated event declaration style. Still supported
not sure if future proof (see
https://github.com/meteor/meteor/blob/devel/packages/templating/deftempl
ate.js#L184)
2013-11-24 16:13:53 +02:00
Toam
c527a00a62 merge 2013-11-09 02:02:05 +01:00
Toam
c06fe46a83 Localisation Common, Errors, Notifications and Users 2013-11-06 01:01:56 +01:00
Sacha Greif
2583338d73 fixed comment edit bug 2013-11-05 09:32:21 +09:00
Sacha Greif
9066839a29 working on post and comment 2013-10-09 12:39:05 +09:00
Sacha Greif
77de206046 Strip HTML from comments and posts to prevent code injections 2012-12-13 10:58:17 +09:00
Tom Coleman
72d8115b1b New router is working, to some degree.
I switched over to router 2.0, and refactored the permissions a bit.
There's still a bit of work needed to get the permissions fully up to speed.
2012-11-21 14:28:18 +11:00
Sacha Greif
cab993ba21 added a way to load a specific comment in the server-side publish method 2012-10-10 11:03:09 +09:00
Julien Chaumond
3126c5b566 Keyboard shortcut for posting/editing a comment 2012-10-08 15:11:35 +02:00
Tom Coleman
e4f55a6377 Start of reorganization. 2012-10-04 11:17:57 +10:00
Renamed from client/templates/comment_edit.js (Browse further)