Confirmed users
41
edits
| (22 intermediate revisions by the same user not shown) | |||
| Line 44: | Line 44: | ||
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, specifically the commit https://github.com/Demelode/thunderbird-ensemble/commit/5a0cee631b58aa1a17b4971133051cb44adcce71 describing the latest change. | 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, specifically the commit https://github.com/Demelode/thunderbird-ensemble/commit/5a0cee631b58aa1a17b4971133051cb44adcce71 describing the latest change. | ||
=== Status 5: | === Status 5: 04/07/13 === | ||
Recent developments include redesigning the structure of the connector test suite and a progressive expansion of tests and the features these tests address in the connector. It was determined that the development pattern for the project would be test-driven, and thus any new development would first begin with tests on new features, then working on those features until it passes the expected test. Furthermore, each feature will be developed using a localized Radicale server package, and then generalized into a JS server test suite included in Mozmill. The current feature in development is the ability to create a new Address Book on a designated location on the working CardDAV server, which upon completion would lead to the deletion of Address Books, and then in turn the ability to add new CardDAV objects to an Address Book. | Recent developments include redesigning the structure of the connector test suite and a progressive expansion of tests and the features these tests address in the connector. It was determined that the development pattern for the project would be test-driven, and thus any new development would first begin with tests on new features, then working on those features until it passes the expected test. Furthermore, each feature will be developed using a localized Radicale server package, and then generalized into a JS server test suite included in Mozmill. The current feature in development is the ability to create a new Address Book on a designated location on the working CardDAV server, which upon completion would lead to the deletion of Address Books, and then in turn the ability to add new CardDAV objects to an Address Book. | ||
=== Status 6: 09/07/13 === | |||
The Address Book creation function is approaching completion, although currently the process has been halted due to an unknown error that has effected all tests. We are going through documentation to understand the reason for this vague error (as it has appeared without any context or apparent cause), and will move forward from there. While this is being dealt with, the groundwork for other functions such as the deletion of address books, and the creation and deletion of contacts have been laid, and are being prepped for after the overarching mystery error has been resolved. | |||
=== Status 7: 20/07/13 === | |||
Significant rewrites and project goal realignments have produced many changes since the last report. The testConnection function has received better error protection, and the testing suite has received major upgrades. readRecords has been realigned to new goals, and in turn has been aligned closer to the project goals. Overall the development process has been curated to allow for more efficient production and development, and progress is happening at an always gathering rate. The pull request acceptance has occurred during this period, and a second has been proposed for review. | |||
=== Status 8: 07/08/13 === | |||
First off, apologies for a gap of time between this update cycle, a lot has been done and my concentration on the tasks distracted me from posting. Quite honestly, the work done during this period has dwarfed all previous work done on this project, as while before I was working on understanding the software setup and learning our overall connector goals, I've now come to not only understand, but also efficiently and effectively produce the desired project goals at a rapid pace. Overall, I've become quite comfortable with everything involved, and thus the production and development has increased dramatically. Specifically, not only have I almost completely overhauled the previously developed functions such as read and testConnection, but I have (at this point) also worked on the majority (if not all) of the major features and functions within the connector, as well as many external entities such as the RecordCache and the test suite. I've been quite happy with the progress in this period, as when this section of time began, the project was at a point where a function or two were falling into place for initial completion. Yet now, at the closing of this period, we are seeing the connector come together as a fully featured code base. We are not yet done, but the project has developed to a point where the deadlines are very achievable, and if progress continues at the desired pace, potentially beatable. | |||
=== Status 9: 15/08/13 === | |||
During the meeting, team members recapped current progress and the state of the code. The next week's goals were proposed; namely to test the connector in its current state into a real world example, and to begin research on pursuing authentication features into the connector. | |||
=== Status 10: 22/08/13 === | |||
Authentication was researched, and from the results of this research some initial code was dropped that provided the ability to react to https Basic Authentication -type servers. Working on setting up a local cardDAV emulator Radicale on new machine which would allow for final testing of the connector for real world situations. | |||
=== Status 11: 30/08/13 === | |||
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/ . | |||