Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
a139120
fixed markdown regex and added `code`
engelgabriel Jun 10, 2015
e41a59d
added style for inline code
engelgabriel Jun 10, 2015
c9b056c
formatting tips
engelgabriel Jun 10, 2015
08dab8e
Adding strike instruction
engelgabriel Jun 10, 2015
46525f7
Adding strike instruction
engelgabriel Jun 10, 2015
1a14e6f
Adding rocketchat:tmpembed
engelgabriel Jun 11, 2015
f88f591
fixing new render
engelgabriel Jun 11, 2015
154f96a
adding _id to message divs and removing old code
engelgabriel Jun 11, 2015
a886fc6
Merge pull request #1 from RocketChat/master
shahar3012 Jun 11, 2015
924a11e
RTL Support first submit - WIP
shahar3012 Jun 11, 2015
73950b6
Updating mixing
shahar3012 Jun 11, 2015
5c82681
adding dispatch:kernel
engelgabriel Jun 11, 2015
29f503a
adding embedded hubot
engelgabriel Jun 12, 2015
f4560af
adding embedded hubot
engelgabriel Jun 12, 2015
d1d6017
adding embedded hubot
engelgabriel Jun 12, 2015
df08bdc
fixed adding external scripts
engelgabriel Jun 12, 2015
7bdb322
RTL Support second submit - WIP
shahar3012 Jun 12, 2015
083a34e
log only if debug true
engelgabriel Jun 12, 2015
a40b5a2
meteor update
engelgabriel Jun 14, 2015
58e412f
make it disable by default until its fully working
engelgabriel Jun 14, 2015
71b78dc
Merge pull request #184 from RocketChat/integrated-hubot
engelgabriel Jun 14, 2015
396187d
Merge pull request #181 from MiHuevos/master
engelgabriel Jun 14, 2015
43cd3ca
Turned off RTL until we have it as an option
engelgabriel Jun 14, 2015
fb2528a
preparing for official emojuone packaged
engelgabriel Jun 14, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions .meteor/packages
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ markdown
meteor-platform
reactive-var
service-configuration

chrismbeckett:toastr
dispatch:kernel
francocatena:status
iframely:oembed
iron:router
Expand All @@ -31,29 +33,26 @@ meteorhacks:kadira
mizzao:autocomplete
mizzao:timesync
momentjs:moment
monbro:mongodb-mapreduce-aggregation
mrt:reactive-store
nooitaf:colors
pauli:accounts-linkedin
percolate:migrations
percolatestudio:synced-cron
pierreeric:rxfavico

raix:handlebar-helpers
rocketchat:autolinker
rocketchat:emojione
rocketchat:file
rocketchat:highlight
#rocketchat:hubot
rocketchat:lib
rocketchat:markdown
rocketchat:me
rocketchat:mentions
rocketchat:highlight
rocketchat:autolinker
rocketchat:markdown
rocketchat:emojione

simple:highlight.js
rocketchat:tmpembed
tap:i18n
tmeasday:crypto-md5
tmeasday:errors
todda00:friendly-slugs
underscorestring:underscore.string
yasaricli:slugify
emojione:emojione
12 changes: 8 additions & 4 deletions .meteor/versions
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ coffeescript@1.0.6
dandv:caret-position@2.1.1
ddp@1.1.0
deps@1.0.7
dispatch:kernel@0.0.6
dispatch:request-animation-frame@0.0.1
ejson@1.0.6
email@1.0.6
emojione:emojione@1.4.1
facebook@1.2.0
fastclick@1.0.3
francocatena:status@1.2.3
Expand Down Expand Up @@ -62,15 +63,15 @@ matb33:collection-hooks@0.7.13
meteor@1.1.6
meteor-developer@1.1.3
meteor-platform@1.2.2
meteorhacks:kadira@2.21.0
meteorhacks:kadira@2.22.0
meteorhacks:meteorx@1.3.1
meteorspark:util@0.2.0
minifiers@1.1.5
minimongo@1.0.8
mizzao:autocomplete@0.5.1
mizzao:timesync@0.3.1
mobile-status-bar@1.0.3
momentjs:moment@2.10.3
monbro:mongodb-mapreduce-aggregation@1.0.1
mongo@1.1.0
mongo-livedata@1.0.8
mrt:reactive-store@0.0.1
Expand All @@ -85,6 +86,8 @@ pauli:linkedin@1.1.2
percolate:migrations@0.7.5
percolatestudio:synced-cron@1.1.0
pierreeric:rxfavico@0.3.5_1
qnub:emojione@0.0.3
raix:eventemitter@0.1.2
raix:handlebar-helpers@0.2.4
random@1.0.3
reactive-dict@1.1.0
Expand All @@ -99,6 +102,7 @@ rocketchat:lib@0.0.1
rocketchat:markdown@0.0.1
rocketchat:me@0.0.1
rocketchat:mentions@0.0.1
rocketchat:tmpembed@0.0.1
routepolicy@1.0.5
service-configuration@1.0.4
session@1.1.0
Expand All @@ -107,7 +111,7 @@ simple:highlight.js@1.0.9
spacebars@1.0.6
spacebars-compiler@1.0.6
srp@1.0.3
tap:i18n@1.4.1
tap:i18n@1.5.0
templating@1.1.1
tmeasday:crypto-base@3.1.2
tmeasday:crypto-md5@3.1.2
Expand Down
6 changes: 3 additions & 3 deletions client/methods/sendMessage.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ Meteor.methods
username: Meteor.user().username

message.html = message.msg

if _.trim(message.html) isnt ''
message.html = _.escapeHTML message.html
message = RocketChat.callbacks.run 'beforeSaveMessage', message
message.html = message.html.replace /\n/g, '<br/>'
console.log message
message.html = message.html.replace /\n/gm, '<br/>'

ChatMessage.upsert
rid: message.rid
Expand Down
42 changes: 40 additions & 2 deletions client/stylesheets/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,32 @@ a {

code {
background: #f8f8f8;
border-radius: 6px;
border-radius: 4px;
border: 1px solid #ccc;
color: #333;
display: block;
font-weight: bold;
overflow-x: auto;
padding: 0.5em;
word-wrap: break-word;
&.inline {
display: inline-block;
padding: 0 10px;
margin: 0;
vertical-align: bottom;
}
}

q {
padding-left: 10px;
&:before {
content: ' ';
background-color: #ccc;
height: 22px;
width: 3px;
position: absolute;
left: 50px;
}
}

.text-center {
Expand Down Expand Up @@ -1622,7 +1640,7 @@ a.github-fork {
}
.footer {
position: absolute;
padding: 14px 20px 0px 20px;
padding: 8px 20px 0px 20px;
background: #fff;
border-top: 1px solid @tertiary-background-color;
z-index: 100;
Expand Down Expand Up @@ -1683,11 +1701,31 @@ a.github-fork {
}
}
> .users-typing {
float: left;
height: 20px;
font-size: 12px;
color: #888;
padding: 3px 0px 0px 5px;
}
> .formatting-tips {
float: right;
height: 20px;
font-size: 11px;
color: #888;
padding: 4px 0px 0px 5px;
display: inline-block;
white-space: nowrap;
q {
padding: 0 0 0 3px;
border-left: 3px solid #ccc;
&:before {
content: none !important;
}
}
code {
color: #888;
}
}
}
.add-user-search {
height: 100%;
Expand Down
Loading