Confirmed users
41
edits
| (9 intermediate revisions by the same user not shown) | |||
| Line 76: | Line 76: | ||
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. | 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. | 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/ . | |||