groovecoder
2e4cc228cb
update make-breach-with-emails to match
2018-05-15 15:15:06 -05:00
groovecoder
f09209e636
start load-breaches.js
2018-05-15 14:33:22 -05:00
Nihanth Subramanya
9273a4d7fa
Fix setBreachedHashNotified
2018-05-05 10:39:43 +01:00
Nihanth Subramanya
bc28e886a0
Change dummy breach data to look more realistic
2018-04-25 18:26:53 +02:00
Nihanth Subramanya
0dcdc08591
Change breach meta data type to json, use it in scan page, add some meta data to dummy breaches in make-breach-with-emails.js
2018-04-24 16:12:36 +02:00
groovecoder
c750681223
cli arg to add an extra email to breaches
2018-04-23 17:17:37 +02:00
Nihanth Subramanya
dd5923f4cc
Band-aid test-user.js for now
2018-04-23 11:45:35 +02:00
Nihanth Subramanya
8eb37c3f88
Use single Knexconfig, abstract away the process of getting an email hash and checking if it existed, use path.join instead of hardcoding, etc.
2018-04-23 11:39:55 +02:00
Nihanth Subramanya
9870aa1033
Comment out test-user.js until new tests are written for new DBUtils
2018-04-18 16:57:17 +02:00
Nihanth Subramanya
90f1300561
Fix a bunch of ESLint errors
2018-04-18 16:39:05 +02:00
Nihanth Subramanya
e78b3e2e12
Update routes to use new DB api
2018-04-18 16:30:59 +02:00
Nihanth Subramanya
bd3261e7e1
Replace Sequelize with Objection+Knex, update make-breach-with-emails.js
2018-04-18 16:08:07 +02:00
Nihanth Subramanya
54eb9d5654
Get rid of superfluous subscriber.js.old file, fix a nit in test-user.js
2018-03-28 12:31:06 +02: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
Nihanth Subramanya
be05c02b90
db models: Create EmailHash model and setup associations with Breach model. Create proof-of-concept breach scanning script
2018-03-17 16:58:45 +05:30
groovecoder
fb1994a0e9
don't need dotenv in test-user.js
2018-03-13 14:12:36 -05:00
groovecoder
cec2952d94
move saveSha1 logic 'up' into model code
2018-03-13 14:04:00 -05:00
groovecoder
faa61ef946
sequelize oauth route and change to test-user.js
2018-03-13 10:53:03 -05:00
Nihanth Subramanya
5e8cd22ef0
Update subscribers test to work with updated API
2018-03-09 04:24:06 +05:30
Nihanth Subramanya
736d83d223
Add token generation and validation to Subscribers API with integrity test.
2018-03-07 05:18:59 +05:30
Nihanth Subramanya
e46247e509
Add database interface and tests for temp user table for use with email verification.
2018-03-06 18:14:32 +05:30
Nihanth Subramanya
2775588a42
Assert database setup success within test scope in order to get proper logging output in case of failure.
2018-03-06 16:04:29 +05:30
Nihanth Subramanya
683eff6837
Start database interface ( #48 )
...
* Implement database interface for storing subscribers up to parity with previous Set implementation
* Get rid of AppConstants.init() and just inline the init code
* Properly test current Subscribers code
* Create .env for Travis
* Use async/await iun /oauth/redirect
* Add basic exception handling in user.js;
Get rid of /user/list and /user/reset.
* server.js: Get port from listener when printing it instead of just recycling the variable.
2018-03-05 19:23:53 +05:30
Peter deHaan
56e9b383a5
Rename make_sha1_hashes.js to hyphens for consistency
2018-02-16 14:57:09 -08:00
Peter deHaan
7057f4e73d
Re-enable prefer-const and a few minor tweaks
2018-02-13 10:07:27 -08:00
groovecoder
fcf85adaaf
start get_hashsets.js
2018-02-12 16:17:43 -06:00
groovecoder
5e008cdd8d
fix #24 : add Travis and Coveralls
2018-02-09 07:37:47 -06:00