Commit Graph

203 Commits

Author SHA1 Message Date
JC Brand
a2be2567d2 Allow auto_login also with a provided jid and password.
* Update the docs to mention the new ``authentication`` option.
* Update failing tests due to ``prebind`` being replaced with ``authentication``.
* Rename 'manual' value for authentication to 'login' since it's used in both manual and auto cases.
2015-04-02 13:07:59 +02:00
JC Brand
5ec7c67b50 Don't automatically show a chat box when creating it. updates #357
This caused a bug whereby a chat box would open only on chat state
notifications.

Also refactored the chats.open and chats.get methods so that they now reuse the
same map function and so that chats.get can now return any chat box and not
just already open ones.

Updated the tests to properly test this and updated the docs.
2015-04-02 02:01:53 +02:00
pzia
6879405e85 Throw exception if no jid or invalid jid. (#354) 2015-03-30 12:02:28 +02:00
JC Brand
e0e0f1b7d7 Make release 0.9.1 2015-03-26 09:58:09 +01:00
JC Brand
8d818fd5fd updates #339.
* The JID is only required when using keepalive with prebind.
* Provide a logout API method.
2015-03-21 21:50:48 +01:00
JC Brand
1a670e1d47 Require that a "JID" be specified with keepalive. updates #339 2015-03-21 21:32:04 +01:00
JC Brand
c1d48b6f2c Docs fix: converse.on should be converse.listen.on
fixes #341
2015-03-18 11:33:26 +01:00
JC Brand
77137a538c Document that event listeners receive event as first arg. Fixes #336 2015-03-16 10:41:20 +01:00
JC Brand
5fb319fcae Documentation fix. 2015-03-11 12:47:09 +01:00
JC Brand
90e4d6cba6 Add new configuration setting "allow_contact_removal". 2015-03-09 19:47:24 +01:00
JC Brand
f1753be5a6 Expand the setup docs and re-add section "What you will need" 2015-03-08 14:17:21 +01:00
JC Brand
17da00d5c1 Release version 0.9.0 2015-03-06 18:49:31 +01:00
JC Brand
d40eebc41f Document the prebind_url option. 2015-03-05 23:11:07 +01:00
JC Brand
c70561b898 Some API changes:
* Let contacts.get() return all roster contacts.
* Also, add "open" method for the chats API.
* chats.get will now only return a chat box if it's already open.
2015-02-25 18:31:09 +01:00
JC Brand
04912c5c5a Merge branch 'master' into amd-strophe
Conflicts:
	docs/CHANGES.rst
2015-02-22 12:53:18 +01:00
JC Brand
b31261f6fd Expand the API to allow configuration settings to...
be set on the fly.
2015-02-11 15:08:10 +01:00
JC Brand
0407826057 Two websocket related changes. updates #204
* Handle case where no websocket url is specified.
* Update the documentation w.r.t. websockets
2015-02-08 20:02:53 +01:00
JC Brand
af87d59e96 Add analytics for the documentation. 2015-02-07 14:07:31 +01:00
JC Brand
ec51c3660a Add theming documentation and extend the docs on creating builds. 2015-02-05 15:58:51 +01:00
Guillermo Bonvehi
972fe46bf0 Added build instructions for Windows environments.
Add Makefile.win example
Add Chocolatey references + required packages
2015-01-22 13:55:43 -03:00
JC Brand
ad0f8a336a Update translation docs.
We now no longer need the step of pasting the json code into a standalong .js
file.
2015-01-16 23:06:06 +01:00
Guillermo Bonvehi
3bbdafcb9d Closes #295: allow_registration is now mentioned in configuration doc 2015-01-05 14:08:40 -03:00
JC Brand
3e03df4745 Add headings to translations docs. 2014-12-20 10:59:39 +01:00
JC Brand
6ea9d1771e Change headings to make TOC clearer. 2014-12-18 14:39:03 +01:00
JC Brand
303a412b38 New release 0.8.6 2014-12-07 22:50:10 +01:00
JC Brand
5142f5637b Mention Gina Moerk's mailing list post. 2014-12-07 12:37:33 +01:00
JC Brand
9359c76c42 Small tweaks to site and doc css.
Also, in Makefile, remove old HTML build first during "make html" step.
2014-12-07 10:48:32 +01:00
JC Brand
bcf47d6c7c Add documentation on how to contribute to the docs. 2014-12-07 01:19:01 +01:00
JC Brand
84fd21b38b Configure docs theme. 2014-12-07 00:53:59 +01:00
JC Brand
1be0917a7b Enable chat for the documentation as well. 2014-12-07 00:53:41 +01:00
JC Brand
c8e4f02bf5 Split the documentation out into subfiles. 2014-12-07 00:53:17 +01:00
JC Brand
20e15b5623 Sphinx changes.
* Add buildout config for Sphinx
* Add new Sphinx theme
* Remove the built html theme files
2014-12-06 18:58:58 +01:00
JC Brand
e4307f7ab8 See below
* Fix login panel rendering bug
* Make registration form i18n aware.
* Make providers link configurable.
2014-12-06 18:58:14 +01:00
JC Brand
92ed46f844 New release 0.8.5 2014-12-01 20:53:08 +01:00
JC Brand
c98e516e39 New release 0.8.4 2014-11-15 16:40:34 +01:00
JC Brand
6cdd793758 Update docs due to recent pull requests. 2014-11-15 11:04:33 +01:00
JC Brand
25b56e3538 Rename "buddy" to "contact". Fixes #226 2014-11-09 18:07:06 +01:00
JC Brand
6100aaf114 Refactor the API. updates #46
API methods now consist of simple accessors and mutators that are logically
grouped.
2014-11-09 13:06:09 +01:00
JC Brand
8dedef7002 Create new PO file for Polish.
Also update documentation to mention msginit.
2014-10-21 13:18:26 +02:00
JC Brand
4bcf26114c Add docs for the 2 new API methods. updates #46 2014-10-12 11:03:35 +02:00
JC Brand
48dd0cc674 Trying to organize doc chapters a bit more logically. 2014-10-12 11:03:25 +02:00
Sergey Fedoseev
adbcf01a98 index.rst: change duplicated allow_muc to allow_otr 2014-10-01 14:01:45 +06:00
Sergey Fedoseev
0c840aa8d4 index.rst: remove trailing spaces 2014-10-01 14:01:40 +06:00
JC Brand
5bad6b02b6 Clarify how one should use prebind and keepalive together. 2014-09-30 12:27:53 +02:00
JC Brand
64847bcb96 Add new event noResumeableSession 2014-09-26 17:20:52 +02:00
JC Brand
d8bf1961a7 Making a 0.8.3 release.
The 0.8.2 release didn't include new builds due to an unnoticed build error.
2014-09-22 18:17:40 +02:00
JC Brand
56ec4cf7bc New release 0.8.2 2014-09-22 17:57:56 +02:00
JC Brand
6b4b94d45f RestructuredText markup error fixed. updates #187 2014-09-22 15:07:50 +02:00
JC Brand
82617918b1 Add API section to docs and regenerate. 2014-09-22 15:04:28 +02:00
JC Brand
ba6b72011c Show groupchat messages where user is mentioned in bold. 2014-09-17 21:40:19 +02:00
JC Brand
45875afd64 Add docs on keepalive setting. 2014-09-06 23:40:41 +02:00
JC Brand
07b7393088 Update translation docs to mention paths in main.js 2014-09-06 14:12:31 +02:00
JC Brand
a3e540fa67 Provide feedback if a chat room command didn't work. 2014-09-05 19:36:31 +02:00
JC Brand
82659e87d7 Add extra chat room commands: /nick, /mute and /voice.
Also document the available chat room commands.
2014-09-05 18:27:32 +02:00
JC Brand
78ac525e18 Add cuationary note against using localStorage (instead of sessionStorage) 2014-09-04 10:27:24 +02:00
JC Brand
ae90c7420e Update docs and rename option to use underscore instead of dash. 2014-09-03 20:15:46 +02:00
JC Brand
3aaa8df41a Notification sound now also plays when nickname is mentioned in chat room.
updates #62
2014-09-03 18:47:24 +02:00
JC Brand
cebf8c2451 See below...
* Update docs on message carbons and stanza forwarding.
* Mention latest bug fix.
2014-09-02 16:53:44 +02:00
JC Brand
bf0d0320c5 Emit an event after the user has sent out a chat room invitation. refs #215 2014-08-31 21:54:17 +02:00
JC Brand
c9958182ff Making 0.8.1 release 2014-08-23 11:15:56 +02:00
JC Brand
83c68696cd Update the docs and add section about sound notifications. updates #62 2014-08-23 11:04:33 +02:00
JC Brand
73528f4ced Improved the docs styling and regenerate 2014-08-23 10:00:14 +02:00
JC Brand
0c7252f919 Mention new feature, roster groups. updates #83 2014-08-04 19:49:29 +02:00
JC Brand
3984aadb9f More work (with tests) on showing roster items under groups.
updates #83
2014-07-29 19:53:57 +02:00
JC Brand
848d502332 In docs: Mention alternative to using make 2014-07-23 13:18:09 +02:00
JC Brand
7c9a86293d Rename 'enable_message_carbons' to 'message_carbons' 2014-07-19 16:43:56 +02:00
JC Brand
53f38dcc71 Two changes, see below:
* Call refreshWebkit hack when opening a chat room
* New event emitted when a chat room is opened.
2014-07-17 19:18:48 +02:00
JC Brand
ac6a3cb26c Mention windows. updates #187 2014-07-17 17:52:08 +02:00
JC Brand
012cbfb61a Rename events.
Remove the "on" prefix. Events are listened to via "on" method, so it's
redundant.
2014-07-06 18:31:17 +02:00
JC Brand
8aedc3fcf7 Integrate backbone.browserStorage. Fixes #176
Data is now by default cached in sessionStorage and not localStorage.
Can be configured via the "storage" option.
2014-06-30 18:53:58 +02:00
JC Brand
f0091c9c9c Control box toggle's class has been changed. 2014-06-21 11:32:05 +02:00
JC Brand
0c0a3f86b6 Remove the need for having an HTML snippet in the body. 2014-05-13 09:26:57 +02:00
JC Brand
517e600114 Expand documentation on the new visible_toolbar_buttons config option 2014-04-24 18:10:47 +02:00
JC Brand
d69a165b05 Use strict mode. Emit an event when the connection drops. 2014-04-24 09:51:21 +02:00
JC Brand
eca42fbb2f Add support for XEP-0280 Message Carbons. updates #132 2014-04-19 06:58:26 +02:00
JC Brand
968f8bb223 Add new configuration setting "forward_messages".
What was before default behavior is now optional and disabled by default.
2014-04-19 06:18:17 +02:00
JC Brand
2a83d557d1 Order Makefile a bit more and bump release number 2014-04-18 17:47:47 +02:00
JC Brand
a9da15bb2f New BOSH service address
Conflicts:
	docs/doctrees/index.doctree
	docs/html/_sources/index.txt
	docs/html/index.html
	docs/html/searchindex.js
2014-04-09 17:24:37 +02:00
JC Brand
01d8047fc2 Mention that git is needed
Conflicts:
	docs/source/index.rst
2014-04-09 17:23:44 +02:00
JC Brand
b552b885f0 Add MakeFile target for setting up dev env. 2014-03-14 21:01:39 +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
9b3af57d13 Release version 0.7.4 2014-03-05 08:44:01 +02:00
JC Brand
ec39e6e802 Emit new event onChatBoxToggled 2014-03-04 20:16:03 +02:00
JC Brand
f6e5b07729 Added a section to the documentation concerning OTR 2014-02-12 19:32:25 +02:00
JC Brand
fb1ed29c8f Bump release to version 0.7.3 2014-02-12 14:41:56 +02:00
JC Brand
94c135a6d8 Merge branch 'otr-by-default' of git://github.com/Aupajo/converse.js into Apajo-otr-by-default
Conflicts:
	converse.js

Fixes #102
2014-02-12 12:52:57 +02:00
JC Brand
18d6a91881 Add API method to retrieve the SID. Fixes #93 2014-02-12 12:37:39 +02:00
JC Brand
c3b98fd2fd Refactor and improve the reconnecting code and make it configurable
There is still the apparent problem that after reconnecting, event listeners
hvae to bre reregistered (which doesn't happen currently).

So messages can be sent but not received...
2014-02-11 13:14:36 +02:00
JC Brand
d0f023dbb1 Allow the OTR private key to be cached. Updates #111 2014-01-31 18:07:44 +02:00
JC Brand
42b28b8425 Update docs to provide examples of server-side prebind code. Updates #116 2014-01-30 05:01:10 +02:00
JC Brand
ee07226e8f Fix RST typo 2014-01-28 03:48:43 +02:00
Pete Nicholls
0b4fe330d6 Document show_call_button option 2013-12-26 15:02:28 +13:00
JC Brand
e3e8bf6c69 New release 0.7.2 2013-12-18 17:07:11 +02:00
JC Brand
4186bf3ca3 Throw event onRosterViewUpdated whenever the roster HTML changes. Fixes #101 2013-12-18 16:30:19 +02:00
JC Brand
cbde2a1d49 Make the fetching of VCards optional. Updates #100 2013-12-17 19:24:36 +02:00
JC Brand
603087c34b Refined events emitting docs. 2013-12-16 15:27:33 +02:00
JC Brand
9a8975f5b0 Add two more emitted events. Updates #48 2013-12-15 18:04:51 +02:00
JC Brand
d95610cbd4 Add documentation for events emitted. Updates #48 2013-12-15 17:06:27 +02:00
JC Brand
762ba21c7d Update text on prebinding. 2013-12-14 11:58:47 +02:00
JC Brand
526f10d79e Add Troubleshooting section to docs and regenerate HTML. Updates #86 2013-11-24 16:18:04 +02:00