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

64 Коммитов

Автор 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
Ryan Kelly c5c942c514 Merge pull request #696 from dannycoates/i517
deprecate smtp.verificationUrl and passwordResetUrl
2014-04-24 10:32:06 +10:00
Danny Coates e480f4885a deprecate smtp.verificationUrl and passwordResetUrl in favor of contentServer.url 2014-04-23 16:42:42 -07:00
Shane Tomlinson ff69888873 feature(server): Add ability to set displayed log level from an environment variable.
* Use the `LOG_LEVEL` environment variable.
2014-04-22 15:07:41 +01:00
Danny Coates 2206cfe718 default customsUrl to localhost 2014-04-21 13:11:33 -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
Danny Coates c8b3217762 resend blackout period 2014-03-24 19:10:14 -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
Andrew Chilton 6fcf0b056f Fixes #632 : Remove then-redis, regenerate npm-shrinkwrap.json 2014-03-19 14:16:09 +13:00
Ryan Kelly 85c62912f5 Add (temporary) SNS notifications of account delete events. 2014-03-18 11:24:22 -07:00
Danny Coates 0c0e3fb5c5 default config.env to prod 2014-03-11 14:53:44 -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
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
Andrew Chilton 76361514c9 Add a templateServer config item 2014-02-26 12:01:19 +13:00
Andrew Chilton 01a1097cca Add separate config files for various tests for local template server 2014-02-26 12:01:19 +13:00
Andrew Chilton 427dc01b15 Use our own fake content server when testing 2014-02-26 12:01:19 +13:00
Andrew Chilton 9e46fe1a91 Remove email templates since now fetch from fxa-content-server 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
Danny Coates 0412d23f32 default mysql connection limits to 10 2014-02-23 18:35:35 -08:00
Ryan Kelly bac97bd5c9 Add "queueLimit" config option for mysql. 2014-02-13 14:47:22 +11:00
Zachary Carter 696ab882e6 add content-langauge header to sent emails 2014-02-10 14:14:50 -08:00
Andrew Chilton 62602bd945 Fixes #527 : Remove 'Report It' link 2014-02-04 10:31:43 +13:00
Andrew Chilton 0178635d4e Fixes #523: Correct passwordForgotToken 2014-01-28 10:15:58 +13:00
Danny Coates e6a5729642 refactored crypto/password.js and added verifierVersion config parameter 2014-01-21 11:26:26 -08:00
Danny Coates 7be72d8b1f added app level token expiry 2014-01-15 13:23:29 -08:00
Danny Coates f121e92a06 changed the reset password link url to complete_reset_password
cc @zaach
2014-01-14 18:22:32 -08:00
Danny Coates f4ae4bb8bc added service and redirectTo options to endpoints that send email 2014-01-13 14:49:43 -08:00
Danny Coates b55c234083 added a link to password reset email 2014-01-09 18:57:31 -08:00
Peter deHaan d729bdd5b5 Cleaning up some warnings from ESLint 2014-01-09 12:12:28 -08:00
Danny Coates 2dde6d32f6 replace emscrypt.js with scrypt-hash 2014-01-02 13:05:00 -08:00
Ryan Kelly 57448828f7 Simplest possible patch to make scrypt-helper URL configurable. 2013-12-17 16:43:00 +11:00
Ryan Kelly 97a7ca0b21 Rename NODE_ENV=production to NODE_ENV=prod 2013-12-17 15:36:34 +11:00
Andrew Chilton 1e36f75dc3 Fixes #385 - Separate master and slave mysql configs 2013-12-11 13:23:44 +13:00
Ryan Kelly c2bde79d3e Rename "kvstore" config settings to "db". 2013-12-10 09:58:34 +11:00
Danny Coates 4543823d0b camelCase all the config options 2013-12-09 12:26:41 -08:00
Ryan Kelly fe82e1f098 First, rough attempt at internationalization of emails. 2013-12-09 12:53:24 +11:00
Danny Coates 7bbcae4176 added mail_helper.js for local email testing 2013-12-07 15:56:11 -08:00
Andrew Chilton 75b74260e0 Make the MySql instance own the pool 2013-12-06 18:07:09 +13:00
Danny Coates 45d557cf2f added preVerified option to /account/create in non-production environments 2013-12-04 14:12:30 -08:00
Ryan Kelly 65ea778387 Make default config use local smtp server, not gmail. 2013-11-26 12:31:41 +11:00
Ryan Kelly 0964b318ed Update all the things for new dev domains. 2013-11-20 13:36:21 +11:00
Ryan Kelly 09a26bd237 Add a "dev" NODE_ENV and make it the default. 2013-11-19 13:46:04 +11:00
Ryan Kelly d89418a0e3 Basic RedisNonceDB implementation 2013-11-14 17:01:52 +11:00
Ryan Kelly 306a2062dc Implement basic in-memory nonce database 2013-11-14 16:22:07 +11:00
Danny Coates bed35af55a change config back to kvstore for now in order to not break awsbox config 2013-10-30 10:13:24 -07:00
Danny Coates 20b4db620e start of mysql tests 2013-10-29 17:31:54 -07:00
Danny Coates 9924a2e5e8 WIP on mysql api 2013-10-29 13:48:21 -07:00
Ryan Kelly d7922a1bfe Make TOOBUSY_MAX_LAG be automatically converted to an int. 2013-10-28 11:39:13 -07:00