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
5e1a4bd9
Commit
5e1a4bd9
authored
Feb 27, 2015
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove tests for old deprecated API methods.
parent
bd0d7ace
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
57 deletions
+8
-57
docs/CHANGES.rst
docs/CHANGES.rst
+8
-7
spec/converse.js
spec/converse.js
+0
-50
No files found.
docs/CHANGES.rst
View file @
5e1a4bd9
...
...
@@ -4,23 +4,24 @@ Changelog
0.9.0 (Unreleased)
------------------
* Bugfix. Custom status message form doesn't submit/disappear. [jcbrand]
* #204 Support websocket connections. [jcbrand]
* #252, 253 Add fullname and jid to contact's tooltip in roster. [gbonvehi]
* #292 Better support for XEP-0085 Chat State Notifications. [jcbrand]
* #295 Document "allow_registration". [gbonvehi]
* #304 Added Polish translations. [ser]
* #305 presence/show text in XMPP request isn't allowed by specification. [gbonvehi]
* Add new API method ``chats.open`` to open chat boxes. [jcbrand]
* Add new API method to set and get configuration settings. [jcbrand]
* Add responsiveness to CSS. We now use Sass preprocessor for generating CSS. [jcbrand]
* Bugfix. Custom status message form doesn't submit/disappear. [jcbrand]
* Calling the API method ``contacts.get()`` without parameters now returns all contacts. [jcbrand]
* Don't send out the message carbons IQ stanza on each page load. [jcbrand]
* New Makefile.win to build in Windows environments. [gbonvehi]
* Norwegian Bokmål translations. [Andreas Lorentsen]
* Removed deprecated API methods. [jcbrand]
* Strophe.log and Strophe.error now uses converse.log to output messages. [gbonvehi]
* The API method ``chats.get`` now only returns already opened chat boxes. [jcbrand]
* Updated Afrikaans translations. [jcbrand]
* #204 Support websocket connections. [jcbrand]
* #252, 253 Add fullname and jid to contact's tooltip in roster. [gbonvehi]
* #292 Better support for XEP-0085 Chat State Notifications. [jcbrand]
* #295 Document "allow_registration". [gbonvehi]
* #304 Added Polish translations. [ser]
* #305 presence/show text in XMPP request isn't allowed by specification. [gbonvehi]
0.8.6 (2014-12-07)
------------------
...
...
spec/converse.js
View file @
5e1a4bd9
...
...
@@ -154,55 +154,5 @@
expect
(
typeof
converse_api
.
settings
.
get
(
"
non_existing
"
)).
toBe
(
"
undefined
"
);
},
converse
));
},
converse
));
describe
(
"
The DEPRECATED API
"
,
$
.
proxy
(
function
()
{
beforeEach
(
$
.
proxy
(
function
()
{
test_utils
.
closeAllChatBoxes
();
test_utils
.
clearBrowserStorage
();
converse
.
rosterview
.
model
.
reset
();
test_utils
.
createContacts
(
'
current
'
);
},
converse
));
it
(
"
has a method for retrieving the next RID
"
,
$
.
proxy
(
function
()
{
var
old_connection
=
converse
.
connection
;
converse
.
connection
.
_proto
.
rid
=
'
1234
'
;
converse
.
expose_rid_and_sid
=
false
;
expect
(
converse_api
.
getRID
()).
toBe
(
null
);
converse
.
expose_rid_and_sid
=
true
;
expect
(
converse_api
.
getRID
()).
toBe
(
'
1234
'
);
converse
.
connection
=
undefined
;
expect
(
converse_api
.
getRID
()).
toBe
(
null
);
// Restore the connection
converse
.
connection
=
old_connection
;
},
converse
));
it
(
"
has a method for retrieving the SID
"
,
$
.
proxy
(
function
()
{
var
old_connection
=
converse
.
connection
;
converse
.
connection
.
_proto
.
sid
=
'
1234
'
;
converse
.
expose_rid_and_sid
=
false
;
expect
(
converse_api
.
getSID
()).
toBe
(
null
);
converse
.
expose_rid_and_sid
=
true
;
expect
(
converse_api
.
getSID
()).
toBe
(
'
1234
'
);
converse
.
connection
=
undefined
;
expect
(
converse_api
.
getSID
()).
toBe
(
null
);
// Restore the connection
converse
.
connection
=
old_connection
;
},
converse
));
it
(
"
has a method for retrieving a buddy's attributes
"
,
$
.
proxy
(
function
()
{
var
jid
=
mock
.
cur_names
[
0
].
replace
(
/ /g
,
'
.
'
).
toLowerCase
()
+
'
@localhost
'
;
expect
(
converse_api
.
getBuddy
(
'
non-existing@jabber.org
'
)).
toBeFalsy
();
var
attrs
=
converse_api
.
getBuddy
(
jid
);
expect
(
typeof
attrs
).
toBe
(
'
object
'
);
expect
(
attrs
.
fullname
).
toBe
(
mock
.
cur_names
[
0
]);
expect
(
attrs
.
jid
).
toBe
(
jid
);
},
converse
));
},
converse
));
},
converse
,
mock
,
test_utils
));
}));
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