57 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
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
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
Oliver Eyton-Williams
1b895e7809 fix: translate title and dashName correctly 2020-10-06 23:10:08 +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
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
Oliver Eyton-Williams
189859f772 chore: bump parser 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
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
Mrugesh Mohapatra
13b248d464 chore: npm audit fix in all packages 2020-04-07 14:24:34 +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]
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
Valeriy
a17c3c44aa fix: recreate translated challenges 2019-09-18 12:05:38 +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
Mrugesh Mohapatra
c5fd478d9a fix(deploy): misc. re-arrange scripts and organize 2019-06-21 00:53:05 +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]
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
dependabot[bot]
195dc9d985 chore(deps): bump js-yaml from 3.12.0 to 3.13.1 (#36172)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.13.1)

Co-authored-by: null <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2019-06-07 20:19:42 +05:30
Valeriy S
28fb711a10 fix: add test for an empty section 2019-03-04 08:56:11 +00:00
Valeriy S
6d5e3865e7 fix(client): return an empty string for empty sections 2019-03-04 08:56:11 +00:00
Valeriy
fc8c71ad16 feat: use eslint with prettier to format code 2019-02-19 14:30:27 +05:30
Bouncey
f45c3d4fa5 chore: Apply linting fixes 2019-02-19 14:30:27 +05:30
Stuart Taylor
05a49e36ee chore: apply fixes from npm audit (#35210)
- [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md).
- [x] My pull request has a descriptive title (not a vague title like `Update index.md`)
- [x] My pull request targets the `master` branch of freeCodeCamp.
2019-02-14 20:39:55 +05:30
Bouncey
d79f9f4899 feat(docker): Prep master for docker deploys 2019-02-04 20:13:51 +05:30
Valeriy S
90a744e4f4 fix(client): formatting challenge descriptions and instructions 2019-01-09 13:26:50 +05:30
Stuart Taylor
dd80893543 chore(security🔥): Update packages to remove security issue flagged by GitHub (#34482) 2018-11-29 22:07:05 +05:30
Valeriy
e099d6486d fix: test curriculum challenges (#24180) 2018-10-23 18:51:53 +05:30
Bouncey
fc72dde582 fix(lock-files): Commit lock files 2018-10-12 20:41:42 +05:30
Beau Carnes
7723a592b7 fix: add prebootstrap script 2018-10-11 02:15:05 +05:30
Bouncey
badc68089f chore(pkg): Prep md parser for publish
fix(netlify): Fix Build
2018-10-05 15:58:12 +01:00