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

61 Коммитов

Автор SHA1 Сообщение Дата
Luke Crouch 849d9e2805 pin event-stream to 3.3.4 2018-11-26 14:58:29 -06:00
Luke Crouch 4015f7e1ad fix #572: default to en when no signup_language 2018-11-06 13:29:11 -08:00
Luke Crouch 01206b68d4 bug #1490830: add sentry and capture errors 2018-10-31 11:08:32 -05:00
Luke Crouch ffd6f9b778 fix #547: fix locale args to hbs helpers 2018-10-22 15:39:18 -05:00
Luke Crouch 1b0fdd48dd add intl-pluralrules polyfill for fluent in node 2018-10-15 13:17:48 -05:00
Luke Crouch 5b6f35afcd for #486: use fluent-langneg
and check for messages in a bundle before using it
2018-10-11 15:16:38 -05:00
Luke Crouch d04c65c929 start l10n tooling and i18n back-end messages 2018-10-09 12:50:15 -05:00
Lesley Norton de46f53008 Drop postcss-css-variables 2018-09-28 17:14:23 -05:00
Luke Crouch bf446223ad fix #444: check bearer token on /hibp/notify 2018-09-25 20:23:18 -05:00
Luke Crouch 9151cd851b for #55: convert console to mozlog 2018-09-21 13:37:07 -05:00
lesleyjanenorton e236fefd51 Minus autoprefixer 2018-09-20 19:04:28 -05:00
lesleyjanenorton 3abc36311d Review Updates 2018-09-20 18:42:54 -05:00
lesleyjanenorton 51f8ca273e Adds npm scripts for autoprefixing & minifying.
- Concatenates and minifies JS files for production
- Minifies CSS and transpiles variables into something less harrowing for IE11.
- Updates default.hbs to import the new files.
2018-09-20 16:30:08 -05:00
Luke Crouch 8a8f87e810 consolidate on express-handlebars for web + email
Web templates were using express-hbs while email templates used
express-handlebars. Change both to use express-handlebars, which also
lets us share helpers between email + web templates.
2018-09-05 13:22:51 -05:00
Luke Crouch b7a52d5511 fix #305: replace nsp with npm audit 2018-08-30 14:58:31 -05:00
Luke Crouch 5deb41a54e fix #251: verify signatures of SNS messages 2018-08-27 15:44:38 -05:00
Luke Crouch b09900bca2 Merge remote-tracking branch 'mozilla/new-visuals' 2018-08-20 14:02:51 -05:00
lesleyjanenorton 14cd358e0b Initial conversions to new visual specs... !-WIP-!
Initial changes to templates and routes to reflect the new visual spec. Work in Progress.
2018-08-20 08:09:14 -05:00
Luke Crouch efa4dc72c6 asyncMiddleware to improve error-handling
test for checking for valid email addresses
2018-08-18 16:37:20 -05:00
Luke Crouch 044eda393c for #254: convert testing scripts to jest 2018-08-17 14:11:02 -05:00
Luke Crouch d182459c56 for #254: start switching to jest 2018-08-17 10:37:43 -05:00
Luke Crouch 14797d48df use http basic auth to verify POSTs from AWS 2018-08-15 14:47:20 -05:00
Luke Crouch c2b9953463 for #251: remove subscribers on bounce or complaint 2018-08-14 09:19:38 -05:00
Luke Crouch e85d886c43 remove un-necessary dependencies 2018-08-08 19:59:28 -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
Luke Crouch f806dd12ee start tests 2018-08-06 16:08:38 -05:00
groovecoder 43375bb0fb fix #247: refactor db/utils to db/db and just knex 2018-08-02 14:25:02 -05:00
Lesley Norton b7bd45f54b wip...
wip wip wip
2018-07-19 14:03:47 -05:00
lesleyjanenorton 72a2e7a933 Circle Appeasement
So basically, Docker has no Git (ENOGIT === Ain'tNoGit). The options are to imbue Docker with Git (which has its own set of potential issues) or to move dnt-helper.js into a vendor folder and be done with it (for now). Less elegant, but less grief for the time-being.
2018-06-19 00:01:29 -05:00
Lesley Norton be421e8826 github link in footer + tweaks
minified github svg in footer with link to this repository + nits
2018-06-14 16:31:23 -05:00
Peter deHaan 890a71dd80
Add DNT vendor script from npm 2018-06-14 10:07:51 -07:00
Lesley Norton 3615cc272e with spinner + new scan form partial 2018-06-04 14:38:30 -05:00
Peter deHaan 0871daf98b
Update package-lock.json 2018-06-01 08:33:28 -07:00
groovecoder c50e4b11f7 fix #113: use dompurify on HIBP description 2018-05-31 16:34:43 -05:00
groovecoder 46ccb86b93 fix #23: start using helmet 2018-05-31 16:34:43 -05:00
groovecoder f7c92e8011 add uuid to package.json 2018-05-30 07:38:49 -05:00
groovecoder 583bacfbec fix #21: serve Dockerflow responses 2018-05-29 13:34:33 -05:00
groovecoder 2ee3c7d060 setup updates 2018-05-24 13:13:46 -05:00
Nihanth Subramanya 2a29fc86d1 Update packages for new vulnerabilities 2018-05-17 17:17:37 +02:00
groovecoder 2e4cc228cb update make-breach-with-emails to match 2018-05-15 15:15:06 -05:00
groovecoder 29c99b04df for #101: HIBP module to scan with hibp api 2018-05-09 09:23:34 -05:00
groovecoder 86b06692a2 for #79: use nodemailer-express-handlebars for emails 2018-05-02 10:35:22 -05: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 aac5dbad52 package-lock.json: update a URL to https 2018-04-05 02:51:38 +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 d6d7ff79b0 Re-create EmailHash model using sequelize-cli, which gives us the migration as well. 2018-03-27 18:59:36 +02:00
groovecoder 0115eec7e9 Use sequelize for hashset script 2018-03-12 15:08:12 -05:00
groovecoder faf23821c1 fix Foundation reveal modal and htmllint 2018-03-12 15:08:11 -05:00
Peter deHaan 23082d261b Add HTMLLint 2018-03-12 15:08:11 -05:00
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