GSoC2k9 - Torbutton Feature Fulfillment - Kory Kirk
Cookie Protections & The End of GSoC 
Wednesday, August 19, 2009, 12:05 PM
Posted by Administrator
So GSoC is over, or at least the coding part of it. I have finished all the features that I proposed originally to do. GSoC2009 - Torbutton Feature Fulfillment, mission accomplished - features fulfilled. So first I am going to describe the dev process of the last feature, the cookie protections, and then say how I feel about my work over the course of GSoC.

Cookie Protections are enabled through a dialog. This option for this dialog is initially disabled, because cookie protections are a more advanced user function. One has to enable through a radio button in the cookies tab of the Torbutton settings. The option brings up the cookie protections dialog. From here you see all the cookies that exist, you can choose to protect some of these cookies, which will store them on Tor toggle and restore on un-toggle. This works for both Tor and non-Tor states, so that you can keep some of your cookies in each individual identity.
I assimilated a lot of the code from CookieCuller, a Firefox extension with a similar UI to what I needed. CookieCuller allows you to protect cookies, but deletes them on the click of a button. And it also stored the protected cookies as a preference. We store protected cookies in a file, and have the unprotected cookies deleted on toggle. Even though most of the UI elements already existed, this feature was the hardest to code by far. But I am happy with the way it turned out.

I am proud of the work I did with Tor over GSoC and am definitely going to contribute additionally to Torbutton. I feel like I know the code base really well, and I have ideas for additional features that I would like to use. Coding all summer definitely helped my Javascript and XUL coding abilities. As I look back on the Firefox extension I wrote 2 years ago, I see really messy & bad code compared to what I wrote this summer. It was fun and a great learning experience.
1 comment ( 28 views )

| 1 | 2 | Next> Last>>