Commit Graph

419 Commits

Author SHA1 Message Date
JC Brand
ade2697859 Don't call the handler again in the except clause.
This was added earlier for debugging, removing it again now.
2013-04-26 14:26:52 +02:00
JC Brand
62a2e307a5 Add initial service discovery (XEP 30) support.
- Still needs caching and optimisation
2013-04-25 23:53:33 +02:00
JC Brand
bf5c5e36dc Add security info and disclaimer 2013-04-25 01:06:37 +02:00
JC Brand
b199690442 Update index.html and CHANGES.rst 2013-04-25 00:23:59 +02:00
JC Brand
b36d2f18e5 Add support for the BOSH bind URL as a setting parameter 2013-04-25 00:21:54 +02:00
JC Brand
9d4d651d1a Update docs regarding bosh_service_url setting 2013-04-25 00:16:16 +02:00
JC Brand
93d31f260f Update README and index.html
Now that standalone contact adding works
2013-04-21 00:06:18 +02:00
JC Brand
27dec86caa Clear connect form fields so that it cannot be resubmitted 2013-04-20 23:57:33 +02:00
JC Brand
d937d32d3b Fix quirks with the add-contact dropdown 2013-04-20 22:55:22 +02:00
JC Brand
6de997681b Fetch the user's vcard when you subscribe to them 2013-04-20 15:27:48 +02:00
JC Brand
cb2dab38fd Fetch the user's vcard when you subscribe to them 2013-04-20 15:21:23 +02:00
JC Brand
98bbb79176 Fixed auth.
It depended on triggering events for which we've removed the handlers
2013-04-20 11:51:01 +02:00
JC Brand
f6a6456f59 Notes formatting 2013-04-20 11:47:29 +02:00
JC Brand
7066e70b68 Initialize converse inside main.js 2013-04-20 11:37:53 +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
7a0620060f Add google analytics 2013-04-20 11:30:53 +02:00
JC Brand
4c3b2b8d30 Add docs directory
And a file with some preliminary notes
2013-04-20 11:30:18 +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
76676dc31d Flatten header. Update text on index.html 2013-04-19 22:20:59 +02:00
JC Brand
286b716300 Add initial chatroom tests. 2013-04-19 22:11:40 +02:00
JC Brand
fdd369eddd Make the heading clickable (returns to home) 2013-04-19 22:11:25 +02:00
JC Brand
a306e1a716 Clear the chatroom input when form was submitted 2013-04-19 22:10:52 +02:00
JC Brand
9b445f8455 Small tweaks to tests to provide better visual feedback 2013-04-19 21:03:26 +02:00
JC Brand
399d029bd0 Fix css for xmpp status form 2013-04-19 20:23:45 +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
c1bb3ca773 Fix URLs 2013-04-19 17:12:35 +02:00
JC Brand
d646d859b3 Add section on tests 2013-04-19 00:40:02 +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
d394ad7ff2 Update index.html with Demo section 2013-04-19 00:09:04 +02:00
JC Brand
cedb6524ce fix formatting 2013-04-18 23:06:51 +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
4faf7f2a02 Style tweaks
Truncate pending contacts with too long names
Position accept/decline buttons below pending contact's name
2013-04-17 22:43:17 +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
5193a981ff Update contributing txt 2013-04-17 00:09:13 +02:00
JC Brand
7903c03651 Add a hide method and call that instead
Inside this method we can then check if animations are turned on.
2013-04-17 00:08:01 +02:00
JC Brand
1cfbe0cc8d Add more tests for chat messages 2013-04-16 21:41:28 +02:00
JC Brand
c70e80c5f4 Update contrib text 2013-04-16 09:43:11 +02:00
JC Brand
524bda3c47 Two more tests: accept/decline of contact requests 2013-04-15 09:57:46 +02:00
JC Brand
a3b92ac321 Call destroy on rejected contact
Rather than calling remove and triggering a custom event
2013-04-15 09:57:01 +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
c13bd1e719 Make animations conditional
We don't want them during testing
2013-04-14 03:06:05 +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
d66cf7c2a9 Differentiate between initialize and onConnected 2013-04-14 01:17:51 +02:00