Commit graph

38 commits

Author SHA1 Message Date
Sacha Greif
b6c8c8df80 refresh highlights on debug mode trigger; various template tweaks 2015-07-15 14:56:04 +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
793019297e more work on debug package; started restructuring templates to wrap them all in an outer HTML element and avoid text nodes 2015-07-14 19:39:37 +09:00
Sacha Greif
f9842277cd implement fastRender for post lists + daily views 2015-07-08 16:00:27 +09:00
Sacha Greif
9f3e227358 enable cache for daily and single day 2015-07-07 18:50:09 +09:00
Sacha Greif
767d4b8178 template camelCase -> underscore 2015-05-18 10:00:41 +09:00
Sacha Greif
9232b33a44 postsListController -> posts_list_controller 2015-05-12 17:27:05 +09:00
Sacha Greif
88be07cbe5 using posts list controller with posts_list_compact template for profile posts 2015-05-07 18:54:46 +09:00
Sacha Greif
19cf05b77f fix daily view 2015-05-02 14:06:22 +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
08c6e373fc bringing packages back into core repo after all 2015-04-22 07:50:11 +09:00
Sacha Greif
a44ce82a4c telescope:daily and telescope:singleday 2015-04-20 16:40:23 +09:00
Delgermurun
16d9eaf0f9 Delete all getTemplate related codes 2015-04-13 16:29:33 +09:00
Delgermurun
666577f4cb Template[getTemplate('XYZ')] => Template.XYZ 2015-04-13 14:52:03 +09:00
Sacha Greif
83cd0d579e various css tweaks 2015-01-14 09:45:18 +09:00
Sacha Greif
ae9c1fa59b Add load more days link 2015-01-09 16:05:00 +09:00
Sacha Greif
1ed868dffe cleaning up posts daily 2015-01-08 17:37:54 +09:00
Sacha Greif
149ebb1ff7 make daily view work 2015-01-08 17:26:58 +09:00
Sacha Greif
c71f7c0441 add before/after day templates to daily view 2015-01-03 10:14:39 +09:00
Arunoda Susiripala
75278fbae2 added fast-render 2.0 support 2014-11-27 17:25:01 +05:30
Sacha Greif
dbc42a7b51 renaming i18n helper from "i18n" to "_" 2014-11-25 17:16:00 +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
9110fa8e31 Fix digest link 2014-11-18 09:22:59 +09:00
Sacha Greif
4838a04f44 updating packages for IR 1.0 2014-11-17 14:53:42 +09:00
Delgermurun
0ff3fc7dba rename getParameters to getPostParameters 2014-09-29 15:42:35 +08:00
Sacha Greif
90bd327e22 call getTemplate inside anonymous function so that it's only evaluated on route run 2014-09-29 10:35:03 +09:00
Sacha Greif
8262b97f50 wrap postsDaily helper in Meteor.startup() 2014-09-29 09:20:40 +09:00
Sacha Greif
aee7f4c629 put controller block in startup() 2014-09-29 09:06:40 +09:00
Sacha Greif
971822f7b4 fixing postsDaily template typo 2014-09-29 08:25:11 +09:00
Sacha Greif
d25f644c2c Profile tweaks; display more posts 2014-09-01 09:52:40 +09:00
Sacha Greif
11dc51b31d bringing back newsletter and embedly modules in core codebase and updating all packages to 0.9.0 2014-08-28 13:24:28 +09:00
Sacha Greif
b97453a323 cleanup 2014-08-28 11:11:23 +09:00
Sacha Greif
be82db9072 Disable resetScroll; Simplify adminUsers publication; fix search controller 2014-08-28 11:10:31 +09:00
Sacha Greif
fa8691eaaf making default view configurable 2014-08-28 10:16:17 +09:00
Sacha Greif
5a7921c6d2 still working on "load more" bug 2014-08-28 07:55:13 +09:00
Sacha Greif
ba1c6f7c75 more work on daily view 2014-08-27 16:43:41 +09:00
Sacha Greif
3b1cff9347 working on daily view 2014-08-27 10:23:56 +09:00
Sacha Greif
85679ded35 working on daily view 2014-08-27 09:24:37 +09:00