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

139 Коммитов

Автор SHA1 Сообщение Дата
Wil Clouser b8bcadf01a
docs(README): remove duplicate docs
Because:
* We have formal docs in another repository

This commit:
* Removes the duplicate docs
2022-01-07 16:48:18 -08:00
Dan Schomburg 397c590681
feat(auth) - Phaseout mjml auth server (#11482)
* chore(auth) - Phaseout mjml auth server

Because:
- A separate server was required to render templates needed for storybook.

This Commit:
- Creates some bindings to abstract away process context used by FluentLocalizer.
- These bindings support running in either a nodejs process or in the browser.

Fixes: #10218

* Improve ejs install

* Put mjml-browser helper under test

* Update documentation around static storybook build.

* PR feedback

* Try relative path

* Relative paths

* Switch to curl

* PR Feedback
2022-01-04 13:12:59 -08:00
Wil Clouser e25fab66e8
docs(readme): fix a broken link
Because:

* We removed the `mysql_servers.json` file but didn't remove this link

This commit:

* Removes the link

Fixes #9235
2021-12-23 09:07:27 -08:00
dschom 03ff9f4761
fix(settings): add confirm recovery code modal
Because:

* When generating new recovery codes, there was no confirmation step, which might make it easy for a user to overlook the fact they should download / record their recovery codes.

This commit:

* Introduces the same dialog, which existed in the initial 2FA flow, that prompted a user for at least one recovery code as a way to validate users had recorded them.
* Introduces back end support for creating and updating recovery codes as a two step process.
* Shifts recovery code generation to cient, relocating lib/random.ts.
* Adds validation for recovery codes being updated
* Exposes recovery code length / count settings to client
* Add section about running playwrite tests to readme

Closes #9530
2021-12-14 10:25:48 -08:00
Bianca Danforth e476c550c5
docs(db): update root README on how to connect to local FxA MySQL DBs (#10603)
Because:

* We should document the basic process for new contributors.

This commit:

* Adds a new "Connecting to a local MySQL DB" section to the root project README.

Closes #No issue
2021-10-05 19:16:28 -04:00
Dave Justice 7de8888262
Merge pull request #8330 from mozilla/update-legal-docs
task(monorepo): Update legal docs
2021-04-26 22:32:15 -04:00
Dave Justice ea0ddfd7ed
task(monorepo): Update legal docs
- update dep
- ran script to generate new legal docs
2021-04-22 12:42:50 +00:00
Les Orchard 860d3adaed
chore(docs): add details on Storybook in CircleCI to README.md 2021-04-16 16:37:46 -07:00
dhruva248 6bed38b7ab
docs(fxa): replace npm references with yarn in readme.md 2021-04-13 23:50:22 +05:30
lesley b635856266
Revert Mozilla VPN legal docs file pattern 2021-03-11 11:52:04 -06:00
lesleyjanenorton 780d604cba
Update legal-md-to-pdf.sh script and add resulting localized PDFs. 2021-03-09 15:09:36 -06:00
Dave Justice 8948be2535
Merge pull request #7077 from mozilla/6902-legal-doc-restructuring-adjustments
task(fxa-content-server): account for legal-docs new format
2021-02-09 15:03:17 -05:00
Dave Justice f4597eaa0a
task(fxa-content-server): account for legal-docs new format
- update scripts to account for legal-docs repo changes coming in
https://github.com/mozilla/legal-docs/tree/restructure
2021-02-09 19:45:23 +00:00
Lauren Zugai a46cbf1f45
chore(docs): Add missing package README links 2021-01-21 16:13:04 -06:00
DEV Akash Mathur 60061b9ce8
Combined rebase commit
Updated the README (test for capstone)

Added GPG Signing

Updated README with more detailed instructions for Ubuntu Rust installation
2020-11-13 13:30:19 -05:00
Danny Coates 6c2b253c11
chore(deps): update node version to 14 2020-10-27 10:21:05 -07:00
Danny Coates 6e9d4eaea5
refactor(profile): replaced graphicsmagick with sharp
because I'm tired of the extra hoops to maintain gm
2020-09-16 13:59:51 -07:00
Danny Coates 7358a3cae5
feat(auth-client): replace fxa-js-client with fxa-auth-client
- We have two clients for the auth-server API, one in `content-server/app/scripts/lib/auth` and `fxa-js-client`. The content-server one was meant to replace fxa-js-client but I didn't finish the work to get it running on nodejs.

- Extracts the content-server implementation into `fxa-auth-client`
- Wraps the implementation with shims to work with nodejs in `server.ts`
- Updates references to fxa-js-client to use fxa-auth-client
- Removes fxa-js-client
2020-07-21 09:08:35 -07:00
Jackie Munroe 6a1bf9ce30
chore (fxa script): create script to convert legal markdown files to pdfs
Because:
* Creating a script to aid in the conversion of entire directories or single markdown files to pdfs will reduce the amount of time spent on markdown to pdf conversion requests.

This commit:
* Provides a bash script to aid in the conversion process
* Includes the initial legal docs required for the VPN services in the directory specified in the request: "/assets/legal" for review

Closes #5718
2020-07-01 09:23:41 -07:00
Shubham Kumar 3a06e80a29
docs(tests): add instruct to run services before tests 2020-06-29 19:44:22 +05:30
Shubham Kumar d03ed656d7
docs(tests): add info about running services before running tests 2020-06-29 19:33:03 +05:30
Jared Hirsch 20a0acf8b0
chore(docs): Replace 'master' with 'main' throughout
Certain references to 'master' haven't been removed yet, see
issue #5698, issue #5699, issue #5700 for more complex followups.
2020-06-25 13:44:28 -07:00
Danny Coates 81575019a9
refactor(packages): use workspace references 2020-05-21 10:57:21 -07:00
Jody Heavener 099163e947
docs(all): update readmes across all packages to improve testing documentation 2020-05-06 12:02:21 -04:00
Barry Chen 7ed4037665
feat(gql-api): add auth to graphql-api server
This patch enables graphql-api server to accept an OAuth2 access token
on the graphql route.

It:
  1. validates the format of the authorization header value in middleware
  2. looks up the token in Redis
  3. ensures the client id of the token is in the allowed clients list
  4. includes the user's id and email in the 'authUser' property in
     Apollo's context
  5. includes the authorization header value as 'token' in Apollo's
     context
2020-04-30 10:09:22 -05:00
Ben Bangert 3643654af0
feat(graphql-api): initial base project
Because:

* New graphql-api server doesn't exist yet.

This commit:

* Duplicates the admin-server project, with admin-server specific bits
  removed.
* Links in necessary build portions to circleci.

Closes #4812
2020-04-22 11:47:46 -07:00
Danny Coates 1dd1b038d4
refactor(config): replace 127.0.0.1 with localhost
why, after all these years?

because there's a few annoying cases where the loopback
makes dev harder. When you try to test a flow from a not
local machine, like a tv, mobile device, or a saucelabs
proxy session. With localhost it's easy enough to forward
but loopback not so much

enough is enough
2020-04-15 13:55:42 -07:00
Danny Coates 3a054dfc3f
refactor(pm2): restructure our pm2 configs
why: several reasons...

- to have a unified approach and pattern for:
  - debugging
  - fs watching for local dev
  - running services in dev
  - configuring services in dev

- to improve the initial clone and subsequent `npm ci` experience
- to make future work on tooling easier
2020-04-14 14:38:38 -07:00
Danny Coates a4b3996349
refactor(npm-scripts): refactored npm scripts for better ergonomics
1. renamed _scripts/*.sh to use kebab-case
2. linted _scripts with shellcheck
3. added _dev directory and moved pm2 json files there
4. added nps and package-scripts.js
  - this allows us to do nice things like: `npm start debug firefox`
  - I'd like to expand this further but it's a start
5. refactored the install scripts to make `npm install` nicer
6. renamed pm2 process names for easier control
  - can use `pm2 logs auth` instead of the id
2020-04-13 16:17:36 -07:00
Ankita Shrivastava 0058fd16aa
fix(readme): Update the README section with more commands. 2020-04-08 16:44:27 -04:00
Jody Heavener dce8268b3c
feat(secrets): pass in secrets.json file as env CONFIG_FILES where you can supply your own stripe keys 2020-03-18 14:13:21 -04:00
Danny Coates 7f60ef5769
chore(deps): update top-level dependencies
start-android is no longer needed so it was removed
along with its dependencies and replaced by adb-reverse

I removed `adr-log` in favor of running `npx adr-log` to
make `npm ci` smaller.

`concurrently` is no longer used.

The remainder were updated to their latest versions.
2020-03-12 14:01:59 -07:00
Lauren Zugai 03a88a03df
chore(docs): Update root README to include table of contents plus links to ecosystem platform and Riot 2020-03-10 11:43:35 -05:00
Ben Bangert 5d3747e384
feat: add pm2 debug servers and add'l debug scripts
Because:

* It can be useful to debug multiple services at once.

This commit:

* Adds a pm2 config that starts 4 of the servers using start-dev-debug
  with unique inspect ports so that they can be debugged all at the
  same time.
* Updates the package.json files for these services so they don't choose
  the same port.
* Documents the ports used for debugging.
* Add's an attach debug for VS Code that lets one choose which process
  to debug.
2020-03-06 10:33:20 -08:00
Jody Heavener 6529e24b86
docs(setup): add note about not running your own services during startup 2020-03-04 17:42:15 -05:00
Vijay Budhram 2fa9dce43f
chore(mem): Remove auth server db memory database 2020-02-12 11:56:12 -05:00
Lauren Zugai 46b279d33f
Merge pull request #3731 from mozilla/revert-node-10-option
chore(build): [blocked by #3828] Revert allowing Node 10 in check.sh, update docs
2020-01-08 16:03:56 -06:00
Jody Heavener fc265faf40
fix(docs): update description of how to verify your account locally 2019-12-26 13:21:10 -05:00
Lauren Zugai eb9f29001a
chore(docs): Update front-page README from Node 10 to Node 12 2019-12-19 10:59:20 -06:00
Jared Hirsch 4d2e2b2af8
feat(debug): introduce start-dev-debug run scripts to ease node debugging
The actual debuggable node invocation is buried behind a few layers of
indirection; this run script unpacks that indirection, making it really
easy to launch a debuggable content or payments server process.

Also added some docs on debugging server or test node processes.
2019-11-06 10:07:19 -08:00
Danny Coates 60338b5cb7
Merge pull request #3178 from meandavejustice/2579-link-to-package-docs
task(monorepo): link to package docs in main README.md
2019-10-29 13:35:48 -07:00
Dave Justice 6a0cd6557b
task(monorepo): link to package docs in main README.md
- refs #2579
2019-10-29 19:02:06 +00:00
Danny Coates 3c3a888a84
refactor(build): some random dev build changes 2019-10-28 17:27:35 -07:00
Jared Hirsch b73995a08e
fix(docs): Simplify maildev incantation 2019-10-15 09:56:46 -07:00
Jared Hirsch e4444b7341
fix(docs): Dynamically determine mailserver pm2 id 2019-10-15 09:48:22 -07:00
Vlad Filippov 17921f718c
fix(dev): clean up pm2 scripts and docs 2019-10-02 10:56:56 -04:00
Vlad Filippov cf51e1d0bc
chore(dev): use the docker fxa-email-service in local dev 2019-10-02 10:17:40 -04:00
Dave Justice 6e5fc2889c
chore(docs): Create link for maildev local server 2019-07-15 15:40:29 -04:00
Lauren Zugai a039ea8380
docs(root): Add OSX Rust install and 'npm test' info 2019-07-09 11:05:33 -05:00
Ben Bangert cc8f2d897d
feat: add vscode settings and extensions, update docs for docker-ce
Update docs to reflect usage of docker-ce vs. outdated docker.io.

Closes #1072.
2019-07-04 08:47:34 -07:00