Joey Zhou
af9ee12e94
de env var data broker count
2023-07-25 10:04:07 -07:00
Robert Helmer
e01099dd4c
MNTOR-1915 - use APP_ENV to differentiate environments per NextJS recommendation ( #3243 )
2023-07-24 13:24:33 -07:00
Florian Zia
05097b91a7
chore: Add .env variable for total broker count
2023-07-18 13:22:52 +02:00
Robert Helmer
42167d86e8
feature: add onerep webhook handler for completed scan ( #3219 )
...
* feature: add onerep webhook handler for completed scan
2023-07-17 10:58:32 -07:00
Joey Zhou
cf29ea3a75
adding env vars
2023-06-23 13:31:43 -07:00
Robert Helmer
88db367d79
MNTOR-949/check subscriptions on dashboard ( #3147 )
...
* MNTOR-949 - check subscriptions on dashboard page
While we're figuring out with the subplat team what the ideal intended
flow here is, this change explcitly checks the subscription status
using the available API before showing or hiding the "Subscribe" button.
* config: sentry complains about missing config
* restore commit 5dec4c02c0
for subscription scope
2023-06-22 20:30:16 -07:00
Robert Helmer
89b6364197
MNTOR-949 - subscription platform integration for nextjs app ( #3098 )
...
* MNTOR-949 - subscription platform integration for nextjs app
---------
Co-authored-by: Vincent <Vinnl@users.noreply.github.com>
2023-06-14 13:20:53 -07:00
ariyaIT
fa9962642f
hotfix to hide cancel premium in stage/prod
2023-05-31 10:57:28 -07:00
Joey Zhou
d6f9eeffcf
Merge branch 'main' into MNTOR-981
...
* main: (38 commits)
Remove deprecated stylelint string-quotes rule
Add missing size+alt attributes to more.svg img
Fix adddress typo in landing partial
update comment on cta behaviour
replace height with rows for textarea element
add aria-label to button
lint
fix lint errors
open up a new tab that goes to fxa subscriptions page
remove unused variables
add back link for permanently deleted in warning copy
add data partial selector to form element
update string
remove comment in settings file
move premium to the second half of the file
add UI refinement
add warning string
Add note on running Redis locally
change mozilla to monitor
fix spelling error
...
2023-05-15 09:13:34 -07:00
Kaitlyn
327554bd0f
lint
2023-05-05 11:36:22 -04:00
Kaitlyn
25cec4bc97
add environment var
2023-05-05 11:35:33 -04:00
Joey Zhou
dee2cc513a
Merge branch 'main' into MNTOR-981
2023-04-27 23:09:13 -07:00
Florian Zia
c1eb5ec9f6
Merge branch 'main' into MNTOR-1504-Add-links-to-websites
2023-04-18 22:42:54 +02:00
Vincent
0ab7ef3e76
Add an API to accept exposure scan data
2023-04-18 15:44:24 +02:00
Florian Zia
5b539ab076
chore: Update comment
2023-04-18 15:24:22 +02:00
Joey Zhou
0d6d4ea3ee
add account uri to .env-dist
2023-04-14 17:46:36 -07:00
Florian Zia
25d4ff7ad2
chore: Use a preset domain blocklist
2023-04-13 15:06:26 +02:00
Joey Zhou
ac8546ce61
add e2e env vars
2023-03-01 12:57:59 -08:00
Florian Zia
28ada7518c
Merge branch 'main' into MNTOR-1056-Migrate-breach-alert-email
2023-02-13 22:29:40 +01:00
Florian Zia
5e08123d00
chore: Make test email env optional
2023-02-13 11:33:23 +01:00
Florian Zia
adf8260678
chore: Move email preview to admin route
2023-02-13 11:24:09 +01:00
Robert Helmer
ff51c14d84
* MNTOR-1042 ( #2819 )
...
feat: set up GA4 with GTM
2023-02-10 16:52:05 -08:00
Florian Zia
fa34e3d38c
merge: main -> MNTOR-1056-Migrate-breach-alert-email
2023-02-10 17:55:29 +01:00
Florian Zia
21f5a9df88
chore: Protect email preview route
2023-02-09 01:03:18 +01:00
Florian Zia
869e4ddd17
feat: Email preview page
2023-02-08 22:37:32 +01:00
Joey Zhou
d1973572b1
update env var
2023-02-03 11:46:06 -08:00
Joey Zhou
06236709a4
double csrf update
2023-01-03 11:36:31 -08:00
Joey Zhou
ed7c762f0b
csurf
2022-12-29 09:17:37 -08:00
Amri Toufali
22673078fe
Merge branch 'main' into MNTOR-792/main-template
2022-10-07 15:22:17 -07:00
Amri Toufali
155cf4cf39
misc PR change requests
2022-08-25 21:58:16 -07:00
Amri Toufali
7e7da6b68e
refactor Fluent locale translations
2022-08-06 20:54:26 -07:00
Amri Toufali
7dfd6d0093
move education video urls to .env vars
2022-01-11 20:37:39 -08:00
Amri Toufali
1ceeb42721
IP location banner for VPN education/promotion ( #2284 )
...
* add banner expand functionality
* refactor home content to nest in top-level `main`
* optimize homepage style for vpn banner
* optimize breach page style for vpn banner
* optimize "security tips" page style for vpn banner
* optimize about page style for vpn banner
* move header shadow to avoid vpn banner conflict
* add 2nd panel main content
* add en locale strings
* add "protected" version of banner with associated strings
* handle ip address not found in MaxMind DB
* add Heroku Buildpack vars for MaxMind db
* update .env-dist vars for MaxMind GeoLite2
* handle MaxMind db read error
* refactor client-side mullvad API and async geodata
* default to "not protected" for cache/fetch error
* use full country name
* add abort controller for Mullvad req
* cache location lookup with redis session
* allow optional env vars
* update readme
* add analytics/attribution
* add localization to MaxMind location data
* add blocked locales to env var
* refactor ip-location to open db once every 3 days
* Fix broken visual integration tests
2021-11-19 12:06:30 -08:00
Amri Toufali
3d24595060
Migrate Travis to CircleCI ( #2310 )
...
* add lints to circleci
* delete travis config
* add circleci orbs
* update images
* update dockerfile to allow dev build
* refactor unit-tests using machine host instead of docker
* set postgres user pass to enable docker connection
* remove .env-dist quotes in values (broken syntax)
* fix broken coveralls test
* update readme
* use `npm ci` instead of redundant `npm install`
* switch integration test network mode to `host`
* specify .env path for integration test
* update lockfile
* remove docker login and obsolete jobs
2021-10-15 11:58:00 -07:00
Luke Crouch
4dfbcbd444
remove un-used basket code
2021-07-06 16:17:53 -05:00
Luke Crouch
78daf3b67b
update .env-dist and README to use FXA stage
2021-02-23 15:56:29 -06:00
Luke Crouch
60e65c5850
RECRUITMENT_BANNER_* for a site-wide recruitment banner
2020-10-06 17:12:12 -05:00
Luke Crouch
645add6d8d
use redis-mock for local dev instances
2020-09-25 09:23:20 -05:00
Luke Crouch
23d6a29bf7
fix #1148 : redis sessions; add MAX_NUMBER_ADDRESSES
2020-09-01 11:44:50 -05:00
Peter deHaan
c0119bbb04
Add supportedLocales to package.json and version endpoint
2020-06-15 16:25:17 -07:00
Maxx Crawford
5d8241b934
Revised default ENV variable
2020-04-22 15:10:47 -05:00
Maxx Crawford
f11ccb70dc
Added experiment environment variable
2020-04-22 15:10:46 -05:00
Benjamin Forehand Jr
b19eff6d4a
Initial commit adding integration tests. ( #1557 )
...
* Initial commit adding integration tests.
* Fix test name.
* Adding package-lock.
* Some updates.
* More updates.
* Extend page comparison max to 9.99%
* Removed node assert statement.
* Updated baseline images and tests.
* Added docs, fixed docker configuration file.
* Updates.
* Update docker compose.
* Fix json error.
* Add comment to Dockerfile.
* Comment to trigger CI.
* Moved dependencies to allow for docker image build.
* Add restore command.
* Fix restore command.
* Change docker image.
* Add checkout command.
* Add java.
* Add node version install.
* Trying machine executor.
* Fix typo.:
* Remove old docker command.
* EVERYTHING IN ONE SHELL.
* Trying nvm.
* Fix typo.
* Fix node version...
* Fix typo.
* More node stuff.
* Updates to docker compose.
* Add chown to circleci config.
* Fix docker login error.
* Change exec command user.
* Add screenshots for debugging.
* Try fixing js command.
* Try fixing js command again.
* Change screenshot path
* Add mkdir for error shots.
* Trying something for postgres.
* Updates.
* Fix lint error.
* Try fixing errorshots.
* Updates before rebase.
* Updated baseline for new homepage.
* Remove baseline image save.
* Trying a change for errorshots.
* Update test.
2020-04-03 14:48:07 -05:00
lesleyjanenorton
684d6840c7
Add "PRODUCT_PROMOS_ENABLED" environment variable
2020-03-06 11:50:22 -06:00
Luke Crouch
c420aba7b4
default LOGOS_ORIGIN to empty value
2020-02-12 08:21:29 -06:00
Luke Crouch
cce1a3a27f
for #1469 : add LOGOS_ORIGIN to serve breach logos
2020-02-12 08:21:29 -06:00
luke crouch
e5ed6df90b
Merge pull request #1481 from mozilla/rebased-add-resolved-properties-1412
...
Rebased breach resolution feature
2020-02-10 11:10:24 -06:00
Luke Crouch
80f70ae4ab
fix #1342 : extend session timer to 48 hours
2020-01-23 12:02:02 -06:00
lesley
d13c6d7f53
Add "BREACH_RESOLUTION_ENABLED" environment variable
2020-01-09 12:06:41 -06:00
Luke Crouch
e72d3dc9c1
fix 1135: default SENTRY_DSN to blank
2019-10-10 11:03:00 -05:00
Luke Crouch
cac234a0b3
add required remote settings for travis
2019-05-13 16:09:30 -05:00
Luke Crouch
93e6d16531
for #465 : start updatebreaches.js script
2019-04-15 15:21:51 -05:00
Luke Crouch
12746d271c
add FXA_SETTINGS_URL to .env-dist for travis
2019-03-12 12:14:49 -05:00
Luke Crouch
1e2bc90b3e
for #688 : add PAGE_TOKEN_TIMER to .env-dist for CI
2019-02-06 16:12:08 -06:00
Luke Crouch
7f2b610472
fix #570 : remove unnecessary HIBP_API_TOKEN
2018-11-02 14:23:13 -05:00
Luke Crouch
01206b68d4
bug #1490830 : add sentry and capture errors
2018-10-31 11:08:32 -05:00
Luke Crouch
fbad168fa3
fix #562 : use SUPPORTED_LOCALES to config locales
2018-10-29 16:28:19 -05:00
Luke Crouch
bf446223ad
fix #444 : check bearer token on /hibp/notify
2018-09-25 20:23:18 -05:00
Luke Crouch
981af8d14c
for #55 : MOZLOG_FMT for formatting
2018-09-21 13:41:29 -05:00
Luke Crouch
9151cd851b
for #55 : convert console to mozlog
2018-09-21 13:37:07 -05:00
Luke Crouch
6d1bfc00d6
correct doc for HIBP_THROTTLE_DELAY
2018-09-20 15:18:41 -05:00
Luke Crouch
e3e1b95b7e
fix #415 : move throttle to env vars and test
2018-09-20 09:50:11 -05:00
Luke Crouch
b122bbaa89
fix #360 : FXA_ENABLED flag and default to false
2018-09-07 15:04:46 -05:00
Luke Crouch
0dbf76a465
eslint fixes
2018-08-30 09:39:30 -05:00
Luke Crouch
e8b5d4f465
start fx newsletter basket code
2018-08-29 17:01:27 -05:00
Luke Crouch
5deb41a54e
fix #251 : verify signatures of SNS messages
2018-08-27 15:44:38 -05:00
luke crouch
dd49eddb0b
Merge pull request #291 from mozilla/script-to-remove-unverified-emails-107
...
for #107 : script to delete unverified subscribers
2018-08-27 09:47:49 -05:00
Luke Crouch
3f6d64f6e6
fix #107 : DELETE_UNVERIFIED_SUBSCRIBERS_TIMER and logic
...
patch
2018-08-26 23:27:07 -05:00
Luke Crouch
4c2c5a8567
fix #270 fix #245 : serve breach data to clients
...
refresh breach data from hibp periodically
2018-08-26 09:53:20 -05:00
Luke Crouch
8a2ab1acba
SES_NOTIFICATION_LOG_ONLY flag
2018-08-23 16:43:21 -05:00
luke crouch
93d1beaa11
Merge pull request #271 from mozilla/env-var-to-disable-dockerflow
...
disable dockerflow routes on heroku
2018-08-22 15:58:48 -05:00
Luke Crouch
6b5ebcdcdc
add tests for email-utils
...
Also consolidates email settings into a single SMTP_URL
2018-08-22 13:50:34 -05:00
Luke Crouch
7f3ce28cd7
disable dockerflow routes on heroku
2018-08-22 10:30:17 -05:00
Luke Crouch
14797d48df
use http basic auth to verify POSTs from AWS
2018-08-15 14:47:20 -05:00
Luke Crouch
872d5f87e3
for #251 : specify SES config set for SMTP
2018-08-13 15:07:30 -05:00
Luke Crouch
1b920e3ba6
for #251 : SES needs a specific From: address
2018-08-09 13:43:19 -05:00
groovecoder
15123b5f76
fix #249 : update README to match smaller DB
...
and drop other things we don't need like AWS creds
2018-08-06 11:20:41 -05:00
groovecoder
80cba0a942
remove STUB env var from .env-dist
2018-07-19 15:23:27 -05:00
Lesley Norton
b7bd45f54b
wip...
...
wip wip wip
2018-07-19 14:03:47 -05:00
Lesley Norton
976e4438aa
minus token
2018-06-06 21:50:14 -05:00
Lesley Norton
09876c48e7
website logos fix, other template mods
...
template updates for website logos, new 'false-door' messaging, updated api creds- still working on getting the analytics right.
2018-06-06 21:35:59 -05:00
groovecoder
9c8fbcfa1b
for #55 : redirect non-dev environments to https
2018-05-31 17:55:19 -05:00
groovecoder
2ee3c7d060
setup updates
2018-05-24 13:13:46 -05:00
groovecoder
0115eec7e9
Use sequelize for hashset script
2018-03-12 15:08:12 -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
groovecoder
6c92ef1a93
start code to load hashsets into aws
2018-02-20 14:37:00 -06:00
groovecoder
fcf85adaaf
start get_hashsets.js
2018-02-12 16:17:43 -06:00
Nihanth Subramanya
5b78112be4
Modularize code.
2018-02-08 03:41:24 +05:30
groovecoder
af7aa093fe
README update (and some matching code)
2018-02-05 13:30:28 -06:00
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