SummerOfCode/2012/UserCSP/WeeklyUpdates/2012-05-21: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with " {{subst:WeeklyUpdates}}")
 
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<p>__TOC__
<small>[[WeeklyUpdates/{{#time:Y-m-d|{{SUBPAGENAME}} -1 week}}|« previous week]] | [[WeeklyUpdates|index]] | [[WeeklyUpdates/{{#time:Y-m-d|{{SUBPAGENAME}} +1 week}}|next week »]]</small>
</p>
<h3> This Week </h3>
<h3> Monday, <span class="fck_mw_template">{{#time:d F|{{SUBPAGENAME}}}}</span> </h3>
<ul><li> Database ("userCSP.sqlite") is created using third-party module "sqlite" for Jetpack.
</li></ul>
<ul><li> To store user defined policies for web site "userCSPTable" table is created in "userCSP.sqlite" database.
</li></ul>
<ul><li> I modified the third-party "sqlite" module to operate on my custom database table. Such as "tableUsedOrNew" method is added to check whether "userCSPTable" table exits on user's computer or not. IF not then it create the table.
</li></ul>
<ul><li> The "userCSPTable" contains 11 columns. domainName, defaultSrc, scriptSrc, objectSrc, imgSrc, mediaSrc, styleSrc, frameSrc, fontSrc , xhrSrc, frameAncestors.
</li></ul>
<ul><li> The data type of each field in the table is "text", and the "domainName" is the primary key to retrieve and store CSP policies from database.
</li></ul>
<h3> Tuesday, <span class="fck_mw_template">{{#time:d F|{{SUBPAGENAME}} +1 day}}</span> </h3>
<ul><li> To dynamically create entries for Domain Name select drop down box in the UI, I used "tabs" module.
</li></ul>
<ul><li><ul><li> I registered for "ready" event listener of the "tabs" module. When this event listener fires, I retrieve the tab url string.
</li></ul>
</li></ul>
<ul><li><ul><li> I used "url" module to convert url string into URL object, so that I can retrieve its properties like host, scheme, port, etc.
</li></ul>
</li></ul>
<ul><li><ul><li>  From "ready" event listener of tabs, I send "host" name to the add-on UI component to add host name to the drop down select menu list.
</li></ul>
</li></ul>
<ul><li><ul><li> I also registered for "close" event listener in "tabs" module. This will send host name to add-on UI component to remove the host name from drop down select menu list. However, its coding is not yet completed.
</li></ul>
</li></ul>
<h3> Wednesday, <span class="fck_mw_template">{{#time:d F|{{SUBPAGENAME}} +2 days}}</span> </h3>
<ul><li> Added onchange evt listener to Directives drop down list. Also added logic to remember previous selected option.
</li></ul>
<ul><li> Supported restore of rules upon directive re-selection.
</li></ul>


{{conf|8600}}
<h3> Thursday, <span class="fck_mw_template">{{#time:d F|{{SUBPAGENAME}} +3 days}}</span> </h3>
 
* Added Enable/Disable radio group to UI: It allows users to enable or disable there rules for the selected domain name
__TOC__
* Bydefault state of Enable/Disable radio button is set to Enable
 
* Added JS logic to remember state for each domain. 
= All-hands Status Meeting Agenda =
<h3> Friday, <span class="fck_mw_template">{{#time:d F|{{SUBPAGENAME}} +4 days}}</span> </h3>
 
* Fixed bug in auto save of directives contents when domain name onchange event fires
Items in this section will be shared during the live all-hand status meeting.
 
== Friends of the Tree [[Image:Tree.gif|Friends of the Tree]] ==
 
== Upcoming Events ==
 
=== This Week ===
 
=== Monday, {{#time:d F|{{SUBPAGENAME}}}} ===
 
=== Tuesday, {{#time:d F|{{SUBPAGENAME}} +1 day}} ===
 
=== Wednesday, {{#time:d F|{{SUBPAGENAME}} +2 days}} ===
 
=== Thursday, {{#time:d F|{{SUBPAGENAME}} +3 days}} ===
 
=== Friday, {{#time:d F|{{SUBPAGENAME}} +4 days}} ===
 
=== Next Week ===
 
== Product Status Updates (voice updates) ==
 
=== Firefox Desktop ===
''Speaker Location:''
 
=== Firefox Mobile ===
''Speaker Location:''
 
=== Thunderbird ===
''Speaker Location:''
 
=== Older Branch Work ===
''Speaker Location:''
 
=== Drumbeat ===
''Speaker Location:''
 
=== Identity ===
''Speaker Location:''
 
=== Services ===
''Speaker Location:''
 
== Speakers ==
 
The limit is 3 minutes per speaker.  It's like a lightning talk, but don't feel that you have to have slides in order to make a presentation.
 
{| class="fullwidth-table"
|-
!  Title
!  Presenter
!  Topic
!  Media
!  More Details
|-
| Your Title Here
| Your Name Here
| What are you going to talk about?
| Links to slides or images you want displayed on screen
| Link to where audience can find out more information
|-
|}
 
== Introducing New Hires ==
{| class="fullwidth-table"
|-
!  New Hire
!  Introduced by
!  Speaker location
!  Will be working on
|-
| ''Who is the new hire?''
| ''Who will be introducing that person?''
| ''From which office will that introduction be transmitted?''
| ''What will the new person be working on?''
|-
<!-- Insert new rows here -->
|-
|}
 
== Introducing New Interns ==
{| class="fullwidth-table"
|-
!  New Intern
!  Introduced by
!  Speaker location
!  Will be working on
|-
| ''Who is the new intern?''
| ''Who will be introducing that person?''
| ''From which office will that introduction be transmitted?''
| ''What will the new person be working on?''
|-
<!-- Insert new rows here -->
|-
|}
 
== Roundtable ==
 
= &lt;meta&gt; =
 
Notes and non-voice status updates that aren't part of the live meeting go here.
 
== Status Updates By Team (*non-voice* updates) ==
 
=== Firefox ===
 
=== Platform ===
 
=== Services ===
 
=== Messaging ===
 
=== Mobile ===
 
=== IT ===
 
=== Release Engineering ===
 
=== QA ===
 
==== Test Execution ====
 
==== WebQA ====
 
==== QA Community ====
 
=== Automation & Tools ===
 
=== Security ===
 
=== Engagement ===
 
==== PR ====
 
==== Events ====
 
==== Creative Team ====
 
==== Community Marketing ====
 
=== Support ===
 
=== Metrics ===
 
=== Evangelism ===
 
=== Labs ===
 
=== Apps ===
 
=== Developer Tools ===
 
=== Add-ons ===
 
=== Webdev ===
 
=== L10n ===
 
=== People Team ===
 
=== WebFWD ===
 
== Foundation Updates ==

Latest revision as of 08:50, 25 May 2012

This Week

Monday, 21 May

  • Database ("userCSP.sqlite") is created using third-party module "sqlite" for Jetpack.
  • To store user defined policies for web site "userCSPTable" table is created in "userCSP.sqlite" database.
  • I modified the third-party "sqlite" module to operate on my custom database table. Such as "tableUsedOrNew" method is added to check whether "userCSPTable" table exits on user's computer or not. IF not then it create the table.
  • The "userCSPTable" contains 11 columns. domainName, defaultSrc, scriptSrc, objectSrc, imgSrc, mediaSrc, styleSrc, frameSrc, fontSrc , xhrSrc, frameAncestors.
  • The data type of each field in the table is "text", and the "domainName" is the primary key to retrieve and store CSP policies from database.

Tuesday, 22 May

  • To dynamically create entries for Domain Name select drop down box in the UI, I used "tabs" module.
    • I registered for "ready" event listener of the "tabs" module. When this event listener fires, I retrieve the tab url string.
    • I used "url" module to convert url string into URL object, so that I can retrieve its properties like host, scheme, port, etc.
    • From "ready" event listener of tabs, I send "host" name to the add-on UI component to add host name to the drop down select menu list.
    • I also registered for "close" event listener in "tabs" module. This will send host name to add-on UI component to remove the host name from drop down select menu list. However, its coding is not yet completed.

Wednesday, 23 May

  • Added onchange evt listener to Directives drop down list. Also added logic to remember previous selected option.
  • Supported restore of rules upon directive re-selection.

Thursday, 24 May

  • Added Enable/Disable radio group to UI: It allows users to enable or disable there rules for the selected domain name
  • Bydefault state of Enable/Disable radio button is set to Enable
  • Added JS logic to remember state for each domain.

Friday, 25 May

  • Fixed bug in auto save of directives contents when domain name onchange event fires