Commit graph

61 commits

Author SHA1 Message Date
Sacha Greif
586125243b use template reactive variables for day count to fix autoscroll bug 2015-08-05 14:05:53 +09:00
Sacha Greif
23dd936758 only cache first 15 pages of posts_daily 2015-07-30 09:34:19 +09:00
Sacha Greif
0bf28dd3b4 add "only" and "except" options to modules 2015-07-30 09:07:37 +09:00
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
92d44bf445 working on limit parameter 2015-07-08 16:23:12 +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
f1469a04ae make sure default view controller exists 2015-05-19 18:29:54 +09:00
Sacha Greif
60024af0d1 Telescope.menus -> Telescope.menuItems 2015-05-18 11:11:14 +09:00
Sacha Greif
767d4b8178 template camelCase -> underscore 2015-05-18 10:00:41 +09:00
Sacha Greif
c8754f0dd3 register -> add 2015-05-17 15:38:02 +09:00
Sacha Greif
9232b33a44 postsListController -> posts_list_controller 2015-05-12 17:27:05 +09:00
Sacha Greif
bb32278b5c working on documentation 2015-05-10 13:37:42 +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
9f7e87f722 harmonise post lists controllers 2015-05-07 15:44:12 +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
964f91aa88 refactoring menus API 2015-04-24 10:49:24 +09: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
Sacha Greif
50fc3eb11a Merge branch 'namespace' of https://github.com/TelescopeJS/Telescope into namespace
# Conflicts:
#	lib/users.js
#	packages/telescope-base/lib/base.js
#	packages/telescope-base/package.js
#	packages/telescope-lib
2015-04-20 13:57:37 +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
ffdbaed70d Merge branch 'settings-package' of https://github.com/delgermurun/Telescope into delgermurun-settings-package
Conflicts:
	.meteor/packages
	.meteor/versions
	client/components/postList/posts_list.js
	client/main.js
	lib/router/filters.js
	lib/router/posts.js
	lib/router/users.js
	packages/telescope-base/package.js
	packages/telescope-daily/lib/routes.js
	packages/telescope-module-share/package.js
	packages/telescope-seo/lib/routes.js
	packages/telescope-seo/lib/seo.js
	packages/telescope-seo/package.js
	packages/telescope-singleday/lib/routes.js
2015-04-08 09:20:50 +09:00
Sacha Greif
07125f900d Bring SEO features back into core and refactor SEO package into sitemap package 2015-04-01 11:00:31 +09:00
Delgermurun
057580b793 Settings package 2015-03-28 18:38:20 +09:00
Sacha Greif
e06e5289f8 adding new postListTop zone 2015-03-22 11:19:27 +09:00
Sacha Greif
4de55e5120 working on posts list views navigation 2015-03-22 09:42:58 +09:00
Sacha Greif
08a4b1f785 make getCurrentTemplate always return string 2015-01-27 11:11:14 +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
0a5f30ce71 use "Telescope" as site title when not defined 2015-01-05 16:32:38 +09:00
Sacha Greif
f5354bf69d renaming viewNav to viewsMenu and adminNav to adminMenu 2015-01-05 10:06:30 +09:00
Sacha Greif
c71f7c0441 add before/after day templates to daily view 2015-01-03 10:14:39 +09:00
Sacha Greif
f8cb992069 Adding descriptions in post list pages and showing them in menus. 2014-12-15 09:46:51 +09:00
Sacha Greif
09885700b0 set page title at router controller level 2014-12-11 12:38:53 +09:00
Sacha Greif
75bd8d9920 extracting digest into its own package 2014-12-08 11:15:20 +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
Sacha Greif
0a696ce1e3 internationalizing packages 2014-11-24 11:27:07 +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