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

55 Коммитов

Автор SHA1 Сообщение Дата
Luke Crouch 85a48a0bff fix #2117: match code to new Firefox alert policy 2021-05-05 13:29:25 -05:00
Maxx Crawford 3da2506206 Merge branch 'email-experiment-breaches-script' of https://github.com/mozilla/blurts-server into email-experiment-breaches-script 2020-08-10 16:31:09 -05:00
Maxx Crawford 0f28c06831 Added process.exit to script, reverted logic fix 2020-08-10 16:30:59 -05:00
Maxx Crawford 0aebf63082
Update scripts/collect-unresolved-breaches-addresses.js
Co-authored-by: luke crouch <luke.crouch@gmail.com>
2020-08-10 16:27:19 -05:00
Maxx Crawford dfd240f4f0 Fixed logic to match cohort size argument 2020-08-10 16:15:12 -05:00
Maxx Crawford bdc0c93df6 Added start/end console.logs for debugging 2020-08-10 13:29:02 -05:00
Maxx Crawford 44762aea1c Removed additional console.logs 2020-08-10 13:18:23 -05:00
Maxx Crawford 98117ebd2e Added command line argument logic, output final console.log as CSV 2020-08-10 13:15:05 -05:00
Maxx Crawford 7ddd1e1fd3 Revised statement to use for..of loop 2020-08-07 16:47:08 -05:00
Maxx Crawford 624bb3af44 WIP Commit - Cohort Selection Script 2020-08-07 15:57:23 -05:00
renovate[bot] 15848e116c
Update dependency eslint to v7 (#1852)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Peter deHaan <peter@deseloper.com>
2020-08-04 11:38:54 -07:00
Benjamin Forehand Jr b19eff6d4a
Initial commit adding integration tests. (#1557)
* Initial commit adding integration tests.

* Fix test name.

* Adding package-lock.

* Some updates.

* More updates.

* Extend page comparison max to 9.99%

* Removed node assert statement.

* Updated baseline images and tests.

* Added docs, fixed docker configuration file.

* Updates.

* Update docker compose.

* Fix json error.

* Add comment to Dockerfile.

* Comment to trigger CI.

* Moved dependencies to allow for docker image build.

* Add restore command.

* Fix restore command.

* Change docker image.

* Add checkout command.

* Add java.

* Add node version install.

* Trying machine executor.

* Fix typo.:

* Remove old docker command.

* EVERYTHING IN ONE SHELL.

* Trying nvm.

* Fix typo.

* Fix node version...

* Fix typo.

* More node stuff.

* Updates to docker compose.

* Add chown to circleci config.

* Fix docker login error.

* Change exec command user.

* Add screenshots for debugging.

* Try fixing js command.

* Try fixing js command again.

* Change screenshot path

* Add mkdir for error shots.

* Trying something for postgres.

* Updates.

* Fix lint error.

* Try fixing errorshots.

* Updates before rebase.

* Updated baseline for new homepage.

* Remove baseline image save.

* Trying a change for errorshots.

* Update test.
2020-04-03 14:48:07 -05:00
Luke Crouch 1fc2983ad9 bug 1616983: delete-user script for when we need it 2020-03-24 11:33:34 -05:00
Luke Crouch c33a85b42a fix #1569: add a SKIP_LIST to updatebreaches.js 2020-03-13 11:32:13 -05:00
Luke Crouch 6b139478ed add START_PAGE feature to pre-fxa email script 2019-11-21 14:51:52 -06:00
Luke Crouch 01715ad025 use knex-paginate to paginate pre-FXA query 2019-11-20 16:24:33 -06:00
Luke Crouch dfcb9e0885 drop email_addresses subquery 2019-11-20 09:45:58 -06:00
Luke Crouch c02c133128 optimize query for sending email to pre-FXA subs 2019-11-18 17:33:54 -06:00
Luke Crouch ca57ae7ac8 fix #1348: send secondary email alerts with proper headline 2019-11-11 13:55:54 -06:00
Luke Crouch a833c31107 process.exit from send-pre-fxa script 2019-11-08 14:53:36 -06:00
Luke Crouch 71bc0bbcd5 add script to send email to pre-fxa subscribers 2019-10-31 12:42:39 -05:00
Luke Crouch 976568a333 only select columns needed; separate script for subscribing 2019-09-19 15:16:17 -05:00
Luke Crouch b3e95c3955 for #976: tweaks to log and exit lower-casing script 2019-09-19 09:36:40 -05:00
Luke Crouch e921363881 for #1182: lowercase email addresses for all HIBP calls
for #1182: script to lower-case sha1 db records
2019-09-16 10:31:06 -05:00
Luke Crouch 5ad247f960 fix #1109: inlude BreachDataClasses in remote settings record 2019-07-31 13:33:11 -05:00
Luke Crouch 69813d817f change updatebreaches.js from Bearer to Basic auth 2019-04-24 22:08:18 -05:00
Luke Crouch 68f6ac62c2 refactor into lib/remote-settings module 2019-04-18 11:55:57 -05:00
Luke Crouch 93e6d16531 for #465: start updatebreaches.js script 2019-04-15 15:21:51 -05:00
Luke Crouch e421f6d65a update breach-stats script 2018-10-10 13:34:41 -05:00
Luke Crouch 5ba8b19d1f script to calculate quickest breach alert 2018-10-08 14:27:03 -05:00
Luke Crouch 9151cd851b for #55: convert console to mozlog 2018-09-21 13:37:07 -05:00
Luke Crouch 3f6d64f6e6 fix #107: DELETE_UNVERIFIED_SUBSCRIBERS_TIMER and logic
patch
2018-08-26 23:27:07 -05:00
Luke Crouch 24151ab1f6 for #107: script to delete unverified subscribers 2018-08-25 12:09:06 -05:00
Luke Crouch 4be9673dfe use test-blurts db with fixture data for db tests
cover "public" DB methods with tests
2018-08-08 15:43:47 -05:00
groovecoder 3c32120e6e for #247: rename "db" to "DB" 2018-08-03 11:01:40 -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
lesleyjanenorton 2890723160 removing exampleBreach + nits
Removes the --createExampleBreach and --help args from load-breaches.js and updates README. Tweaks to monitor.js for event handling.
2018-06-26 10:33:33 -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
Peter deHaan 0af3e48ef2
Remove vendor/js code and jQuery from ESLint config and tweak ESLint config 2018-06-08 12:53:01 -07:00
Lesley Norton 09876c48e7 website logos fix, other template mods
template updates for website logos, new 'false-door' messaging, updated api creds- still working on getting the analytics right.
2018-06-06 21:35:59 -05:00
groovecoder c50e4b11f7 fix #113: use dompurify on HIBP description 2018-05-31 16:34:43 -05:00
groovecoder 4304707319 update hibp to use real range API 2018-05-22 16:28:06 -05:00
Peter deHaan 79b7b567d4 Resolve some ESLint console warnings 2018-05-17 11:04:52 -05:00
groovecoder b1580b2d49 move load-breaches and add-breached-emails to scripts/ 2018-05-16 10:00:12 -05:00
groovecoder b04ba893e6 eslint fixes 2018-05-15 15:24:30 -05:00
groovecoder f09209e636 start load-breaches.js 2018-05-15 14:33:22 -05:00
groovecoder 85fee8fe5a for #79: pass email to setBreachedHashNotified 2018-05-07 08:37:53 -05:00
groovecoder 7688f8369c async and process.exit the script when done 2018-05-04 10:07:52 -05:00
groovecoder ac6908a3e7 add BreachedHash model to update notified 2018-05-04 10:02:27 -05:00