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

97 Коммитов

Автор SHA1 Сообщение Дата
Danny Coates 6c58e0083c add http datastore api
The intent here is to eventually eliminate the mysql specific
implementation and only have heap (for quick testing) and httpdb
for real life. To ease the transition I've kept db/mysql.js
so we can test the httpdb implementation on a subset of
instances in parallel with the current setup. I already moved
db_patcher and the schema patches to the db server codebase
because those are run manually in production. The httpdb.js
implementation is working but could probably use some tidying up.
2014-05-04 19:31:22 -07:00
Danny Coates 515678ca13 broke out customs server into a seperate process/repo 2014-04-18 19:05:47 -07:00
Danny Coates 6849cfa4c1 phase 1 of ses bounce processing 2014-04-10 15:58:36 -07:00
Shane Tomlinson 03aae5589a fix(server): Fix the "Cannot call method 'tooManyRequests' of undefined error.
* Pass the `error` object to `customs`.

fixes #665
2014-04-01 10:50:17 +01:00
Danny Coates 541e23c12b simple implementation of email rate limiting 2014-03-31 17:07:05 -07:00
Danny Coates 49f5aeeb1e Exit key_server when stdout is piped and the other process exits
This handles the case where notifier.js crashes. We need
both processes to be running so when one exits the other
needs to in order for the process manager to restart the
script.
2014-03-23 19:01:50 -07:00
Danny Coates e86ee52988 jshint; ignore stdout from key_server pipeline in the start scripts 2014-03-23 17:55:53 -07:00
Andrew Chilton f7fb99e734 Add a bin/db_patcher.js script, run it with start-local.sh 2014-03-19 17:10:20 +13:00
Danny Coates 03aee85b08 Merge pull request #629 from dannycoates/sns-notifier
SNS account delete notifier
2014-03-18 15:47:01 -07:00
Danny Coates 679dd6affd added fxa-verifiedEmail to the signed certificate. fixes #630 2014-03-18 14:28:10 -07:00
Danny Coates 49e344feeb sns notifier as a downstream process 2014-03-18 12:12:39 -07:00
Ryan Kelly 85c62912f5 Add (temporary) SNS notifications of account delete events. 2014-03-18 11:24:22 -07:00
Danny Coates cdb8012a25 switch from lockdown to shrinkwrap. closes #603 2014-03-09 17:59:20 -07:00
Danny Coates 278cc596ae step 1 in fixing i18n 2014-03-09 17:33:52 -07:00
Andrew Chilton 03d80cd0cb Fixes #606 : Add back in it-CH as default, remove en-AU, fix tests 2014-03-05 10:16:17 +13:00
Andrew Chilton cf7196a23b Use en-US as the default, no longer en 2014-03-04 11:39:09 +13:00
Danny Coates 6b8019e0a2 i18n is busted. hacked up until we get the errors sorted. should fix #598 2014-02-28 12:35:48 -08:00
Danny Coates 699542a9ee fixed lint errors 2014-02-26 15:57:31 -08:00
Andrew Chilton d3fd916ed7 Add content templates to the mail_helper.js to serve for us when testing 2014-02-26 12:01:19 +13:00
Andrew Chilton 2bbc3b3345 No need to pass i18n to mailer anymore 2014-02-26 12:01:19 +13:00
Andrew Chilton 67b44eec3c Fetch all localised templates from the fxa-content-server and use them 2014-02-26 12:01:19 +13:00
Andrew Chilton 58ebdf5212 Firstly, promisify mailer() so we can turn it from sync to async 2014-02-26 12:01:19 +13:00
Ryan Kelly b4bacd8560 Disable timestamp checking in authentication.
We're seeing too many problems due to clock skew between client and
server.  This turns off the timestamp checking and instead just logs
the skew for future analysis.
2014-02-24 16:21:29 +11:00
Danny Coates e6cdcf01c2 added log.stat function 2014-02-23 18:37:03 -08:00
Danny Coates 9643a51756 first steps in lastAuthAt 2014-02-11 10:53:40 -08:00
Danny Coates 176b3854b1 refactored errors 2014-02-06 10:24:46 +13:00
Andrew Chilton c81dbfed0f Hapi v2 : Change handler(request) to handler(request, reply)
Conflicts:

	routes/defaults.js
2014-02-06 10:23:57 +13:00
Ryan Kelly 3a6dac1121 Include 'fxa-generation' field in signed certificates. 2014-01-30 10:12:31 +11:00
Ryan Kelly 24d959da9a Set issuedAt to 10 seconds in the past. 2014-01-23 14:58:27 +11:00
Zachary Carter b19fbd86e5 alter complete_reset_password to handle email and token params, plus output link from mail helper 2014-01-15 18:08:12 -08:00
Danny Coates 7be72d8b1f added app level token expiry 2014-01-15 13:23:29 -08:00
Danny Coates 194e297a8e added an uncaughtException handler to keyserver 2014-01-14 22:29:34 -08:00
Danny Coates cb2916abbd updated bench 2014-01-14 17:49:33 -08:00
Danny Coates 713abc6160 Merge pull request #491 from zaach/restmail_api_for_mail_helper
have the mail helper store multiple emails like restmail
2014-01-14 13:16:02 -08:00
Zachary Carter 82c6735701 have the mail helper store multiple emails like restmail 2014-01-14 11:17:14 -08:00
Danny Coates 19da97e705 rename 'verified' to 'emailVerified' 2014-01-14 10:59:37 -08:00
Danny Coates 87c38f2526 Merge pull request #480 from pdehaan/eslintfix
Cleaning up some warnings from ESLint
2014-01-09 12:24:47 -08:00
Peter deHaan d729bdd5b5 Cleaning up some warnings from ESLint 2014-01-09 12:12:28 -08:00
Danny Coates 4b0b487fa7 colorize the mail_helper output 2014-01-09 12:09:49 -08:00
Danny Coates c4d4fcf78a cleanup deps 2014-01-03 18:32:48 -08:00
Danny Coates e285cb8ac3 delete stuff 2014-01-03 18:11:33 -08:00
Danny Coates 8207f432ea renamed ForgotPasswordToken to PasswordForgotToken 2014-01-02 16:30:49 -08:00
Danny Coates 4b24c07f2b updated dependencies 2014-01-02 15:52:36 -08:00
Danny Coates 2dde6d32f6 replace emscrypt.js with scrypt-hash 2014-01-02 13:05:00 -08:00
Danny Coates f1ce569390 Merge remote-tracking branch 'mozilla/master' into onepw
I made a couple changes to the log.security tests that
I'm not 100% sure about. I've created and issue to verify
the new assertions.

Conflicts:
	client/api.js
	package.json
	routes/account.js
	routes/password.js
	test/run/pbkdf2_tests.js
2014-01-02 12:40:20 -08:00
Danny Coates 44057436a1 Naive implementation of onepw 2013-12-20 17:03:07 -08:00
Lloyd Hilaiel daf772af28 use ass for code coverage - issue #94 2013-12-18 09:03:17 +02:00
Ryan Kelly 1337b5025e Merge pull request #442 from mozilla/rfk/config-scrypt-helper-url
Simplest possible patch to make scrypt-helper URL configurable.
2013-12-16 22:56:34 -08:00
Ryan Kelly 3b36f2370f Merge pull request #443 from dannycoates/stupidEmail
use restmail api for mail_helper and verification tests
2013-12-16 22:55:51 -08:00
Ryan Kelly 57448828f7 Simplest possible patch to make scrypt-helper URL configurable. 2013-12-17 16:43:00 +11:00