Commit graph

36 commits

Author SHA1 Message Date
Sacha Greif
83c6f97ee5 only show "play" button for media with the "video" type 2015-08-12 10:51:26 +09:00
Sacha Greif
285aa810d1 use collection helpers in templates instead of postLink and target template helpers 2015-08-01 12:49:44 +09:00
Sacha Greif
836e95bb49 fix thumbnail dimensions 2015-07-22 15:06:03 +09:00
Sacha Greif
62459bfb8e make lightbox video responsive using fitvids 2015-07-20 09:15:12 +09:00
Sacha Greif
3f6be9e15b various CSS and template tweaks 2015-07-17 16:17:26 +09:00
Sacha Greif
2b7f573217 fixing bug where video kept playing when closing lightbox 2015-07-07 10:55:09 +09:00
Sacha Greif
7e48d49366 working on post URL slugs 2015-06-18 13:04:38 +09:00
Sacha Greif
e89565164b fix #1001 2015-06-05 11:28:02 +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
08c6e373fc bringing packages back into core repo after all 2015-04-22 07:50:11 +09:00
Sacha Greif
43b7256680 Packageifying… 2015-04-21 11:02:02 +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
57fa01c6bb various mobile css fixes; fix mobile nav 2015-04-03 09:48:30 +09:00
Delgermurun
057580b793 Settings package 2015-03-28 18:38:20 +09:00
Delgermurun
5cd7c53ff7 Messages package 2015-03-27 16:38:47 +08:00
Sacha Greif
8a8cf53fee using font awesome for icons 2015-03-24 13:13:04 +09:00
Sacha Greif
ea24b5242d Merge branch 'master' of https://github.com/TelescopeJS/Telescope 2015-03-16 10:01:22 +09:00
Sacha Greif
937b37f319 show different embedly missing api key to non admins 2015-03-12 07:01:55 +09:00
Nolan Darilek
f89e8ff7e2 Various accessibility fixes, mainly hiding unnecessary elements from screen readers, adding screen-reader-only content and using live regions for real-time content. 2015-02-12 23:44:59 -06:00
Sacha Greif
1aefbea3cd fixing mobile version for grid layout 2015-01-27 11:44:06 +09:00
Sacha Greif
05cfd0f4a1 add link for regenerating thumbnail 2015-01-19 15:32:08 +09:00
Sacha Greif
a39569e883 make embedly call async 2014-12-24 09:42:10 +09:00
Sacha Greif
48ca46bc32 float thumbnail right on mobile 2014-12-14 12:43:52 +09:00
Sacha Greif
fb91613cfe refactor all the things!
- changed the layout CSS for post modules
- changed order of modules
- changed markup of modules
2014-12-14 12:38:48 +09:00
Sacha Greif
fb0cd210b3 refactoring post module markup and CSS 2014-12-13 17:43:52 +09:00
Sacha Greif
78cf9b8439 fix #617 2014-12-12 08:26:10 +09:00
Sacha Greif
baf7aec813 test if Embedly key exists, and if not show message 2014-12-11 15:36:49 +09:00
Sacha Greif
5a868730da Add link for clearing thumbnail (fix #607) 2014-12-10 17:00:22 +09:00
Sacha Greif
97804989a3 use console.log() instead of throwing error to prevent post submit interruption (fix #607) 2014-12-10 10:14:27 +09:00
Sacha Greif
b6c54c106d renaming errors to messages 2014-12-06 17:41:15 +09:00
Sacha Greif
ff8bf40694 Merge branch 'telescope-master-semantic-messages' of https://github.com/AdmitHub/Telescope into AdmitHub-telescope-master-semantic-messages
Conflicts:
	client/helpers/handlebars.js
	client/views/comments/comment_edit.js
	client/views/comments/comment_form.js
	client/views/comments/comment_item.js
	client/views/posts/modules/post_upvote.js
	client/views/posts/post_edit.js
	client/views/posts/post_submit.js
	client/views/users/user_edit.js
	client/views/users/user_email.js
	lib/router.js
	packages/telescope-tags/lib/client/views/category_item.js
2014-12-06 17:34:08 +09:00
Sacha Greif
9bf9ee6f30 renaming embedly package 2014-12-03 08:43:26 +09:00