Merge branch 'master' into daily

Conflicts:
	packages/telescope-theme-hubble/lib/client/css/screen.css
This commit is contained in:
Sacha Greif 2014-08-27 10:36:38 +09:00
commit 8ee91e50dc
16 changed files with 332 additions and 33 deletions

View file

@ -203,7 +203,7 @@ Meteor.methods({
author: getDisplayNameById(userId),
upvotes: 0,
downvotes: 0,
comments: 0,
commentsCount: 0,
baseScore: 0,
score: 0,
inactive: false,

View file

@ -1,21 +1,73 @@
{
"dependencies": [
[
"blaze",
"1.0.3"
],
[
"deps",
"1.0.1"
],
[
"ejson",
"1.0.0"
],
[
"geojson-utils",
"1.0.0"
],
[
"htmljs",
"1.0.0"
],
[
"id-map",
"1.0.0"
],
[
"jquery",
"1.0.0"
],
[
"json",
"1.0.0"
],
[
"meteor",
"1.0.2"
],
[
"minimongo",
"1.0.1"
],
[
"observe-sequence",
"1.0.1"
],
[
"ordered-dict",
"1.0.0"
],
[
"random",
"1.0.0"
],
[
"telescope-base",
"0.0.0"
],
[
"telescope-i18n",
"0.0.0"
],
[
"telescope-lib",
"0.0.0"
],
[
"ui",
"1.0.0"
],
[
"underscore",
"1.0.0"

View file

@ -2,7 +2,7 @@ Package.describe({summary: "Telescope base package"});
Package.on_use(function (api) {
api.use(['telescope-lib'], ['client', 'server']);
api.use(['telescope-i18n', 'telescope-lib'], ['client', 'server']);
api.add_files(['lib/base.js'], ['client', 'server']);
api.add_files(['lib/base_client.js'], ['client']);

View file

@ -1,17 +1,69 @@
{
"dependencies": [
[
"blaze",
"1.0.3"
],
[
"deps",
"1.0.1"
],
[
"ejson",
"1.0.0"
],
[
"geojson-utils",
"1.0.0"
],
[
"htmljs",
"1.0.0"
],
[
"id-map",
"1.0.0"
],
[
"jquery",
"1.0.0"
],
[
"json",
"1.0.0"
],
[
"meteor",
"1.0.2"
],
[
"minimongo",
"1.0.1"
],
[
"observe-sequence",
"1.0.1"
],
[
"ordered-dict",
"1.0.0"
],
[
"random",
"1.0.0"
],
[
"telescope-i18n",
"0.0.0"
],
[
"telescope-lib",
"0.0.0"
],
[
"ui",
"1.0.0"
],
[
"underscore",
"1.0.0"

View file

@ -156,6 +156,10 @@
"telescope-base",
"0.0.0"
],
[
"telescope-i18n",
"0.0.0"
],
[
"telescope-lib",
"0.0.0"

View file

@ -56,6 +56,10 @@
"telescope-base",
"0.0.0"
],
[
"telescope-i18n",
"0.0.0"
],
[
"telescope-lib",
"0.0.0"

View file

@ -8,9 +8,10 @@ serveRSS = function() {
});
Posts.find({status: STATUS_APPROVED}, {sort: {postedAt: -1}, limit: 20}).forEach(function(post) {
var description = !!post.body ? post.body+'</br></br>' : '';
feed.item({
title: post.title,
description: post.body+'</br></br> <a href="'+getPostPageUrl(post._id)+'">Comments</a>',
description: description+'<a href="'+getPostUrl(post._id)+'">Discuss</a>',
author: post.author,
date: post.postedAt,
url: getPostLink(post),

View file

@ -1,13 +1,57 @@
{
"dependencies": [
[
"blaze",
"1.0.3"
],
[
"deps",
"1.0.1"
],
[
"ejson",
"1.0.0"
],
[
"geojson-utils",
"1.0.0"
],
[
"htmljs",
"1.0.0"
],
[
"id-map",
"1.0.0"
],
[
"jquery",
"1.0.0"
],
[
"json",
"1.0.0"
],
[
"meteor",
"1.0.2"
],
[
"minimongo",
"1.0.1"
],
[
"observe-sequence",
"1.0.1"
],
[
"ordered-dict",
"1.0.0"
],
[
"random",
"1.0.0"
],
[
"rss",
"0.0.0"
@ -16,10 +60,18 @@
"telescope-base",
"0.0.0"
],
[
"telescope-i18n",
"0.0.0"
],
[
"telescope-lib",
"0.0.0"
],
[
"ui",
"1.0.0"
],
[
"underscore",
"1.0.0"

View file

@ -140,6 +140,10 @@
"telescope-base",
"0.0.0"
],
[
"telescope-i18n",
"0.0.0"
],
[
"telescope-lib",
"0.0.0"

View file

@ -140,6 +140,10 @@
"telescope-base",
"0.0.0"
],
[
"telescope-i18n",
"0.0.0"
],
[
"telescope-lib",
"0.0.0"

View file

@ -397,52 +397,53 @@ a {
float: right; }
/* line 2, ../scss/global/_markdown.scss */
.markdown ul, .markdown ol, .markdown p, .markdown pre {
margin-bottom: 1em; }
/* line 5, ../scss/global/_markdown.scss */
.markdown ul, .markdown ol, .markdown p, .markdown pre, .markdown blockquote {
margin-bottom: 1em;
line-height: 1.7; }
/* line 6, ../scss/global/_markdown.scss */
.markdown strong {
font-weight: bold; }
/* line 8, ../scss/global/_markdown.scss */
/* line 9, ../scss/global/_markdown.scss */
.markdown em {
font-style: italic; }
/* line 11, ../scss/global/_markdown.scss */
/* line 12, ../scss/global/_markdown.scss */
.markdown ul, .markdown ol {
padding-left: 18px; }
/* line 14, ../scss/global/_markdown.scss */
/* line 15, ../scss/global/_markdown.scss */
.markdown ul {
list-style-type: disc; }
/* line 17, ../scss/global/_markdown.scss */
/* line 18, ../scss/global/_markdown.scss */
.markdown ol {
list-style-type: decimal; }
/* line 21, ../scss/global/_markdown.scss */
/* line 22, ../scss/global/_markdown.scss */
.markdown a:link, .markdown a:visited, .markdown a:active {
color: #7ac0e4; }
/* line 24, ../scss/global/_markdown.scss */
/* line 25, ../scss/global/_markdown.scss */
.markdown a:hover {
color: #dd3416; }
/* line 29, ../scss/global/_markdown.scss */
/* line 30, ../scss/global/_markdown.scss */
.markdown p:last-child {
margin-bottom: 0; }
/* line 33, ../scss/global/_markdown.scss */
/* line 34, ../scss/global/_markdown.scss */
.markdown h1, .markdown h2, .markdown h3, .markdown h4, .markdown h5 {
font-weight: bold;
margin-bottom: 0; }
/* line 37, ../scss/global/_markdown.scss */
/* line 38, ../scss/global/_markdown.scss */
.markdown h1 {
font-size: 36px; }
/* line 40, ../scss/global/_markdown.scss */
/* line 41, ../scss/global/_markdown.scss */
.markdown h2 {
font-size: 24px; }
/* line 43, ../scss/global/_markdown.scss */
/* line 44, ../scss/global/_markdown.scss */
.markdown h3 {
font-size: 18px; }
/* line 46, ../scss/global/_markdown.scss */
/* line 47, ../scss/global/_markdown.scss */
.markdown h4 {
font-size: 16px; }
/* line 49, ../scss/global/_markdown.scss */
/* line 50, ../scss/global/_markdown.scss */
.markdown h5 {
font-size: 14px; }
/* line 52, ../scss/global/_markdown.scss */
/* line 53, ../scss/global/_markdown.scss */
.markdown code {
font-family: monospace;
margin: 0 2px;
@ -450,15 +451,19 @@ a {
border: 1px solid #ddd;
background-color: #f8f8f8;
border-radius: 3px; }
/* line 60, ../scss/global/_markdown.scss */
/* line 61, ../scss/global/_markdown.scss */
.markdown pre {
padding: 20px;
border: 1px solid #ddd;
background-color: #f8f8f8; }
/* line 64, ../scss/global/_markdown.scss */
/* line 65, ../scss/global/_markdown.scss */
.markdown pre code {
border: none;
background: none; }
/* line 70, ../scss/global/_markdown.scss */
.markdown blockquote {
border-left: 3px solid #eee;
padding-left: 20px; }
/* line 1, ../scss/global/_tables.scss */
table {

View file

@ -1,6 +1,7 @@
.markdown{
ul, ol, p, pre{
ul, ol, p, pre, blockquote{
margin-bottom: 1em;
line-height: 1.7;
}
strong{
font-weight:bold;
@ -66,4 +67,8 @@
background: none;
}
}
blockquote{
border-left: 3px solid #eee;
padding-left: 20px;
}
}

View file

@ -1,21 +1,73 @@
{
"dependencies": [
[
"blaze",
"1.0.3"
],
[
"deps",
"1.0.1"
],
[
"ejson",
"1.0.0"
],
[
"geojson-utils",
"1.0.0"
],
[
"htmljs",
"1.0.0"
],
[
"id-map",
"1.0.0"
],
[
"jquery",
"1.0.0"
],
[
"json",
"1.0.0"
],
[
"meteor",
"1.0.2"
],
[
"minimongo",
"1.0.1"
],
[
"observe-sequence",
"1.0.1"
],
[
"ordered-dict",
"1.0.0"
],
[
"random",
"1.0.0"
],
[
"telescope-base",
"0.0.0"
],
[
"telescope-i18n",
"0.0.0"
],
[
"telescope-lib",
"0.0.0"
],
[
"ui",
"1.0.0"
],
[
"underscore",
"1.0.0"

View file

@ -646,7 +646,8 @@ em {
/* line 286, ../scss/modules/_posts.scss */
.post-heading {
margin-bottom: 3px; }
margin-bottom: 3px;
line-height: 1.3; }
@media screen and (max-width: 30em) {
/* line 286, ../scss/modules/_posts.scss */
.post-heading {
@ -818,7 +819,11 @@ em {
display: table-cell;
vertical-align: middle; }
<<<<<<< HEAD
@media screen and (max-width: 500px) {
=======
@media screen and (max-width: 30em) {
>>>>>>> master
/* line 455, ../scss/modules/_posts.scss */
.posts {
padding: 0; }
@ -838,15 +843,18 @@ em {
padding: 13px 0; }
/* line 475, ../scss/modules/_posts.scss */
.post .post-content .post-heading .post-title {
line-height: 1.2;
display: block;
margin-bottom: 4px; }
<<<<<<< HEAD
/* line 480, ../scss/modules/_posts.scss */
=======
/* line 478, ../scss/modules/_posts.scss */
>>>>>>> master
.post .post-content .post-heading .post-domain {
line-height: 1;
display: block;
margin-bottom: 4px;
font-size: 13px; }
<<<<<<< HEAD
/* line 487, ../scss/modules/_posts.scss */
.post .post-content .post-meta {
font-size: 11px; }
@ -854,6 +862,15 @@ em {
.post .post-content .post-meta .unit {
font-size: 0; }
/* line 494, ../scss/modules/_posts.scss */
=======
/* line 484, ../scss/modules/_posts.scss */
.post .post-content .post-meta {
font-size: 11px; }
/* line 486, ../scss/modules/_posts.scss */
.post .post-content .post-meta .unit {
font-size: 0; }
/* line 488, ../scss/modules/_posts.scss */
>>>>>>> master
.post .post-content .post-meta .unit:after {
font-size: 12px;
content: "pts "; } }

View file

@ -285,6 +285,7 @@
}
.post-heading{
margin-bottom:3px;
line-height: 1.3;
@include small{
line-height: 1.5;
}
@ -451,9 +452,8 @@
}
@media screen and (max-width: $break-small) {
@include small {
.posts{
// margin:0 10px;
padding:0;
.post-rank{
display:none;
@ -473,12 +473,10 @@
}
.post-heading{
.post-title{
line-height:1.2;
display:block;
margin-bottom:4px;
}
.post-domain{
line-height:1;
display:block;
margin-bottom:4px;
font-size:13px;
@ -486,9 +484,6 @@
}
.post-meta{
font-size:11px;
.comments{
// display:none;
}
.unit{
font-size:0;
&:after{

View file

@ -1,21 +1,73 @@
{
"dependencies": [
[
"blaze",
"1.0.3"
],
[
"deps",
"1.0.1"
],
[
"ejson",
"1.0.0"
],
[
"geojson-utils",
"1.0.0"
],
[
"htmljs",
"1.0.0"
],
[
"id-map",
"1.0.0"
],
[
"jquery",
"1.0.0"
],
[
"json",
"1.0.0"
],
[
"meteor",
"1.0.2"
],
[
"minimongo",
"1.0.1"
],
[
"observe-sequence",
"1.0.1"
],
[
"ordered-dict",
"1.0.0"
],
[
"random",
"1.0.0"
],
[
"telescope-base",
"0.0.0"
],
[
"telescope-i18n",
"0.0.0"
],
[
"telescope-lib",
"0.0.0"
],
[
"ui",
"1.0.0"
],
[
"underscore",
"1.0.0"