Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
9b3af57d
Commit
9b3af57d
authored
Mar 05, 2014
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Release version 0.7.4
parent
74779afd
Changes
18
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
57 additions
and
44 deletions
+57
-44
bower.json
bower.json
+1
-1
builds/converse-no-locales-no-otr.min.js
builds/converse-no-locales-no-otr.min.js
+2
-2
builds/converse-no-otr.min.js
builds/converse-no-otr.min.js
+2
-2
builds/converse.min.js
builds/converse.min.js
+2
-2
converse.js
converse.js
+3
-2
docs/CHANGES.rst
docs/CHANGES.rst
+4
-3
docs/html/.buildinfo
docs/html/.buildinfo
+1
-1
docs/html/genindex.html
docs/html/genindex.html
+5
-5
docs/html/index.html
docs/html/index.html
+5
-5
docs/html/objects.inv
docs/html/objects.inv
+1
-1
docs/html/search.html
docs/html/search.html
+5
-5
docs/html/searchindex.js
docs/html/searchindex.js
+1
-1
docs/source/conf.py
docs/source/conf.py
+2
-2
index.html
index.html
+1
-1
package.json
package.json
+1
-1
src/build.js
src/build.js
+2
-2
tests.html
tests.html
+1
-1
tests_main.js
tests_main.js
+18
-7
No files found.
bower.json
View file @
9b3af57d
{
"name"
:
"converse"
,
"version"
:
"0.7.
3
"
,
"version"
:
"0.7.
4
"
,
"devDependencies"
:
{
"jasmine"
:
"https://github.com/jcbrand/jasmine.git#1_3_x"
,
"otr"
:
"0.2.7"
...
...
builds/converse-no-locales-no-otr.min.js
View file @
9b3af57d
This diff is collapsed.
Click to expand it.
builds/converse-no-otr.min.js
View file @
9b3af57d
This diff is collapsed.
Click to expand it.
builds/converse.min.js
View file @
9b3af57d
This diff is collapsed.
Click to expand it.
converse.js
View file @
9b3af57d
...
...
@@ -962,15 +962,16 @@
msg_date
=
msg_dict
.
time
?
converse
.
parseISO8601
(
msg_dict
.
time
)
:
new
Date
(),
text
=
msg_dict
.
message
,
match
=
text
.
match
(
/^
\/(
.*
?)(?:
(
.*
))?
$/
),
fullname
=
msg_dict
.
fullname
||
this
.
model
.
get
(
'
fullname
'
),
template
,
username
;
if
((
match
)
&&
(
match
[
1
]
===
'
me
'
))
{
text
=
text
.
replace
(
/^
\/
me/
,
''
);
template
=
this
.
action_template
;
username
=
msg_dict
.
fullname
;
username
=
fullname
;
}
else
{
template
=
this
.
message_template
;
username
=
msg_dict
.
sender
===
'
me
'
&&
__
(
'
me
'
)
||
msg_dict
.
fullname
||
this
.
model
.
get
(
'
fullname
'
)
;
username
=
msg_dict
.
sender
===
'
me
'
&&
__
(
'
me
'
)
||
fullname
;
}
$el
.
find
(
'
div.chat-event
'
).
remove
();
var
message
=
template
({
...
...
docs/CHANGES.rst
View file @
9b3af57d
Changelog
=========
0.7.3 (
Unreleased
)
0.7.3 (
2014-03-05
)
------------------
.. note:: This release contains an important security fix.
Thanks Renaud Dubourguais from `Synacktiv http://synacktiv.com`_ for reporting the vulnerability.
* #125 Bugfix: crypto dependencies loaded in wrong order [jcbrand]
* Bugfix: action messages (i.e. /me) didn't work in OTR mode. [jcbrand]
* Security fix: Ensure that message URLs are properly decoded. [jcbrand]
0.7.3 (2014-02-23)
------------------
...
...
@@ -26,11 +26,12 @@ Changelog
------------------
.. note:: This release contains an important security fix.
Thanks to hejsan for reporting the vulnerability.
* #48 Add event emitter support and emit events. [jcbrand]
* #97 Wrong number of online contacts shown with config option ``show_only_online_users``. [jcbrand]
* #100 Make the fetching of vCards optional (enabled by default). [jcbrand]
* Sanitize message text to avoid Javascript injection attacks.
Thanks to hejsan for reporting.
[jcbrand]
* Sanitize message text to avoid Javascript injection attacks. [jcbrand]
0.7.1 (2013-11-17)
------------------
...
...
docs/html/.buildinfo
View file @
9b3af57d
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config:
738ca7b60aed811ee1668ad08d26eabb
config:
0660e50cf30718622673fcf0e779dfd4
tags: fbb0d17656682115ca4d033fb2f83ba1
docs/html/genindex.html
View file @
9b3af57d
...
...
@@ -9,7 +9,7 @@
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<title>
Index
—
Converse.js 0.7.
3
documentation
</title>
<title>
Index
—
Converse.js 0.7.
4
documentation
</title>
<link
rel=
"stylesheet"
href=
"_static/stylesheet.css"
type=
"text/css"
/>
<link
rel=
"stylesheet"
href=
"_static/pygments.css"
type=
"text/css"
/>
...
...
@@ -17,7 +17,7 @@
<script
type=
"text/javascript"
>
var
DOCUMENTATION_OPTIONS
=
{
URL_ROOT
:
''
,
VERSION
:
'
0.7.
3
'
,
VERSION
:
'
0.7.
4
'
,
COLLAPSE_INDEX
:
false
,
FILE_SUFFIX
:
'
.html
'
,
HAS_SOURCE
:
true
...
...
@@ -26,7 +26,7 @@
<script
type=
"text/javascript"
src=
"_static/jquery.js"
></script>
<script
type=
"text/javascript"
src=
"_static/underscore.js"
></script>
<script
type=
"text/javascript"
src=
"_static/doctools.js"
></script>
<link
rel=
"top"
title=
"Converse.js 0.7.
3
documentation"
href=
"index.html"
/>
<link
rel=
"top"
title=
"Converse.js 0.7.
4
documentation"
href=
"index.html"
/>
</head>
<body>
<div
id=
"header_wrap"
class=
"outer"
>
...
...
@@ -51,7 +51,7 @@
<li
class=
"right"
style=
"margin-right: 10px"
>
<a
href=
"#"
title=
"General Index"
accesskey=
"I"
>
index
</a></li>
<li><a
href=
"index.html"
>
Converse.js 0.7.
3
documentation
</a>
»
</li>
<li><a
href=
"index.html"
>
Converse.js 0.7.
4
documentation
</a>
»
</li>
</ul>
</div>
<section
id=
"main_content"
class=
"inner"
>
...
...
@@ -80,7 +80,7 @@
<li
class=
"right"
style=
"margin-right: 10px"
>
<a
href=
"#"
title=
"General Index"
>
index
</a></li>
<li><a
href=
"index.html"
>
Converse.js 0.7.
3
documentation
</a>
»
</li>
<li><a
href=
"index.html"
>
Converse.js 0.7.
4
documentation
</a>
»
</li>
</ul>
</div>
</div>
...
...
docs/html/index.html
View file @
9b3af57d
...
...
@@ -7,7 +7,7 @@
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<title>
Quickstart (to get a demo up and running)
—
Converse.js 0.7.
3
documentation
</title>
<title>
Quickstart (to get a demo up and running)
—
Converse.js 0.7.
4
documentation
</title>
<link
rel=
"stylesheet"
href=
"_static/stylesheet.css"
type=
"text/css"
/>
<link
rel=
"stylesheet"
href=
"_static/pygments.css"
type=
"text/css"
/>
...
...
@@ -15,7 +15,7 @@
<script
type=
"text/javascript"
>
var
DOCUMENTATION_OPTIONS
=
{
URL_ROOT
:
''
,
VERSION
:
'
0.7.
3
'
,
VERSION
:
'
0.7.
4
'
,
COLLAPSE_INDEX
:
false
,
FILE_SUFFIX
:
'
.html
'
,
HAS_SOURCE
:
true
...
...
@@ -24,7 +24,7 @@
<script
type=
"text/javascript"
src=
"_static/jquery.js"
></script>
<script
type=
"text/javascript"
src=
"_static/underscore.js"
></script>
<script
type=
"text/javascript"
src=
"_static/doctools.js"
></script>
<link
rel=
"top"
title=
"Converse.js 0.7.
3
documentation"
href=
"#"
/>
<link
rel=
"top"
title=
"Converse.js 0.7.
4
documentation"
href=
"#"
/>
</head>
<body>
<div
id=
"header_wrap"
class=
"outer"
>
...
...
@@ -49,7 +49,7 @@
<li
class=
"right"
style=
"margin-right: 10px"
>
<a
href=
"genindex.html"
title=
"General Index"
accesskey=
"I"
>
index
</a></li>
<li><a
href=
"#"
>
Converse.js 0.7.
3
documentation
</a>
»
</li>
<li><a
href=
"#"
>
Converse.js 0.7.
4
documentation
</a>
»
</li>
</ul>
</div>
<section
id=
"main_content"
class=
"inner"
>
...
...
@@ -1045,7 +1045,7 @@ The query string will be included in the request with <tt class="docutils litera
<li
class=
"right"
style=
"margin-right: 10px"
>
<a
href=
"genindex.html"
title=
"General Index"
>
index
</a></li>
<li><a
href=
"#"
>
Converse.js 0.7.
3
documentation
</a>
»
</li>
<li><a
href=
"#"
>
Converse.js 0.7.
4
documentation
</a>
»
</li>
</ul>
</div>
</div>
...
...
docs/html/objects.inv
View file @
9b3af57d
# Sphinx inventory version 2
# Project: Converse.js
# Version: 0.7.
3
# Version: 0.7.
4
# The remainder of this file is compressed using zlib.
xm
{"];
...
...
docs/html/search.html
View file @
9b3af57d
...
...
@@ -7,7 +7,7 @@
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<title>
Search
—
Converse.js 0.7.
3
documentation
</title>
<title>
Search
—
Converse.js 0.7.
4
documentation
</title>
<link
rel=
"stylesheet"
href=
"_static/stylesheet.css"
type=
"text/css"
/>
<link
rel=
"stylesheet"
href=
"_static/pygments.css"
type=
"text/css"
/>
...
...
@@ -15,7 +15,7 @@
<script
type=
"text/javascript"
>
var
DOCUMENTATION_OPTIONS
=
{
URL_ROOT
:
''
,
VERSION
:
'
0.7.
3
'
,
VERSION
:
'
0.7.
4
'
,
COLLAPSE_INDEX
:
false
,
FILE_SUFFIX
:
'
.html
'
,
HAS_SOURCE
:
true
...
...
@@ -25,7 +25,7 @@
<script
type=
"text/javascript"
src=
"_static/underscore.js"
></script>
<script
type=
"text/javascript"
src=
"_static/doctools.js"
></script>
<script
type=
"text/javascript"
src=
"_static/searchtools.js"
></script>
<link
rel=
"top"
title=
"Converse.js 0.7.
3
documentation"
href=
"index.html"
/>
<link
rel=
"top"
title=
"Converse.js 0.7.
4
documentation"
href=
"index.html"
/>
<script
type=
"text/javascript"
>
jQuery
(
function
()
{
Search
.
loadIndex
(
"
searchindex.js
"
);
});
</script>
...
...
@@ -55,7 +55,7 @@
<li
class=
"right"
style=
"margin-right: 10px"
>
<a
href=
"genindex.html"
title=
"General Index"
accesskey=
"I"
>
index
</a></li>
<li><a
href=
"index.html"
>
Converse.js 0.7.
3
documentation
</a>
»
</li>
<li><a
href=
"index.html"
>
Converse.js 0.7.
4
documentation
</a>
»
</li>
</ul>
</div>
<section
id=
"main_content"
class=
"inner"
>
...
...
@@ -100,7 +100,7 @@
<li
class=
"right"
style=
"margin-right: 10px"
>
<a
href=
"genindex.html"
title=
"General Index"
>
index
</a></li>
<li><a
href=
"index.html"
>
Converse.js 0.7.
3
documentation
</a>
»
</li>
<li><a
href=
"index.html"
>
Converse.js 0.7.
4
documentation
</a>
»
</li>
</ul>
</div>
</div>
...
...
docs/html/searchindex.js
View file @
9b3af57d
This diff is collapsed.
Click to expand it.
docs/source/conf.py
View file @
9b3af57d
...
...
@@ -48,9 +48,9 @@ copyright = u'2013, JC Brand'
# built documents.
#
# The short X.Y version.
version
=
'0.7.
3
'
version
=
'0.7.
4
'
# The full version, including alpha/beta/rc tags.
release
=
'0.7.
3
'
release
=
'0.7.
4
'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
...
...
index.html
View file @
9b3af57d
...
...
@@ -4,7 +4,7 @@
<meta
charset=
'utf-8'
/>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=Edge"
/>
<meta
name=
"description"
content=
"Converse.js:
Open Source Browser-Based Instant Messaging
"
/>
<meta
name=
"description"
content=
"Converse.js:
A chat client for your website
"
/>
<link
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
href=
"stylesheets/stylesheet.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
href=
"converse.css"
>
<!--<script data-main="main" src="components/requirejs/require.js"></script>-->
...
...
package.json
View file @
9b3af57d
{
"name"
:
"converse.js"
,
"version"
:
"0.7.
3
"
,
"version"
:
"0.7.
4
"
,
"description"
:
"Browser based XMPP instant messaging client"
,
"main"
:
"main.js"
,
"directories"
:
{
...
...
src/build.js
View file @
9b3af57d
...
...
@@ -33,8 +33,8 @@
"
bigint
"
:
"
src/bigint
"
,
"
crypto.core
"
:
"
components/otr/vendor/cryptojs/core
"
,
"
crypto.enc-base64
"
:
"
components/otr/vendor/cryptojs/enc-base64
"
,
"
crypto.md5
"
:
"
components/crypto-js/src/md5
"
,
"
crypto.evpkdf
"
:
"
components/crypto-js/src/evpkdf
"
,
"
crypto.md5
"
:
"
components/crypto-js
-evanvosberg
/src/md5
"
,
"
crypto.evpkdf
"
:
"
components/crypto-js
-evanvosberg
/src/evpkdf
"
,
"
crypto.cipher-core
"
:
"
components/otr/vendor/cryptojs/cipher-core
"
,
"
crypto.aes
"
:
"
components/otr/vendor/cryptojs/aes
"
,
"
crypto.sha1
"
:
"
components/otr/vendor/cryptojs/sha1
"
,
...
...
tests.html
View file @
9b3af57d
...
...
@@ -3,7 +3,7 @@
<html>
<head>
<title>
Converse.js Tests
</title>
<meta
name=
"description"
content=
"Converse.js:
Open Source Browser-Based Instant Messaging
"
/>
<meta
name=
"description"
content=
"Converse.js:
A chat client for your website
"
/>
<link
rel=
"shortcut icon"
type=
"image/png"
href=
"components/jasmine/images/jasmine_favicon.png"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"components/jasmine/src/html/jasmine.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
href=
"stylesheets/stylesheet.css"
>
...
...
tests_main.js
View file @
9b3af57d
...
...
@@ -50,13 +50,24 @@ require.config({
//module value.
exports
:
'
Backbone
'
},
'
underscore
'
:
{
exports
:
'
_
'
},
'
crypto.aes
'
:
{
deps
:
[
'
crypto.cipher-core
'
]
},
'
crypto.cipher-core
'
:
{
deps
:
[
'
crypto.enc-base64
'
,
'
crypto.evpkdf
'
]
},
'
crypto.enc-base64
'
:
{
deps
:
[
'
crypto.core
'
]
},
'
crypto.evpkdf
'
:
{
deps
:
[
'
crypto.md5
'
]
},
'
crypto.hmac
'
:
{
deps
:
[
'
crypto.core
'
]
},
'
crypto.md5
'
:
{
deps
:
[
'
crypto.core
'
]
},
'
crypto.mode-ctr
'
:
{
deps
:
[
'
crypto.cipher-core
'
]
},
'
crypto.pad-nopadding
'
:
{
deps
:
[
'
crypto.cipher-core
'
]
},
'
crypto.sha1
'
:
{
deps
:
[
'
crypto.core
'
]
},
'
crypto.sha256
'
:
{
deps
:
[
'
crypto.core
'
]
},
'
jquery.tinysort
'
:
{
deps
:
[
'
jquery
'
]
},
'
strophe
'
:
{
deps
:
[
'
jquery
'
]
},
'
underscore
'
:
{
exports
:
'
_
'
},
'
strophe.disco
'
:
{
deps
:
[
'
strophe
'
]
},
'
strophe.muc
'
:
{
deps
:
[
'
strophe
'
,
'
jquery
'
]
},
'
strophe.roster
'
:
{
deps
:
[
'
strophe
'
]
},
'
strophe.vcard
'
:
{
deps
:
[
'
strophe
'
]
},
'
strophe.disco
'
:
{
deps
:
[
'
strophe
'
]
},
// Extra test dependencies
'
jasmine-html
'
:
{
deps
:
[
'
jasmine
'
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment