JC Brand
8a63813f5e
Add the ability to set the presence priority.
...
Fixes #745
2017-02-22 22:13:23 +01:00
JC Brand
17e0e70e4e
Support for XEP-0203 delayed delivery of presence stanzas
2017-02-21 23:30:11 +01:00
JC Brand
7ae2e46925
Expand tests and found a bug in the process.
...
updates #785
2017-02-20 22:37:06 +01:00
JC Brand
789654d54e
Updates #785 and #787
...
Improve upon the previous implementation.
If the resource with the highest priority goes offline or becomes unavailable,
then the chat status of the contact must fall back to that of the resource with
the next highest priority.
In your example from #785 , if the resource with priority 1 goes offline or
becomes unavailable, then in your implementation the chat status would stay at
online, although it must actually go to xa.
The solution is to update the resources attribute on the contact to not just be
an array or strings, but instead to be a map of resources to priorities and
statuses and to use that data structure.
2017-02-20 22:29:13 +01:00
w3host
15d2640c43
Presence priority NOT handled correctly #785 ( #787 )
2017-02-20 20:48:09 +01:00
JC Brand
4e0cb8d354
update changelog. Fixes #366
2017-02-20 09:48:41 +00:00
JC Brand
4c41ae8fad
Render room features separately
...
So that the occupants list doesn't get wiped.
2017-02-19 11:16:27 +01:00
JC Brand
a5bfd7fa57
Hide invite widget if the room is not open
...
or if the room is members-only and the user is not the owner.
2017-02-19 01:18:36 +00:00
JC Brand
441f7a2a15
Show the chatroom occupants JID in the tooltip
...
if you're allowed to see it.
2017-02-19 01:08:08 +00:00
JC Brand
a6ca5aad35
Show room features in the sidebar.
2017-02-19 00:39:08 +00:00
JC Brand
10a85336cc
Show the description in the heading, not the subject
2017-02-19 00:20:21 +00:00
JC Brand
a1c156456d
Make keepalive
and roster_groups
true by default.
2017-02-17 08:54:58 +01:00
JC Brand
ef7a0df46e
Mention converse-muc-embedded in the changelog
2017-02-16 22:03:03 +01:00
JC Brand
e0db1c7d91
Mention breaking changes in the changelog
2017-02-16 21:48:01 +01:00
JC Brand
483d01fbbf
Fix link to converse.js in docs
2017-02-16 20:52:20 +01:00
JC Brand
2819148669
Document white- and blacklisting of plugins
2017-02-16 20:37:33 +01:00
JC Brand
f43084861e
Remove references to bower in docs
2017-02-16 15:39:52 +01:00
JC Brand
4a37c6940b
Use individual strophe plugins instead of entire repo
2017-02-16 13:02:09 +01:00
JC Brand
16688ebe1c
Install fontawesome via NPM and remove last bower stuff
2017-02-16 12:03:56 +01:00
JC Brand
61568aca32
The notification option wasn't being used consistently
2017-02-15 19:12:45 +00:00
JC Brand
fbdbea223d
Ensure consistent behavior from show_controlbox_by_default
2017-02-14 17:23:22 +00:00
JC Brand
e52a775430
Bugfix. See below.
...
"TypeError: this.sendConfiguration(...).then is not a function" when a room is created
2017-02-14 16:55:32 +00:00
JC Brand
bc8e3e1a01
Return a Backbone.View object instead of a wrapper
...
When returning chat boxes via the API.
We can do this now because these API methods are only available to
(whitelisted) plugins.
2017-02-14 15:10:46 +00:00
JC Brand
fe6a9ca748
Merge converse-api and converse-core
...
Otherwise `require('converse-core')` can be called, exposing the inner converse
object.
2017-02-14 14:35:52 +00:00
JC Brand
495c6060f9
Allow non-roster contacts to be invited to a chatroom.
2017-02-14 14:35:31 +01:00
JC Brand
7b65155d5b
Don't show chat-state notifications by default.
2017-02-14 13:00:45 +00:00
JC Brand
994c961d9c
Add a waitUntil
API for promises.
2017-02-14 11:24:20 +01:00
JC Brand
e74d2feeae
update changelog
2017-02-13 16:12:12 +00:00
JC Brand
54136a9447
Merge branch 'pr/chats_open_attrs' of https://github.com/Ape/converse.js into Ape-pr/chats_open_attrs
2017-02-13 15:26:40 +00:00
JC Brand
d334870d00
Render the login form again upon authfail.
2017-02-13 15:23:26 +00:00
JC Brand
fddcd1c6cf
Improved roster filter UX.
...
Keep the focus in the input after filtering.
Prevent form submission from reloading the page.
2017-02-13 15:07:46 +00:00
JC Brand
fd2f1c22e4
Fixes #775
2017-02-13 14:26:59 +00:00
JC Brand
acf0e19d99
Fixes #774
2017-02-13 14:20:16 +00:00
JC Brand
5f67797202
Fixes #749
2017-02-13 14:00:05 +00:00
JC Brand
85f6a75fed
Escape user-generated input to avoid injection attacks
2017-02-13 13:41:37 +00:00
JC Brand
6d2a38a7c1
Fixes #486 Update docs and fix failing test.
2017-02-12 19:01:07 +00:00
JC Brand
38f3dc66a3
Update documentation
2017-02-02 20:46:30 +00:00
JC Brand
a30cf931b8
Split API into public and private (plugin only) parts.
2017-02-02 20:09:52 +00:00
JC Brand
aacee2eb83
Replace jQuery-based event emitter with Backbone.Events
2017-02-02 19:49:49 +00:00
JC Brand
83feebb229
Two plugins changes
...
- Remove the `plugins.remove` API method.
- Throw an error when attempting to register multiple plugins with the same name.
2017-02-02 18:54:15 +00:00
JC Brand
6de6d526b0
Various documentation improvements.
2017-02-02 18:34:13 +00:00
JC Brand
7389e1e058
Add documentation on security considerations
2017-02-02 18:34:13 +00:00
JC Brand
9b48b2d6bd
Update plugins to not depend on converse-core
...
To illustrate that this is not necessary (and also not possible with
non-bundled plugins).
2017-02-02 18:34:13 +00:00
JC Brand
b701c4830f
Also use _converse
as pluggable object reference.
2017-02-02 18:34:13 +00:00
JC Brand
55dbbede8a
Update documentation
2017-02-02 18:34:13 +00:00
JC Brand
4dcb855562
Split API into public and private (plugin only) parts.
2017-02-02 18:30:59 +00:00
JC Brand
fd662d4bde
Fix selector for cancel button.
2017-02-02 18:30:43 +00:00
JC Brand
647ee1ff04
Replace jQuery-based event emitter with Backbone.Events
2017-02-02 18:30:43 +00:00
JC Brand
82665d17fb
By default allow chatting with pending/requesting users
2017-02-02 14:57:17 +01:00
JC Brand
bcbeb8da6c
Case-insensitive matching of moderation commands.
...
Also add `/subject` as alias to `/topic`
2017-02-02 14:56:56 +01:00