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

56 Коммитов

Автор SHA1 Сообщение Дата
Nihanth Subramanya 5b78112be4 Modularize code. 2018-02-08 03:41:24 +05:30
Nihanth Subramanya a0344e18b4
Merge pull request #25 from mozilla/update-README-17
WIP: Update readme 17
2018-02-07 00:13:16 +05:30
groovecoder ffadbaa08d for #17: more REDME updates 2018-02-05 13:47:41 -06:00
groovecoder af7aa093fe README update (and some matching code) 2018-02-05 13:30:28 -06:00
Nihanth Subramanya 9a5a731e75
Merge pull request #26 from pdehaan/moz-repo
Update repo references to mozilla/blurts-server
2018-02-02 07:45:18 +05:30
Nihanth Subramanya 361671f441
Merge pull request #13 from mozilla/initial-wip
Initial wip
2018-02-02 07:44:38 +05:30
Nihanth Subramanya 1f71307c98 Catch getToken errors in the right place 2018-02-02 07:43:43 +05:30
Peter deHaan 829f097dff
Update repo references to mozilla/blurts-server 2018-02-01 12:50:21 -08:00
Nihanth Subramanya d276a41ffc Fix typo in comment 2018-02-01 07:51:23 +05:30
Nihanth Subramanya 7bc3956e5a Use dotenv to load environment variables from .env file 2018-02-01 07:25:25 +05:30
Nihanth Subramanya 2dacd5b361 Fix typo to ensure session cookie active duration is 5 minutes and not 30 seconds. 2018-02-01 07:10:02 +05:30
Nihanth Subramanya 8f4d424e87 Add comments to server.js 2018-02-01 07:04:34 +05:30
Nihanth Subramanya 3d1ba22707 Add basic info to api.md 2018-02-01 06:56:04 +05:30
Nihanth Subramanya 29c9dd115a Add api.md, empty for now 2018-02-01 06:28:41 +05:30
Nihanth Subramanya 8a87f2e3ff Replace defaultRequest function with inline popsicle.get() 2018-02-01 05:59:40 +05:30
Nihanth Subramanya 491aa9c603 Use environment variables for OAuth URIs 2018-02-01 04:34:05 +05:30
Nihanth Subramanya b445d8c369 Add .env-dist file with preset environment variables for local development 2018-02-01 04:29:13 +05:30
Nihanth Subramanya f4f79d232f Add popsicle as dependency in package.json 2018-02-01 04:23:01 +05:30
Nihanth Subramanya 6abb759423 Move test page JS to its own file 2018-02-01 04:22:11 +05:30
Nihanth Subramanya 671d20e688 Implement basic email verification 2018-01-24 14:04:35 +05:30
Nihanth Subramanya 9a3e106f91 Implement session state and verify when receiving oauth token 2018-01-24 13:42:26 +05:30
Nihanth Subramanya e421aa585b Update .gitignore; remove oauth.js and .local-run.sh 2018-01-21 05:16:20 +05:30
Nihanth Subramanya 9c8575b8bc Use OAuth access token to get user email and add it to the Set; add API to get current user list for debugging. 2018-01-21 05:12:56 +05:30
Nihanth Subramanya 7cdfce806d Add dummy state param for oauth 2018-01-21 03:43:42 +05:30
Nihanth Subramanya 5bcd927326 Add missing returns in getters 2018-01-21 03:40:35 +05:30
Nihanth Subramanya c331d543bb Attempt to use ClientOAuth2 library for FxA OAuth 2018-01-21 03:37:04 +05:30
Nihanth Subramanya 3654af15f3 test.html: add UI for clearing user list 2018-01-15 18:24:05 +05:30
Nihanth Subramanya 66ff3b4d60 test.html: don't stringify response from server for more readable output dumps sans escaped quotes 2018-01-15 18:21:50 +05:30
Nihanth Subramanya ea04a9fdf4 Get rid of superfluous line lolwat 2018-01-15 18:17:11 +05:30
Nihanth Subramanya 3fd6f32a6f Add info messages to API responses 2018-01-15 18:16:39 +05:30
Nihanth Subramanya a2122a0576 Indicate dummy SMTP mode in /user/breached response 2018-01-15 18:12:49 +05:30
Nihanth Subramanya 09754ffac6 Fix unmatched parenthesis 2018-01-15 18:10:40 +05:30
Nihanth Subramanya 74bbe6925d Add line breaks between output dumps in test page 2018-01-15 18:08:36 +05:30
Nihanth Subramanya 03c2e69f12 Ensure /user/breached response contains an entry for every email 2018-01-15 18:06:06 +05:30
Nihanth Subramanya e8326ec921 Attempt to verify SMTP transport at init 2018-01-15 18:02:54 +05:30
Nihanth Subramanya d353f10ec5 Don't store SMTP password in variable (much security, wow) 2018-01-15 18:01:17 +05:30
Nihanth Subramanya 346f33ffb1 Add basic testing UI 2018-01-15 17:59:09 +05:30
Nihanth Subramanya 2364399422 Send version as response for GET / 2018-01-15 17:39:46 +05:30
Nihanth Subramanya 855e4701fa Add dummy SMTP mode for debugging, send acks in responses for all endpoints 2018-01-15 17:38:28 +05:30
Nihanth Subramanya 8df002a525 Read SMTP credentials from environment instead of JSON file. 2018-01-15 16:44:41 +05:30
Nihanth Subramanya 2456a9cb47 Ran npm init to generate package.json 2018-01-15 16:34:48 +05:30
Nihanth Subramanya 6ce2f2d82b Add version API for testing server availability 2018-01-15 16:30:16 +05:30
Nihanth Subramanya 06d418e8b3 Add back server files (I am clumsy) 2018-01-15 16:26:08 +05:30
Nihanth Subramanya ce4c5ba5cb Remove client code (to be moved to its own repo) and untrack node_modules 2018-01-15 16:25:01 +05:30
Nihanth Subramanya fa9cd0399c Make some strings friendlier and bump maxversion to 60 2018-01-15 16:22:08 +05:30
Nihanth Subramanya 5b34c77da1 Fix styling in Summary section 2017-11-23 23:53:42 +05:30
Nihanth Subramanya 330e75333c Update README.md with more information about the project 2017-11-23 23:52:27 +05:30
Nihanth Subramanya bd53707f7e Allow simulating a breach by navigating to haveibeenpwned.com 2017-11-21 04:16:37 +05:30
Nihanth Subramanya e0c5510bd0 Read URL for subscribing user from prefs 2017-11-21 02:02:34 +05:30
Nihanth Subramanya 97bc991bc9 Add .gitignore 2017-11-17 04:51:49 +05:30