Commit graph

21 commits

Author SHA1 Message Date
Sacha Greif
44062735df fix post submit subscribe/redirection delay 2015-09-08 11:54:14 +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
d1423bb191 fix #1009 2015-08-01 16:19:15 +09:00
Sacha Greif
b8dd7257b7 implement post-specific SEO logic for open graph and Twitter tags 2015-07-27 15:15:57 +09:00
Sacha Greif
cef678811c small tweaks 2015-07-17 08:40:02 +09:00
Sacha Greif
3142da417b preload pages subscription; get rid of global subscriptions fastRender code since that's done automatically 2015-07-08 15:37:55 +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
1575aeb43b working on i18n 2015-06-15 19:05:42 +09:00
Sacha Greif
e74bea4555 making invite stuff work 2015-05-18 18:32:54 +09:00
Sacha Greif
767d4b8178 template camelCase -> underscore 2015-05-18 10:00:41 +09:00
Sacha Greif
aa12450688 fix #972 and fix uninvited users being allowed to post bug 2015-05-17 12:04:46 +09:00
Sacha Greif
affec3c1c8 using spacebars helpers for profileUrl, username, and displayName 2015-05-14 16:42:19 +09:00
Sacha Greif
6be2d73d75 namespacing email stuff 2015-05-13 11:52:00 +09:00
Sacha Greif
8570beb809 small bug fixes 2015-05-11 18:20:05 +09:00
Sacha Greif
bd441a689d fix pending posts; let users access their own pending posts 2015-05-09 13:26:31 +09:00
Sacha Greif
02153a45ff use auto form for profile completion screen 2015-05-06 12:56:59 +09:00
Maxime Quandalle
94c6121d91 Improve jsHint consistency
This commit touch a lot of lines of code with the goal to be more
rigorous about JavaScript code conventions defined in the `.jshintrc`.

Some modification:

* Add a list of used global symbols in the corresponding section of
  `.jshintrc`
* Use local variables instead of global in a lot of places where the
  keyword `var` was mistakenly forgotten
* Add missing semi-colons after instructions
* Add new lines at the end of files
* Remove trailing whitespaces
* Use newer name of some Meteor APIs, eg `addFiles` instead of
  `add_files`
* Add missing `break` statements in `switch` blocks
* Use `===` instead of `==` and `!==` instead of `!=`
* Remove unused variables

This commit should also fix a few bugs due to this lack of rigor. One
example of that was the test `typeof navElements === "array"` that was
never true because in JavaScript, `typeof [] === "object"`, we
replaced this test by the `_.isArray` method provided by underscore.
It might also fix some potential collision related to global
variables.

There is still plenty of work until Telescope code base passes jsHint
validation, but at least this commit is a step in the right direction.
2015-05-01 18:38:27 +02:00
Sacha Greif
e0b9bf36b7 namespacing user roles 2015-04-27 17:14:07 +09:00
Sacha Greif
82b186d62a cleaning up subscriptions preloading API 2015-04-24 10:28:11 +09:00
Sacha Greif
93a3861265 trackEvent > Events.track; add files to telescope:core 2015-04-22 11:49:42 +09:00
Sacha Greif
99988b6405 add telescope:core 2015-04-22 08:47:23 +09:00