Commit Graph

3109 Commits

Author SHA1 Message Date
camperbot
ecfdb41f97 chore(i18n,learn): processed translations (#45414) 2022-03-11 09:22:40 -08:00
Oliver Eyton-Williams
8ee9b5761a fix: use keys in curriculum.json (#45407)
* feat: add function to map from path to superblock

* fix: use superblocks as keys in curriculum.json

* fix: handle new superblock names

* fix: keep deleting relational-database
2022-03-10 20:41:33 +00:00
camperbot
cb50f05d45 chore(i18n,learn): processed translations (#45404) 2022-03-10 16:05:22 +01:00
HenMoshe
d3304276ca fix(curriculum) : Make tests stricter for challenge "Decrement a number with javascript" (#45242)
* Make tests stricter for challenge "Decrement a number with javascript" #44648

* Update decrement-a-number-with-javascript.md
2022-03-09 22:47:02 -06:00
camperbot
386840bc66 chore(i18n,learn): processed translations (#45395) 2022-03-09 07:29:59 -08:00
Lasse Jørgensen
b39716539b fix: use an invalid TLD for the test URL (#45375) 2022-03-09 10:52:31 +01:00
vin-m
25c927e79b fix(curriculum): clarify unix value must be of type number (Timestamp Microservice) (#45341) 2022-03-07 10:42:25 +05:30
Lasse Jørgensen
90c58ff349 fix:(RWD beta): correct parent selector (#45360) 2022-03-07 10:41:20 +05:30
Naomi Carrigan
982ba9b307 fix: unrevert verbiage changes (#45349)
* fix: unrevert verbiage changes

* fix: typo

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* fix(tools): update cypress test

* chore: apply sem's review

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2022-03-04 16:35:56 -06:00
camperbot
3d3972f2dd chore(i18n,learn): processed translations (#45333) 2022-03-04 19:46:29 +05:30
Tom
e24c8abc7f revert: release rdbms to production (#45347) 2022-03-04 15:15:20 +01:00
Tom
84c305ab08 feat: release rdbms to production (#45169)
* fix: add cert to email for when all certs are earned

* fix: unhide rdbms from production

* fix: cert project input field

* feat: add cypress tests

* fix: message on project pages to lower expectations

* fix: update instructions

* fix: add quincy's suggestions

* fix: add beta label and reorder

* fix: utils test

* fix: move rdbms to bottom of settings

* fix: cypress tests

* Apply suggestions from code review

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

* fix: only drop seeded users webhook tokens

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-03-04 15:38:09 +05:30
jmurphy1196
592d49d19d fix(curriculum): add comma to fix syntax in example (#45320) 2022-03-02 20:50:37 +01:00
camperbot
27cfaf178c chore(i18n,learn): processed translations (#45313) 2022-03-03 00:26:06 +09:00
Oliver Eyton-Williams
339c6713d2 feat: update challenge helpers to handle id filenames (#44769)
* refactor: light tweaks for readability

* refactor: simplify metadata functions

* fix: most tests

* test: fix utils tests

* test: simplify mocks

* WIP: update get-last-step-file-content

* feat: finish create-next-step

* fix: type error

* test: provide mock meta.json for test

* refactor: get meta path from project path

* refactor: get project name from path

* refactor: simplify getProjectMetaPath further

Also removes some excessive mocking

* refactor: remove more mocks, always clear .env

* feat: update create-next-step

* feat: update create-empty steps

Also refactors slightly, so it's easier to insert steps into the meta

* docs: update challenge-helper-script docs

* feat: create-step-between

* refactor: allow metadata parse errors to propagate

* fix: convert reorderSteps to renameSteps

* refactor: create-step-between -> insert-step

* feat: update delete-step

* refactor: consolidate commands into commands.ts

* refactor: clean up and consolidation

* refactor: more cleanup

* fix: make cli args consistent

Everything accepts a single integer and nothing else

* refactor: renameSteps -> updateStepTitles

* docs: update with the names and args

* feat: add step validating meta + files are synced
2022-03-02 07:12:20 -08:00
Naomi Carrigan
16e7cdedb1 feat: migrate filenames to IDs (#45146)
* feat: migrate filenames to IDs

* feat: migrate balance sheet file names

* revert: no id name for cert projects

* fix: i swear i know what i'm doing
2022-03-02 09:06:00 -06:00
Ordo Flammae
01c1a54f17 fix(curriculum): formatting on project euler 356 (#45312) 2022-03-02 14:46:06 +01:00
camperbot
d62fec495b chore(i18n,learn): processed translations (#45299) 2022-03-01 21:39:26 +05:30
HenMoshe
470297027d fix(curriculum): remove outdated text (#45290) 2022-03-01 20:40:03 +05:30
camperbot
18e5be9efa chore(i18n,learn): processed translations (#45287) 2022-02-28 20:22:39 +01:00
KushagraAgarwal525
8c37389701 fix(curriculum): fixed incorrect exponent display (#45284) 2022-02-28 23:00:30 +07:00
Cannon-Cole
e1516b718e Added a missing assert for when the value is 70 (#45268) 2022-02-28 11:29:13 +01:00
camperbot
fbc7a26529 chore(i18n,learn): processed translations (#45271) 2022-02-28 08:59:21 +01:00
Leda
5e5015e47d fix(curriculum): fix typo in challenge (#45270)
* fix typo in other languages

* Revert "fix typo in other languages"

This reverts commit b973317cc14fb4f719ec60f1bdfad83d0c03760f.

* remove typo in challenge
2022-02-28 08:54:19 +01:00
camperbot
4f8dad7662 chore(i18n,learn): processed translations (#45256) 2022-02-25 10:20:33 -03:00
Konstantin Ponomarev
5300433783 fix: correct link to wikipedia
Standard Deviation -> Standard_deviation
2022-02-25 14:01:51 +01:00
camperbot
0d26a9e29d chore(i18n,learn): processed translations (#45235) 2022-02-25 03:41:18 +09:00
Christopher Ehrlich
a04c7e1096 test(curriculum): Add sudoku solver test cases (#45026) 2022-02-24 16:48:59 +05:30
Naomi Carrigan
1c65d5d34a fix(curriculum): remove callback thereby stripping js comments (#45133)
* fix: strip js comments

* fix: revert helper export, better test approach

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-02-24 16:29:56 +05:30
HenMoshe
ea416b6dc2 fix(curriculum): add result of comparison expression evaluation to the inline comment (#45224)
* Add result of comparison expression evaluation in the inline comment #45183

* Apply suggestions from code review

thanks!

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2022-02-23 18:58:42 +01:00
camperbot
74f84ff48a chore(i18n,learn): processed translations (#45223) 2022-02-23 13:10:00 +00:00
Jagruti Tiwari
43a389b0c8 fix(curriculum): Remove root relative path from action URL in example (#45203) 2022-02-22 13:04:33 -06:00
zelf0
3668422083 fix: add divider to stand in line challenge in basic javascript section (#45180)
* Fix: Update grammar in PR documnetation

* fix: add divider to stand in line challenge in basic javascript section

* Undo change outside of scope
2022-02-21 22:44:27 +05:30
camperbot
614e1a88d4 chore(i18n,learn): processed translations (#45197) 2022-02-20 07:36:06 -08:00
Poonkuzhali
d17f136693 fix:Updated curriculum utils.js duplicate code (#45168) 2022-02-20 19:35:52 +05:30
camperbot
2d3ac85ebf chore(i18n,learn): processed translations (#45192) 2022-02-19 23:41:19 +09:00
Renovate Bot
75f3278c06 chore(deps): update dependency mocha to v9.2.1 2022-02-19 12:18:25 +00:00
camperbot
ba14990876 chore(i18n,learn): processed translations (#45165) 2022-02-19 16:26:08 +09:00
Naomi Carrigan
431bcbda10 refactor(curriculum): new balance sheet project (#45048)
* refactor: delete existing steps

* feat: create new steps

* feat: start writing tests

* feat: complete html tests

* feat: remaining tests

* chore: remove "test 1"

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

* fix: wow I really botched that find and replace

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* fix: why firefox gotta be different?

* fix: I can maths...

* chore: apply shaun's review suggestions

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

* fix: unbotch the css oops

* fix: acme widget corp

* fix: remove z-index

* feat: introduce the calc() function

* fix: even one more find and replace oops

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
2022-02-18 19:15:16 +01:00
Poonkuzhali
6f628e6133 fix(curriculum): add test case to check country code (#45100)
* Added new test case to argument optional challenge

* Added new test case to telephone num js challenge
2022-02-18 10:09:51 -08:00
Tom
fd14608492 feat: release rdbms on staging (#44576)
fix: unhide cert from settings page

fix: add cert variables where missing

fix: show token on settings page

feat: add challenges to certified user data

fix: stylize settings page a little bit

fix: only show rdbms when upcomingChanges = true

fix: relational databases -> relational database
2022-02-18 17:29:30 +01:00
Jagruti Tiwari
9b7d7ba716 fix(curriculum): inconsistancy on const Naming cases (#45149) 2022-02-17 11:35:16 -08:00
wbenarto
ed88a25359 fix(curriculum): add test cases to ferris-wheel project #45099 (#45134)
* added tests to satisfy first-of-type and last-of-type

* edited hints to require nth-of-type selector

* refactor for readability
2022-02-17 11:15:11 -08:00
camperbot
58de1061e4 chore(i18n,learn): processed translations (#45151) 2022-02-17 10:59:34 -08:00
Renovate Bot
915b331c69 chore(deps): update babel monorepo to v7.17.5 2022-02-17 18:45:18 +00:00
Oliver Eyton-Williams
b223cdd255 refactor: display solutions (#45139)
* refactor: re-organise show-project-links

* refactor: update ChallengeFile's declared shape

* fix: handle missing challenge solution

* refactor: use display function for Certification

* refactor: use display function for TimeLine

* refactor: use common component for timeline + cert

* fix: handle legacy solutions

* refactor: use widget for certifications

* refactor: reorganise ShowDisplayWidget

* refactor: remove unused ids

* test: pass dataCy, not projectTitle, to widget

* chore: kebabify

* revert: add id back for dropdown

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

* revert: add the ids back

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2022-02-16 13:48:22 -08:00
Madhu Sudhan Reddy Vinta
92778f1b2f Bugfix in typeof lesson in Javascript debugging (#45118)
* Local scope and functions: Make the example less confusing

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/local-scope-and-functions.md

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>

* Fix bug in typeof lesson in debugging javascript

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/debugging/use-typeof-to-check-the-type-of-a-variable.md

Co-authored-by: Ilenia <nethleen@gmail.com>

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
Co-authored-by: Ilenia <nethleen@gmail.com>
2022-02-16 20:14:12 +01:00
camperbot
c934590548 chore(i18n,learn): processed translations (#45123) 2022-02-16 18:18:09 +01:00
Renovate Bot
229a9d8b2b chore(deps): update babel monorepo to v7.17.4 2022-02-16 03:55:50 +00:00
Oliver Eyton-Williams
cde1407f58 feat(client): make all sources available in tests (#44725)
* feat: make all sources available in tests

The original contents of all files (index.html, script.js etc.) will be
accessible in tests.  For example __sources['index.html'] gets the
original html file and nothing else.

* feat: use __file to get user code
2022-02-15 23:29:31 +05:30