Commit graph

24 commits

Author SHA1 Message Date
Sacha Greif
7daabf9e42 renaming 2016-02-17 14:27:27 +09:00
Sacha Greif
241d5d874d more work on publications, + readme 2016-02-17 12:54:18 +09:00
Sacha Greif
9f8a094ab8 reworking publications 2016-02-17 11:28:00 +09:00
Sacha Greif
651d21f54d more refactoring 2016-02-16 15:08:30 +09:00
Sacha Greif
6f14abd296 move invite email template to invite package; add test routes; fix invite link bug 2016-02-06 12:49:43 +09:00
Sacha Greif
3cc20e4c83 use console.log 2016-01-07 18:46:17 +01:00
Sacha Greif
e9e33fe23b Fix wrong route (atSignIn -> signIn) 2015-12-30 15:52:24 +09:00
Sacha Greif
4894d5f4f2 sign-in/sign-up routes; clean up 2015-09-18 16:27:59 +09:00
Sacha Greif
50c48745a3 migrating to Flow Router (WIP) 2015-09-17 14:51:14 +09:00
Sacha Greif
d54aba201e make camelcaseify transform first letter to lowercase 2015-08-24 11:40:00 +09:00
Sacha Greif
e5c54c2f48 Refactoring categories code into multiple files; improving category slug generation logic to avoid duplicate slugs 2015-08-20 10:30:34 +09:00
Sacha Greif
9ed1841198 clean up comment and posts excerpts in newsletter 2015-08-15 12:28:22 +09:00
Sacha Greif
3b4ee38f99 add util for adding "http" to URL; add isVideo posts helper 2015-07-27 15:15:38 +09:00
Sacha Greif
a3f7a69bc8 make trimWords work with empty string 2015-07-14 12:01:32 +09:00
Sacha Greif
ffe1cf3316 only add trailing slash to siteUrl, not other url fields 2015-06-25 12:03:10 +09:00
Sacha Greif
b15d9095c0 add email testing routes for post approved, new comment, and new reply; clean up notifications; clean up posts, comments, user, utils helpers; change post URL format to /id/slug 2015-06-19 11:52:57 +09:00
Sacha Greif
7e48d49366 working on post URL slugs 2015-06-18 13:04:38 +09:00
Sacha Greif
b72ef6fd45 renaming posts templates 2015-05-18 10:30:08 +09:00
Sacha Greif
6be2d73d75 namespacing email stuff 2015-05-13 11:52:00 +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
d675b21e27 more namespacing 2015-04-23 10:39:58 +09:00
Sacha Greif
93a3861265 trackEvent > Events.track; add files to telescope:core 2015-04-22 11:49:42 +09:00
Sacha Greif
08c6e373fc bringing packages back into core repo after all 2015-04-22 07:50:11 +09:00