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
Oliver Eyton-Williams
f8699a8d55
refactor: simplify challenge.block usage ( #41185 )
2021-02-23 09:52:48 +05:30
Oliver Eyton-Williams
c077ffe4b9
feat(api): decouple api from curriculum ( #40703 )
2021-02-22 12:23:59 +05:30
Oliver Eyton-Williams
97fcaa693f
refactor: only use dasherized superBlock ( #41067 )
2021-02-13 10:36:04 +05:30
Oliver Eyton-Williams
6c1f6bebed
feat: label un-audited challenges ( #41002 )
...
Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Mrugesh Mohapatra <me@raisedadead.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-02-11 18:10:32 +05:30
Oliver Eyton-Williams
73c06a5d71
refactor: tidy up translation-parser
2021-02-03 22:26:36 +05:30
Oliver Eyton-Williams
7640147a07
feat: curriculum dictionaries to objects ( #40878 )
...
* test: update to catch missing comments
* feat: convert dictionaries to JSON objects
* chore: update dictionaries
* fix: update tests for new dictionary objects
* fix: convert fixture to json
* fix: updated the incomplete dicts to new format
2021-02-02 12:14:29 -07: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
Oliver Eyton-Williams
6abfcd8608
fix(curriculum): use js-yaml to parse certs
2021-02-02 09:51:02 +05:30
Randell Dawson
00a876d9b2
fix(learn): use json files for comments ( #40844 )
2021-01-31 21:36:57 +05:30
Oliver Eyton-Williams
ac6fc605ad
refactor: clean up supportLangs refs
2021-01-31 12:15:34 +05:30
Oliver Eyton-Williams
24d9c94fe5
refactor: remove confusing abstraction
2021-01-31 12:15:34 +05:30
Oliver Eyton-Williams
7c4e0ec41e
refactor: abstract out walk in getChallenges
2021-01-31 12:15:33 +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
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
Oliver Eyton-Williams
1f65b3b7eb
fix: require project completion to claim certs ( #40399 )
...
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
2020-12-08 07:53:02 -08: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
e4a9b2988c
feat: update Ask for help ( #40114 )
...
* feat: get helpCategory from frontmatter
* DEBUG: sets all the projects to JavaScript
This is just so the tests pass, it'll need to go.
* fix: updated helpCategoryMap categories
* fix: added Python to helpCategory frontmatter key
Co-authored-by: Randell Dawson <rdawson@onepathtech.com>
2020-10-30 14:10:34 -05: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
Oliver Eyton-Williams
793fa8fb52
test: check replaced iff translatable comment
...
All translatable comments should be replaced, but nothing else.
2020-10-22 03:18:13 +05:30
Oliver Eyton-Williams
d2ecd03013
fix: recreate comment map
2020-10-22 02:51:46 +05:30
Randell Dawson
2cae697f65
fix: change variables to match exported names
2020-10-22 02:51:45 +05:30
Randell Dawson
5eb33e36e1
fix(learn): add a comments dictionary
2020-10-22 02:51:45 +05:30
Oliver Eyton-Williams
1b895e7809
fix: translate title and dashName correctly
2020-10-06 23:10:08 +05:30
Oliver Eyton-Williams
df532099bc
test: stop relying on curriculum dir structure
...
Also refactors path resolution a little
2020-09-29 22:09:02 +02:00
Oliver Eyton-Williams
9089ddca5c
fix: use location for language, not extension
...
Rather than relying on .lang.md this expects to find the English source
challenge in /curriculum/challenges/english/<translationPath>
2020-09-29 22:09:01 +02:00
Oliver Eyton-Williams
34f2c4ae32
refactor: acceptedLanguage -> supported
2020-09-29 22:08:59 +02:00
Oliver Eyton-Williams
7bed07ee8a
fix(tools): update parser for multi-file editor
2020-09-16 11:54:13 +05:30
Oliver Eyton-Williams
301212e194
feat: handle multi-file solutions
2020-09-16 11:54:06 +05:30
Oliver Eyton-Williams
754a33970e
refactor(multi) move preparation into curriculum
2020-09-16 11:54:05 +05:30
Oliver Eyton-Williams
bd68b70f3d
Feat: hide blocks not challenges ( #39504 )
...
* fix: remove isHidden flag from frontmatter
* fix: add isUpcomingChange
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
* feat: hide blocks not challenges
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-09-03 15:07:40 -07:00
Shaun Hamilton
83c6de0144
fix: add backslash to path test for windows paths ( #39454 )
...
* fix: add backslash to path test for windows paths
* fix: add posix seperator to path tester
Co-authored-by: Randell Dawson <rdawson@onepathtech.com>
2020-08-25 13:22:03 -07:00
Oliver Eyton-Williams
b197f73881
feat: restrict translation to audited certs
2020-08-16 04:45:19 +05:30
Oliver Eyton-Williams
1ec6cf1efd
fix: handle video challenges
2020-08-16 04:45:19 +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
de3492fded
Chore: remove old translation tools, import parser ( #39273 )
2020-07-27 18:11:53 +05:30
Oliver Eyton-Williams
b4926052f4
chore: refactor and simplify testing ( #39050 )
2020-06-13 14:57:15 +05:30
Oliver Eyton-Williams
d233cb35a3
fix(client): ensure validation works during watch ( #38936 )
2020-05-28 20:54:29 +05:30
Oliver Eyton-Williams
4d176bf2fb
fix(curriculum): validate straight after parsing ( #38896 )
2020-05-27 16:59:58 +05:30
Oliver Eyton-Williams
9b297ed76d
fix(curriculum): control visibility via env
2020-05-25 16:25:19 +05:30
Oliver Eyton-Williams
68aef571ee
feat: hide isHidden challenges
2020-05-25 16:25:19 +05:30
Oliver Eyton-Williams
d865e2cb0e
feat: restore challenge validation
2020-05-25 16:25:19 +05:30
Tom
560aacd4eb
fix: add more tests for curriclum testing ( #38464 )
...
Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-04-23 22:31:15 +05:30
Oliver Eyton-Williams
9c2f1ffd82
refactor: combine slug utils into one module
2019-09-26 22:15:27 +05:30
Valeriy
4d79af2b46
fix(tools): wait for the last challenge to be populated ( #35596 )
2019-03-15 22:12:56 +01:00
Bouncey
b13e5fb41a
feat: Use prettier-eslint to format code
2019-02-19 14:30:27 +05:30
Valeriy
088cbb684e
fix: watch challenges
2018-11-28 15:19:38 +00:00
Valeriy
4c1b8ce52c
fix: replace localeChallengesRootDir to getChallengesDirForLang
2018-11-28 15:19:38 +00:00