Monorepo for Firefox Accounts
Перейти к файлу
Barry Chen 8efb6aec89
feat(scripts): use redlock to prevent >1 instance of paypal-processor
Because:
 - we could easily end up running two instances of the paypal-processor
   during a deploy

This commit:
 - use a redis based distributed lock to ensure only one
   paypal-processor can run per env
 - add script options to control the lock name and duration, as well as
   completely bypassing the lock
2022-04-07 16:57:21 -05:00
.circleci Merge pull request #12274 from mozilla/create-login-subscription-test 2022-04-05 14:25:26 -04:00
.github Added missing permissions needed to interact with GitHub's OIDC Token endpoint 2022-02-16 10:13:43 -07:00
.vscode chore(deps): update typescript to 4.5.2 2021-11-18 23:25:28 -08:00
.yarn chore(deps): update yarn to 3.1.1 2021-12-22 15:35:47 -08:00
_dev Merge pull request #10558 from mozilla/rmrfmf 2022-01-13 17:07:48 -08:00
_scripts add mdn plus legal docs (#11955) 2022-02-16 09:36:55 -06:00
assets update and add MDN Plus legal docs (#12129) 2022-03-10 15:50:10 -05:00
docs/adr chore(docs): Add ADR for Google Auth Library approach 2022-02-03 12:42:14 -05:00
packages feat(scripts): use redlock to prevent >1 instance of paypal-processor 2022-04-07 16:57:21 -05:00
types refactor(auth): convert account to TS and class 2021-05-28 07:29:36 -07:00
.dockerignore feat(services): remove fxa-auth-db-mysql, fxa-email-event-proxy, and fxa-email-service 2022-01-13 16:23:22 -08:00
.eslintignore feat(auth) - Phaseout mjml auth server (#11482) 2022-01-04 13:12:59 -08:00
.git-blame-ignore-revs chore(blame): added previous commit to .git-blame-ignore-revs 2020-06-09 16:56:02 +10:00
.gitignore feat(services): remove fxa-auth-db-mysql, fxa-email-event-proxy, and fxa-email-service 2022-01-13 16:23:22 -08:00
.nvmrc chore(node): upgrade to node 16 (#10799) 2021-10-22 16:10:22 -07:00
.prettierignore maintenance(admin-panel): Stop formatting auto generated graphql code 2022-03-01 18:05:16 -08:00
.yarnrc.yml chore(deps): update yarn to 3.1.1 2021-12-22 15:35:47 -08:00
AUTHORS Release 1.226.0 2022-02-16 10:29:18 -08:00
CODE_OF_CONDUCT.md prepare for monorepo 2019-04-01 10:58:37 -07:00
CONTRIBUTING.md chore(fxa): update README and CONTRIBUTING files with fixed links, template instructions, and secrets (#10562) 2021-09-30 12:46:00 -07:00
LICENSE docs(license): Create LICENSE. Fix #5007 2020-04-21 14:37:37 -07:00
README.md docs(README): remove duplicate docs 2022-01-07 16:48:18 -08:00
SECURITY.md task(monorepo): update security.md 2019-10-07 09:55:34 -04:00
package-scripts.js chore(deps): Update fxa-dev-launcher to use esm (#11239) 2021-12-06 10:53:02 -05:00
package.json feat(scripts): use redlock to prevent >1 instance of paypal-processor 2022-04-07 16:57:21 -05:00
release-feature-branch.sh fix(release): fix Bugzilla template to filter issues for past two weeks 2021-05-26 16:54:20 -05:00
release.sh feat(services): remove fxa-auth-db-mysql, fxa-email-event-proxy, and fxa-email-service 2022-01-13 16:23:22 -08:00
yarn.lock feat(scripts): use redlock to prevent >1 instance of paypal-processor 2022-04-07 16:57:21 -05:00

README.md

pullreminders

Firefox Accounts

The Firefox Accounts (fxa) monorepo

Table of Contents

Getting Started
Contributing
Documentation Documentation for Scripts


Getting Started

Please read our documentation


Contributing

See the separate CONTRIBUTING.md to learn how to contribute.


Documentation

The Firefox Ecosystem Platform serves as a documentation hub for Firefox Accounts and Subscription Platform.


Documentation for Scripts

_scripts/legal-md-to-pdf.sh

Purpose

This bash script converts markdown documents into pdfs. The purpose is to provide an efficient way for Mozilla VPN legal documents to be converted and made available to end-users.

Usage

Pre-requisites: The script requires the following:

To Run:
# from root fxa directory
_scripts/legal-md-to-pdf.sh '/absolute/path/to/legal-docs/'

The script traverses the legal-docs directory looking for localized copies of the Mozilla VPN legal documents. When found, the script converts the document from .md to .pdf and writes it to assets/legal/<document_name>.<locale>.pdf.

Example: directory provided: /Users/test/github/mozilla/legal-docs/ resulting file: assets/legal/<document_name>.<locale>.pdf