Commit graph

21 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
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
Sacha Greif
083a4c4dc4 show username if available 2014-08-12 17:47:11 +09:00
Sacha Greif
7f103be36d refactoring and style tweaks 2014-08-05 12:25:26 +09:00
Sacha Greif
c483464f4d making all template helpers dynamic 2014-07-05 11:24:28 +09:00
Sadi
fd62a516d8 fixed - not showing user profiles
fixed - not showing user profiles if logged with fb or twitter
2014-06-17 15:20:01 +03:00
Ali Elouafiq
731723d6c6 integrating Facebook profile picture and fixing Facebook integration issues 2014-05-04 18:48:47 +01:00
Ali Elouafiq
12c18e0119 adding Facebook Login
and a fancy favicon
2014-05-04 17:21:52 +01:00
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
Sacha Greif
b2afbe6ac7 merging with master 2013-11-21 11:41:04 +09:00
Sacha Greif
0ea12ec96f do not try to add user to mailchimp list if they don't have an email 2013-11-14 10:04:11 +09: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
d2d819e9c7 merging with master 2013-10-16 10:44:16 +09:00
Sacha Greif
cf2e2533bc replacing Meteor.Router.to by Router.go 2013-10-09 21:49:02 +09:00
Sacha Greif
c17d874596 adding option to sign up new users to a MailChimp list 2013-10-05 11:43:07 +09:00
Sacha Greif
3bf6a822ba router.navigate -> router.to 2013-03-15 14:58:29 +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
159492d12e cleaned up router 2012-10-11 08:23:52 +09:00
Tom Coleman
e4f55a6377 Start of reorganization. 2012-10-04 11:17:57 +10:00
Renamed from client/templates/user_email.js (Browse further)