SummerOfCode/2013/EnsembleBackendConnector: Difference between revisions
| Line 39: | Line 39: | ||
The meeting prior, it was determined that the main goal over the next week(s) would be to build a function that produces a simple, non-secure connection between a CardDAV server and Ensemble. This task would include a function that initiated such a connection, as well as a test to accompany it. Specifically, this would be done using the Radicale local CardDAV server software. This task was accomplished by developing a connection function that produced an OPTIONS HTTP Request towards a parametered server URL, which would return a positive result if the request status was successful (200). However, the function is not fully completed, as it seems to not address a failed connection response in the expected manner (i.e. A case in which it should not return a resolved promise, does). The recent push request needs to be looked over to see if any solutions can be found for these unexpected results, before the next steps can be taken. | The meeting prior, it was determined that the main goal over the next week(s) would be to build a function that produces a simple, non-secure connection between a CardDAV server and Ensemble. This task would include a function that initiated such a connection, as well as a test to accompany it. Specifically, this would be done using the Radicale local CardDAV server software. This task was accomplished by developing a connection function that produced an OPTIONS HTTP Request towards a parametered server URL, which would return a positive result if the request status was successful (200). However, the function is not fully completed, as it seems to not address a failed connection response in the expected manner (i.e. A case in which it should not return a resolved promise, does). The recent push request needs to be looked over to see if any solutions can be found for these unexpected results, before the next steps can be taken. | ||
=== Status 4: 23/06/13 === | |||
This week was a breather week to address external commitments. After the external commitments were dealt with, work was done on improving the previously discussed connection function, attempting to determine the cause of the odd test behaviour. The latest iteration of the connection code was placed onto the repo for further discussion. A calendar was made to assist the scheduling of future meetings. See https://github.com/mikeconley/thunderbird-ensemble/pull/7 for the pull requests current state of discussion. | |||
Revision as of 14:10, 23 June 2013
Summary of Google Summer of Code Project Proposal
I’m applying for the ‘Backend Connectors for Ensemble’ Thunderbird address book extension project for Mozilla.
After discussing the task with the project’s mentor, I plan on researching, then implementing possible options to connect the Thunderbird address book extension to external contact storages, specifically LDAP and/or CardDAV.
The overall project goal would be to implement both types of connections; although after doing some initial research as well as from gathering the mentor’s opinion, it has been found that a LDAP connection implementation might be a sizeable task in its own right, as its advanced nature alongside the lack of previous LDAP implementations in the JavaScript ecosystem might produce a more difficult task.
As referenced by the initial project conversations, this project will involve quite a lot of research and exploration, as much of the work will be done on new areas of interest within the programming landscape, which means a sizeable amount of time will be dedicated to the research and planning portions of development.
Therefore, with the project goal being set as an initial implementation of LDAP and/or CardDav connection support, and the potential for such connections hanging on a set of extensive research findings, an initial goal would be to pursue the most effective path forward to produce the most developmental progress, may it be for LDAP support, CardDav support, or both, if the findings prove effective and implementation are within the scope of the Google Summer of Code timeline.
In regards to work on the project I’ve already done, I’ve done some initial research on the LDAP protocol, to better understand the context to which such an implementation might involve. Furthermore, I’ve taken a look at the current codebase found on the Github repo, and from it I’ve forked and contributed a commit that allows the build shell script to be run on a OSX based system (my preferred development platform).
Planned Schedule of Deliverables
June 17th: Coding period begins.
June 17th-(exact date TBD) June 21th: Initial Research (time split between GSoC & finishing other summer course commitment overlap).
June 22nd-July 6th: Continue initial research and begin project planning, develop specific project structures and tasks.
July 6th-20th: Begin implementation tasks, initial code snippets and groundwork.
July 20th-August 10th: Solidify code implementations and begin to see end quality code content.
August 10th-August 30th: Project tasks should be finalizing content, testing, serious project completion submissions.
August 30th-September 16th: Buffer period before ‘pencils down’ timeline for any scheduling extensions.
September 16th-September 27th: ‘Post-pencils down’ period. I would assume this time would be filled with submissions and other non-programming requirements.
Status Reports
Status 1: 01/06/13
After a quick meeting between mentor and the Google Summer of Code student, it was determined that a good first goal would be to set up the project development environment. This would consist of downloading the project dependencies, including the tools, source, and tests that would allow for the building and deployment of the project contents. Upon completion of this task, it would then be beneficial to consider the design of the assorted Ensemble tests, as it is the goal for Ensemble to be test driven during development.
At this time, the source and toolsets required to build and deploy the Ensemble project have been prepared on a clean Ubuntu installation. However, a few tweaks in the setup still need to be adjusted, as there are a few tests that still do not pass. Improvements are being made to address the remaining failed test attempts. The test design has been considered very briefly, as the time available has been prioritized to address the finalization of the development environment setup.
Status 2: 08/06/13
During the most recent meeting, the final project development environment issues were resolved, and the system was able to pass all required Ensemble tests. At this meeting, a list of goals was produced for completion over the next few weeks. These goals were: reading up on CardDAV, Task.js, and Promise, getting an empty test to run in a new test file, set up a local CardDAV server on the machine, and then finally, to develop a basic implementation of a CardDAV connection. As of this status report, CardDAV, Task.js, and Promise were read up, and an empty test has been made and passed within the Ensemble project.
Status 3: 14/06/13
The meeting prior, it was determined that the main goal over the next week(s) would be to build a function that produces a simple, non-secure connection between a CardDAV server and Ensemble. This task would include a function that initiated such a connection, as well as a test to accompany it. Specifically, this would be done using the Radicale local CardDAV server software. This task was accomplished by developing a connection function that produced an OPTIONS HTTP Request towards a parametered server URL, which would return a positive result if the request status was successful (200). However, the function is not fully completed, as it seems to not address a failed connection response in the expected manner (i.e. A case in which it should not return a resolved promise, does). The recent push request needs to be looked over to see if any solutions can be found for these unexpected results, before the next steps can be taken.
Status 4: 23/06/13
This week was a breather week to address external commitments. After the external commitments were dealt with, work was done on improving the previously discussed connection function, attempting to determine the cause of the odd test behaviour. The latest iteration of the connection code was placed onto the repo for further discussion. A calendar was made to assist the scheduling of future meetings. See https://github.com/mikeconley/thunderbird-ensemble/pull/7 for the pull requests current state of discussion.