JC Brand
a18b28f953
Fix tests
2013-08-31 20:53:12 +02:00
JC Brand
0a1a837391
Three more tests for pending contacts.
...
Trying to flesh out the bug where in certain instances the 'pending contacts'
header doesn't get removed after the last pending contact is removed.
2013-08-24 15:33:06 +02:00
JC Brand
bc0e200cee
Fixed tests
2013-08-24 03:13:25 +02:00
JC Brand
304b275714
Fix tests. removeRoom method doesn't exist anymore
2013-08-20 22:03:46 +02:00
JC Brand
2d4a14ac2d
Don't expose the Strophe connection object globally.
...
Instead, expose only the initialize and onConnected functions.
Updated the tests to work with this.
2013-08-05 09:25:29 +02:00
JC Brand
c5192f8ade
Bugfix. Updates #32
...
Users without roster contacts didn't have XMPPStatus.initStatus called and
therefore had a default status of offline.
Fixed this by setting the status to online from the start. The fetch command
will get the true status from localStorage (if available).
Made sure that the rest of converse's onConnected code is called in the
callback from fetch (so that we know the user's status is correct).
Updated and fixed tests.
2013-08-04 15:39:46 +02:00
JC Brand
18565e7977
Remove trailing whitespace
2013-07-25 09:45:35 +02:00
JC Brand
4c0d4f2ac5
bugfix. Fixes #26 . Only the first minute digit was shown.
2013-07-24 22:58:53 +02:00
JC Brand
8293bd0da5
Bugfix in jquery element query
2013-06-02 22:32:33 +02:00
JC Brand
b350efa646
Fix tests
2013-05-31 21:13:01 +02:00
JC Brand
49b99d9693
Refactored status message rendering code
...
As a result we now implement more status codes from the spec.
Specifically the codes related to forced removal form the room
Also fixed a bug related to wrong authentication when logging in.
2013-05-30 21:25:54 +02:00
JC Brand
33d85cd955
Fix tests after adding nick input field
2013-05-21 16:49:10 +02:00
JC Brand
d83ffde08d
Fix tests after status widget changes
2013-05-21 13:55:42 +02:00
JC Brand
b35d71e22f
Test chatroom message
2013-05-14 23:20:59 +02:00
JC Brand
2a7031b504
Make the spec independently testable
2013-05-14 22:45:21 +02:00
JC Brand
d568d90a3a
Work to make the individual tests independent
2013-05-14 22:39:13 +02:00
JC Brand
feb3695ebe
Tweak the error message styling
2013-05-14 22:13:05 +02:00
JC Brand
946bb7730b
Fix tests
2013-05-14 09:43:49 +02:00
JC Brand
cc28f7e827
Add a test to check that moderators are highlighted
2013-05-11 14:34:36 +02:00
JC Brand
6d9fe68a25
Split ChatRooms tests out into their own spec file
2013-05-11 14:20:07 +02:00
JC Brand
7c1a9242d5
Add logic to parse error messages when trying to enter a room
2013-05-11 09:59:32 +02:00
JC Brand
dc6c78331f
Bugfix in tests, make sure message counter is cleared
2013-05-09 17:12:51 +02:00
JC Brand
c66c7c3f26
Merge branch 'master' of https://github.com/witekdev/converse.js into witekdev-master
...
Conflicts:
spec/MainSpec.js
2013-05-08 18:01:03 +02:00
witek
b84d4519a9
add tests for message counter functionality
2013-05-08 17:42:19 +02:00
JC Brand
be9cd59951
Add chatroom test concerning localstorage
2013-05-08 17:29:18 +02:00
JC Brand
743eb1daf3
Reinstate chatpanel tests and add two chatroom tests
2013-05-08 16:53:50 +02:00
JC Brand
fb468f27fb
Fix tests and disable chatroom tests for now
2013-04-26 14:45:32 +02:00
JC Brand
58241cbb74
Make converse.js more modular
...
- Removed the $(document).ready handler. Instead, converse.initialize must be
called manually together with settings data.
- As a result the Plone specific event listeners are now also gone.
- Update tests and index.html to deal wit these changes
2013-04-20 11:32:54 +02:00
JC Brand
1cae33b06b
Globally rename xmppchat to converse
2013-04-20 10:41:10 +02:00
JC Brand
71f4cdb931
Initial work towards decoupling contact adding
...
New conf variable in converse.js to indicate how contacts are added (either via
XHR or directly).
2013-04-20 00:38:54 +02:00
JC Brand
286b716300
Add initial chatroom tests.
2013-04-19 22:11:40 +02:00
JC Brand
9b445f8455
Small tweaks to tests to provide better visual feedback
2013-04-19 21:03:26 +02:00
JC Brand
3fe3d3546f
Bugfix in tests
...
Controlbox's status widget was being overwritten
2013-04-19 20:17:54 +02:00
JC Brand
abe85c8b90
Update tests
...
The chat toggle element is now determined by class, not id.
2013-04-19 00:32:46 +02:00
JC Brand
6aed43818c
Add XMPP Status Widget tests
2013-04-18 22:13:28 +02:00
JC Brand
3be0f2d89b
Tests update
...
Add empty specs for status widget
Fixed roster localStorage spec to not break the xmppstatus view
2013-04-18 00:10:28 +02:00
JC Brand
fc129c20e4
Add test for message sending
2013-04-17 23:51:00 +02:00
JC Brand
9cc2f2339d
Use fewer contacts to make visual output clearer
2013-04-17 12:07:50 +02:00
JC Brand
b1ecdfdadc
Found a bug in jasmine
...
which after being fixed removes the need for the sleep() command because you
can set the execution speed via jasmine's updateInterval attr
2013-04-17 12:00:14 +02:00
JC Brand
da095caa38
Finish the test for receiving messages.
2013-04-17 00:09:16 +02:00
JC Brand
1cfbe0cc8d
Add more tests for chat messages
2013-04-16 21:41:28 +02:00
JC Brand
524bda3c47
Two more tests: accept/decline of contact requests
2013-04-15 09:57:46 +02:00
JC Brand
567cfd3501
Reordered the tests
...
So that we have test suites for each type of contact
- Pending
- Existing
- Requesting
2013-04-15 09:12:42 +02:00
JC Brand
29a6e1d9f1
Move requesting contacts after pending/current.
2013-04-14 03:06:30 +02:00
JC Brand
f4c2327e94
Add sleep funtion to slow down tests
...
Allows one to visually follow whats going on.
2013-04-14 02:38:27 +02:00
JC Brand
7852f67a03
Split the contacts up into distinct groups.
...
This reduces some hoops that had to be jumped through to get the proper indexes
to retrieve contacts
2013-04-14 02:00:30 +02:00
JC Brand
e8a55145b9
Call the new initialize method instead of doing setup manually
2013-04-14 01:09:26 +02:00
JC Brand
c0095d4d15
New test
...
Test that chatboxes are removed from localStorage when closed
2013-04-14 00:03:04 +02:00
JC Brand
66dde5e986
Add another test
...
Test that chatboxes can also be closed.
2013-04-13 01:24:55 +02:00
JC Brand
acf3f75b7d
Test that chatboxes are stored to localStorage
2013-04-13 01:13:30 +02:00