Commit graph

138 commits

Author SHA1 Message Date
Anthony Mayer
f197b930e6 Cleaning up vote click handling functions and adding tests.
Also combining can.upvote and can.downvote and deleting unused permissions function and random cleanup.
2015-01-19 00:04:41 -08: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
778c08d544 clean-up 2014-12-30 18:18:00 +09:00
Sacha Greif
f5eb356ac1 adding commenters avatars 2014-12-14 15:15:34 +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
Sacha Greif
17431dfb87 removing Epic Editor files 2014-12-03 09:07:59 +09:00
Sacha Greif
d3283e9b9c Merge branch 'master' of https://github.com/TelescopeJS/Telescope 2014-11-25 15:47:49 +09:00
Ben Gott
f68ecba862 Upgrade to bengott:avatar 0.6.0
- Create new config file in lib/config/avatar.js (accessible to both
  client and server)
- Comment out some outdated SCSS/CSS
2014-11-24 01:48:04 -06:00
Sacha Greif
71e0376595 make moment i18n reactive; add global setLanguage function 2014-11-21 12:50:26 +09:00
Sacha Greif
e572274249 i18ning missing strings 2014-11-20 14:55:34 +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
Sacha Greif
73cb59a088 Working on IR 1.0 update 2014-11-17 11:01:37 +09: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
Ben Gott
bab24860d6 Update to use bengott:avatar package for all user avatars 2014-09-30 12:34:42 -05:00
Sacha Greif
b359d582d2 Merge branch 'master' of github.com:TelescopeJS/Telescope 2014-09-18 07:24:48 +09:00
Sacha Greif
8b73a4b9a0 CSS tweaks 2014-09-18 07:24:42 +09:00
Mitchell Wulfman
6fc6b9eb78 cleanup while getting familiar with the codebase 2014-09-16 15:18:27 -04:00
Sacha Greif
99b07d0172 Merge branch 'dburles-incoming' 2014-09-16 14:06:04 +09:00
Sacha Greif
2e02af42c1 changing filename to force refresh 2014-09-16 12:19:09 +09:00
Sacha Greif
f9390a301d various small css fixes 2014-09-16 11:51:13 +09:00
David Burles
d54bd804e4 added incoming posts notification button 2014-09-15 12:42:17 +10:00
pahans
1b13198157 use epic editor autogrow feature 2014-09-12 14:50:13 +05:30
Sacha Greif
e21f5c7056 adding new htmlBody field and adding hooks to sanitise it 2014-08-31 16:11:48 +09:00
Sacha Greif
dbae1da597 still working on refactoring css 2014-08-12 17:11:36 +09:00
Sacha Greif
4ad020174c Separating themes; adding accounts-entry 2014-08-12 16:16:44 +09:00
Sacha Greif
509972f18a Now keeping track of upvoted/downvoted posts & comments. 2014-08-11 10:14:53 +09:00
Sacha Greif
77d572345b removing a few console.logs 2014-06-25 14:33:41 +09:00
Sacha Greif
94e055de32 generating nav drop downs from js objects 2014-05-09 15:55:50 +09:00
Christian Bundy
86ec3ede93 Solve trivial JS errors
Using jshint and and fixmyjs I went through and removed 220 trivial
Javascript errors – mostly missing semicolons, and some properties that
weren’t written in dot notation. You can view the diff of jshint’s
output here:
https://gist.github.com/christianbundy/7b37c51bb6f7c8d739e7/revisions
2014-05-06 20:15:48 -07:00
Ali Elouafiq
12c18e0119 adding Facebook Login
and a fancy favicon
2014-05-04 17:21:52 +01:00
Arunoda Susiripala
0e57794f47 added complete fast-render support 2014-01-12 22:58:07 +05:30
Egor Suvorov
89eca55ad3 #220: now all pages are waitOn('categories') 2014-01-10 01:25:25 +02:00
Egor Suvorov
c5a2a59edc router.js: all router-level access checks now wait for required subscriptions to be ready instead of hacking around 2014-01-07 22:50:56 +02:00
Egor Suvorov
088c2a1127 #217: now isAdmin router check call this.subscribe().wait() to avoid showing 'You have to be an admin' message to admins 2014-01-06 21:01:21 +02:00
Sacha Greif
a8ef61366f added search logging 2013-11-22 14:20:47 +09:00
Sacha Greif
b2afbe6ac7 merging with master 2013-11-21 11:41:04 +09:00
Sacha Greif
0cc4ca1bbb adding custom package 2013-11-21 11:32:09 +09:00
Sacha Greif
4cd03a6a11 refactored notifications; added notifications for new users 2013-11-18 11:30:58 +09:00
Sacha Greif
9e36b3d8d2 avoid duplicating code 2013-11-17 11:42:17 +09:00
Sacha Greif
c461cd78b0 refactoring subscriptions (thanks @Arunoda!) 2013-11-17 08:01:56 +09:00
Sacha Greif
6727dfd516 fix bug with more button on search 2013-11-16 17:44:33 +09:00
Sacha Greif
1aa697a357 enable search results pagination 2013-11-16 16:53:38 +09:00
Sacha Greif
5c47069519 give search results their own route 2013-11-16 14:01:00 +09:00
Sacha Greif
d8c31b7f62 css tweaks 2013-11-15 15:29:39 +09:00
Sacha Greif
ef537c4987 working on 18n 2013-11-15 13:10:27 +09:00
Ry Walker
377f5704ef Basic search working 2013-11-14 23:01:59 -05:00
Sacha Greif
1b75b37e4a return empty cursors when user cannot view 2013-11-15 11:50:57 +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
9d9f941f9d More localisation 2013-11-11 22:07:19 +01:00
Toam
c527a00a62 merge 2013-11-09 02:02:05 +01:00