Commit Graph

339 Commits

Author SHA1 Message Date
Naomi
522977ec1c
fix: when in doubt, sudo? (#54266) 2024-04-01 16:00:42 +00:00
Naomi
fd88821919
fix: manually overwrite execute-brain.md (#54208) 2024-03-25 12:55:25 -05:00
renovate[bot]
a01b84bd14 chore(deps): update dependency joi to v17.12.2 2024-02-23 20:08:12 +00:00
renovate[bot]
d277d00770 chore(deps): update dependency dotenv to v16.4.5 2024-02-23 17:45:41 +00:00
Manabu Matsumoto
0ae233209b
fix(UI): put the Legacy label on the old JS curriculum title (re-open) (#53314)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
Co-authored-by: Sem Bauke <semboot699@gmail.com>
2024-02-23 10:04:42 +01:00
Mama Naomi
71ec874986
fix(tools): update i18n sync (#53821) 2024-02-22 10:01:01 +01:00
renovate[bot]
b19a10164c chore(deps): update dependency joi to v17.12.1 2024-02-14 22:26:32 +00:00
renovate[bot]
9f148c68e0 chore(deps): update dependency dotenv to v16.4.4 2024-02-14 17:45:06 +00:00
renovate[bot]
53048fce2f chore(deps): update dependency chai to v4.4.1 2024-02-14 15:21:49 +00:00
renovate[bot]
7348752d2c chore(deps): update dependency mongodb to v5.9.2 2024-02-13 22:46:36 +00:00
Oliver Eyton-Williams
0738694caa
fix(seed): show connection message if connected (#53421) 2024-01-29 20:08:08 +01:00
Mama Naomi
987fe44b27
fix: gotta account for the slug too I guess? (#53356)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-01-26 08:56:33 +01:00
Mama Naomi
bba991384c
feat: confirm id values are correct in i18n sync (#53331)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2024-01-24 15:38:17 +07:00
Mama Naomi
b2568ad97b
feat(tools): remove deleted challenges from i18n (#53215) 2024-01-19 08:41:41 +01:00
Sem Bauke
6d9a5c334d
Revert "fix(UI): put legacy label on the old js curriculum title (#52980)" (#53266) 2024-01-18 23:10:22 +05:30
Manabu Matsumoto
48d4d2f27a
fix(UI): put legacy label on the old js curriculum title (#52980)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
Co-authored-by: Sem Bauke <semboot699@gmail.com>
2024-01-18 10:43:20 +01:00
Niraj Nandish
2b9a987474
feat: enable TOP for mobile (#53120) 2024-01-17 15:46:06 +00:00
Huyen Nguyen
bbf551b93c
fix(tools): seed ms account when seeding certified user (#52967) 2024-01-08 15:59:48 -06:00
Naomi Carrigan
8bae667174
fix(tools): bug in directory creation (#52646) 2023-12-20 13:34:39 +02:00
Naomi Carrigan
d50170a4d8
feat: manual i18n sync tool (#52637) 2023-12-20 12:11:45 +05:30
Naomi Carrigan
2d513aee33
feat: make new javascript live (#52623)
Co-authored-by: scissorsneedfoodtoo <scissorsneedfoodtoo@gmail.com>
2023-12-20 00:39:33 -06:00
Niraj Nandish
05f7c63ecc
fix: disable scientific python SB for mobile (#52631) 2023-12-20 05:36:09 +00:00
Tom
3846e46483
feat(client/curriculum): make python live (#52628) 2023-12-19 19:37:12 -08:00
Naomi Carrigan
57dca1e495
feat: separate superblock for rosetta code (#52629)
Co-authored-by: mot01 <tmondloch01@gmail.com>
2023-12-20 02:52:07 +00:00
Naomi Carrigan
5a5a05428b
feat: update help categories (#52621) 2023-12-19 16:00:25 -06:00
Naomi Carrigan
ce435a43c7
feat: point english challenges to english subforum (#52619) 2023-12-19 14:15:04 -06:00
Tom
ddc459e71e
feat(client/curriculum): add upcoming english superblock and challenge types (#52201) 2023-11-09 10:08:51 +01:00
Tom
517b4b622e
feat(scripts): seed exams when seeding database (#52269) 2023-11-08 14:57:22 +05:30
Tom
369368a799
feat(client/api): add C# survey (#51682) 2023-11-07 20:34:12 +05:30
renovate[bot]
87e1ae21a5
chore: update TS and Fastify (#52157)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sboonny <muhammedelruby@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-11-07 17:22:59 +05:30
renovate[bot]
3912e15f44 chore(deps): update dependency joi to v17.11.0 2023-10-28 01:40:36 +00:00
renovate[bot]
ac504d00e6 chore(deps): update dependency mongodb to v5.9.1 2023-10-27 15:31:27 +00:00
renovate[bot]
93e4b04e91
chore(deps): update dependency @total-typescript/ts-reset to v0.5.1 (#51724)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-01 16:48:50 +05:30
renovate[bot]
005257b6f6 chore(deps): update dependency chai to v4.3.10 2023-09-30 20:31:10 +00:00
Benjamin Daniel
4f510a6b88
fix(tools): connected to mongo message (#51683) 2023-09-29 11:05:26 +02:00
renovate[bot]
195e22689f chore(deps): update dependency chai to v4.3.9 2023-09-28 09:53:08 +00:00
Tom
cf65ad4dbb
chore(client): remove hours from C# cert (#51606) 2023-09-22 17:14:32 +03:00
Oliver Eyton-Williams
e149b09087
feat(curriculum): control loop-protect (#51542) 2023-09-19 08:51:43 -07:00
renovate[bot]
dfffaed393 chore(deps): update dependency joi to v17.10.2 2023-09-17 17:18:20 +00:00
renovate[bot]
8498886fe0 chore(deps): update dependency mongodb to v5.9.0 2023-09-16 06:58:32 +00:00
Naomi Carrigan
e32a88a6db
chore: use new c-sharp help category (#51417)
Co-authored-by: mot01 <tmondloch01@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-09-11 10:46:51 -07:00
Oliver Eyton-Williams
391fc2e34d
refactor: create shared workspace (#51454) 2023-09-07 23:06:01 +05:30
Oliver Eyton-Williams
569ace00ae
fix: stop using env.json outside the client (#51456) 2023-09-06 18:14:53 +05:30
renovate[bot]
7c7e6fdb6b chore(deps): update dependency mongodb to v5.8.1 2023-09-02 11:14:18 +00:00
renovate[bot]
25fbeb3e67 chore(deps): update dependency joi to v17.10.1 2023-09-02 07:55:34 +00:00
renovate[bot]
ddd60e7e2d chore(deps): update dependency mongodb [security] 2023-08-31 05:27:09 +00:00
renovate[bot]
d4a40c384c chore(deps): update dependency mongodb [security] 2023-08-31 02:25:15 +00:00
renovate[bot]
ec33071537 chore(deps): update dependency joi to v17.10.0 2023-08-27 20:49:17 +00:00
Tom
4ed95973d2
feat(client/curriclum): make C# live (#51354) 2023-08-27 08:00:57 -05:00
renovate[bot]
ac4685e423 chore(deps): update dependency chai to v4.3.8 2023-08-26 13:19:46 +00:00
Oliver Eyton-Williams
112c485b12
feat: show upcoming certifications (#51198) 2023-08-14 19:19:10 +02:00
Oliver Eyton-Williams
8d0c3557dd
refactor: move client specific scripts inside client (#51123) 2023-08-05 15:43:13 +00:00
Oliver Eyton-Williams
5f475cefa6
refactor: use process.env in node environments (#51110) 2023-07-31 17:25:24 +02:00
Oliver Eyton-Williams
f91b5841d3
feat(client): remove gitHash from api requests (#51083) 2023-07-28 20:35:41 +02:00
Oliver Eyton-Williams
69d6ee32bf
feat: python in the browser (#50913)
Co-authored-by: Beau Carnes <1513130+beaucarnes@users.noreply.github.com>
2023-07-28 07:36:25 +02:00
Oliver Eyton-Williams
9441f781fd
refactor: move challenge types to config (#51027) 2023-07-24 13:12:47 -07:00
Sem Bauke
96c022f749
feat: add new responsive webdesign to certified user (#51014) 2023-07-21 10:13:19 +03:00
Tom
21ed268289
feat(scripts): add scripts to seed exams (#50836)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-07-14 10:35:09 -05:00
Naomi Carrigan
ab640abee1
chore: detuplication (#50955)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-07-13 12:46:00 +02:00
Niraj Nandish
06c4ae81e4
fix: superblock order for mobile (#50957) 2023-07-12 14:10:41 -07:00
Sem Bauke
fb1228546e
feat(tools): release python certs on mobile (#50832)
Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>
2023-07-10 12:04:16 +02:00
renovate[bot]
96dbd9ac86 chore(deps): update dependency mongodb to v5.7.0 2023-07-08 22:56:19 +00:00
renovate[bot]
a9e8219809 chore(deps): update dependency node-fetch to v2.6.12 2023-07-01 09:04:24 +00:00
Oliver Eyton-Williams
8d12376931
chore(cypress): speed up seeding when testing (#50825) 2023-06-29 23:18:10 +07:00
renovate[bot]
2cfd71eb57 chore(deps): update dependency dotenv to v16.3.1 2023-06-17 21:58:15 +00:00
Tom
5e04985c93
feat(curriculum): add C# superblock (#50646)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-06-14 13:36:39 +02:00
renovate[bot]
5717ab9de9 chore(deps): update dependency dotenv to v16.1.4 2023-06-04 18:31:01 +00:00
renovate[bot]
d26ab87189 chore(deps): update dependency mongodb to v5.6.0 2023-06-03 15:42:44 +00:00
Tom
373e808938
refactor(config): superblocks and map (#50435) 2023-06-01 14:51:57 +02:00
Oliver Eyton-Williams
41372c31cd
chore(tools): update mongodb in seed script (#50519) 2023-05-25 22:13:37 +01:00
Niraj Nandish
b688a82f43
feat(client): generate challenge data as static files (#50369)
* feat(client): generate challenge data as static files

* chore: hopefully this is better types

* fix: add declaration file

* fix: schema issues

---------

Co-authored-by: sembauke <semboot699@gmail.com>
2023-05-23 08:37:49 -07:00
Oliver Eyton-Williams
6521b9bd90
chore: add unsubscribeIds to demo users (#50468)
Real users get this property when created, so it should be in the demo
users too.
2023-05-22 16:14:31 +02:00
renovate[bot]
1b913eba52 chore(deps): update dependency @types/node-fetch to v2.6.4 2023-05-20 11:15:42 +00:00
Tom
4dfca3c560
feat: add exam environment (#50356)
* feat: add exam environment

* fix: cypress

* fix: lint-ts

* fix: lint-js

* fix: codefactor

* fix: don't translate comments from new JS spreadsheet

* fix: more tests

* fix: challenge schema

* fix: external curriculum test?

* fix: add more comments
2023-05-18 13:33:43 +02:00
Oliver Eyton-Williams
7749aed5d5
chore: add externalId to seed scripts (#50407)
It's in the schema, so it should be in the seeded users
2023-05-17 08:31:54 -07:00
Muhammed Mustafa
734a88e5d2
feat(client): delete invalid default profile image (#50352)
* feat(client): delete a not valid variable

* set validation to false if using the image

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

---------

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-05-16 09:57:54 -07:00
renovate[bot]
a2cf596599 chore(deps): update dependency node-fetch to v2.6.11 2023-05-13 05:52:28 +00:00
Tom
d02bb663c4
refactor(curriculum): move helpCategory to block meta.json file (#50265)
* refactor: move helpCategory to block meta

* fix: test?
2023-05-04 08:46:58 +02:00
renovate[bot]
83535810e9 chore(deps): update dependency joi to v17.9.2 2023-04-29 14:22:14 +00:00
Oliver Eyton-Williams
5ea1f4fffc
feat: add githash as query param (#49960) 2023-04-05 21:15:51 +05:30
renovate[bot]
97325f03b5 chore(deps): update dependency @types/node-fetch to v2.6.3 2023-04-05 04:14:10 +00:00
Mrugesh Mohapatra
e5590e56d7
chore: use pnpm v8 for deps (#49892)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-29 20:18:49 +05:30
renovate[bot]
1383e2d943 chore(deps): update dependency joi to v17.9.1 2023-03-25 23:37:06 +00:00
Sem Bauke
87d9ade1a7
fix(curriculum,client): move the Euler Project to its own superBlock (#49294)
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2023-03-23 21:29:13 +05:30
Sem Bauke
864df54011
feat(tools): redirect generation script (#49798)
* feat: redirect generation script

* feat: add comment

* Apply suggestions from code review

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

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-03-23 08:19:21 -07:00
renovate[bot]
1c793d39b7 chore(deps): update dependency joi to v17.8.4 2023-03-18 23:07:53 +00:00
Tom
b950070f80
feat(curriculum): add college algebra cert as upcoming change (#43605)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-10 10:55:50 +00:00
Mrugesh Mohapatra
9f80ccd8b2
fix(tools): rename and update curriculum scripts (#49620) 2023-03-08 12:02:54 +00:00
Mrugesh Mohapatra
50bc79fde7
fix(tools): rename and update seed user config (#49619) 2023-03-08 12:27:14 +01:00
Oliver Eyton-Williams
d7848ae01a
feat: migrate to pnpm for better workspace DX (#49293)
* feat: npm -> pnpm 

This resolves the issues with the gatsby client (gatsby-plugin-pnpm
deals with the fact that gatsby is relying on its own dependencies
being de-duped)
and challenge-editor (which doesn't seem to want to automatically install
codemirror and needed its own eslint config)

* fix: correct mocha path for curriculum tests

* fix: use select workspace with -F not -w

* fix: reorganise packages and restrict hoisting

pnpm works best if the workspaces keep their own dependencies, since
dependencies are not flattened and then what node resolves from a
require is predictable.

@types seem to be a special case and more care is required to prevent
them getting smushed together in the root (hence the .npmrc)

* fix: add types for tools + root

* fix: decouple challenge-auditor from client

* fix: add ui-components types

* fix(client): use the latest types for react 16

* fix: prettify

* fix: prettierignore pnpm-lock

* fix: relax hoisting

Turns out pnpm works just fine with types. I don't know what was going
wrong before, but there are no-longer any type conflicts.

* fix: add @redux-saga/core to fix eslint issue

It seems to only be redux-saga that import/named can't cope with, so it
is probably okay to work around this one.

* chore: add chai to tools/scripts/build

* fix: add store to root for cypress

* fix: allow cypress to download binaries

If we want to keep preventing cypress from downloading binaries, we can
figure out a workaround, but I'm allowing it to ease the transition to
pnpm.

My guess about why this is happening is that npm triggers Cypress's
postinstall script, but pnpm does not (because pnpm install only
installs if necessary, perferring to link)

* chore: re-enable pre/post scripts

* fix: update build scripts for client

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

* chore: update engines to use pnpm


* fix: enable choice of (super)block for tests

Only 'nix machines for now.

* chore: pin pnpm to version 7

* chore: remove last npms

Except web + curriculum-server. I'll update them when I start work on
them again.

* fix: lockfile check to catch any package-locks

* fix(action): install pnpm for upcoming tests

* chore: add nodemon to new api

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-03-02 18:17:44 +00:00
renovate[bot]
286573c30d chore(deps): update dependency debug to v4.3.4 2023-02-25 08:01:08 +00:00
Oliver Eyton-Williams
4ff00922da
refactor: fix hidden eslint errors (#49365)
* refactor: explicit types for validate

* refactor: explicit return types for ui-components

* refactor: use exec instead of match

* refactor: add lots more boundary types

* refactor: more eslint warnings

* refactor: more explicit exports

* refactor: more explicit types

* refactor: even more explicit types

* fix: relax type contrainsts for superblock-order

* refactor: final boundaries

* refactor: avoid using 'object' type

* fix: use named import for captureException

This uses TypeScript (which works) instead of import/namespace
(which doesn't) to check if captureException exists in sentry/gatsby
(it does)
2023-02-13 07:13:50 -08:00
Sem Bauke
928dcbe08c
feat: transfer The Odin Project to its own superblock (#49202)
* feat: the odin-project superblock

* feat: break everything

* fix: correct meta names

* fix: meta again

* fix: tests

* fix: help category and external curriculum test

* fix: file names again

* fix: help category

* fix: remove console log

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-02-08 15:21:03 +01:00
Oliver Eyton-Williams
0a20f8fd73
refactor: remove a lot of unused code (#48935)
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-01-07 10:33:35 +05:30
Mrugesh Mohapatra
6dba4d3409
chore: bump prettier and lint-staged (#48674)
* chore: bump prettier and lint-staged

* refactor: drop unused eslint disables

Currently we need to fetch trending.json before we can build the site
(i.e. before Cypress tests can run), so we can assume the file exists.

In case the download fails in CI, linting will error first. I've added
a comment to save some debugging time.

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2022-12-06 23:46:42 +05:30
Oliver Eyton-Williams
0b644afb0e
fix(i18n): download english trending for fallback (#48652)
* fix(i18n): download english trending for fallback

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

* fix: prevent duplicate download for english

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>

Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
2022-12-02 17:09:01 +03:00
Tom
60d15e4631
feat: get footer from cdn (#47174)
Co-authored-by: ahmad abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: scissorsneedfoodtoo <scissorsneedfoodtoo@gmail.com>
2022-12-01 15:23:17 +01:00
Tom
5f73773cd4
feat(client): move legacy rwd button to bottom of map (#47596)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Closes https://github.com/freeCodeCamp/freeCodeCamp/issues/46523
2022-11-08 21:00:46 +05:30
renovate[bot]
d0d6d4c3b8 chore(deps): update dependency dotenv to v16.0.3 2022-11-05 09:03:48 +00:00
Mrugesh Mohapatra
b393d88b9e
refactor: s/all-langs/i18n/g (#48258) 2022-10-26 10:08:27 -07:00