User:Abdelrhman/gsoc16

From MozillaWiki
Jump to: navigation, search

Project's goal

The project aims to replace libpurple's XMPP implementation with JavaScript implementation of XMPP protocol after adding missing features to JavaScript implementation.

Daily updates

Each month will have a separate page contains all activities for each day and I will update it daily.

Weekly report

Here I will summarize all important activities every week, so anyone can check it quickly if he/she does not have enough time to read the daily updates.

Before GSoC

I have worked on improving and adding some features to JavaScript implementation of XMPP in Instantbird since the last year (2015), so this helped me start coding period early to try to add more improvements.

Community bonding and coding periods

Week 1 (April 23 - April 29)

  • Understood Fallen's code for DNS SRV and tested it
  • Fixed some issues in Fallen's code on Linux
  • Tried get any updates about certificate's issue (described in bug 741550) to fix and we got a solution for this issue
  • Submitted two patches in bug 787369 for DNS SRV to get review and we discussed some points on IRC (e.g. caching results, certificate's problem, etc.)
  • By the end of this week, everything in DNS SRV part tend to be clear and I'm working on finishing final patch

Week 2 (April 30 - May 6)

  • Added more improvements to the patch for bug787369 after getting reviews
  • Checked my previous work for Data Forms to be ready for working on it next week

Week 3 (May 7 - May 13)

  • Added improvements to the patch of bug787369
  • Worked on preparing initial interface for Data Forms for Field element and requested checking it from my mentors

Week 4 (May 14 - May 20)

  • Finished working on DNS SRV and it's landed (bug787369)
  • Discussed on IRC the initial interface for Data Forms
  • Discussed on IRC XEP-0224: Attention and started to work on a patch to support it

Week 5 (May 21 - May 27)

  • Submitted a patch for supporting XEP-0224: Attention and got reviews on it
  • Worked on a patch for supporting SASL SCRAM (bug1267649)

Week 6 (May 28 - June 3)

  • Submitted a patch for supporting SASL SCRAM SHA-1 patch (bug1267649) and improved it according to reviews

Week 7 (June 4 - June 10)

  • SASL SCRAM SHA-1 patch has been landed (bug1267649)
  • Submitted a patch for Data Forms (bug1269331) according to the first approach which was suggested by nhnt11

Week 8 (June 11 - June 17)

  • Submitted a patch for supporting attention (bug1275136) and there was a discussion about using action messages instead of system messages as system messages will not get user's attention

Week 9 (June 18 - June 24)

  • Improved supporting attention patch (bug1275136) according to reviews and comments
  • Worked on a patch for supporting Direct Multi-User Chat(MUC) Invitations (bug1281722)

Week 10 (June 25 - July 1)

  • Submitted a WIP patch for Data Forms (bug1269331) after implementing the parsing function and adding two test cases to get feedback
  • Submitted a patch for Support MUC Room Discovery (bug1202261) to be reviewed
  • Landed the patch of supporting Direct Multi-User Chat(MUC) Invitations (bug1281722)
  • Landed the patch of adding tests for xmpp-xml.jsm (bug1283139)
  • Finished and submitted a patch for handling XMPP Resource collision (bug955307) to be reviewed

Week 11 (July 2 - July 8)

  • Landed the patch of supporting MUC Room Discovery (bug1202261)
  • Worked on improving the patch of Data Forms (bug1269331) according to nhnt11's feedback and implementing generateHTML method
  • Patch of handling XMPP resource collision (bug955307) is ready to be landed, but it needs to be tested with gtalk and odnoklassniki

Week 12 (July 9 - July 15)

  • Improved and submitted the patch of Data Forms to be reviewed (bug1269331)
  • Worked on a patch for supporting canceling an existing registration on server (bug1286905) and submitted a WIP patch and discussed that on IRC

Week 13 (July 16 - July 22)

  • Landed the patch of handling XMPP resource collision (bug955307)
  • Landed the patch of supporting version command (bug1284165)
  • Landed the patch of responding to service discovery (XEP-0030) queries (bug1142142)

Week 14 (July 23 - July 29)

  • Worked on a patch for handling delayed delivery for presence stanzas (bug1289110) and it's landed
  • Worked on a patch for supporting message carbons (XEP-0280) by enabling it on server according to user's pref and simple parsing of the forwarded messages
  • Worked on a patch for adding tests for XMPPParser and fixing the issue of parsing nested top-level elements (e.g. message) (bug1290373) as this issue happens with forwarded copies of message carbons

Week 15 (July 30 - August 5)

  • Landed the patch of adding tests for XMPPParser and fixing the issue of parsing nested top-level elements (e.g. message) (bug1290373)
  • Submitted a patch for supporting message carbons (XEP-0280) (bug964070) and it's landed

Week 16 (August 6 - August 12)

  • Submitted the patch of Data Forms to be reviewed (bug1269331)
  • Landed a patch for setting _mucService according to namespace, category and type as room discovery failed due to using the wrong service (bug1292884)
  • Landed a patch for handling presence stanzas from other resources (bug1292882)
  • Submitted and improved a patch for handling result stanza on adding contacts (bug1292883)