- Notifications
You must be signed in to change notification settings - Fork 217
Sprint 12 #276
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
Sprint 12 #276
Conversation
* Fixed bug (remove QB.Recorder) * remove QB.Recorder * upd recorder * upd npm install rimraf -g
Add a few section of docs (QB.chat.*)
* generate new docs
# Conflicts: # docs/QB.chat.html # docs/QB.chat.muc.html # docs/QB.chat.roster.html # docs/QB.html # docs/global.html # docs/index.html # package.json # quickblox.min.js # src/qbConfig.js
* in develop. * done * remove in develop values * review
* qbLocation depcated * session. filter/snapshot removed
* Fixed some text in Data Sample; * Fixed XML stanza for send message with attachments in nodejs environment; * Fixed file's size for response from QB.content.createAndUpload(file, callback); * Added ignores for npm (.npmignore file).
* QBWEBSDK-559 * QBWEBSDK-574 * QBWEBSDK-569 * QBWEBSDK-569 (updated)
* API Reference (Added description for user, content, data and pushnotifications modules) * cleanup * Updated QB.content.upload description
…blox-javascript-sdk into develop # Conflicts: # docs/QB.chat.dialog.html # docs/QB.chat.helpers.html # docs/QB.chat.html # docs/QB.chat.message.html # docs/QB.chat.muc.html # docs/QB.chat.privacylist.html # docs/QB.chat.roster.html # docs/QB.html # docs/global.html # docs/index.html # package-lock.json # quickblox.min.js # src/modules/qbContent.js # src/qbConfig.js
* Added last user activity query. * rebuild after merge * cleanup * rebuild * updated API Reference Docs, Removed method setAsActive in privacyList module, updated tests * rebuild
src/modules/AddressBook.js Outdated
| AddressBook.prototype = { | ||
| /** | ||
| * The method is used to create, update and delete contacts in address book.<br /> | ||
| * If contacts doesn't exist in address book then it will be created. If contacts exists then it will be updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If contacts -> If contact
src/modules/AddressBook.js Outdated
| * @memberof QB.addressbook | ||
| * @param {string|function} udidOrCallback - You could pass udid of address book or | ||
| * callback function if you want to get contacts from global address book. | ||
| * @param {function} [callback] - Callback function is uses as 2nd parameter if you pass udid as 1st parameters. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is uses -> is used
src/modules/AddressBook.js Outdated
| * Retrive all user that has phone number from your address book. | ||
| * The methods accepts 1 or 2 parameters. | ||
| * @memberof QB.addressbook | ||
| * @param {boolean|function} udidOrCallback - You can pass isCompact parameter or callback object. If isCompact is passed then only user's id and phone fields will be returned from server. Otherwise - all standard user's parameters will be returned. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
user's parameters -> user's fields
src/modules/AddressBook.js Outdated
| * The methods accepts 1 or 2 parameters. | ||
| * @memberof QB.addressbook | ||
| * @param {boolean|function} udidOrCallback - You can pass isCompact parameter or callback object. If isCompact is passed then only user's id and phone fields will be returned from server. Otherwise - all standard user's parameters will be returned. | ||
| * @param {function} [callback] - Callback function is uses as 2nd parameter if you pass `isCompact` as 1st parameters. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is uses -> is used
as 1st parameters. -> as 1st parameter.
src/modules/AddressBook.js Outdated
| }, | ||
| | ||
| /** | ||
| * Retrive all user that has phone number from your address book. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Retrive all user that has phone number from your address book. -> Retrieve QuickBlox users that have phone numbers from your address book.
| Just a quick question: Why you decided to have a separate callback for Last Activity instead of the following? : |
| "Why you decided to have a separate callback for Last Activity instead of the following?" To keep one-sided, because the whole chat is working on listeners. |
Added:
Updated:
Removed:
Samples:
How should this be manually tested?
Use Jasmine, start ./spec/SpecRunner.html in browser
Does the documentation need an update?
Yes, generate JSDOC before release