-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change strophe.mam.v0.3.js to works #120
Open
icaro56
wants to merge
215
commits into
metajack:master
Choose a base branch
from
strophe:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Added Out of band file transfer plugin (XEP-0066)
Out of band file transfer
Out of Band Data added to the README.markdown
Out of Band Data added to the README.markdown
…or the join function
Add a missing line of documentation
using Stophe.getText(xmlNode)
IE9 does not work with xmlNode.textContent
roster plugin: Nickname support added to the presence subscription request.
Extended presence support in MUC
Mentioned in, metajack#102
with the following error: strophe.muc.coffee:11:1: error: unexpected INDENT _connection: null ^^ using coffeescript 1.6.3
If we don't use the dataforms plugin then the Form object is undefined, resulting in an error.
See "Breaking changes" section of v0.7.4 release notes. http://docs.busterjs.org/en/latest/changelog/#v0-7-4
Looks like the Tigase BOSH service is no longer available. Also bumped timeout.
A wrong field name was used here (propably due to refactor) Caused "block elements" not to be saved.
Addition of Message Carbon support XEP-0280
…kmark in the Bookmark PubSub node; it created a new bookmark set (a bookmark storage) with a single bookmark. Unfortunately, this cannot work with strict XMPP server (like ejabberd) in which they expect to have only one bookmark set (thus one item with a bookmark storage). In order to work with any XMPP servers, the 'add' method now fetches the whole bookmark set from the XMPP server and then updates it with the new group chat to bookmark. (It has been tested with JSXC and with OpenFire and Ejabberd as XMPP servers.)
'add' method updates now the whole bookmark storage instead of just adding a new bookmark storage with a single bookmark
…w added into the remote bookmark storage. The whole bookmark set (under the id 'current') is now fetched from the remote storage, the bookmark to delete is removed from it and then the modified bookmark set is sent to the XMPP server.
…ark. So, the code is updated to take into account this use. A fix has been made also for when no nickname is defined in a bookmark (in that case, no need to go up to the parent node with the up() method).
…dition in the enabling of XEP-198
… is probably better
XEP-198 Stanza Acks
Fix the bookmark deletion so that is matches the way a bookmark is now added
jcbrand
force-pushed
the
master
branch
2 times, most recently
from
January 25, 2017 14:18
131f4f1
to
1da5f8c
Compare
Plugins are now stored in their own repositories. Updates #123.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change to:
/* XEP-0313: Message Archive Management
*
*
*/
(function(){
'use strict';
Strophe.addConnectionPlugin('mam', {
_c: null,
_p: [ 'with', 'start', 'end' ],
init: function (conn) {
this._c = conn;
Strophe.addNamespace('MAM', 'urn:xmpp:mam:0');
},
query: function (jid, options) {
var _p = this._p;
var attr = {
type:'get',
id:jid
};
var mamAttr = {xmlns: Strophe.NS.MAM};
if (!!options['queryid']) {
mamAttr.queryid = options['queryid'];
delete options['queryid'];
}
var iq = $iq(attr).c('query', mamAttr).c('x',{xmlns:'jabber:x:data', type:'submit'});
});
})();