SummerOfCode/2013/EnsembleBackendConnector: Difference between revisions

 
(13 intermediate revisions by the same user not shown)
Line 70: Line 70:
=== Status 11: 30/08/13 ===
=== Status 11: 30/08/13 ===


Using the Radicale CardDAV server implementation, we were able to test the CardDAV Connector and its features in a real world live setting, which produced a few adjustments in the connector's handling, but otherwise confirmed the quality of the current code-base. The next task will be to finalize the code for the next Pull Request into Ensemble's master code-base.
Based on the previous week's goal, a new installation of the Radicale CardDAV server was sought, which caused an unexpected handful of issues along the way. After these issues were addressed, we were able to test the CardDAV Connector and its features using Radicale in a real world live setting, which produced a few adjustments in the connector's handling, but otherwise confirmed the quality of the current code-base. Code was then finalized and a pull request was made to be merged into the project master branch.
 
=== Status 12: 08/09/13 ===
 
Code was reviewed, and a few small adjustments were proposed (i.e. trailing whitespace, not defaulting a combobox, etc.) and the changes were addressed. A followup discussion was proposed for the next meeting on the return value of the authorize function. Final pull request was created.
 
== Google Summer of Code Wrap-Up ==
 
As stated in the original proposal, the initial goal of the Google Summer of Code project was to develop a backend connector that would allow access to selected protocol-based contact storage servers for the Ensemble Thunderbird Address Book Add-on. Initially, the top two desired protocols were CardDAV and LDAP, and upon further research and discussion, it was chosen that a CardDAV backend connector would be the selected development goal for the summer term.
 
Upon reaching the 'pencils-down' date, the goal of developing the CardDAV backend connector was met through the use of a rapid, iterative, and test driven design using the JavaScript language alongside the Mozilla comm-central source code. Through the use of the Git revision control system, the project was developed seperate from the main Ensemble code base at https://github.com/Demelode/thunderbird-ensemble/tree/new_master which was in turn merged into the final master branch located at https://github.com/mikeconley/thunderbird-ensemble .
 
Specifically, the CardDAVConnector file can be found at https://github.com/Demelode/thunderbird-ensemble/blob/new_master/modules/connectors/CardDAVConnector.jsm , and its test suite is located at https://github.com/Demelode/thunderbird-ensemble/blob/new_master/tests/test-carddav-connector.js .
 
Alongside other additions such as Memory Cache objects https://github.com/Demelode/thunderbird-ensemble/blob/new_master/modules/connectors/MemoryRecordCache.jsm and the modularization of an open sourced VCard Parser https://github.com/Demelode/thunderbird-ensemble/blob/new_master/modules/lib/VCardParser.jsm , a patch was developed to add promptUsernameAndPassword capabilities to test-prompt-helpers.js in the Mozilla central code base, located at https://bugzilla.mozilla.org/show_bug.cgi?id=906520 . This was added because Ensemble will require its use when prompting for CardDAV server authentication during fetching and polling requests.
 
Now that CardDAV Connector development is finished, the future goals outside of the scope of the Google of Summer Code project will be maintaining the CardDAV Connector for any new changes or requirements as they appear, and the target of developing a LDAP-based version for the overall Ensemble project. Research would suggest that to complete a LDAP-based version of the backend connector, the project would use https://developer.mozilla.org/en-US/docs/Mozilla/js-ctypes to allow the usage of the LDAP C code located in comm-central at the location of http://mxr.mozilla.org/comm-central/source/ldap/sdks/c-sdk/ldap/ .
Confirmed users
41

edits