Commit Graph

711 Commits (123f16fcd3dc7a663c1c26319c552933c1794497)

Author SHA1 Message Date
Hamza Waleed ebec6705a3
feat(typescript): Add typescript support for UI components library (#43541)
* Add TS configs and improve dir structure

* Add TS configs and improve dir structure

* Fix components exports from index

* chore: prettier

* Add tsconfig and then fix the linter warnings

* Add @babel/preset-typescript

* Fix eslint rule and update btn component to fix storybook

* Fix TS and Jest configs

Converted all remaining files to TS as well

* Remove TS ignored rules and fixed some TS & jest stuff

* Revert to old directory structure

* Use absolute versions in package.json

* enable ts strict to infer types

Co-authored-by: Hamza Waleed <hamza.waleed@arbisoft.com>
2021-09-28 14:06:21 +03:00
renovate[bot] 8beb26e84e
chore(deps): update dependency typescript to v4.4.3 (#43316)
* chore(deps): update dependency typescript to v4.4.3

* fix: use UserType correctly

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-09-28 10:56:46 +02:00
renovate[bot] 1e25aa1c53
chore(deps): update dependency tailwindcss to v2.2.16 (#43575)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 22:15:22 +05:30
Renovate Bot b751becb40 chore(deps): update dependency @testing-library/react to v12.1.1 2021-09-27 15:02:33 +00:00
Renovate Bot bf83352e66 chore(deps): update dependency autoprefixer to v10.3.6 2021-09-26 13:18:29 +00:00
Renovate Bot 38f0bec2e3 chore(deps): update dependency postcss to v8.3.8 2021-09-25 10:50:22 +00:00
Nicholas Carrigan (he/him) 972c10a33d
chore: clean up comments (#43550) 2021-09-23 20:09:27 +02:00
Renovate Bot d47da0de51 chore(deps): update dependency rollup to v2.57.0 2021-09-23 01:52:18 +00:00
Renovate Bot b7b2033c3d fix(deps): update dependency node-fetch to v2.6.5 2021-09-22 21:14:48 +00:00
Renovate Bot 226f9f3a97 chore(deps): update dependency postcss to v8.3.7 2021-09-22 19:31:10 +00:00
Renovate Bot 98b06848a4 chore(deps): update dependency autoprefixer to v10.3.5 2021-09-22 11:30:24 +00:00
Renovate Bot 71e1693b29 chore(deps): update dependency @rollup/plugin-node-resolve to v13.0.5 2021-09-22 08:53:00 +00:00
Renovate Bot 95c210c38e fix(deps): update dependency node-fetch to v2.6.4 2021-09-21 14:43:37 +00:00
Renovate Bot f764699638 fix(deps): update dependency node-fetch to v2.6.3 2021-09-21 04:40:58 +00:00
Renovate Bot cdbbd168fd chore(deps): update dependency prettier to v2.4.1 2021-09-16 10:19:33 +00:00
Renovate Bot ff90a509f2 chore(deps): update dependency mongodb to v3.7.1 2021-09-14 21:28:19 +00:00
Renovate Bot 7b5d54bb78 chore(deps): update dependency @testing-library/react to v12.1.0 2021-09-11 13:34:10 +00:00
Renovate Bot 4ae1a50fd7 chore(deps): update dependency tailwindcss to v2.2.15 2021-09-10 14:10:13 +00:00
Mrugesh Mohapatra e9be93f964 chore(deps): npm audit fix - tools 2021-09-10 18:11:02 +05:30
renovate[bot] f46d183d95
chore(deps): update babel monorepo to v7.15.6 (#43424)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-10 15:27:27 +05:30
Renovate Bot 5bdf6159f5 chore(deps): update dependency prettier to v2.4.0 2021-09-09 13:38:43 +00:00
Renovate Bot 2c5ba710c3 fix(deps): update dependency react-i18next to v11.12.0 2021-09-08 20:12:09 +00:00
renovate[bot] 4950313ca0
chore(deps): update dependency remark-html to 13.0.2 [security] (#43400)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-08 13:46:01 -05:00
Renovate Bot 790f757f49 chore(deps): update dependency tailwindcss to v2.2.14 2021-09-08 16:58:31 +00:00
Renovate Bot 42b748edf2 chore(deps): update dependency tailwindcss to v2.2.12 2021-09-08 12:30:52 +00:00
Shaun Hamilton 6fd628f338
fix(tools): correct files -> challengeFiles (#43385) 2021-09-07 20:24:11 +05:30
Renovate Bot fa6d3f4cf2 chore(deps): update dependency tailwindcss to v2.2.11 2021-09-07 12:50:50 +00:00
Renovate Bot a5eafbf04f chore(deps): update dependency tailwindcss to v2.2.10 2021-09-06 22:06:25 +00:00
Renovate Bot c0922f814f fix(deps): update dependency node-fetch to v2.6.2 2021-09-06 16:07:22 +00:00
Renovate Bot ec34f0f918 chore(deps): update babel monorepo to v7.15.5 2021-09-04 11:01:38 +00:00
Renovate Bot 27622f7f94 chore(deps): update storybook monorepo to v6.3.8 2021-09-03 20:28:55 +00:00
Renovate Bot 53c88efb0d chore(deps): update dependency autoprefixer to v10.3.4 2021-09-03 01:41:02 +00:00
Renovate Bot 271c16213a chore(deps): update babel monorepo to v7.15.4 2021-09-03 00:18:55 +00:00
Renovate Bot 212c5d8567 chore(deps): update dependency mongodb to v3.7.0 2021-08-31 22:40:56 +00:00
Mrugesh Mohapatra 61b390d075 chore(deps): npm audit fix - tools 2021-08-31 21:38:48 +05:30
Renovate Bot b465ee0ac1 chore(deps): update dependency mongodb to v3.6.12 2021-08-30 21:36:51 +00:00
Renovate Bot 39117312ca chore(deps): update dependency tailwindcss to v2.2.9 2021-08-30 13:47:23 +00:00
Renovate Bot 920c849090 chore(deps): update dependency tailwindcss to v2.2.8 2021-08-27 11:54:41 +00:00
Renovate Bot 5cc76bdc88 chore(deps): update dependency autoprefixer to v10.3.3 2021-08-26 21:11:38 +00:00
Nicholas Carrigan (he/him) 3ed507a817
fix: unhide this string (#43292)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-08-26 08:32:10 +05:30
Christian Z. Tamayo a42348d3b9
test: Privacy terms redirection (#43195) 2021-08-24 22:36:23 +05:30
Renovate Bot d2af4c69d2 chore(deps): update dependency rollup to v2.56.3 2021-08-23 09:59:19 +00:00
Renovate Bot 6f720dc068 chore(deps): update dependency autoprefixer to v10.3.2 2021-08-21 21:32:09 +00:00
arfy slowy 815f588942
fix: typo grammar (#43259) 2021-08-21 09:26:03 +02:00
Renovate Bot ea97315531 fix(deps): update dependency @actions/core to v1.5.0 2021-08-20 03:04:02 +00:00
Renovate Bot 24c482b18c chore(deps): update dependency ts-node to v10.2.1 2021-08-18 19:58:44 +00:00
Shaun Hamilton c2a11ad00d
feat: add 'back/front end' in curriculum (#42596)
* chore: rename APIs and Microservices to include "Backend" (#42515)

* fix typo

* fix typo

* undo change

* Corrected grammar mistake

Corrected a grammar mistake by removing a comma.

* change APIs and Microservices cert title

* update title

* Change APIs and Microservices certi title

* Update translations.json

* update title

* feat(curriculum): rename apis and microservices cert

* rename folder structure

* rename certificate

* rename learn Markdown

* apis-and-microservices -> back-end-development-and-apis

* update backend meta

* update i18n langs and cypress test

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

* fix: add development to front-end libraries (#42512)

* fix: added-the-word-Development-to-front-end-libraries

* fix/added-the-word-Development-to-front-end-libraries

* fix/added-word-development-to-front-end-libraries-in-other-related-files

* fix/added-the-word-Development-to-front-end-and-all-related-files

* fix/removed-typos-from-last-commit-in-index.md

* fix/reverted-changes-that-i-made-to-dependecies

* fix/removed xvfg

* fix/reverted changes that i made to package.json

* remove unwanted changes

* front-end-development-libraries changes

* rename backend certSlug and README

* update i18n folder names and keys

* test: add legacy path redirect tests

This uses serve.json from the client-config repo, since we currently use
that in production

* fix: create public dir before moving serve.json

* fix: add missing script

* refactor: collect redirect tests

* test: convert to cy.location for stricter tests

* rename certificate folder to 00-certificates

* change crowdin config to recognise new certificates location

* allow translations to be used

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

* add forwards slashes to path redirects

* fix cypress path tests again

* plese cypress

* fix: test different challenge

Okay so I literally have no idea why this one particular challenge
fails in Cypress Firefox ONLY. Tom and I paired and spun a full build
instance and confirmed in Firefox the page loads and redirects as
expected. Changing to another bootstrap challenge passes Cypress firefox
locally. Absolutely boggled by this.

AAAAAAAAAAAAAAA

* fix: separate the test

Okay apparently the test does not work unless we separate it into
a different `it` statement.

>:( >:( >:( >:(

Co-authored-by: Sujal Gupta <55016909+heysujal@users.noreply.github.com>
Co-authored-by: Noor Fakhry <65724923+NoorFakhry@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-08-13 21:57:13 -05:00
Shaun Hamilton 59f17f237b
refactor: files{} -> challengeFiles[], and key -> fileKey (#43023)
* fix(client): fix client

* fix propType and add comment

* revert user.json prettification

* slight type refactor and payload correction

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* update ChallengeFile type imports

* add cypress test for code-storage

* update test and storage epic

* fix Shaun's tired brain's logic

* refactor with suggestions

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* update codeReset

* increate cypress timeout because firefox is slow

* remove unused import to make linter happy

* use focus on editor

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* use more specific seletor for cypress editor test

* account for silly null challengeFiles

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-08-12 20:48:28 +02:00
Renovate Bot 81f5f7795a chore(deps): update dependency rollup-plugin-postcss to v4.0.1 2021-08-12 14:30:47 +00:00
Renovate Bot 3133723f4a chore(deps): update dependency rollup to v2.56.2 2021-08-10 09:00:00 +00:00
Renovate Bot be9c3f0cc0 chore(deps): update storybook monorepo to v6.3.7 2021-08-09 19:54:10 +00:00
Renovate Bot e0abfc5cf6 chore(deps): update dependency ts-node to v10.2.0 2021-08-09 05:33:19 +00:00
Ahmad Abdolsaheb b623c340a9
feat(client): add google pay (#43117)
* feat: initial button setup client

* feat: rename walletsButton to .tsx

* chore: typescriptize wallet component

* chore: re-add keys to config, env, etc + check in gatsby-node

* feat: refactor donate form and wallet component

* feat(client): set labels correctly

* chore: add stripe package back to server

* chore: add stripe back to allowed paths

* chore: copy donate.js code from PR #41924

* feat: attempt to make back end work

* feat: make redux work

* feat: clean up

* feat: hokify

* feat: add error handling

* fix: back-end should be working

* fix: type errors

* fix: clean up back-end

* feat:addd styles

* feat: connect the client to the api

* feat: display wallets button everywhere

* test: add stripe key for cypress action

* test: fix for cypress tests

* test: cypress tests again

* test: maybe?

* test: more

* test: more

* test: more

* test

* askdfjasklfj

* fix: tests finally?

* revert: remove space from cypress yaml action

* remove logs

Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-08-08 23:22:25 +03:00
Renovate Bot 6f5d796168 chore(deps): update dependency rollup to v2.56.1 2021-08-08 14:08:35 +00:00
Renovate Bot 555b473339 chore(deps): update dependency mongodb to v3.6.11 2021-08-05 18:29:06 +00:00
Renovate Bot ba388056c3 chore(deps): update dependency rollup to v2.56.0 2021-08-05 10:48:48 +00:00
Renovate Bot 35cdece8d7 chore(deps): update babel monorepo to v7.15.0 2021-08-05 00:13:20 +00:00
Oliver Eyton-Williams e118dda13a
fix: order imports and remove circular dependencies (#41824)
* fix: remove circular dependency

redux depended on templates/Challenges/redux and vice versa.  This
meant that import order mattered and confusing bugs could arise.

(cherry picked from commit 7d67a4e70922bbb3051f2f9982dcc69e240d43dc)

* feat: require imports to be in alphabetical order

Import order generally does not matter, but there are edge cases
(circular  imports and css imports, for example) where changing order
changes behaviour

(cherry picked from commit b8d1393a91ec6e068caf8e8498a5c95df68c2b2c)

* chore: order imports

* fix: lift up challenge description + title comps

This brings the classic Show closer to the others as they
now all create the description and title components

* fix: remove donation-saga/index circular import

(cherry picked from commit 51a44ca668a700786d2744feffeae4fdba5fd207)

* refactor: extract action-types from settings

(cherry picked from commit 25e26124d691c84a0d0827d41dafb761c686fadd)

* fix: lint errors

* feat: prevent useless renames
2021-08-02 08:39:40 -05:00
Renovate Bot e8dd7f5929 chore(deps): update babel monorepo to v7.14.9 2021-08-01 09:26:37 +00:00
Renovate Bot f0452399fb chore(deps): update dependency rollup to v2.55.1 2021-07-29 21:44:51 +00:00
Renovate Bot 5432354361 chore(deps): update dependency rollup to v2.55.0 2021-07-28 09:22:34 +00:00
Renovate Bot 9104bd45a6 chore(deps): update dependency @rollup/plugin-commonjs to v19.0.2 2021-07-26 16:53:02 +00:00
Renovate Bot e07d95d440 chore(deps): update storybook monorepo to v6.3.6 2021-07-26 08:46:21 +00:00
Renovate Bot 4ed074ccfd chore(deps): update dependency @rollup/plugin-node-resolve to v13.0.4 2021-07-25 08:53:52 +00:00
Renovate Bot 427c464dcc chore(deps): update dependency rollup to v2.54.0 2021-07-25 07:41:36 +00:00
Renovate Bot 0d6bfaa4d4 chore(deps): update dependency @rollup/plugin-node-resolve to v13.0.3 2021-07-24 20:24:31 +00:00
Renovate Bot 8b2eaec191 chore(deps): update dependency tailwindcss to v2.2.7 2021-07-23 12:50:17 +00:00
Renovate Bot 5f37ca8251 chore(deps): update storybook monorepo to v6.3.5 2021-07-22 22:02:25 +00:00
Renovate Bot fed983d69f chore(deps): update dependency tailwindcss to v2.2.6 2021-07-21 23:40:11 +00:00
Renovate Bot 0e611f321e chore(deps): update dependency postcss to v8.3.6 2021-07-21 18:03:15 +00:00
Shaun Hamilton cefb973c14
fix(tools): fix insert-erms helper script (#42903)
* fix(tools): fix insert-erms helper script

* only throw if undefined erms

* revert last two commits

* fix insertErms the correct way
2021-07-21 11:14:22 -05:00
Renovate Bot 4e696687a1 chore(deps): update dependency tailwindcss to v2.2.5 2021-07-21 14:42:48 +00:00
Renovate Bot c6ce66e930 chore(deps): update dependency rollup to v2.53.3 2021-07-21 09:15:10 +00:00
Renovate Bot 1e86dae25b chore(deps): update babel monorepo to v7.14.8 2021-07-20 20:09:11 +00:00
Renovate Bot 885fbe694e chore(deps): update dependency @rollup/plugin-node-resolve to v13.0.2 2021-07-16 00:22:55 +00:00
Renovate Bot d3496750a7 chore(deps): update dependency @rollup/plugin-commonjs to v19.0.1 2021-07-15 19:41:26 +00:00
Renovate Bot d0f94c5ab5 chore(deps): update dependency @rollup/plugin-node-resolve to v13.0.1 2021-07-15 16:56:45 +00:00
Renovate Bot 30c22d1fb3 chore(deps): update dependency rollup to v2.53.2 2021-07-15 09:48:03 +00:00
Renovate Bot 505c3b7c6c chore(deps): update dependency inquirer to v8.1.2 2021-07-14 18:00:36 +00:00
Renovate Bot d8262375fd chore(deps): update dependency autoprefixer to v10.3.1 2021-07-12 18:46:16 +00:00
Renovate Bot 67ef1238e5 chore(deps): update dependency rollup to v2.53.1 2021-07-11 08:46:59 +00:00
Renovate Bot ba24087c54 chore(deps): update dependency autoprefixer to v10.3.0 2021-07-10 12:46:21 +00:00
Renovate Bot a3395269a0 chore(deps): update dependency ts-node to v10.1.0 2021-07-09 23:13:46 +00:00
Renovate Bot be5fec4bb5 chore(deps): update dependency rollup to v2.53.0 2021-07-09 10:44:49 +00:00
Renovate Bot 9252a071d8 chore(deps): update storybook monorepo to v6.3.4 2021-07-08 17:21:34 +00:00
Renovate Bot be90dc4494 chore(deps): update storybook monorepo to v6.3.3 2021-07-07 17:05:20 +00:00
renovate[bot] 313caf1fb1
chore(deps): update dependency rollup to v2.52.8 (#42779)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 11:49:43 +05:30
Renovate Bot 3cbb0275ae chore(deps): update dependency @types/inquirer to v7.3.3 2021-07-07 03:33:06 +00:00
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
Oliver Eyton-Williams 4a1d5e9b05 chore: bump build 2020-08-04 03:50:20 +05:30
Oliver Eyton-Williams 189859f772 chore: bump parser 2020-08-04 03:50:20 +05:30
Oliver Eyton-Williams 3cc53b78f1 chore: bump seed 2020-08-04 03:50:20 +05:30
Oliver Eyton-Williams de3492fded
Chore: remove old translation tools, import parser (#39273) 2020-07-27 18:11:53 +05:30
Nicholas Carrigan 1e0e54446f
chore: replace forum links (#39139) 2020-06-30 14:21:26 +05:30
Oliver Eyton-Williams 7323cc5619
chore: remove challenge seeding 2020-06-23 11:27:17 +02:00
Kristofer Koishigawa 6e5988da4e
fix(learn): versioning for new certificate slugs (#39087) 2020-06-17 20:30:31 +05:30
Kristofer Koishigawa 77df0e32cd
feat(learn): rename certificates, cert slugs, and cert flags (#39026) 2020-06-15 21:51:30 +05:30
Mrugesh Mohapatra a02ff7b08e
fix(certs): add year to certs introduced in 2020 (#38912) 2020-06-04 13:13:07 +05:30
Oliver Eyton-Williams 1244e9775f
fix(client): allow numbers as answers (#38992)
Handles yaml floats.
2020-06-02 22:22:44 +05:30
Oliver Eyton-Williams de0bec88a3 feat: process video question md into html (#38667)
* feat: process video question md into html

* test: mdToHTML

* fix: use dedicated prism component
2020-05-27 13:19:14 +05:30
Beau Carnes 256ed00fb9 feat(learn): split InforSec and QA into individual certs (#38347)
Co-authored-by: Mrugesh Mohapatra <me@raisedadead.com>
Co-authored-by: Kris Koishigawa <scissorsneedfoodtoo@gmail.com>
2020-05-27 13:19:12 +05:30
Beau Carnes e776529ed0 feat(learn): add python video challenges (#38424) 2020-05-27 13:19:09 +05:30
mrugesh 22afc2a0ca feat(learn): python certification projects (#38216)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Beau Carnes <beaucarnes@gmail.com>
2020-05-27 13:19:08 +05:30
MarceloDamian 8399dd543a
docs(tools): update broken link to dashboard (#38643) 2020-04-27 17:20:50 +05:30
MarceloDamian 8d1a1ce3b1
fix(tools) Fixed documentation comments on different .js files (#38642) 2020-04-26 17:24:24 +05:30
Mrugesh Mohapatra 35898e27f8 fix: update labels for learn 2020-04-23 20:01:52 +05:30
Mrugesh Mohapatra 21b27cb7c1
feat: import contribute tools (#38509)
* first commit

* add: adding all files

* added package-lock.json

* fix: labler and getOpenPrs working

* fix: fixed bug with prFilter function

* feat: can check for multiple errors

* add: install more libraries

* refactor: uses getOpenPrs to get PRs

* packages: modified

* feature: added addComment feature

* feature: added ability to check guide errors

* add: added  guideFolderChecks

* fix: corrected issue with open/close

* update: installed new libraries

* fix: updated guide checker

* feat: create license

* fix: update the comment template (#2)

* fix: comment section

* fix: add org name keys

* fix: corrected guide error logic

* fix: removed console.log

Co-Authored-By: RandellDawson <5313213+RandellDawson@users.noreply.github.com>

* fix: corrected guideFolderChecks reduce

* refactor: removed setInterval logic

* feat: added new utilities module

* fix: addComment and labler issues

* feat: changed to module.exports

* fix: improved log file data

* fix: use config var for rateLimiter

Co-Authored-By: RandellDawson <5313213+RandellDawson@users.noreply.github.com>

* fix: used config var for rateLimiter

Co-Authored-By: RandellDawson <5313213+RandellDawson@users.noreply.github.com>

* fix: add vars for production

* fix: add work-logs config

* fix: update gitconfig for work-logs

* fix: update path to work-logs

* docs(readme): add exception for admin v. user

* fix: dotenv will coerce boolean from string (#10)

* fix: changed to sync file save

* feat: updated label script

* feat: installed new libraries

* feat: renamed labelOpenPrs.js to sweeper.js

* feat: 1st attempt repo restructure

* feat: added descriptions to one-off scripts

* fix: rewrote the missing frontmatter message

* feat: created one-off scripts to find frontmatter issues

* fix: add links to relevant style guide

* fix: corrected gitignore input-files

* feat: renamed files/folders to lowercase

* fix: changed prStat.js to pr-stats.js

* fix: renamed prStat.js to pr-stats.js

* fix: renamed addLabels.js to add-labels.js

* fix: deleted typo

* feat: changed .env variables

* fix: added rateLimiter after retrieving pr files

* feat: improved logging functionality

* fix: added catch for unexpected frontmatter error

* fix: changed verbiage unexpected frontmatter error

* fix: correct logging bug

* feat: improved findFailures.js and closeOpen.js

* feat: modified the close/open scripts

* refac: moved labeler.js to pr-tasks

* fix: changed rateLimter time in close-open

* fix: changed delay between close/open

* install: added cli-progress library

* feat: added 2 progress bars for sweeper

* fix: changed rateLimiter for pr-relations script

* fix: corrected directory path for renaming of file to work

* first commit

* first commit

* test travis setup

* more travis setup

* get payload

* test

* test

* test

* app yml pull_requests write

* non-working pullRequest createComment

* problem setting permissions

* create-react-app setup.

* Added styled-components dependency.

* Merge pull request #1 from RandellDawson/feature/prototype

Created prototype.

* Merge pull request #3 from RandellDawson/feat/add-links-to-results

fix: improved input elem behavior

* wip

* test on repo

* tests passing

* fix test title

* issues--write in app.yml

* fix getLabel to createLabel pipeline

* this github scope

* Merge pull request #5 from RandellDawson/refactor/input-react-component

Implemented ref forwarding for Input component. Minor clean up.

* Merge pull request #6 from RandellDawson/feature/search-with-enter-keypress

Added the ability to search by pressing Enter. Associated refactoring.

* Merge pull request #7 from RandellDawson/feature/display-username-with-prs

Added the ability for usernames to be displayed along with found PRs.

* Merge pull request #8 from RandellDawson/feat/report-improvements

Feature: Added Pareto Report and Tabs Navigation

* Merge pull request #9 from RandellDawson/feature/styled-tab-borders

Restyled tab borders to remove doubled-up borders.

* Merge pull request #10 from RandellDawson/feature/styled-components-theme

Implemented styled-components theme.

* Merge pull request #11 from RandellDawson/feature/root-package-json

Adde `package.json` and `.gitignore` to the root folder.

* Merge pull request #14 from RandellDawson/feat/create-search-component

[feature] created Search component

* Merge pull request #16 from RandellDawson/feat/create-search-component

[Feature] Finalized Search Component functionality

* Merge pull request #18 from RandellDawson/fix/correct-search-result-messages

[Fix] Correct search result messages and add info footer

* Merge pull request #19 from RandellDawson/fix/change-link-color

[Fix] Changed links from blue to 006400

* refactor: move sweeper logic to its own directory

* feat: lernafy the sweeper

* refactor: prepare for dashboard backend move

* docs: re-arrange files for cleaner structure

* refactor: prepare @tbushman 's probot for move

* fix: prepare for importing probot

* chore(.gitignore): update root level and remove redundant copy

* refactor: prepare dashboard-client for move

* refactor: prepare repo for bringing in dashboard client

* chore: install deps, remove clutter

* feat: improve efficiency of pr relations script (#23)

* chore: update lock file (#24)

* Feature: API endpoint constants (#30)

* Implemented expeced behaviour for text input.

* Added constants for API endpoints. Refactored Footer, Pareto and Search components accordingly.

* fix: fixed several issues after move to mono repo (#31)

This PR has the following items:

1. Introduces a couple of fixes to the sweeper script from issues right before the move to the mono repo.  These were related to moving labeler out of the root of the sweeper folder and placing into the pr-tasks sub-folder.

2. Combined two scripts which were being used to update the data manually on Glitch (pr-relations.glitch.me).  The new one-off script (get-pr-relations-data.js) downloads the current data.json and then pulls down applicable Github data which updates the data.json and automatically uploads it back to the Glitch server.

3. In an effort to use the same log file across all current one-off scripts and sweeper.js, the ProcessLog class was modified, so now every log created has the same JSON structure as is uploaded to the Glitch server.  This removed a lot of redundant code across 3 files.

4. During a pair-coding session with @honmanyau, we tweaked the UI for the Dashboard app to give it a more consistent look across all views.

5. Based on feedback from a couple of the moderators using the new Dashboard app, the PR title was added along with some other styling. 

6. Added some environment variables for running dashboard-api and dashboard-client in a development mode.

7.  Added a sample_data.json file as a starter file, so someone does not have to do a full data pull to get things up and running. 

8. Modified Pareto view to only display files with 2 or more PRs to speed up the report.

* fix(.env): update paths relative from root of repo (#37)

* docs: update notes on the setup

* feat(tools): add eslint and prettier (#19)

* refactor(lint): apply linting from the tools (#39)

* Revert "refactor(lint): apply linting from the tools (#39)" (#40)

This reverts commit 8be7d12cb3.

* chore: made changes to move off of Glitch

* fix: removed extra lines from sample.env

* docs: added local setup instructions

* docs: update local setup instruction

* docs: update contributing

* docs: create readme.md

* fix(client): CRA config conflicts with the babel-eslint from root (#42)

* feat: add routes and mongodb (#34)

* fix: removed dependace on data.json

* docs: updated README.md

* fix: corrected issues with pareto.js and pr.js

* refactor: simplified mongoose related logic

* feat: added seed shortcut to package.json

* fix: corrected typo

* fix: fixed bug with info.js

* fix: simplified info.js

* fix: corrected updatedAt Schema issue

* fix: corrected typo in comment

* chore(lockfile): update after install from root

* fix: add a seed script to root

* Fix/restructuring and unify code logic (#48)

* fix: first pass at restructure linting cleanup

* fix: second pass of restructure

* fix: corrected path for index.html

* Fix/restructuring (#49)

* moving server scripts to probot/index.js

* non-working express.static config

* config move for seed

* change constant API_HOST to /contribute/

* remove winston

* remove error middleware

* put back client in lerna.json

* fix: fixed CRA static folder issue

* fix: added work-logs folder for one-offs

* small changes

* change /contribute route to /dashboard

* fix: use cross-env in package.json

* formatted with prettier (#50)

* encode mongo uri (#51)

* fix: removed ref to probot/client/.env

* Fixed the format command (#55)

* chore: update lockfile (#56)

* fix: corrected config.oneoff.productionRun issue (#52)

In an earlier PR I use `joi` to make PRODUCTION_RUN environment variables a Boolean, but did not change to the correct reference and did not change the code logic to compare to a Boolean instead of a String value (as it had been before).  This PR corrects that logic, so that the one-off scripts will work in a production mode again.  Also, removed the now unnecessary ` SKIP_PREFLIGHT_CHECK` environment variable from the `probot/.env` file.

* fix: ran npm run format

* fix: corrected some require paths for update-db.js

* fix: drop only specified collections in models.js

* fix: removed lerna for two run scripts

* remove unnecessary environment variables and npm scripts (#59)

* fix: removed config variables not needed

* fix: added pem files to gitignore

* feat: added one-off-script to add english labels

* fix: modified script description

* fix: updated script to use aggregate function

* fix: added note about needing to change url

* init tests

* .toHaveBeenCalledTimes(0) for unrelated PR files

* run tests from root

* lerna run test --scope determined by 'name' field in each package.json

* run jsx in node with .mjs

* shut down mongoose afterEach test

* npm-run-all

* mongoose in tests

* comment out failing script for now

* use probot to get filenames

* remove jsdom and uncomment mongo updateOne test

* only connect mongoose once and better test for PRtest.delete

* fix: added cross-env on npm test and start

* fix: ignore PEM files

* fix: get probot to add stff to db

* fix: changed to aggregate to get info

* fix: renamed update-db to reflect probot

* dashboard route working

* fix: remove calls to update db for now

* fix: update db script for crontab

* Fix: Removal of seed-db (#64)

* fix: removed seeding from production

* fix: removed npm start from instructions

* Fix: Simplify log files for one off scripts (#65)

* fix: removed seeding from production

* fix: removed npm start from instructions

* fix: removed indices from log file

* fix: update lockfile (#66)

* docs: create a CoC

* fix: increased the number of files pulled per PR to Github max of 300 (#70)

* fix: made CRA work with local server running

* added run command just for CRA dev mode

* feat: started working on adding Pareto filters

* fix: added missing fonts for landing page

* fix: filter functionality complete

* fix: removed other as an option

* fix: make language all if no language for filetype

* feat: add some develop scripts

* responsive css (#73)

* Fix broke link of contribution guide (#75)

* [Fix] Update landing page links and make styling for landing page and Dashboard match (#79)

* fix: corrected links and changed header links

* fix: added fonts

* fix: changed layout of Pareto options

* fix: match main page styling

* fix: adjusted padding on menu

* fix: correct link href for Home

* fix: changed title of Dashbaord

* [Fix] Corrected client page title typo (#83)

* fix: corrected typo in page title

* fix: add info record if no collection exists

* docs: updated docs relating to local dev ports

* fix: add count increment when adding

* fix: be able to specify lanuage

* feat: new script to find merge conflicts

* fix: added recheck for unknown status

* fix: add pr number to no results message

* fix: changed from notifying to adding label

* chore: update lockfiles (#92)

* docs: update setup docs (#93)

* fix: update lerna config to install in ci mode

* docs: update readme

* fix/update-local-setup-doc (#98)

* fix/update-local-setup-doc

* fix/capitalization

* Update docs/README.md

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Update docs/README.md

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Update docs/README.md

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Update docs/README.md

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* fix/update-homepage-instruction

* fix: remove all guide related code

* chore: remove eslint config from dashboard

* fix: temporarily pause linting of tools/dashboard

Remove this when we have time to configure it properly.

* fix: pause testing on tools/dashboard

Co-authored-by: Randell Dawson <rdawson@onepathtech.com>
Co-authored-by: RandellDawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: tbushman <tbushman@pu.bli.sh>
Co-authored-by: Honman Yau <honmanyau@users.noreply.github.com>
Co-authored-by: Valeriy <ValeraS@users.noreply.github.com>
Co-authored-by: Tracey Bushman <tracey.bushman@gmail.com>
Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>
Co-authored-by: Musthaq Ahamad <musthu.gm@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-04-07 18:28:56 +05:30
Mrugesh Mohapatra 13b248d464 chore: npm audit fix in all packages 2020-04-07 14:24:34 +05:30
Oliver Eyton-Williams 23b899f50f fix(csrf): remove all csrf bypass 2020-03-17 23:28:23 +05:30
Oliver Eyton-Williams 35578720e5 chore: update build 2020-03-17 11:09:12 +05:30
Oliver Eyton-Williams b350efef5b chore: update seed 2020-03-17 11:09:12 +05:30
Oliver Eyton-Williams d2e1326e71 chore: update parser 2020-03-17 11:09:12 +05:30
Josh Soref 004b99bf8f chore: fix typos in spelling (#38100)
* spelling: accidentally

* spelling: announce

* spelling: assembly

* spelling: avoid

* spelling: backend

* spelling: because

* spelling: claimed

* spelling: candidate

* spelling: certification

* spelling: certified

* spelling: challenge

* spelling: circular

* spelling: it isn't

* spelling: coins

* spelling: combination

* spelling: compliant

* spelling: containers

* spelling: concise

* spelling: deprecated

* spelling: development

* spelling: donor

* spelling: error

* spelling: everything

* spelling: exceed

* spelling: exist

* spelling: falsy

* spelling: faulty

* spelling: forward

* spelling: handle

* spelling: indicates

* spelling: initial

* spelling: integers

* spelling: issealed

* spelling: javascript

* spelling: length

* spelling: maximum

* spelling: minimum

* spelling: mutable

* spelling: notifier

* spelling: coordinate

* spelling: passport

* spelling: perform

* spelling: permuter

* spelling: placeholder

* spelling: progressively

* spelling: semantic

* spelling: submission

* spelling: submit

* spelling: translations

* spelling: turquoise

* spelling: visualization

* spelling: without

* spelling: registration

* spelling: representation
2020-02-08 23:59:10 +05:30
dependabot[bot] 6756c06fcd chore(deps): bump handlebars from 4.1.2 to 4.5.3 (#37987)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: null <49699333+dependabot[bot]@users.noreply.github.com>
2019-12-27 22:15:58 +05:30
dependabot[bot] 5c567092d7 chore(deps): bump handlebars from 4.1.2 to 4.5.3 in /tools/scr… (#37991)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: null <49699333+dependabot[bot]@users.noreply.github.com>
2019-12-27 22:15:38 +05:30
dependabot[bot] 72152b7331 chore(deps): bump handlebars from 4.1.2 to 4.5.3 in /tools/cha… (#37990)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: null <49699333+dependabot[bot]@users.noreply.github.com>
2019-12-27 22:14:56 +05:30
Mrugesh Mohapatra fdb17223ec revert : Added displayUsername and username update functionality
removes implemenation from #35699
This reverts commit e154f38118.
2019-12-13 01:07:05 +05:30
Catalina e154f38118 Added displayUsername and username update functionality (#35699)
* Added displayUsername and username update functionality

* fix: move username assignment to safe place

moved the username assignment down a statement so that it doesn't cause exception 

* fix: handle missing username or displayUsername

* refactor: remove redundant code
2019-12-11 12:43:06 +01:00
Mrugesh Mohapatra 0f5b9f8764 fix(client): temporary redirect for donation settings 2019-12-10 17:55:57 +01:00
mrugesh 6db5292521
fix: update to forced redirects (#37337) 2019-10-16 17:17:57 +05:30
mrugesh 21df53afd0
fix(redirects): update domain redirects (#37306) 2019-10-15 18:32:35 +05:30
mrugesh 7c31a49296
revert: point to the subdomain instead (#37155)
This reverts commit 3fa6c6a032.
2019-10-09 10:23:59 -07:00
mrugesh 4889e0fdc6
fix(client,tools): update proxy and location paths (#37106) 2019-10-07 16:42:07 -07:00
Mrugesh Mohapatra e5e5353ff1 fix: point to the subdomain instead 2019-10-07 15:19:01 -07:00
Oliver Eyton-Williams 9c2f1ffd82 refactor: combine slug utils into one module 2019-09-26 22:15:27 +05:30
Valeriy a17c3c44aa fix: recreate translated challenges 2019-09-18 12:05:38 +05:30
Ahmad Abdolsaheb 0f3e248b5b fix: clean up old views (#36778)
* fix: clean up

* fix: redirect /software-resources-for-nonprofits

* fix: update snap and redirect
2019-09-15 13:06:11 +05:30
Mrugesh Mohapatra e7c82713e4 fix(landing): redirect welcome to home 2019-09-04 18:23:22 +05:30
moT01 afc431e900 fix: restrict usernames that are keywords
fix: the rest of the typo (unsunscribe to unsubscribe)

fix: restrict copyright and copyright-policy and add appropriate redirects

fix/forgot-to-save-this-file-before-last-commit

fix: remove-duplicate+fix-typo

fix: update-snapshot
2019-08-29 23:33:01 +05:30
Mrugesh Mohapatra f0329da61a fix(redirects): update redirection paths and codes 2019-08-20 00:23:21 +05:30
Mrugesh Mohapatra de6f32cd33 fix(redirects): update redirection paths and codes 2019-08-19 22:48:03 +05:30
mrugesh 5f97782eb0
fix: add identicon natively (#36633) 2019-08-19 19:17:53 +05:30
mrugesh 985daf5e5a
fix(redirects): update app paths and other misc. (#36635) 2019-08-19 19:17:27 +05:30
Mrugesh Mohapatra ac50216949 fix: NODE_ENV conflicts on pipelines 2019-08-19 01:37:32 +05:30
Mrugesh Mohapatra 1b0441f76c fix: rename redirect generator scripts 2019-08-14 19:23:25 +05:30
Mrugesh Mohapatra 31f337f2bd fix(tools): update challege formatting check 2019-08-05 22:14:37 +05:30
mrugesh 603c842c97
fix(lint): re-arrange scripts (#36511) 2019-07-26 00:45:31 +05:30
Mrugesh Mohapatra 75ecf9a2f7 chore: fix lodashes everywhere - security alerts 2019-07-24 22:06:15 +05:30
Mrugesh Mohapatra 61071b8afc fix(parser): bump version and publish 2019-07-22 17:10:54 +05:30
Oliver Eyton-Williams f809100406 fix(tools): Correct broken test 2019-07-19 15:30:17 +05:30
Oliver Eyton-Williams 924f995af3 fix(tools): Relax rules for the guide 2019-07-19 15:30:17 +05:30
Oliver Eyton-Williams 9de68bd4a7 feat: Add rule checking Prism languages
The linter now checks that fences have languages and that those languages are
supported by PrismJS. The linter has been extended over the guide with its own
set of rules that only validate code fences.
2019-07-19 15:30:17 +05:30
Mrugesh Mohapatra c5fd478d9a fix(deploy): misc. re-arrange scripts and organize 2019-06-21 00:53:05 +05:30
Mrugesh Mohapatra 1ca8ef755b chore: move build scripts 2019-06-16 19:47:56 +05:30
Mrugesh Mohapatra 0ffca02ec1 fix: remove medium links and rss feeds 2019-06-16 00:23:41 +05:30
ValeraS e7ae9a5b45 fix: bootstrap packages 2019-06-12 02:49:30 +05:30
kozlovvski d6a6504f74 chore(tools): updated jest in packages
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2019-06-11 19:06:57 +05:30
Oliver Eyton-Williams 93790af030 fix: Stop pairs of tags from getting put into paragraphs (#35864) 2019-06-11 15:45:36 +03:00
Oliver Eyton-Williams c6cbaf3658 Ensure that errors in testing are handled correctly 2019-06-08 03:28:20 +05:30
dependabot[bot] 7a88eadf7d Bump handlebars from 4.0.12 to 4.1.2
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.12 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.12...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-08 03:00:09 +05:30
dependabot[bot] 8800e50a1a Bump handlebars from 4.1.0 to 4.1.2 in /tools/challenge-md-parser
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.0 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.0...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-08 03:00:09 +05:30