Commit Graph

205 Commits (4dd4865b94636843e317177f9bfd7474b31c186c)

Author SHA1 Message Date
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