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

40 Коммитов

Автор SHA1 Сообщение Дата
Danny Coates 45a399e8cf
feat(dev): add firebase emulator ui visit http://localhost:9299 2021-10-15 16:48:06 -07:00
Jody Heavener f17a4fa121
chore(auth): set up auth server to generate dist FTL file, clone/import existing FTL locales
Because:

- We want to be able to generate a single FTL file for fxa-content-server-l10n to pick up
- We want to be able to pull in existing auth locales from fxa-content-server-l10n

This commit:

- Adds a new grunt task for generating a single FTL file, placing it in a location fxa-content-server-l10n will find it
- Updates the clone-l10n script to check for auth server locales in the fxa-content-server-l10n repo
2021-09-14 09:40:45 -03:00
yogita aaa8f1da23
feat(fxa-auth-server): Setup CSS solution for emails 2021-07-16 21:38:25 +05:30
Vijay Budhram 5610838255
feat(push): Add views for confirming a push notification login 2021-06-14 13:23:04 -04:00
Danny Coates a1414bfe6a
chore(settings): ignore settings.ftl 2021-02-22 12:42:49 -08:00
Barry Chen 37887cf115
chore(l10n): combine the download l10n scripts
Because:
 - we have multiple similar scripts that pull translations from the
   fxa-content-server-l10n repo
 - we need that functionality for new settings

This commit:
 - combine the scripts into a single one
2021-02-08 12:51:42 -06:00
Michael Kane Juncker 3c978d9d00
Allow environment variable customizations in Docker builds - refs #7118 2021-01-07 14:44:10 +01:00
Ben Bangert 139029248e
feat(graphql-api): convert to NestJS
Because:

* We want to use NestJS for new apps, and graphql-api is still small
  enough to feasibly convert to NestJS.

This commit:

* Converts graphql-api to a NestJS app.

Closes #6263
2020-11-30 15:33:24 -08:00
Vijay Budhram 325c2f4aa2
fix(tests): Store test results in insights 2020-09-25 11:18:44 -04: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
Danny Coates cbe376905e
fix(lint): lol @ .swp in git 2020-07-09 15:26:36 -07:00
Jody Heavener e6fafda68b
feat(storybook): allow Tailwind scss compilation support
Because:

* Currently fxa-settings imports SCSS into a Tailwind file, but outside of Create React App (which handles SCSS compilation in the React app itself) SCSS is not compiled.

This commit:

* Updates both Tailwind and Storybook's setup so that you can now compile down to CSS or SCSS depending on your needs, and ensure Storybook's SCSS loader picks it up
2020-06-08 09:57:09 -04:00
Jody Heavener 7cd796a3f4
feat(admin-panel+settings+react): set up storybook and tailwind for admin-panel, share tailwind config across all projects, config movement
compile tailwind for use in fxa-react, fxa-settings, and fxa-admin-panel

add script to tailwind configs to only apply postcss output to fxa-react components being used in a given project
2020-06-03 15:46:09 -04:00
Danny Coates c3780546b6
fix(local-dev): added fxa-shared and fxa-react to pm2
In order to keep the typescript shared modules up to date for their dependents to use while running locally this adds them to pm2 so that a `tsc --watch` can run alongside the other services.

Note, this DOES NOT automatically restart dependent javascript service processes.

This change refactors pm2-all.sh in order to start processes in dependency topological order. This requires an update to most pm2.config.js files in order to set PATH correctly while running under yarn.
2020-06-03 10:05:02 -07:00
Danny Coates 17f2311274
fix(content-server): fixed content-server build
@fxa-react is no longer used. content-server should reference
fxa-react through a workspace dependency.

This commit fixes references and build configs for this change.
2020-06-02 10:54:39 -07:00
Danny Coates 81575019a9
refactor(packages): use workspace references 2020-05-21 10:57:21 -07:00
Jody Heavener 82a5898885
feat(settings): add foundational tailwind + styles setup 2020-05-21 12:27:59 -04:00
Les Orchard acf5c00bab
feat(storybook): build static gh-pages site from storybook builds
issue #4823
2020-05-20 19:48:00 -04:00
Lauren Zugai c5efc8ac9e
fix(gitignore): Remove .* and subsequent .* exceptions
Because:
We had to occassionally add to our list of !.* exceptions which was getting a little unwieldy. Instead, we'll manually add the ones we need ignored.

fixes #5250
2020-05-12 18:33:36 -05:00
Jody Heavener aaad50db61
feat(components): set up basic storybook 2020-04-28 21:40:45 -04:00
Danny Coates d4da8a3606
feat(docker): created fxa-builder docker image
This adds a base node image and builder image so
that all our service images can share the same
common base, be smaller, and require less customization.
2020-04-22 16:27:22 -07:00
Jody Heavener 9db01c288a
feat(settings): add rescripts, allow external imports 2020-04-17 14:40:39 -04: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
Jody Heavener 35af352758
chore(audit): only audit once per day 2020-04-13 15:45:34 -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 bba32995ce
fix(deps): fixed kind-of advisory and added .nsprc to metrics-processor 2020-03-13 09:58:00 -07:00
Danny Coates 7e77b0a292
refactor(ci): major refactor of CircleCI workflow
In order to reduce our CI resource usage we've combined
some jobs and changed what runs for each workflow.

Most packages have fast test runs. We've combined these
under one job. Packages with slower runs use their own
job so they can be run in parallel. Also, we've added
branch filters to the rarely changing, but resource
intensive jobs.

We now have three workflows that run at different times.

1. test_pull_request: runs only on PR branches and
   only runs tests.
2. deploy_master: runs only on master and only builds
   and deploys docker images
3. test_and_deploy_tag: runs only on tags and tests,
   builds, and deploys
2020-03-10 10:06:16 -07:00
Danny Coates b235a74368
chore(ci): skip email service tests for PRs when not required 2020-03-02 11:18:11 -08:00
Jody Heavener a238c3d277
refactor(git): merge all package gitignores into single root-level gitignore 2020-01-07 15:12:25 -05:00
Phil Booth f78826aa2e
fix(tests): pick up latest auth db in auth server tests 2019-04-11 16:42:26 +01:00
Shane Tomlinson ccbc56fcfe
fix(git): Ignore .DS_Store 2019-04-10 07:11:01 +01:00
Danny Coates 52e5d10a43 prepare for monorepo 2019-04-01 10:58:37 -07:00
vladikoff 519204cc41 chore(install): ignore package-lock.json 2018-08-23 19:36:19 -04:00
Vlad Filippov 5de68fe310 feat(scripts): add android support, remove Firefox Hello mozilla/fxa-local-dev#67) 2016-09-27 18:52:39 -04:00
Nelson Pestana 0257c90651 feat(vagrant): add provision script and improve current vagrantfile 2016-01-15 18:02:00 +00:00
Ryan Kelly 13b3426533 Add local syncserver instance. 2015-03-27 16:12:06 +11:00
Vlad Filippov ca80d1cc3d add browser configuration 2014-12-30 00:57:38 -05:00
Vlad Filippov ad7210847c speed up and fix redis-server 2014-11-12 14:55:44 -05:00
Vlad Filippov 73064d60c7 add install scripts 2014-11-04 20:38:23 -05:00
Vlad Filippov aed639e1cb add .gitignore 2014-11-04 20:21:04 -05:00