quickblox-javascript-sdk

JavaScript SDK of QuickBlox cloud backend platform

OTHER License

Downloads
9.1K
Stars
105
Committers
29

Bot releases are visible (Hide)

quickblox-javascript-sdk - 2.6.2

Published by dimaspirit about 7 years ago

Added:

  • Added ignores for npm (.npmignore file);

Imporvements:

  • Data sample improvements;

Fixed:

  • Fixed XML stanza for send message with attachments in nodejs environment;
  • Fixed file's size for response from QB.content.createAndUpload(file, callback);

Removed:

  • Remove some samples (content, custom object);
quickblox-javascript-sdk - 2.6.1

Published by dimaspirit about 7 years ago

Deprecated:

  • QB.chat.privacylist.setAsActive() is deprecated;

Fixed:

Improvement:

  • Add work with media in Data sample;
quickblox-javascript-sdk - 2.6.0

Published by dimaspirit over 7 years ago

New:

  • new callback onKickOccupant(dialogId, initiatorUserId) to handle a case where User2 joined chat dialog and User1 removed him from occupants;

  • new callbacks onJoinOccupant(dialogId, userId) and onLeaveOccupant(dialogId, userId) to handle group dialog changes;

  • new task npm run buildNotMinified;

  • Karma/Istanbul code coverage tools. To start use the following comand: node node_modules/.bin/karma start karma.conf.js. To see a report look at subdirectory coverage in the default location.
    Warning! Before run you need to rebuild sdk with buildNotMinified task;

Updated:

  • refactored API logs format;

Fixed:

  • ability to use multiple QB instances;
  • onMessageErrorListener does not work under (Node.js);
  • QB.chat.privacylist.delete method does not work (Node.js);
  • an issue with recursion when do QB.chat.disconnect inside QB.chat.connect's callback (Node.js);
  • QB.users.resetPassword always returns an error;
  • QB.chat.privacylist.update method does not work properly when change deny-> allow;
  • methods to decline the use of active/privacy lists (QB.chat.privacylist.setAsDefault('', callback) and QB.chat.privacylist.setAsActive('', callback)) does not work properly. Also, now you can pass null instead of empty string '' to decline;
  • QB.chat.privacylist.getNames method does not return anything if a user does not have any active/default lists;
  • QB.chat.privacylist.getNames returns all names except active/default at names key under Node.js. Made it similar to browser env behaviour;
  • QB.chat.muc.listOnlineUsers method not returns an array of integers instead of array of strings.
  • Event handlers to be registered with Strophe multiple times ( thanks @ruffin-- );
quickblox-javascript-sdk - 2.5.5

Published by dimaspirit over 7 years ago

New:

  • new callback onKickOccupant(dialogId, initiatorUserId) to handle a case where User2 joined chat dialog and User1 removed him from occupants;

  • new callbacks onJoinOccupant(dialogId, userId) and onLeaveOccupant(dialogId, userId) to handle group dialog changes;

  • new task npm run buildNotMinified;

  • Karma/Istanbul code coverage tools. To start use the following comand: node node_modules/.bin/karma start karma.conf.js. To see a report look at subdirectory coverage in the default location.
    Warning! Before run you need to rebuild sdk with buildNotMinified task;

Updated:

  • refactored API logs format;

Fixed:

  • ability to use multiple QB instances;
  • onMessageErrorListener does not work under (Node.js);
  • QB.chat.privacylist.delete method does not work (Node.js);
  • an issue with recursion when do QB.chat.disconnect inside QB.chat.connect's callback (Node.js);
  • QB.users.resetPassword always returns an error;
  • QB.chat.privacylist.update method does not work properly when change deny-> allow;
  • methods to decline the use of active/privacy lists (QB.chat.privacylist.setAsDefault('', callback) and QB.chat.privacylist.setAsActive('', callback)) does not work properly. Also, now you can pass null instead of empty string '' to decline;
  • QB.chat.privacylist.getNames method does not return anything if a user does not have any active/default lists;
  • QB.chat.privacylist.getNames returns all names except active/default at names key under Node.js. Made it similar to browser env behaviour;
  • QB.chat.muc.listOnlineUsers method not returns an array of integers instead of array of strings.
  • Event handlers to be registered with Strophe multiple times ( thanks @ruffin-- );
quickblox-javascript-sdk - 2.5.4

Published by dimaspirit over 7 years ago

Remove:

  • qbLocation Module (Use Custom Object);

New:

  • chat sample;

Fixed:

  • can't login into sample video chat (test and dev) with 1 login name;
  • can't reconnect after voluntary disconnect before;
  • QB.chat.onContactListListener doesn't fire;
quickblox-javascript-sdk - 2.5.3

Published by dimaspirit over 7 years ago

Patch with minified quickblox.min.js;
Nothing changed;

quickblox-javascript-sdk - 2.5.2

Published by dimaspirit over 7 years ago

New:

  • Added a webrtc-adapter as dependency;
  • Added new property to params for QB.chat.connect();
    If you don't want to get list of users (roster) pass connectWithoutGettingRoster to QB.chat.connect();
  // @example
  QB.chat.connect({
    userId: user.id, 
    password: user.pass,
    connectWithoutGettingRoster: true
  }, function(err) {});

Fixed:

  • Broken any chat functionality after lost a connection;

Samples:

  • Rewrite a sample of chat. Old version doesn't support and will be removed in next release;
quickblox-javascript-sdk - 2.5.1

Published by dimaspirit almost 8 years ago

New:

  • Added a button 'Audio call' to webrtc sample (separeted audio / video call );
  • Added a codeclimate service (see a badge in README.md);

Update:

  • Stream management isn't supported by BOSH protocol. Added an exception;

Remove / Deprecated:

  • qbLocation is deprecated;
  • QB.chat.addListener is deprecated;
  • webrtcSession.filter/webrtcSession.snapshot is removed;

Fixed:

  • WebRTC sample (Sometimes user doesn't get incoming call, initiator doesn't get incoming calls when caller clicked 'End call' button when outgoing call is started once, doesn't get any incoming call from any caller if callee rejected incoming group call before).
quickblox-javascript-sdk - 2.5.0

Published by dimaspirit almost 8 years ago

New:

Updated:

quickblox-javascript-sdk - 2.4.0

Published by dimaspirit almost 8 years ago

Features:

  • New build tool (Gulp instead of Grunt).
  • Chat Stream Management. This feature defines an approach for ensuring that message was delivered to server (aka 'sent' status).
  • Stream recording in video chat. You can record a stream or a few streams by using QB.Recorder. Now QB.Recorder is in beta version, so be careful with this functionality.
  • Removed unminified (quickblox.js) version of library. Uses source maps (npm run develop) for debugging.
quickblox-javascript-sdk - 2.3.4

Published by Vladlukhanin about 8 years ago

Updated:

  • Method for send message and method for send system message return message id.
quickblox-javascript-sdk - 2.3.3

Published by Vladlukhanin about 8 years ago

Updated:

  • SDK can send and receive the body in the system message.
quickblox-javascript-sdk - 2.3.2

Published by Vladlukhanin about 8 years ago

Fixed:

  • removed parseInt() method for the 'id' attribute in attachment.
quickblox-javascript-sdk - 2.3.1

Published by Vladlukhanin about 8 years ago

Fixed:

  • updated method 'get' in Roster;
quickblox-javascript-sdk - 2.3.0

Published by dimaspirit about 8 years ago

New:

  • Full Node.js environment support.

Fixed:

  • can't install QB via bower.
quickblox-javascript-sdk - 2.2.3

Published by Vladlukhanin about 8 years ago

Updated:

  • updated Strophe lib to v.1.2.8.
  • send initial presence if one of client (instance) goes offline.
quickblox-javascript-sdk - 2.2.2

Published by IegorKozakov about 8 years ago

Updated:

  • Updated logic of privacy list user blocking (two ways)
quickblox-javascript-sdk - 2.2.1

Published by dimaspirit about 8 years ago

Fixed:

  • Updated regexp for room name in WebRTC sample;
quickblox-javascript-sdk - 2.2.0

Published by dimaspirit about 8 years ago

Updated:

  • changed the folder name 'js' to 'src';
  • changed bootstrap version (4.0.0);

New:

  • added getMediaDevices (return all devices);
  • added new parameter to listener onCallStatsReport (session, userId, stats, error);
  • set statsReportTimeInterval is false by default;
  • added a new type of login to WebRTC sample - changed creds and opportunity to choose an app (by '?creds=test' in URL);
quickblox-javascript-sdk - 2.1.5

Published by dimaspirit about 8 years ago

New:

  • QB.webrtc.onReconnectFailedListener to handle chat reconnection errors;
  • QB.webrtc.onInvalidEventsListener handles 'onAccept', 'onReject', 'onStop' (audio/video call) events when session has unsuitable state;

Updated:

  • Added a property recipient_id to message object in QB.chat.onMessageListener;
Package Rankings
Top 6.17% on Npmjs.org
Top 7.75% on Bower.io
Badges
Extracted from project README
Code Climate npm npm