JC Brand
0aa0c02124
Add tests for src/converse-notification.js. updates #443
...
In the process refactored the code being tested.
- Move notifications code in MUC to src/converse-notification.js
- Trigger the 'contactStatusChanged' event in RosterContact and not in
ChatBoxView (which might not exist).
2016-03-08 10:44:27 +00:00
JC Brand
0db447a585
Add some tests for the ping feature.
2016-02-19 13:02:42 +00:00
JC Brand
dfcebeb621
Rename participants to occupants.
2015-10-31 16:48:50 +00:00
JC Brand
8b3ede9e56
Remove unused parts from Gruntfile
...
Wouldn't mind getting rid of grunt completely.
2015-10-27 09:11:36 +00:00
JC Brand
81391ff4a2
Ensure that tests execute with 'en' locale. refs #501
2015-10-12 14:43:20 +00:00
JC Brand
99c7b9cb95
Add a new emitted event: serviceDiscovered.
...
Gets thrown every time converse learns of a supported server service.
Useful when 3rd party code wants to use API methods that depend on the service
being discovered first.
2015-07-17 20:34:48 +02:00
JC Brand
eeeaddbe04
Add the ability to read and set MAM preferences.
2015-07-10 15:24:13 +02:00
JC Brand
c7bf1713d8
Add new spec protocol for testing the XMPP protocol.
...
Already testing the first 3 sections of RFC-3921 section 8.2 "User subscribes to contact".
2015-04-08 10:35:14 +02:00
JC Brand
6c31f76406
Refactor other tests. All tests pass now again. updates #307
2015-03-01 11:58:07 +01:00
JC Brand
95bc55c1c3
Merge branch 'master' into amd-strophe
2015-02-07 14:10:32 +01:00
JC Brand
f283f6bce5
Fix failing tests after introducing AMD version of Strophe
2015-02-01 16:15:34 +01:00
Guillermo Bonvehí
fc0a1d9dbd
Added test case for #305 and updated CHANGES.rst
2015-01-23 12:06:10 -03:00
JC Brand
b4d53aaa94
Some refactoring of chat states work. updates #292
...
- Don't add a timeout for the GONE state.
- Change state to GONE when the user closes the chat box.
- Change the state to inactive when the user minimizes the chat box.
- Change the state to active when the users maximizes the chat box.
- Add more tests for chat states.
2015-01-09 09:09:49 +01:00
JC Brand
702cddd89b
Add tests for account registration.
2014-11-27 11:16:06 +01:00
JC Brand
d690704f93
Fix tests and added a workaround...
...
so that we can use require config in main.js also in the tests.
2014-11-25 10:50:30 +01:00
JC Brand
682cc8471a
Update main.js to work properly with mainConfigFile
2014-10-28 18:02:17 +01:00
JC Brand
5e4d6bd3b2
Initial work on adding profiling tests.
2014-10-24 18:58:42 +02:00
JC Brand
4a89d28e38
Fix tests by depending on jquery obj.
...
Also fixed groupchat test by getting and including correct msg id.
2014-10-15 19:16:02 +02:00
JC Brand
eefce8286e
Fix tests but killing zombies.
2014-09-17 10:35:24 +02:00
JC Brand
5124c05f65
Fix (some) tests.
2014-09-16 10:26:24 +02:00
JC Brand
9e5dc21aa4
Refactor showing of chat room status messages.
...
onChatRoomPresence and showStatusMessages have been refactored to give more
detailed information and to also show the reasons given to actions taken by
moderators.
2014-09-06 12:25:37 +02:00
JC Brand
4a31978e5e
Add disco methods to test mock
2014-08-31 14:19:20 +02:00
JC Brand
278c2c428d
Add tests for the live filter functionality. updates #212
2014-08-18 22:39:24 +02:00
JC Brand
e7d563b34b
Let tests pass again
2014-08-08 22:06:01 +02:00
JC Brand
9a3104cb21
"is_last" property no longer used.
2014-08-04 18:00:30 +02:00
JC Brand
33d84a0c8e
Store roster on converse obj.
...
Storing it on the rosterview causes race conditions.
2014-08-03 23:05:36 +02:00
JC Brand
219d5c8a30
Major refactor.
...
The RosterView view is now an overview of RosterGroup objects.
RosterGroup objects each have their own collection of contacts which fall under that group.
Additionally, the RosterView has a collection of all contacts.
The comparator of RosterContacts is now used to correctly position roster
contacts and we therefore no longer need to explicitly sort them afterwards.
updates #83
updates #151
2014-08-02 19:31:53 +02:00
JC Brand
2b927f21be
Big refactor. The RosterView is no longer an overview.
...
This is because we can no longer assume a one to one mapping between roster
contacts and their views. Roster contacts can belong to more than one group,
each group needs to show the contact, which means we need a view for each group
the contact belongs to.
updates #83
2014-08-01 21:31:21 +02:00
JC Brand
c25f33b181
Add proper separation between controlbox tests
2014-07-04 21:18:28 +02:00
JC Brand
5034ae33f2
Work on getting proper separation between tests.
2014-06-30 20:26:45 +02:00
JC Brand
718f75a464
Make sure sessionStorage is cleared
2014-06-30 19:55:26 +02:00
JC Brand
4950bb9120
Fixing tests after latest refactoring
2014-06-30 19:21:16 +02:00
JC Brand
4b8196cd7e
Add more tests around minimized chats.
2014-06-21 23:01:56 +02:00
JC Brand
f0091c9c9c
Control box toggle's class has been changed.
2014-06-21 11:32:05 +02:00
JC Brand
c9d7e17a10
Fix test failures due to previous commit
2014-06-14 22:03:04 +02:00
JC Brand
38e0668372
Fix tests.
2014-05-27 19:18:02 +02:00
JC Brand
ad51e1c0f7
More working on trimming chats. (still very buggy)
...
More flesh on the view and superview for trimmed chats.
Add event handlers.
Renamed some methods to make them shorter, more consistent.
2014-05-27 18:34:22 +02:00
JC Brand
364c340ab5
Stub trimChat for PhantomJS and move tests_main.js to tests/main.js
2014-05-06 09:56:04 +02:00
JC Brand
14d90bc99c
Upgrade dependencies to their latest versions
2014-04-19 05:12:24 +02:00
JC Brand
9849daacf9
Merge branch 'master' into 0.8
...
Conflicts:
bower.json
converse.js
docs/CHANGES.rst
spec/chatbox.js
tests/utils.js
tests_main.js
2014-03-09 08:18:00 +02:00
JC Brand
74779afd66
Ensure that URLs in messages are properly escaped
2014-03-05 08:03:52 +02:00
JC Brand
25cc229019
Refactor message handling
...
- use the same method for both normal and OTR messages
- fix /me actions for OTR messages
- rename messaging methods to minimize ambiguity
Conflicts:
converse.js
tests/utils.js
2014-03-05 01:46:19 +02:00
JC Brand
317ab95cd8
Refactor message handling
...
- use the same method for both normal and OTR messages
- fix /me actions for OTR messages
- rename messaging methods to minimize ambiguity
2014-03-05 01:23:45 +02:00
JC Brand
b14538b441
Rename ChatBoxesView to ChatBoxViews
2014-03-04 15:54:36 +02:00
JC Brand
1567b212c3
Add closure get/set methods for rosteritem views
2014-03-04 15:49:02 +02:00
JC Brand
d20ca10638
Add closured get/set methods for views from chatboxesview
2014-03-04 15:09:16 +02:00
JC Brand
ac0042fdf9
Extend the "close chat" test with a normal chatbox usecase
2014-03-04 13:22:49 +02:00
JC Brand
11b59b31d3
Fix tests after all the refactoring...
2014-03-01 01:57:20 +02:00
JC Brand
d1bf5b8466
Add event emitter tests for chatrooms. Updates #48
2013-12-16 19:19:25 +02:00
JC Brand
00e0782576
Add a test that checks for delayed messages. Fixes #76
...
Messages older than one day do indicate it.
2013-11-03 13:24:18 +02:00