Граф коммитов

69 Коммитов

Автор SHA1 Сообщение Дата
Lesley Norton 3fd1f3edcb review fixes
review updates
2018-08-14 17:55:25 -05:00
Lesley Norton 4f0744b350 use filter instead of splice
User filter instead of splice to prevent featuredBreach from not showing up when it is the only breach associated with an email.
2018-08-14 11:34:51 -05:00
Lesley Norton 71e5cfc66f subscription checkbox ++
- adds checkbox to subscription form
- restricts tabbing to modal when modal is open
- sends POST for subscription form with fetch
- more placeholder css mobile tweaks
2018-08-13 19:35:34 -05:00
lesleyjanenorton 2f9272726c + lint
lint lint lint
2018-08-07 15:06:15 -05:00
lesleyjanenorton 21de0753f8 display breaches from newest to oldest
sort array by breach date so that more recent breaches move to the top of the compromised accounts list.
2018-08-07 14:25:18 -05:00
lesleyjanenorton 97d160e133 prevents 'featured compromised breach' from appearing twice in list
removes the 'featured compromised breach' from foundBreaches so it doesn't appear twice in the overall list of compromised breaches.
2018-08-07 14:19:07 -05:00
lesleyjanenorton c88b5f8049 show featured breach result first
if a user scans an email from a "?breach=" page, that breach listing will appear at the top of the foundBreaches list with a message about whether or not their account was associated with that specific breach and whether or not their account was involved with additional breaches.
2018-08-07 13:51:36 -05:00
groovecoder 3c32120e6e for #247: rename "db" to "DB" 2018-08-03 11:01:40 -05:00
groovecoder 4760b62193 toLowerCase both our names and the HIBP request name 2018-08-02 14:54:15 -05:00
groovecoder 43375bb0fb fix #247: refactor db/utils to db/db and just knex 2018-08-02 14:25:02 -05:00
groovecoder 111601bc55 fix #242: use app.locals.breaches
Update hibp module to match breached account website to
app.locals.breaches

Update /scan route to use app.locals.breaches

Update views to use new breach objects from app.locals.breaches

Drop Breach model and related scripts and db/utils code
2018-08-01 14:26:35 -05:00
groovecoder 0215c3a608 eslint fixes and email sha1 fix 2018-07-19 15:14:14 -05:00
groovecoder 81e867b0ce implement hash range subscription and /notify callback 2018-07-19 14:47:08 -05:00
lesleyjanenorton 4abe793190 getting breaches by name + updates
Getting breaches by name again instead of domain + fixes from previous PR review.

Fixes #150 , fixes #213 , fixes #215 and #39 in the add-on repo.
2018-06-25 18:38:08 -05:00
Nihanth Subramanya 111c08f449 Handle 404, handle GET /scan 2018-06-14 15:37:04 -07:00
Nihanth Subramanya 1611e6839f Don't stash scan results in session cookie 2018-06-07 17:22:51 +02:00
Lesley Norton 237706c39d
Merge pull request #146 from mozilla/hash-email-on-client-143
fix #143: hash email client-side before scanning
2018-06-06 13:54:46 -05:00
groovecoder a625cc6e0c for #55: disable un-used routes and urls 2018-06-01 13:46:13 -05:00
groovecoder 05c4fa57d9 fix #138: show real breach data 2018-06-01 13:36:02 -05:00
groovecoder 64f4125190 Merge branch 'template-updates' 2018-06-01 06:48:49 -05:00
groovecoder 7a61a3cd3d for #55: Content-Type: text/text on oauth errors 2018-05-31 16:34:43 -05:00
Lesley Norton 7d4257c62e minor updates, mostly ignoring .vscode 2018-05-31 15:25:01 -05:00
groovecoder 88007b203b for #55: add Dockerfile for dockerflow 2018-05-31 09:55:32 -05:00
groovecoder 583bacfbec fix #21: serve Dockerflow responses 2018-05-29 13:34:33 -05:00
groovecoder f1873c89ff fix #42: use got everywhere 2018-05-22 16:28:06 -05:00
Peter deHaan 79b7b567d4 Resolve some ESLint console warnings 2018-05-17 11:04:52 -05:00
Nihanth Subramanya cb86a26a9d
Merge pull request #104 from mozilla/scan-with-hibp-range-query-101
for #101: start /hibp/.../range/ stub api and HIBP module to scan with hibp api
2018-05-12 01:15:42 +02:00
groovecoder 5a16163dbe fix #105: store verification_token in database 2018-05-10 16:08:56 -05:00
groovecoder 11db312b9a for #101: only response to 6-char hash queries 2018-05-09 14:37:31 -05:00
groovecoder 9f595b8afb eslint fixes 2018-05-09 09:26:47 -05:00
groovecoder 29c99b04df for #101: HIBP module to scan with hibp api 2018-05-09 09:23:34 -05:00
groovecoder ba3aed37bc for #101: start /hibp/.../range/ stub api 2018-05-08 13:34:03 -05:00
groovecoder 171c506273 for #101: check session cache for results 2018-05-08 11:27:33 -05:00
groovecoder 5b29506acb use path.* and object-shorthand 2018-05-04 08:48:23 -05:00
groovecoder 86b06692a2 for #79: use nodemailer-express-handlebars for emails 2018-05-02 10:35:22 -05:00
Nihanth Subramanya 4c4dbb64aa Fix AllMusic thumbnail in monitor view 2018-04-26 00:17:10 +02:00
Nihanth Subramanya 4b20e4fb99 Use monitor view for index route, show breach data in monitor view only if (arbitrary) breach parameter supplied in URL. 2018-04-25 19:18:26 +02:00
Nihanth Subramanya d5bce11df7 Polish Firefox monitor page, add image resources, etc 2018-04-23 15:21:59 +02:00
Nihanth Subramanya fa21650986 Add Firefox Monitor page 2018-04-23 12:47:21 +02:00
Nihanth Subramanya 1133c043a7 Merge latest master 2018-04-18 16:34:54 +02:00
Nihanth Subramanya e78b3e2e12 Update routes to use new DB api 2018-04-18 16:30:59 +02:00
Nihanth Subramanya 1dae878e17 Use confirm template for /user/verify success response 2018-04-13 21:21:06 +02:00
groovecoder 4426abd77f fix #77: enable subscribe-email-input and button 2018-04-13 09:27:56 -05:00
Nihanth Subramanya fe15ce1f82 Fix #76: rename /oauth/redirect to /oauth/confirmed 2018-04-09 16:14:04 +02:00
groovecoder d927b9dd46 for #31 #34 views for home, scan, and confirm 2018-04-05 09:46:30 -05:00
groovecoder 55545ad846 remove old migrations; restore scan results page 2018-03-29 14:32:49 -05:00
Nihanth Subramanya d78180c3e3 Re-create Subscriber model with sequelize-cli to generate migration file, fix eslint errors, disable htmllint for now 2018-03-27 19:42:04 +02:00
Nihanth Subramanya 9a3bb81a91 Update Subscriber model to use EmailHash association 2018-03-17 17:14:05 +05:30
Nihanth Subramanya 79168f25d4 Basic implementation of /home/scan route. 2018-03-17 17:08:09 +05:30
groovecoder 3c649f7ecb wip: start scan results page 2018-03-14 15:45:06 -05:00