Difference between revisions of "User:Attachment Reminder"

From CDOT Wiki
Jump to: navigation, search
(List OF Keywords)
(= 0.5 Release)
 
(14 intermediate revisions by the same user not shown)
Line 45: Line 45:
  
 
=== Add Functionality to add key Words By user ===
 
=== Add Functionality to add key Words By user ===
To be DONE for 0.3
+
It's Done for 0.3 release. But, I just need to move that box in a separate XUL file. I think it would be all set to go to localization people to get the code accepted in the Tree.
  
 
=== List OF Keywords ===
 
=== List OF Keywords ===
Line 73: Line 73:
 
rar
 
rar
  
=== Submit the Patch & Ask For Review ===
+
== <font color="Peru">Project Details </font>==
 +
==== REPORT ON BUG [https://bugzilla.mozilla.org/show_bug.cgi?id=244455|[244455]] ====
 +
After a long talk with Dan Mozedale and David, we figured out a good project for me -- Attachment Reminder.
 +
 
 +
==== Talk with Bryan(ClasrkBW) ====
 +
I emailed Mr. Bryan if he had some ideas about the project. Fortunately, he replied me with some designs and ideas that ha had. These design gave me better understanding of the project.
  
== <font color="Peru">Project Details </font>==
+
==== 0.20 Release ====
 +
After working 2 days on the Bug, I finally understood Mozilla database and regular expression in JavaScript. Finally, I released my patch with basic requirements for the bug on 8th Nov, 2008.
  
 +
==== Big Big Comments ====
 +
wow, I didn't expect these much long comments. Main issue was that I used Database for storing keywords. It was too much to use databases for this small amount of work. Comments suggested that I should use Mozilla reference system for storing CSV string which contains keywords. The other issue was to use spaces in place of tabs.
  
== Testing ==
+
==== Progress ====
 +
I replace my tabs with spaces.
 +
I had to learn how to use Mozilla reference System
  
 +
==== O.22 Release ====
 +
I tried for 10 Hrs. straight to learn Mozilla preference System. I had some issues that I couldn't solve. When I asked my issue to the channel, Sid0 came up with the solution. It was a wrong Chrome://URL. Everything else was done before. I just replace this code by database system code in 0.20 release and the code was ready to submit as 0.22 release. At last, I submitted the patch again on 15th Nov, 2008. I am going to make it more user friendly in the next patch.
  
 
== Releases ==
 
== Releases ==
  
 
=== 0.2 Release ===
 
=== 0.2 Release ===
 +
In fact I had two 0.2 releases. First release was on 8th Nov, 2008 as 0.2 release. But I had some efficiency issue which forced me to release 0.22 on 15th Nov, 2008 which was considering the comments made on 0.2.
 +
 +
=== 0.3 Release ===
 +
Fulfill comments made on 0.2 release.
 +
 +
Allow user to add Keywords that Thunderbird will look for in the body of the email.
 +
 +
It is DONE and you can see Comment on the bug at https://bugzilla.mozilla.org/show_bug.cgi?id=244455#c26.
  
 +
=== 0.4 Release ===
 +
One more time, I was replying to the comments made by the seniors. Although, there were few comments, there were some additional features in the release.  I have moved the Attachment Keyword Box in "Composition Tab" in Options. To make these move possible, I have to create 3 new files and some additional code to manage those files. In the end, it was a happy day when I submitted the patch with all those issues covered.
  
=== 0.3 Release ===
+
=== 0.5 Release ===
 +
Nothing special in the release 0.5. I have been fixing all white-spaces issues, all indentation issues and some other issues. I also had to get 2 clean boilerplate licenses for my files. It wasn't an issues. I was feeling really cool that I am the first one to get a clean license in 2009(I think so because I took the license in the first week of the January, 2009). By the way, I have uploaded the patch for my 5th release on the [bugzilla.mozilla.org/show_bug.cgi?id=244455[bug]]. Feel free to visit it and try my patch.

Latest revision as of 08:53, 4 February 2009

Project Name

Attachment Reminder

Project Description

Do you usually forget to attach the assignments in emails? If the answer is yes, you don't have to worry about that problem any more. Because I am working on the bug 244455. This bug reminds the user to attach the file when the user clicks the "send" button.

Project Leader(s)

Project Contributor(s)

Scott Lunel

Zaid Ghansar

Sidhdharth (Sid)

David Humphrey

Project Tasks

Find the Place Where Code should Go

When you click "Send" button, it goes to [[1]]. And, depending on the task, it calls sendMessage() and sendMessageLater().

In this case, sendMessage Function is going to be called which can be found at [[2]]

Write Javascript Required to prompt to User

var check = {value: false};

               var flags = gPromptService.BUTTON_POS_0 * gPromptService.BUTTON_TITLE_IS_STRING  +
                           gPromptService.BUTTON_POS_1 * gPromptService.BUTTON_TITLE_IS_STRING; 
               var button = gPromptService.confirmEx(null,
                                                     "Attachment Reminder",
                                                     "Did you forget to add an attachment?",
                                                     flags,
 	                                              "Oh, I did",
                                                     "No, Send Now",
                                                     null,
                                                     null,
                                                     check);

Add Functionality to add key Words By user

It's Done for 0.3 release. But, I just need to move that box in a separate XUL file. I think it would be all set to go to localization people to get the code accepted in the Tree.

List OF Keywords

Default Keywords for checking the email body.

Attach*

PFA

PDF

Doc

Document

Slide

Presentation

File

Attached

zip

rar

Project Details

REPORT ON BUG [244455]

After a long talk with Dan Mozedale and David, we figured out a good project for me -- Attachment Reminder.

Talk with Bryan(ClasrkBW)

I emailed Mr. Bryan if he had some ideas about the project. Fortunately, he replied me with some designs and ideas that ha had. These design gave me better understanding of the project.

0.20 Release

After working 2 days on the Bug, I finally understood Mozilla database and regular expression in JavaScript. Finally, I released my patch with basic requirements for the bug on 8th Nov, 2008.

Big Big Comments

wow, I didn't expect these much long comments. Main issue was that I used Database for storing keywords. It was too much to use databases for this small amount of work. Comments suggested that I should use Mozilla reference system for storing CSV string which contains keywords. The other issue was to use spaces in place of tabs.

Progress

I replace my tabs with spaces. I had to learn how to use Mozilla reference System

O.22 Release

I tried for 10 Hrs. straight to learn Mozilla preference System. I had some issues that I couldn't solve. When I asked my issue to the channel, Sid0 came up with the solution. It was a wrong Chrome://URL. Everything else was done before. I just replace this code by database system code in 0.20 release and the code was ready to submit as 0.22 release. At last, I submitted the patch again on 15th Nov, 2008. I am going to make it more user friendly in the next patch.

Releases

0.2 Release

In fact I had two 0.2 releases. First release was on 8th Nov, 2008 as 0.2 release. But I had some efficiency issue which forced me to release 0.22 on 15th Nov, 2008 which was considering the comments made on 0.2.

0.3 Release

Fulfill comments made on 0.2 release.

Allow user to add Keywords that Thunderbird will look for in the body of the email.

It is DONE and you can see Comment on the bug at https://bugzilla.mozilla.org/show_bug.cgi?id=244455#c26.

0.4 Release

One more time, I was replying to the comments made by the seniors. Although, there were few comments, there were some additional features in the release. I have moved the Attachment Keyword Box in "Composition Tab" in Options. To make these move possible, I have to create 3 new files and some additional code to manage those files. In the end, it was a happy day when I submitted the patch with all those issues covered.

0.5 Release

Nothing special in the release 0.5. I have been fixing all white-spaces issues, all indentation issues and some other issues. I also had to get 2 clean boilerplate licenses for my files. It wasn't an issues. I was feeling really cool that I am the first one to get a clean license in 2009(I think so because I took the license in the first week of the January, 2009). By the way, I have uploaded the patch for my 5th release on the [bugzilla.mozilla.org/show_bug.cgi?id=244455[bug]]. Feel free to visit it and try my patch.