Commit graph

34 commits

Author SHA1 Message Date
Sacha Greif
2a3981253e refactor modules code a bit; still working on menu component 2015-10-08 11:13:48 +09:00
Sacha Greif
ba53b99927 cleaning up and refactoring menu 2015-10-07 15:04:22 +09:00
Sacha Greif
a503772f87 fix post categories links and i18n issue 2015-09-23 10:23:39 +09:00
Sacha Greif
4894d5f4f2 sign-in/sign-up routes; clean up 2015-09-18 16:27:59 +09:00
Sacha Greif
1d52fdd384 menu item custom data context is now passed as item.data; added setting to switch between single and multiple categories filter; categories admin route is now admin/categories; added support for multiple categories at the same time 2015-09-11 10:51:21 +09:00
Sacha Greif
01fa2db936 Menus refactoring 2015-08-21 10:20:48 +09:00
Sacha Greif
7088b71760 working on hierarchical categories 2015-08-05 18:49:11 +09:00
Sacha Greif
b02b5688b3 removing module template to simplify template structure 2015-07-20 10:11:55 +09:00
Sacha Greif
dc8a0fb1e2 make template highlighting code more flexible, tweak header layout; revert a couple changes 2015-07-15 10:06:44 +09:00
Sacha Greif
6c10a8e4df renamed nav template to header; more template and CSS tweaks 2015-07-14 21:45:18 +09:00
Sacha Greif
af55ad222e refactor notifications menu code; add hasNotifications helper 2015-07-14 12:57:40 +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
5f9bd0d223 more template name changes 2015-05-18 10:12:48 +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
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
Sacha Greif
3d383e06e1 more packageification; removed meteor hacks:npm; changed telescope-blank to custom 2015-04-21 11:42:47 +09:00
Delgermurun
666577f4cb Template[getTemplate('XYZ')] => Template.XYZ 2015-04-13 14:52:03 +09:00
Sacha Greif
cb7b4164ab collapse user menu by default 2015-04-08 11:57:53 +09:00
Delgermurun
057580b793 Settings package 2015-03-28 18:38:20 +09:00
Sacha Greif
35efbeb3ee refactoring menu component 2015-03-28 10:54:41 +09:00
Sacha Greif
3f323cd9cb fix dropdown padding 2015-03-27 14:40:11 +09:00
Sacha Greif
8fc95a316c fix mobile nav 2015-03-24 17:03:37 +09:00
Sacha Greif
f59ad553b6 close dropdown when clicking "mark all as read" 2015-03-23 11:35:49 +09:00
Sacha Greif
9c5d3534cb refactoring dropdown CSS 2015-03-23 11:28:36 +09:00
Sacha Greif
51b52da004 working on admin menu 2015-03-23 10:32:56 +09:00
Sacha Greif
7de8974fc4 fixing top nav & notifications 2015-03-22 12:27:05 +09:00
Sacha Greif
333b64ae45 adding notifications for approved posts for both admins and end users 2015-01-21 16:47:22 +09:00
Sacha Greif
82aed922a2 fix mark as read bug 2014-12-01 16:53:41 +09:00
Sacha Greif
0a696ce1e3 internationalizing packages 2014-11-24 11:27:07 +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
Kestanous
9be1bd7169 herald integration 2014-10-02 16:42:31 -04:00
Sacha Greif
2a911217e9 Making notifications into their own package 2014-09-20 09:57:09 +09:00