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
0d4cf15f
Commit
0d4cf15f
authored
Sep 09, 2015
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move changelog entry to right version and add test case.
parent
5cb7ca02
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
docs/CHANGES.rst
docs/CHANGES.rst
+5
-1
spec/chatroom.js
spec/chatroom.js
+8
-0
No files found.
docs/CHANGES.rst
View file @
0d4cf15f
Changelog
Changelog
=========
=========
0.9.6 (Unreleased)
------------------
* #462 Fix MUC rooms with names containing special characters not working [1st8]
0.9.5 (2015-08-24)
0.9.5 (2015-08-24)
------------------
------------------
...
@@ -9,7 +14,6 @@ Changelog
...
@@ -9,7 +14,6 @@ Changelog
* #440 null added as resource to contact [jcbrand]
* #440 null added as resource to contact [jcbrand]
* Add new event serviceDiscovered [jcbrand]
* Add new event serviceDiscovered [jcbrand]
* Add a new configuration setting `muc_history_max_stanzas <https://conversejs.org/docs/html/configuration.html#muc_history_max_stanzas>`_. [jcbrand]
* Add a new configuration setting `muc_history_max_stanzas <https://conversejs.org/docs/html/configuration.html#muc_history_max_stanzas>`_. [jcbrand]
* #462 Fix MUC rooms with names containing special characters not working [1st8]
0.9.4 (2015-07-04)
0.9.4 (2015-07-04)
------------------
------------------
...
...
spec/chatroom.js
View file @
0d4cf15f
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
}
(
this
,
function
(
$
,
mock
,
test_utils
,
utils
)
{
}
(
this
,
function
(
$
,
mock
,
test_utils
,
utils
)
{
var
$pres
=
converse_api
.
env
.
$pres
;
var
$pres
=
converse_api
.
env
.
$pres
;
var
$msg
=
converse_api
.
env
.
$msg
;
var
$msg
=
converse_api
.
env
.
$msg
;
var
Strophe
=
converse_api
.
env
.
Strophe
;
return
describe
(
"
ChatRooms
"
,
$
.
proxy
(
function
(
mock
,
test_utils
)
{
return
describe
(
"
ChatRooms
"
,
$
.
proxy
(
function
(
mock
,
test_utils
)
{
describe
(
"
A Chat Room
"
,
$
.
proxy
(
function
()
{
describe
(
"
A Chat Room
"
,
$
.
proxy
(
function
()
{
...
@@ -21,6 +22,13 @@
...
@@ -21,6 +22,13 @@
});
});
});
});
it
(
"
can have spaces and special characters in its name
"
,
function
()
{
test_utils
.
openChatRoom
(
'
lounge & leisure
'
,
'
localhost
'
,
'
dummy
'
);
var
view
=
converse
.
chatboxviews
.
get
(
Strophe
.
escapeNode
(
'
lounge & leisure
'
)
+
'
@localhost
'
);
expect
(
view
instanceof
converse
.
ChatRoomView
).
toBe
(
true
);
});
it
(
"
shows users currently present in the room
"
,
$
.
proxy
(
function
()
{
it
(
"
shows users currently present in the room
"
,
$
.
proxy
(
function
()
{
test_utils
.
openChatRoom
(
'
lounge
'
,
'
localhost
'
,
'
dummy
'
);
test_utils
.
openChatRoom
(
'
lounge
'
,
'
localhost
'
,
'
dummy
'
);
var
name
;
var
name
;
...
...
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