Commit Graph

353 Commits

Author SHA1 Message Date
JC Brand
f70a3c3ed2 Add new configuration variable: default_state 2016-05-31 09:37:42 +00:00
JC Brand
82ee7f694e Don't ignore messages sent to different resource
But make this behavior configurable. Updates #647
2016-05-28 06:36:24 +00:00
JC Brand
1545018edf New release 1.0.2 2016-05-24 08:47:22 +00:00
JC Brand
8a74cc3323 New release: 1.0.1 2016-05-24 08:23:19 +00:00
JC Brand
29262cdbe2 mention how to pass in domain for anon connections 2016-05-17 16:04:01 +00:00
JC Brand
c243aba98f Add jid method to converse API, to retrieve the user's JID. 2016-05-10 08:08:42 +00:00
JC Brand
dd5c3c7a38 Bump version of docs. 2016-05-03 15:54:12 +00:00
JC Brand
a969d010cb Don't try to reconnect on auth fail. 2016-04-13 12:09:16 +00:00
JC Brand
e09328df6a Add login API method. 2016-04-13 11:52:28 +00:00
JC Brand
ea9665df4b Add the option sticky_controlbox, to disable closing it.
updates #622
2016-03-31 09:17:32 +00:00
JC Brand
2cbf20c6db Add the ability to fetch credentials for auto_login
via the new config option credentials_url
2016-03-31 08:38:43 +00:00
JC Brand
2341c0914d Correct docs on csi_waiting_time 2016-03-30 15:49:19 +00:00
JC Brand
3815d77cc1 Make 'connected' an attribute. 2016-03-29 13:57:33 +00:00
JC Brand
a6b6ad5e9e Add 'connection' API grouping and 'connected' API method. 2016-03-29 13:41:10 +00:00
JC Brand
d2b2437a2b Fix wrong default value mentioned in docs. 2016-03-23 14:43:18 +00:00
JC Brand
946e9fed5d Add new MUC option auto_join_rooms.
Fixes #156
2016-03-22 08:15:52 +00:00
JC Brand
3aefba3200 Change ping plugin to not have to use overrides.
Had to add a `reconnect` event to core.
2016-03-21 10:00:15 +00:00
JC Brand
ae6a7f4b02 Option to ignore certain JIDs' chat state notifications 2016-03-18 09:11:43 +00:00
JC Brand
f65b99e81c RST formatting fixes. 2016-03-18 08:39:47 +00:00
JC Brand
36a875a402 Add stanza-specific event listener.
Therefore removing the `presence` event again.
2016-03-16 18:12:11 +00:00
JC Brand
1c961ab4d1 Emit an event presence when a presence stanza is received. 2016-03-16 15:59:07 +00:00
JC Brand
08222182c5 Move VCard functionality into separate plugin 2016-03-16 11:21:27 +00:00
JC Brand
57aae4ad26 Mention send API command and fix formatting. 2016-03-15 08:28:41 +00:00
JC Brand
80c26e708c Add new option strict_plugin_dependencies 2016-03-14 17:03:48 +00:00
JC Brand
d92645c8d3 Show a desktop notification when a contact request is received
updates #443
2016-03-08 11:04:10 +00:00
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
efa4a9ff23 Fixes #577 Add a timeout config var for MAM 2016-03-07 17:16:57 +00:00
JC Brand
23a1dc4f2b Some fixes concerning event emitting.
Don't make the event "this" context the protected converse object.
Can't trigger multiple data parameters, need to pass an object if there are
multiple values to be sent.
2016-03-01 22:39:45 +00:00
JC Brand
f7725943f8 Emit an event 'contactRequest' when a subscription request is received 2016-03-01 21:57:49 +00:00
JC Brand
bc42d50a86 Update docs to mention desktop notifications. updates #443 2016-03-01 09:43:44 +00:00
JC Brand
26cb98d963 Move playing of sounds to the notification plugin.
Also add a config setting for the icon shown in HTML5 notificatins.

updates #443
2016-03-01 08:58:36 +00:00
JC Brand
a4fd252a30 Elaborate on the right way to call super methods in plugins. 2016-02-29 13:50:44 +00:00
JC Brand
c0c4cd9272 Rename builds directory to dist
To conform with how many other projects name their directories.
2016-02-28 09:00:22 +00:00
Davide Colombo
e934917685 add synchronize_availability option 2016-02-18 12:18:56 +01:00
JC Brand
f1b999d01a update the plugin docs
Add a UMD header so that the example plugin can be used without require.js
Remove needles cruft and dependencies.
2016-02-17 17:01:55 +00:00
JC Brand
576efc4815 Initial work on breaking converse.js up into components
First component to remove is MUC which was moved to src/converse-muc.js
The components are written as plugins and use converse.js's plugin machinery.

Update the plugin docs somewhat with new insites found while working on the muc
plugin.
2016-02-16 07:47:08 +00:00
JC Brand
226e2e910d Arrange config options alphabetically 2016-01-18 10:41:41 +00:00
JC Brand
dcf09ee924 Add new option include_offline_state which is by default false
We remove the offline state as a choice in the dropdown because
'offline' is not a valid XMPP state and it doesn't propagate across tabs.

Updates: #547
2016-01-18 10:40:59 +00:00
JC Brand
98a7033078 Fixes #520.
Two new configuration settings: locked_domain and default_domain.
2016-01-15 09:31:36 +00:00
JC Brand
28f5ee855b Fixes #546 2016-01-15 06:18:22 +00:00
JC Brand
19ad5728f9 Remove google analytics from docs. 2016-01-15 06:03:10 +00:00
JC Brand
db82333782 Add section on performance under troubleshooting chapter. 2016-01-15 05:58:34 +00:00
JC Brand
20910707b2 Re-add troubleshooting section that got somehow removed.
Also add an introductory section on debugging.
2016-01-13 07:55:42 +00:00
andreabenini
8c14424f62 Update configuration.rst 2015-12-02 11:14:17 +01:00
JC Brand
44c7c877a6 Fix malformed table in docs. 2015-11-05 11:30:31 +00:00
JC Brand
2253ec3d00 New release 0.10.0 2015-11-05 11:23:19 +00:00
JC Brand
88f043d9ca Merge branch 'master' into sass-refactor 2015-10-31 17:44:59 +00:00
JC Brand
dfcebeb621 Rename participants to occupants. 2015-10-31 16:48:50 +00:00
JC Brand
ebd0089446 Mention that controlbox stays open on page reload. 2015-10-29 14:50:18 +00:00
JC Brand
4f86a7ed58 Two small changes.
- Width needs to be set on .chatroom obj as well.
- Update docs on allow_dragresize to mention that min-width and min-height
  values are honored.
2015-10-24 20:46:58 +00:00
JC Brand
2083413431 Update changelog and small fixes to coding style guide 2015-10-24 20:46:57 +00:00
Javier Mellado
bef4e26a4b Better writing. 2015-10-20 11:04:15 +01:00
Javier Mellado
b6d463b214 Update development.rst
remove capital letter.
2015-10-20 11:02:42 +01:00
Javier Mellado
5f27e25648 Better writing. 2015-10-20 11:01:05 +01:00
Javier Mellado
3142ebbb6b Force type comparison and documentation updates 2015-10-20 10:57:21 +01:00
JC Brand
af77b3189e New release: 0.9.6 2015-10-12 15:09:47 +00:00
JC Brand
57a309177f Fix link to prosody.im 2015-10-08 12:11:48 +00:00
JC Brand
f3e2de9945 Document allow_dragresize option. 2015-09-22 12:40:08 +00:00
JC Brand
ce222e5b75 Small improvements to theming page and tweak css. 2015-08-29 11:51:41 +02:00
JC Brand
0672e84990 Correctly place config setting in right order. 2015-08-24 18:42:08 +02:00
JC Brand
6369465661 Making a new 0.9.5 release. 2015-08-24 17:56:50 +02:00
JC Brand
96253f9673 Document using serviceDiscovery with archive.query. 2015-07-22 00:40:51 +02:00
JC Brand
cd4aabc586 Rename the page size option and document it.
updates #306
2015-07-22 00:18:51 +02:00
JC Brand
e03db127cf Add a new configuration setting. muc_history_max_stanzas 2015-07-21 11:36:07 +02:00
JC Brand
ccf908a658 Document that previous and next RSM methods take limit parameter.
updates #306
2015-07-19 23:36:26 +02:00
JC Brand
8a6bca191a Small doc fixes. 2015-07-17 20:57:00 +02: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
080d86e7fe Show most recent archived messages first.
- Also ensure that the archive.query API always return messages chronologically.
- Fix docs which wrongly state that null can be passed in.

updates #306
2015-07-17 17:56:47 +02:00
JC Brand
69de033cea Write documentation for the archive API. Also add another test.
update #306
2015-07-12 21:27:22 +02:00
JC Brand
eeeaddbe04 Add the ability to read and set MAM preferences. 2015-07-10 15:24:13 +02:00
JC Brand
14c64151ab New release: 0.9.4 2015-07-04 17:21:21 +02:00
JC Brand
114a25a172 Add initial text on writing a converse.js plugin. 2015-06-27 21:49:40 +02:00
JC Brand
b47069b4f6 Add, test and document an API method for setting the user's status.
fixes #367
2015-06-27 21:21:27 +02:00
JC Brand
98f6ea8a3f Merge pull request #428 from thierrytiti/chat-with-pending
Enhancement #394 Option to allow chatting with pending contacts
2015-06-22 21:30:24 +02:00
JC Brand
952b5098cd Small improvements to quickstart text. 2015-06-22 14:47:53 +02:00
JC Brand
868435173f Decouple automatic away and XEP-0352 support.
- Add new config option csi_waiting_time for CSI support.
- The auto_away and auto_xa options won't send out CSI stanzas if csi_waiting_time is 0
- Update docs and add tests for both features.
2015-06-22 00:01:31 +02:00
JC Brand
19065e62b6 Update the style guide. 2015-06-19 17:54:49 +02:00
thierrytiti
479bab2ce4 Enhancement #394 Option to allow chatting with pending contacts 2015-06-18 16:31:30 +02:00
JC Brand
785244f15e Add a styleguide to the documentation.
Also update the contributor guidelines to mention the styleguide.
2015-06-16 00:20:28 +02:00
JC Brand
a412bd92c4 Merge branch 'MUC-toggle-Call' of https://github.com/thierrytiti/converse.js into thierrytiti-MUC-toggle-Call 2015-05-29 10:12:40 +02:00
JC Brand
8e5d481e1c Merge branch 'auto-away' of https://github.com/thierrytiti/converse.js into thierrytiti-auto-away
Conflicts:
	converse.js
2015-05-27 20:01:22 +02:00
thierrytiti
fb589398ad XEP-0199: XMPP Ping
Use modified StropheJS ping plugin (AMD support)
Add Ping functionality
Add Pong handler

Fix to issue #144:
2015-05-27 18:14:58 +02:00
thierrytiti
7366bb709d MUC: missing toggle Call handler and function
the Call button is visible but no action is done
2015-05-26 16:39:06 +02:00
JC Brand
1d0ffe34ab Merge branch 'detect_lang' of https://github.com/thierrytiti/converse.js into thierrytiti-detect_lang 2015-05-20 19:20:17 +02:00
JC Brand
3cbb93479f Mention json header. updates #395. 2015-05-15 14:46:09 +02:00
thierrytiti
d631af58a9 Automatic Away Mode
Add functions for changing user presence to ``away`` or ``xa``
2015-05-13 13:51:24 +02:00
thierrytiti
f521532f2f Language Detection
Replace default en language to autodetection if no i18n setting is set.
2015-05-11 17:36:12 +02:00
JC Brand
f868917d54 Add an "Edit me on Github" ribbon to the docs 2015-05-02 01:21:25 +02:00
JC Brand
e15ec7d443 Add an initial user manual for converse.js 2015-05-02 00:22:50 +02:00
JC Brand
145fd016a3 New release: 0.9.3 2015-05-01 12:29:48 +02:00
pzia
68d111e4b7 bundler is not needed anymore as a debian package 2015-04-26 11:13:35 +02:00
pzia
7e44694d66 Note for debian & ubuntu users 2015-04-26 07:56:22 +02:00
JC Brand
d6038c7c7b Allow the URL to the sounds to be configurable.
Made some modifications to the code contributed by @thierrytiti and documented
the change.

Fixes #344
2015-04-25 22:41:29 +02:00
JC Brand
1ba42a0d4d Document the change by @thierrytiti 2015-04-25 22:22:16 +02:00
JC Brand
87ff04d806 Some small documentation fixes. 2015-04-24 12:03:22 +02:00
Guillermo Bonvehí
98191056e1 Fix rooms grouping examples in docs 2015-04-16 01:23:13 -03:00
JC Brand
fde0e9c199 Fix RsT errors in docs. 2015-04-09 14:16:29 +02:00
JC Brand
6ef2e50387 Merge branch 'anon_login' 2015-04-09 14:09:26 +02:00
JC Brand
995c5fdb44 Make release 0.9.2 2015-04-08 13:41:31 +02:00
pzia
fb8c71b4c7 API documentation for jcbrand/converse.js#355 2015-04-05 08:36:26 +02:00
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