173 Commits

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