User:Abdelrhman/gsoc16/summary

From MozillaWiki
Jump to: navigation, search

Project Work Summary

A list of the commits

https://hg.mozilla.org/comm-central/changelog?rev=user(ab@abahmed.com)%20and%20descendants(041e7b96f670)

Work that got merged

SRV records

Queries about DNS SRV records for a XMPP account to determine host and port to connect to while logging.

Related bugs

SASL SCRAM

Support SCRAM-SHA-1 for authentication to be used instead of DIGEST-MD5 as it's obsolete.

Related bugs

  • Bug 1267649 - Support SASL SCRAM authentication mechanism
  • Bug 1281782 - Convert gtalk auth mechanisms to generators

Direct Multi-User Chat (MUC) Invitations

Implemented XEP-0249 through a command to allow user to invite conversation partner to join a room in one-to-one chat. While working on this feature, we discovered issues in XML generator which are fixed now and tests are added for it.

Related bugs

  • Bug 1281722 - Implement Direct MUC Invitations (XEP-0249)
  • Bug 1283139 - Add tests for Stanza.node in xmpp-xml.jsm

MUC Room Discovery

Implemented section 6.3 in XEP­-0045 to discover chat rooms that hosted by service and hooked this to the UI.

Related bugs

Bind resource to server-generated one

Instead of using brand name as a resource for all connected accounts by default, request a server-generated one to avoid collision.

Related bugs

Message Carbons

Implemented XEP-280 to be able to get sent or received messages from other resources of that account. This helps the user keep in touch if the user subsequently switches device. While working on this, we discovered issues in the XMPP Parser which are fixed now and tests are added for it.

Related bugs

Version command

Queries about the client of conversation partner and handles the response according to XEP-0092 (Software Version).

Related bugs

Respond to service discovery requests

Allows client to advertise features that is supported through responding to service discovery requests according to XEP-0030.

Related bugs

  • Bug 1142142 - Implement responding to service discovery (XEP-0030) requests

Follow up bugs

Fixing small issues that may exist from features added previously or adding small one.

Related bugs

  • Bug 955019 - Enable JS-XMPP by default
  • Bug 1282099 - Update NetUtil.asyncFetch calls in chat/
  • Bug 1282588 - Handle failure when trying to join members-only rooms
  • Bug 1289110 - Handle delayed delivery for presence stanzas
  • Bug 1292884 - Room discovery fails due to using the wrong service
  • Bug 1292882 - Handle presence stanzas from other resources
  • Bug 1292883 - Handle result stanza on adding contacts


Work that did not get merged (In progress)

Attention command

Used to grab the user's attention in one-to-one chat and it's implemented according to XEP-0224.

Status: Implementation is already finished and reviewed, but it's not landed as we think that we can display received message on the UI in a better way

Related bugs

Data Forms

Allows the exchange of structured data between users and services through UI to perform tasks (e.g. In­-Band Registration, User Search, etc.) and it's implemented according to XEP-0004.

Status: close to final reviews

Related bugs

In-band registration

Allows user to register with a server with a host and it's implemented according to XEP-0077.

Status: close to final reviews

Related bugs

  • Bug 955317 - Support XEP-0077 In-Band Registration

Cancel an existing registration on server

Allows user to cancel an existing registration on server with a host.

Status: early stage

Left to do : Deleting an account on a server is an async process, but this will not work with current mechanism of deleting account information on the client permanently before this process, so we have to find a way to fit that (Recently, I have discussed an idea with mentors, but it's not implemented yet)

Related bugs

  • Bug 1286905 - Support canceling an existing registration on server