Commit Graph

473 Commits (9f9fb63caa2e0002f365cc96da880ea3eb6de283)

Author SHA1 Message Date
Victor Duarte 82d09bd593
feat: refactor and test tools steps utilities (#42693) 2021-07-07 02:22:12 +02:00
Renovate Bot 0f88d3b2be chore(deps): update dependency mongodb to v3.6.10 2021-07-06 21:24:31 +00:00
Renovate Bot d9cd7687ba chore(deps): update dependency debug to v4.3.2 2021-07-04 07:05:29 +00:00
renovate[bot] 3d7ee4c516
chore(deps): update dependency rollup to v2.52.7 (#42711)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-02 11:36:58 +05:30
Renovate Bot 1bc19eb4de chore(deps): update dependency rollup to v2.52.6 2021-07-01 07:48:37 +00:00
Renovate Bot d5c1bb1233 chore(deps): update dependency typescript to v4.3.5 2021-07-01 02:33:02 +00:00
Renovate Bot 0ccc02b15b chore(deps): update storybook monorepo to v6.3.2 2021-06-30 13:47:39 +00:00
Mrugesh Mohapatra 25fcf835ed
fix(tools): set homepage for CRA builds (#42681) 2021-06-30 13:03:19 +01:00
renovate[bot] 3bb307b911
chore(deps): update dependency @testing-library/react to v12 (#42680)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 15:56:35 +05:30
Niraj Nandish 6b0040b3d1
Contributor tools searches from all PRs (#42630) 2021-06-30 15:21:31 +05:30
renovate[bot] fb8d2ace4a
chore(deps): update dependency rollup to v2.52.4 (#42675)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 11:41:41 +05:30
Mrugesh Mohapatra adc09ec180 chore: apply npm audit fix to all packages 2021-06-28 19:00:55 +05:30
renovate[bot] e84f0b0ccb
chore(deps): update storybook monorepo to v6.3.1 (#42657)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-28 12:35:07 +02:00
renovate[bot] 6b64502317
chore(deps): update dependency prettier to v2.3.2 (#42645)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-26 13:15:02 +02:00
renovate[bot] 9581ea9376
chore(deps): update dependency rollup to v2.52.3 (#42631)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-25 23:32:00 +02:00
renovate[bot] 390bc824af
chore(deps): update storybook monorepo to v6.3.0 (#42605)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-24 11:00:51 +02:00
renovate[bot] 220127d9d2
chore(deps): update dependency tailwindcss to v2.2.4 (#42612)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-24 10:10:25 +02:00
renovate[bot] ae3e1a1d18
chore(deps): update babel monorepo to v7.14.7 (#42594)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-22 13:22:40 +05:30
renovate[bot] 273b335052
chore(deps): update dependency rollup to v2.52.2 (#42580)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-21 20:41:01 +05:30
renovate[bot] d1ac6d7a3a
chore(deps): update dependency @types/inquirer to v7.3.2 (#42569)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-21 18:48:22 +05:30
renovate[bot] 9d1a312867
chore(deps): pin dependencies (#42579)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-21 09:41:31 +00:00
Oliver Eyton-Williams 95dc63678c
feat: bundling for UI Components (#42549)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2021-06-21 15:21:40 +07:00
renovate[bot] d8f8665170
chore(deps): update dependency tailwindcss to v2.2.2 (#42560)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-21 13:02:44 +05:30
Huyen Nguyen 2c16234853
chore: add jest global variables (#42573) 2021-06-20 09:14:42 +02:00
renovate[bot] 3499c2b08e
chore(deps): update dependency typescript to v4.3.4 (#42550)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 17:34:46 +05:30
Nicholas Carrigan (he/him) 643f34fe3a
feat(tools): hide string action (#42547)
Create an action that allows us to hide a specific string during
the crowdin upload process.
2021-06-17 23:54:56 +05:30
renovate[bot] 873cd64fdb
chore(deps): update dependency tailwindcss to v2.2.0 (#42548)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 23:53:18 +05:30
renovate[bot] 964b4204d3
chore(deps): update dependency typescript to v4.3.3 (#42542)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 15:44:07 +05:30
renovate[bot] c9eaa6527f
chore(deps): update dependency postcss to v8.3.5 (#42474)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-17 14:55:59 +05:30
Ikko Ashimine 87ea2772f8
fix: typo in build-curriculum.js (#42533) 2021-06-16 15:27:23 +00:00
renovate[bot] e1ca0ce1f6
chore(deps): update dependency inquirer to v8.1.1 (#42513)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-16 16:06:03 +05:30
Huyen Nguyen 4a240fc58d
chore(tools): split color tokens to separate layers (#42388) 2021-06-15 15:33:18 +03:00
renovate[bot] f6c7e2ace6
chore(deps): update babel monorepo to v7.14.6 (#42492)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-15 16:38:39 +05:30
Renovate Bot 8c6711e8b9
chore(deps): update dependency postcss to v8.3.4 2021-06-15 13:03:18 +05:30
renovate[bot] daeb674a2e
chore(deps): update dependency postcss to v8.3.2 (#42437)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-12 17:20:51 +05:30
renovate[bot] 49656662a4
chore(deps): update babel monorepo to v7.14.5 (#42425)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-10 14:13:07 +05:30
Oliver Eyton-Williams 87830f3a9c
docs: add helpers to contribute docs (#42417)
* docs: add helpers to contribute docs

* chore: remove helper script readme

* Update docs/how-to-work-on-practice-projects.md

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* Update docs/how-to-work-on-practice-projects.md

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

* Update docs/how-to-work-on-practice-projects.md

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-06-10 14:11:11 +05:30
renovate[bot] 3de01083a4
chore(deps): update dependency postcss to v8.3.1 (#42426)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-10 12:24:36 +05:30
renovate[bot] f11dfe8203
chore(deps): pin dependencies (#42413)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-09 00:02:36 +02:00
Oliver Eyton-Williams bd4d46915a
feat(curriculum): add project creation tool (#42410)
* refactor: extract help category map as JSON

* refactor: extract block names as json

* feat: add create-project script

* fix: correct case for tsconfig target

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-06-09 00:57:45 +05:30
Mrugesh Mohapatra 2db594d318 chore: apply npm audit:fix 2021-06-08 21:16:56 +05:30
Oliver Eyton-Williams 3875c6e619
fix: use env.json in both client and server (#42359) 2021-06-08 13:12:44 +01:00
renovate[bot] 0020258e2e
fix(deps): update dependency @actions/core to v1.4.0 (#42399)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-08 14:05:01 +05:30
Huyen Nguyen fdf1de38e5
feat(tools): setup react testing library in ui-components (#42221)
* feat(tools): setup react testing library in ui-components

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2021-06-07 09:01:20 +02:00
renovate[bot] 00e5440882
chore(deps): update dependency dotenv to v10 (#42306)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-04 13:08:21 +02:00
renovate[bot] e13e681cfd
chore(deps): update dependency tailwindcss to v2.1.4 (#42333)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-03 22:42:56 +05:30
Renovate Bot 629c011ab6 chore(deps): update dependency tailwindcss to v2.1.3 2021-06-01 19:30:20 +00:00
Renovate Bot 6e86d4fe08 chore(deps): update dependency mongodb to v3.6.9 2021-05-26 23:45:02 +00:00
Renovate Bot a51a046d3e chore(deps): update dependency autoprefixer to v10.2.6 2021-05-26 17:53:08 +00:00
ChrisPrzR fcc29419c6
feat(tools): add color palette to tailwind config file (#42198)
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2021-05-22 15:33:43 +05:30
Renovate Bot 7ab513fbae chore(deps): update dependency mongodb to v3.6.8 2021-05-21 19:03:47 +00:00
Renovate Bot c92150e9bb fix(deps): update dependency @actions/core to v1.3.0 2021-05-21 15:24:26 +00:00
Renovate Bot efffe56dfd chore(deps): update dependency postcss to v8.3.0 2021-05-21 09:36:33 +00:00
Renovate Bot 12a37ba581 chore(deps): update dependency mongodb to v3.6.7 2021-05-18 22:48:04 +00:00
Mrugesh Mohapatra 6d8baddec0
chore: update api deps, apply npm audit fix (#42179)
* chore(api): bump minor and patch

* chore: apply npm audit fix across deps
2021-05-18 22:39:26 +05:30
Renovate Bot df6a98fe90 chore(deps): update babel monorepo to v7.14.3 2021-05-17 23:19:16 +00:00
renovate[bot] aed0013923
fix(deps): update dependency @actions/github to v5 (#42163)
* fix(deps): update dependency @actions/github to v5

* fix: use v5 @actions/github api

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-05-18 00:26:50 +05:30
Renovate Bot df0898a495 chore(deps): pin dependencies 2021-05-17 12:22:27 +00:00
Huyen Nguyen ed094523e4
feat(tools): setup TailwindCSS in ui-components (#42153) 2021-05-17 12:43:27 +05:30
Oliver Eyton-Williams 1c1d86922c
refactor: simplify jest config (#42136)
* refactor: bring api jest tests to root

* refactor: pull client tests to root

* fix: remove ancient curriculum babelrc

* feat: run all jest tests at once

* fix: remove unused babelrcRoot

* chore: remove more jests
2021-05-16 18:08:04 +05:30
Renovate Bot ba7ffbd6cc chore(deps): update babel monorepo to v7.14.2 2021-05-13 00:13:19 +00:00
Huyen Nguyen 64b081d3d2
docs: add storybook command to contributing guide (#42105) 2021-05-12 13:24:40 +02:00
Renovate Bot 965fc8240d chore(deps): update dependency dotenv to v9.0.2 2021-05-10 22:13:17 +00:00
Renovate Bot 81696e9b23 chore(deps): pin dependencies 2021-05-10 20:46:01 +00:00
Huyen Nguyen 3efe3fa73f
feat(tools): create ui-components package and setup Storybook (#41920)
* feat(client): basic Storybook setup

* Revert "feat(client): basic Storybook setup"

This reverts commit f55e249326.

* feat(tools): create ui-components package and setup Storybook

* Add ui-components to lerna.json
2021-05-11 00:37:01 +05:30
renovate[bot] 21dd80c47a
chore(deps): update dependency prettier to v2.3.0 (#42074)
* chore(deps): update dependency prettier to v2.3.0

* chore: apply formating per prettier

* fix: correctly disable import/no-unresolved

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Mrugesh Mohapatra <hi@mrugesh.dev>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-05-10 08:48:49 -07:00
Renovate Bot 91a6690634 chore(deps): update dependency dotenv to v9.0.1 2021-05-09 08:23:55 +00:00
Mrugesh Mohapatra 81d8d3f294
fix(npm-audit): improve audit and fix run-scripts (#42050)
* fix(npm-audit): improve audit and fix run-scripts

* fix: include --no-bail

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-05-07 23:48:11 +05:30
renovate[bot] 94788e2719
chore(deps): update dependency unist-util-select to v3.0.4 (#42043)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-07 19:16:23 +05:30
Renovate Bot 70e22e5bb9 fix(deps): update dependency readdirp to v3.6.0 2021-05-07 04:58:13 +00:00
Renovate Bot cb931d7f48 chore(deps): update dependency lodash to v4.17.21 2021-05-07 01:29:45 +00:00
Renovate Bot 1586c7b454 chore(deps): update dependency jest to v26.6.3 2021-05-06 23:25:27 +00:00
renovate[bot] 94a515db08
fix(deps): update dependency fs-extra to v10 (#42021)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-06 13:56:27 -07:00
renovate[bot] 955e6eea9d
chore(deps): update dependency lodash to 4.17.21 [security] (#42032)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-06 20:24:21 +02:00
renovate[bot] 050afb4bb0
chore(deps): update dependency dotenv to v9 (#42018)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-06 21:24:33 +05:30
Renovate Bot 69d47cd5bc chore(deps): update dependency dotenv to v8.6.0 2021-05-06 09:37:16 +00:00
Mrugesh Mohapatra 29b388025b
fix(deps): pin dependency @wojtekmaj/enzyme-adapter-react-17 to 0.6.1 (#42009)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 13:49:59 -07:00
Nicholas Carrigan e46e80e08f feat(client): add chinese traditional
Add chinese traditional to the all-langs validation and necessary
client build configs.
2021-05-05 21:06:54 +05:30
renovate[bot] 4ace78e0f7
chore(deps): pin dependencies (#42002)
chore(deps): pin dependencies
2021-05-05 20:52:14 +05:30
Oliver Eyton-Williams e5908ef281 chore(deps): bson-objectid 2021-05-05 18:12:50 +05:30
Renovate Bot 06b90baa59 chore(deps): update dependency dotenv to v8.5.1 2021-05-05 11:14:39 +00:00
renovate[bot] 3e9bc73d67 chore(deps): update dependency jest to v26 (#41699)
* chore(deps): update dependency jest to v26

* chore: add missing package, invariant

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-05-05 12:24:11 +05:30
Renovate Bot 8bdc99c11f fix(deps): update dependency hast-util-to-html to v7.1.3 2021-05-03 12:28:11 +00:00
Renovate Bot d434a8bde5 fix(deps): update dependency gray-matter to v4.0.3 2021-05-03 10:35:09 +00:00
Ahmad Abdolsaheb 27c8d564e4
fix(client): replace Stripe with PayPal (#41924)
* feat: remove stripe payment option from client

* feat: remove stripe completely

* fix: remove last Stripe remnants

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-05-03 11:45:23 +03:00
Oliver Eyton-Williams 17a7a84b48
fix(tools): update helper scripts (#41923) 2021-04-27 11:29:49 -07:00
renovate[bot] 9c86ed508c
fix(deps): update dependency micromark-extension-gfm-table to v0.4.3 (#41883)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-22 12:28:47 +05:30
renovate[bot] 283ed2d6ca
fix(deps): update dependency micromark-extension-gfm-strikethrough to v0.6.5 (#41661)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-21 18:54:56 +05:30
renovate[bot] 5eacd3912b
chore(deps): update dependency dotenv to v8 (#41690)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-20 17:21:45 +02:00
Renovate Bot 5b4cb91a2a fix(deps): update dependency unist-util-remove to v2.1.0 2021-04-15 02:23:06 +00:00
Renovate Bot 46b46ad1a9 fix(deps): update dependency @actions/core to v1.2.7 2021-04-14 04:04:12 +00:00
Renovate Bot 193a5539dc chore(deps): update dependency mongodb to v3.6.6 2021-04-13 19:30:10 +00:00
renovate[bot] f8f89149c4
fix(deps): update dependency mdast-util-gfm to v0.1.2 (#41660)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 18:15:06 +05:30
Renovate Bot 2eaa5d6457 fix(deps): update dependency unist-util-remove to v2.0.1 2021-03-31 20:17:24 +00:00
Randell Dawson 5bb773fcec
fix(tools): Update createStepFile function in new curriculum helper script (#41693)
* feat: add parseMDSync to parser

* fix: update createStepFile function

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-03-31 18:19:46 +03:00
Renovate Bot 613fbf81ee fix(deps): update dependency unist-util-is to v4.1.0 2021-03-31 13:22:23 +00:00
Renovate Bot 30026f47c6 fix(deps): update dependency unist-util-find-all-after to v3.0.2 2021-03-31 11:58:03 +00:00
Renovate Bot 611b3b2a42 fix(deps): update dependency unist-util-find to v1.0.2 2021-03-31 07:22:21 +00:00
Renovate Bot 0f95411850 fix(deps): update dependency readdirp to v3.6.0 2021-03-31 02:43:28 +00:00
Renovate Bot ae9395648f fix(deps): update dependency js-yaml to v3.14.1 2021-03-30 21:39:20 +00:00
renovate[bot] 5dddfc5b7c
chore(deps): update dependency y18n [security] (#41657)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-30 11:13:57 +02:00
renovate[bot] 87684ad630
chore(deps): update dependency debug to v4.3.1 (#41622)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 19:04:29 +05:30
renovate[bot] fcf86af5b2
fix(deps): update dependency hast-util-to-html to v7.1.2 (#41647)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-29 18:14:19 +05:30
Renovate Bot 3a1dd37586 chore(deps): update dependency cross-env to v7.0.3 2021-03-28 19:04:32 +00:00
renovate[bot] 3b79eb47be
fix(deps): update dependency @octokit/rest to v18.5.2 (#41638)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-28 19:39:46 +05:30
renovate[bot] ab618c6f80
fix(deps): update dependency react-scripts to v2.1.8 (#41596)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-28 18:37:01 +05:30
renovate[bot] fd4cac780a
chore(deps): update dependency mongodb to v3.6.5 (#41630)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-28 13:58:37 +05:30
renovate[bot] 08114292c3
fix(deps): pin dependencies (#41589)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-27 20:57:57 +05:30
Mrugesh Mohapatra 42365dd172
fix: update package files, lerna config (#41599)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-03-27 07:46:20 -07:00
renovate[bot] 8df5293af3
chore(deps): update dependency node-notifier to 8.0.1 [security] (#41592)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-27 11:18:32 +05:30
Nicholas Carrigan (he/him) b2a339027f
feat(tools): add team reviewers (#41603) 2021-03-26 18:19:06 +01:00
renovate[bot] b7bfacc114
chore(deps): update dependency yargs-parser to 5.0.0-security.0 [security] (#41588)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-26 15:57:29 +05:30
Oliver Eyton-Williams 0d3158d4f4
fix(tests): add validation of comment translations (#41537) 2021-03-20 11:59:13 +05:30
Mrugesh Mohapatra e5763e9bb4
chore: remove extraneous files from contributor tools (#41488) 2021-03-16 12:32:50 -07:00
Oliver Eyton-Williams cbdf317aae
fix: suppress warning for seedless challenges (#41507)
Both challengeType 11 and challengeType 3 have no seeds, so there's no
need to warn about a lack of seed.

The warning has been updated to better reflect the problem (lack of
seed, not lack of comments)
2021-03-16 09:22:39 -06:00
Randell Dawson 50369edd12
feat(tools): Add a PR labeler action to the repo (#41458) 2021-03-13 22:14:19 +05:30
Mrugesh Mohapatra 6c91f81b0e chore(deps): upgrade eslint, prettier & related packages 2021-03-11 12:19:42 +05:30
Mrugesh Mohapatra 0a53a1d7f0 chore(deps): upgrade lerna to v4 2021-03-11 12:19:42 +05:30
Randell Dawson 75dc001aea
feat(tools): Add Crowdin PR creator action (#41383)
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-03-09 22:27:40 +05:30
Randell Dawson 48981bf997
feat(tools): Script to delete all translations of a language on Crowdin (#41380) 2021-03-07 10:15:51 +05:30
Oliver Eyton-Williams 3a5f272606
fix: prevent parser throwing when err is null (#41278) 2021-02-27 12:54:38 +05:30
Oliver Eyton-Williams d87d8f3dff fix(helpers): move to lockfile v2 2021-02-27 03:25:51 +05:30
Oliver Eyton-Williams df4c075103 fix(scripts): move to lockfile v2 2021-02-27 03:25:51 +05:30
Oliver Eyton-Williams 40d2796275 fix(parser): move to lockfile v2 2021-02-27 03:25:51 +05:30
Mrugesh Mohapatra b5f4754e2a
fix: re-revert the API decoupling (#41263)
* fix(api): decouple api from curriculum

This reverts commit 8f0e441644 and
introduces the implementations from #40703.

* fix(gitpod): add curriculum build to GitPod

This reverts commit 706d70f58d and
introduces implementations from #41234.

* docs: update DevOps manual for api change (#41259)

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-02-25 12:02:35 -08:00
Mrugesh Mohapatra 8f0e441644 revert(api): decouple api from curriculum
This reverts commit c077ffe4b9
via PR #40703
2021-02-25 03:40:09 +05:30
Randell Dawson 59a4cde9ed
feat(tool): Script to mark translated strings on Crowdin as "Done" (#41241) 2021-02-24 12:15:02 +05:30
Oliver Eyton-Williams 156f47b000
fix: only log errors when challenges update (#41214)
* fix: only log errors when challenges update

* refactor: handle error first

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-02-22 15:12:36 +05:30
Oliver Eyton-Williams c077ffe4b9
feat(api): decouple api from curriculum (#40703) 2021-02-22 12:23:59 +05:30
Oliver Eyton-Williams 04c2f4e620
fix: parse ::directives correctly (#41186) 2021-02-22 09:14:12 +05:30
Randell Dawson e8cfefd1bb
fix(tools): update default branch name to main (#41178) 2021-02-18 12:41:50 -08:00
Tawfik Yasser 5769d78b2b
fix : contributor's chat room link (#40931) 2021-02-06 15:06:16 +05:30
Oliver Eyton-Williams 48a210aeab chore: update parser description 2021-02-03 22:26:36 +05:30
Oliver Eyton-Williams 2fac5852ea chore: regenerate package-lock for parser 2021-02-03 22:26:36 +05:30
Oliver Eyton-Williams 184c1f5b9d chore: remove old validation scripts 2021-02-03 22:26:36 +05:30
Oliver Eyton-Williams 0f4e7b07f4 chore: remove old formatter 2021-02-03 22:26:36 +05:30
Oliver Eyton-Williams 73c06a5d71 refactor: tidy up translation-parser 2021-02-03 22:26:36 +05:30
Oliver Eyton-Williams 9ff3a29a72 refactor: remove remains of old parser 2021-02-03 22:26:36 +05:30
Oliver Eyton-Williams fffc0e51ec
chore(client): refactor & organise config (#40875) 2021-02-03 15:22:07 +05:30
Oliver Eyton-Williams 7ef29e62a8
fix(tools): upgrade warning to throw (#40880) 2021-02-03 15:13:32 +05:30
Randell Dawson f5f2df187b
fix(tools): Use endsWith instead of regex (#40888) 2021-02-03 13:30:56 +05:30
Randell Dawson 7a0d885813
fix(tools): Modiify removeDeletedFiles function to find all files instead of just markdown (#40887)
* fix: corrected file deletion function

* fix(tools): include dict

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* fix(tools): concat is non-mutating oops

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-02-02 20:42:23 -08:00
Randell Dawson 2f207c3827
fix(tools): Integrate certificate and comment dictionaries into the Curriculum project on Crowdin (#40872)
* fix: integrate certificate and dictionary files to Crowdin

* fix: correct linting issue

* fix: improved the isReserveredHeading function
2021-02-02 19:50:04 -08:00
Oliver Eyton-Williams a3a678b7af chore: remove old parser 2021-02-02 09:51:02 +05:30
Oliver Eyton-Williams e3511f2930 chore: rename challenge-md-parser 2021-02-02 09:51:02 +05:30
Mrugesh Mohapatra 6a09b9bce2 fix(client): refactor dynamic URLs based on lang (#40824) 2021-01-31 12:15:41 +05:30
Mrugesh Mohapatra 0b944ddfde fix(env): update variable validations (#40813) 2021-01-31 12:15:40 +05:30
Nicholas Carrigan (he/him) 59173b346a fix(tools): Validate `curriculum_locale` (#40572)
Adds validation for the `CURRICULUM_LOCALE`
environment variable in the same way the
`CLIENT_LOCALE` value is validated.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-31 12:15:35 +05:30
Tom 3978c6be28 feat: i18n user interface (#40306)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-01-31 12:15:32 +05:30
Tom 0e96d2604e
fix: delete existing users before seeding db (#40423) 2021-01-30 11:13:52 +05:30
Ikko Ashimine 660f17a1f3
fix: typo in get-file-visitor.js (#40713)
preceeding -> preceding
2021-01-19 14:09:58 +09:00
Randell Dawson f37dd6ff84
fix(tools) Improve efficiency of the Hide Non-translated Strings GitHub action (#40721)
* fix: changed update strings logic

* fix: pull all strings instead of strings by file

* fix: changed console.log message
2021-01-18 12:20:29 -06:00
Oliver Eyton-Williams ee1e8abd87
feat(curriculum): restore seed + solution to Chinese (#40683)
* feat(tools): add seed/solution restore script

* chore(curriculum): remove empty sections' markers

* chore(curriculum): add seed + solution to Chinese

* chore: remove old formatter

* fix: update getChallenges

parse translated challenges separately, without reference to the source

* chore(curriculum): add dashedName to English

* chore(curriculum): add dashedName to Chinese

* refactor: remove unused challenge property 'name'

* fix: relax dashedName requirement

* fix: stray tag

Remove stray `pre` tag from challenge file.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-12 19:31:00 -07:00
Randell Dawson 0095583028
feat: Crowdin integration scripts/actions (#40657) 2021-01-12 23:50:54 +05:30
Ikko Ashimine fbae6d0159
fix(tools): message typo in insert-spaces.js (#40614)
alway -> always
2021-01-05 12:00:34 +05:30
Ikko Ashimine 1e994407ca
fix(tools): message typo fix (#40537)
occured -> occurred
2020-12-28 15:50:21 +09:00
Oliver Eyton-Williams eb8359c281
feat: add script to annotate challenges for translation (#40366)
* feat: add script to annotate challenges for translation

* fix: readdirp-walk -> readdirp

* fix: remove notranslate for frontmatter

* fix: don't output seed/solution

* feat: convert to function

Also puts in some missing 'async's to make it clearer what returns
promises.

* refactor: use meaningful names

* refactor: remove comments

* chore: update dependencies

* chore: move dir

* fix(crowdin): annotate individual answers
2020-12-23 12:04:56 -07:00
Nicholas Carrigan (he/him) 994598900a
fix(dashboard): Use CDN for favicon (#40522)
* fix: Use CDN for favicon

Replaces the local favicon (which was not
rendering correctly on production) with the
version served by the CDN. Also adds our other
meta tags used for PWAs and OpenGraph Protocol.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* fix: remove local manifest

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2020-12-22 17:07:21 -07:00
Nicholas Carrigan (he/him) 0ff001eaed
docs: One remaining chat link (#40519)
Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2020-12-22 11:56:53 -07:00
Randell Dawson c8f6d15688
feat(tool): Add ability to view all open PRs for repos other than freeCodeCamp in the Dashboard app (#40453)
* feat: show open boilerplate prs on dashboard

fix:  rest of boilerplate server changes

fix: more

fix: other

* fix: update lib functions

* fix: retrofitted one-off scripts

* feat: added rateLimit for requests

* fix: reduce time

* fix: put limiter inside each route

* fix: make client show when rated limited

* fix: removed unused probot from app

* fix: renamed folders

* fix: consolidate config.js and constants.js

* chore: update octokit to latest version

* fix: remove invalid file

* fix: refactored update-db.js

* feat: add fcc logo

* fix: logo url

* fix: remove Home link

* fix: change link colors

* fix: added rate limiter to landing page

* fix: ran npm install in client to create package-lock.json

* fix: correct typo in doc

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* fix: Replace favicon, Gitter => Discord

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* fix: add extra linting guidance to package.json

* Ignore contributor app

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

* fix: revert linting rules for client

* fix: add skip_preflight_check=true for tests

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Kris Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2020-12-22 13:43:36 +09:00
Oliver Eyton-Williams 22fbc62f88
chore: format curriculum (#37912) 2020-12-15 21:22:02 +05:30
Shaun Hamilton c75b28faf2
feat(tools): add fully certified development user (#40181)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-12-03 21:15:45 +05:30
Oliver Eyton-Williams 0bd52f8bd1
Feat: add new Markdown parser (#39800)
and change all the challenges to new `md` format.
2020-11-27 10:02:05 -08:00
Oliver Eyton-Williams 25429b9f3f
fix: update linter for new challenge format (#40317)
Also uses yaml for better vscode integration
2020-11-26 17:42:57 +05:30
Oliver Eyton-Williams ebb4e0d5cc
fix: default to .env (#40315) 2020-11-25 23:15:59 +05:30
Twaha Rahman 625b12c4f2
feat(Cypress):Add tests for parts of `/settings` page (#39622)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-11-21 23:39:38 +05:30
Ashraf Nazar 9831df18e0
feat(profile): Add `Top Contributor` badge feature (#38348)
Co-authored-by: Twaha Rahman <39026437+Twaha-Rahman@users.noreply.github.com>
Co-authored-by: Twaha Rahman <mahi6703890@gmail.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2020-11-16 13:49:45 +05:30
Mrugesh Mohapatra 53ad373e47
chore(cleanup): remove search indexing tools (#40070) 2020-11-02 15:05:59 +09:00
Oliver Eyton-Williams 92a60f8bce fix(tools): update translation parser
Since we're adding more validation we can simplify the parser and
make sure it does catch all the comments.  Rather than worry about a
load of edge cases that do not appear in our challenges.
2020-10-22 03:18:16 +05:30
dependabot[bot] b1fb9150e8 chore(deps): bump to-vfile from 5.0.1 to 6.1.0
Bumps [to-vfile](https://github.com/vfile/to-vfile) from 5.0.1 to 6.1.0.
- [Release notes](https://github.com/vfile/to-vfile/releases)
- [Commits](https://github.com/vfile/to-vfile/compare/5.0.1...6.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-12 11:56:53 +00:00
Oliver Eyton-Williams 6241335380 chore(parser): remove jest 2020-10-12 15:23:05 +05:30
Oliver Eyton-Williams aa7a357aed chore(parser): minor version bumps 2020-10-12 15:23:05 +05:30
Randell Dawson 94f0cf0ef8
chore(learn): Remove remaining isHidden keys from frontmatter (English and Chinese challenges) (#39809)
* fix: remove isHidden key from tool template

* fix: removed isHidden key from English challenges

* fix: remove isHidden key from Chinese challenges
2020-10-08 14:18:47 +02:00
Oliver Eyton-Williams 1b895e7809 fix: translate title and dashName correctly 2020-10-06 23:10:08 +05:30
Randell Dawson 90f6d23639
feat(learn): Create tool to delete an existing project step in project-based curriculum (#39786)
* feat: created tool to delete step

* docs: update README.md with delete-step instructions

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-10-03 11:54:19 +02:00
Oliver Eyton-Williams 61ba415717
fix: tighten up ensure-env and env.js (#39694) 2020-09-26 00:40:17 +05:30
Oliver Eyton-Williams 4f68cc3126
fix: update env validation and include newest var (#39661) 2020-09-24 20:04:27 +05:30
Ahmad Abdolsaheb 1a66eac990 feat: render nav conditionally 2020-09-24 17:48:29 +05:30
Mrugesh Mohapatra 977d411a97 chore:(deps): apply npm audit fix to all packages 2020-09-24 16:29:55 +05:30
Twaha Rahman 984f311061
fix(Client): Use `font-display: fallback` to avoid FOIT (#39628) 2020-09-21 16:06:44 +03:00
Oliver Eyton-Williams aecbc28798
fix(tools): helper utils (#39603) 2020-09-17 18:22:55 +05:30
Randell Dawson 85925b5a30 chore: move to tools/challenge-helper-scripts 2020-09-17 16:17:37 +05:30
Oliver Eyton-Williams 7bed07ee8a fix(tools): update parser for multi-file editor 2020-09-16 11:54:13 +05:30
Oliver Eyton-Williams 6e091a7cdb test: update parser tests and snapshots 2020-09-16 11:54:08 +05:30
Oliver Eyton-Williams 0f3f27287d fix: unify single and multifile testing 2020-09-16 11:54:08 +05:30
Oliver Eyton-Williams 063145fe90 feat(parser): handle multi-file solutions 2020-09-16 11:54:05 +05:30
moT01 7bd6e77b0f feat: add multi file capabillity 2020-09-16 11:54:03 +05:30
Oliver Eyton-Williams 5fe16ada3d fix: parse certificates separately (#39182) 2020-09-16 11:54:02 +05:30
Oliver Eyton-Williams 0e1dca5924 feat(client): parse test 'text' as markdown (#39176) 2020-09-16 11:54:02 +05:30
Randell Dawson 8478e021bf feat (learn): Remove editable regions from seed code before displaying user's code (#39153)
* feat: pull editable region from markdown

* test: update seed tests to reflect new schema

* feat(curriculum): validate multi-file solutions

* test: add editableRegionBoundaries to schema

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-09-16 11:54:02 +05:30
Oliver Eyton-Williams f6f5603a88 chore: prevent builds when vars are missing 2020-09-04 00:14:24 +05:30
Oliver Eyton-Williams 40acb604d2 fix: remove migration seed and unused import 2020-09-01 11:35:44 +05:30
Oliver Eyton-Williams 1ad5f756e0 fix(api): remove redirects from api
They should be handled either by nginx or by the client. Turned out a
lot of code, including the path migration, existed to support them.
Hence the large number of removals
2020-09-01 11:35:44 +05:30
Mrugesh Mohapatra 33de8a03b5
fix: remove all extraneous env vars (#39443) 2020-08-21 03:59:27 +05:30
Oliver Eyton-Williams 1ec6cf1efd fix: handle video challenges 2020-08-16 04:45:19 +05:30
Oliver Eyton-Williams 2c78402837 fix: handle certificate challenges separately 2020-08-16 04:45:18 +05:30
Oliver Eyton-Williams 0952ca6bfd feat: parse translated challenges
Using the English challenge as a source for the seed, solution and tests
this takes the parts that can be translated from the translated version
of the challenge. It also translates known comments in the seed.
2020-08-16 04:45:17 +05:30
Oliver Eyton-Williams d41e44ebf9 test: add certificate specific tests 2020-08-16 04:45:17 +05:30
Oliver Eyton-Williams fa931134a4 test: add tests for translated challenge parser 2020-08-16 04:45:17 +05:30
Mrugesh Mohapatra adef746299
chore: move search-indexing, supress webpack-cli progress (#39367) 2020-08-09 04:17:10 +05:30