Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows users to specify a note when reporting phishing emails #24

Merged
merged 2 commits into from
Aug 28, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,9 @@ isthislegit-extension.zip
# Any dev manifest files
manifest-dev.json
manifest-prod.json

# vim
*.swp

# Mac
.DS_Store
14 changes: 11 additions & 3 deletions clients/chrome-extension/_locales/en/messages.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"reportTitle": {
"message": "Report Phishing",
"description": "Title of button used to report the email"
},
"confirmTitle": {
"message": "Report Phishing Attempt",
"description": "Title of modal used to confirm the user wishes to report the email"
Expand All @@ -7,6 +11,10 @@
"message": "Are you sure you want to report this email as phishing?",
"description": "Message placed in modal content used to confirm the user wishes to report the email"
},
"confirmNote": {
"message": "Note:",
"description": "Message placed in modal content used to prompt user for an optional note"
},
"confirmPrimaryButton": {
"message": "Send Report",
"description": "Text for modal button that confirms the user wants to report the email as phishing."
Expand All @@ -16,11 +24,11 @@
"description": "Text for the button that cancels the report phish action"
},
"forwardReportBody": {
"message": "Possible phishing email reported. You can find the email attached.",
"description": "If the extension is configured to forward reports to an address, this is the body of the email sent. The report will be attached."
"message": "Possible phishing email reported. You can find the email attached. User note: ",
"description": "If the extension is configured to forward reports to an address, this is the body of the email sent. The report will be attached. A user specified note may follow."
},
"forwardReportSubject": {
"message": "Possible Phish: ",
"description": "The subject prefix to include in phishing reports sent to a configured inbox."
}
}
}
2 changes: 1 addition & 1 deletion clients/chrome-extension/dist/css/main.css
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.icon:after{content:" Report Phishing"}
.itl-report-textarea{width:100%;resize:vertical}
Binary file added clients/chrome-extension/dist/img/hook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion clients/chrome-extension/dist/js/app.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion clients/chrome-extension/dist/js/service.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion clients/chrome-extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"dist/js/app.js"
],
"matches": [
"https://mail.google.com/*"
"https://mail.google.com/*",
"https://inbox.google.com/*"
]
}
],
Expand All @@ -29,6 +30,9 @@
"16": "icons/icon16.png",
"48": "icons/icon48.png"
},
"web_accessible_resources": [
"dist/img/*.png"
],
"manifest_version": 2,
"name": "IsThisLegit",
"version": "0.1.0",
Expand Down
5 changes: 3 additions & 2 deletions clients/chrome-extension/src/css/main.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.icon:after {
content: " Report Phishing"
.itl-report-textarea {
width: 100%;
resize: vertical;
}
Loading