Commit Graph

35748 Commits

Author SHA1 Message Date
Muhammed Mustafa
9e905b58e1 feat(api): add json protocol to prisma client (#50418) 2023-05-18 17:16:53 +04:00
Oliver Eyton-Williams
c3c912db07 feat(api): add csrf protection (#50275)
Co-authored-by: Sboonny <muhammed@freecodecamp.org>
2023-05-18 17:06:40 +05:30
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
df12c72f46 test: stop mocking FREECODECAMP_NODE_ENV (#50406)
While this lets us write slightly better tests, I don't think it's worth
the extra complexity. For example, it interferes with the creation of
test databases. We could work around this, but I'd rather keep things
simple.
2023-05-17 22:36:22 +04:00
Faris Soliman
2d85fb6c71 fix(curriculum): added test case and resorted tests for arguments-optional page (#50404)
* fix: added test case and resorted tests

* fix: added test case and resorted tests

* updated test cases to match issue
2023-05-17 19:08:34 +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
camperbot
bcc9970e5b chore(i18n,client): processed translations (#50410) 2023-05-17 08:28:25 -07:00
camperbot
0700cf2ac8 chore(i18n,learn): processed translations (#50411) 2023-05-17 08:27:45 -07:00
camperbot
616a823819 chore(i18n,docs): processed translations (#50409) 2023-05-17 08:25:46 -07:00
Niraj Nandish
5bc14c21b9 feat: deprecated endpoint (#50403)
* feat: deprecated endpoints
2023-05-17 10:24:57 +03:00
renovate[bot]
0fef335292 fix(deps): update dependency @immobiliarelabs/fastify-sentry to v6 (#50388)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 15:21:28 -07:00
EggSaled
69cd028cfc fix(curriculum): test suite no longer dependent on user variable (#50395)
* fix(curriculum): test cases no longer depends on variable accessible to user

* fix (curriculum): removed comments from seed code
2023-05-16 11:46:09 -07:00
Shubham Lal
29660a8be9 fix(curriculum): better user understanding in Step-93 (#50387)
* fix(curriculum): better user understanding in Step-93

Instead of `top -left, -right`, it's better to show user to change `top-left, top-right` border radius.

* fix(curriculum): better user understanding in Step-93

Instead of `top -left, -right`, it's better to show user to change `top-left, top-right` border radius.

* fix(curriculum): revert back to previous hint for non-English

* Update curriculum/challenges/english/14-responsive-web-design-22/learn-css-transforms-by-building-a-penguin/619d2f0e9440bc27caee1cec.md

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

---------

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-05-16 20:29:42 +02:00
Ahmad Abdolsaheb
7af4e5db95 feat/AB-test-modal-bear (#50380) 2023-05-16 22:37:53 +05:30
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
Oliver Eyton-Williams
f6df0f3aed docs: improve new api's mongodb setup guide (#50392)
* docs: improve new api's mongodb setup guide

* docs: give example variable

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

* Update api/README.md

---------

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2023-05-16 20:04:41 +04:00
camperbot
092cd9bd95 chore(i18n,client): processed translations (#50397) 2023-05-16 08:24:17 -07:00
Naomi Carrigan
cdcea13d5f fix(tools): api settings test (#50394) 2023-05-16 07:32:17 +03:00
Shaun Hamilton
651e1905fd chore(api): pull prod db schema (#49735)
* chore(api): pull prod db schema

* manual user model schema

* adjust json types

* temp: fix object type

* adjust schema with Json types

* fix: oliver found my bugs 🐛

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

* ttl to int, remove github from user

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

* fix: remove unused parts of the prisma schema

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-05-16 07:28:39 +03:00
Niraj Nandish
032f9d95ae feat(api): add update privacy terms endpoint (#50300)
* feat: move update privacy terms route

* test: update privacy terms route tests

* feat: add /settings prefix to settings route

* fix: updated routes in tests

* Revert "fix: updated routes in tests"

This reverts commit 4a1305e135.

* Revert "feat: add /settings prefix to settings route"

This reverts commit 2a0d4566fe.
2023-05-15 13:21:32 -07:00
Muhammed Mustafa
3c28323a2c feat(client): remove the height from the space component (#50244) 2023-05-15 12:41:31 -07:00
camperbot
9232a49182 chore(i18n,docs): processed translations (#50390) 2023-05-15 07:07:18 -07:00
camperbot
d40d0e6145 chore(i18n,learn): processed translations (#50391) 2023-05-15 07:06:59 -07:00
renovate[bot]
dd7e7b58f2 fix(deps): update dependency @fastify/middie to 8.3 (#50384)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-15 13:43:53 +03:00
renovate[bot]
decb2e87b6 fix(deps): update dependency fastify to v4.17.0 (#50230)
* fix(deps): update dependency fastify to v4.17.0

* add missing code in error object

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sboonny <muhammed@freecodecamp.org>
2023-05-15 11:17:09 +03:00
renovate[bot]
e2716c35ea fix(deps): update prisma monorepo to v4.14.0 (#50377)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-15 11:12:59 +03:00
renovate[bot]
e56b9bf82e fix(deps): update dependency react-reflex to v4.1.0 2023-05-13 15:26:54 +00:00
renovate[bot]
8b421aa8dd fix(deps): update dependency jquery to v3.7.0 2023-05-13 11:56:52 +00:00
renovate[bot]
2cfadcf28a chore(deps): update automerged always - codesee to v0.587.0 2023-05-13 09:34:31 +00:00
renovate[bot]
a2cf596599 chore(deps): update dependency node-fetch to v2.6.11 2023-05-13 05:52:28 +00:00
camperbot
bf54d5d76a chore(i18n,learn): processed translations (#50366) 2023-05-12 08:05:58 -07:00
camperbot
340b01ac95 chore(i18n,docs): processed translations (#50365) 2023-05-12 16:45:09 +03:00
Shaun Hamilton
bacbbaecad fix(docs): Gitpod not GitPod (#50364) 2023-05-12 15:41:28 +03:00
Zaira
8b734052d0 feat(docs): add troubleshooting Gitpod ports (#50363)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-05-12 11:14:48 +00:00
tgoulder4
5b3ecb7035 fix(curriculum): Added missing full stop after 'entirely'. (#50358)
Update remove-an-element-using-jquery.md

Added full stop after 'entirely'
2023-05-12 11:16:43 +04:00
Sem Bauke
e739fced7d feat: add exercise D The Odin Project (#50278)
* feat: exercise D The Odin Project

* fix: update images

* Apply suggestions from code review

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

---------

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-05-11 23:24:32 -05:00
camperbot
b2a2f10d0e chore(i18n,learn): processed translations (#50354) 2023-05-11 19:22:56 +03:00
camperbot
f7ceb2727a chore(i18n,docs): processed translations (#50353) 2023-05-11 19:22:43 +03:00
Yashaswi Makula
0e927aa967 fix(client): show certification border to visitors (#50349)
fix(UI): Certification border is now normal
2023-05-10 20:48:11 +03:00
camperbot
7e872de726 chore(i18n,learn): processed translations (#50348) 2023-05-10 10:27:44 -07:00
camperbot
ecb94a05be chore(i18n,docs): processed translations (#50347) 2023-05-10 16:57:16 +03:00
Sem Bauke
ae9c274fec feat: add exercise E The Odin Project (#50287)
* feat: add exercise E The Odin Project

* Apply suggestions from code review

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

* Apply suggestions from code review

Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>

---------

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>
2023-05-10 16:55:00 +04:00
Niraj Nandish
d34be97fe2 fix(client): error flash when toggling send quincy email in settings (#50336) 2023-05-10 14:20:33 +02:00
Shaun Hamilton
5eb91a9043 chore(api-server): remove unused is* fields (#50346) 2023-05-10 11:59:40 +02:00
Alex Davies
b54c738d0e fix(docs): correct typos (#50345) 2023-05-10 12:47:14 +03:00
Sem Bauke
b24c939322 feat: add exercise C The Odin Project (#50257)
* feat: add exercise C The Odin Project

* Apply suggestions from code review

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

---------

Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-05-10 10:29:00 +04:00
Oliver Eyton-Williams
5d9dccb37f test: unlock when syntax error fixed (#50325)
* refactor: use data-cy for console output

* test(client): unlock after fixing syntax errors
2023-05-09 23:15:08 +05:30
Dario-DC
300a560494 chore(curriculum): fixed header names in algebra with Python course (#50337)
fixed header names
2023-05-09 20:14:31 +03:00
camperbot
0ec445b3be chore(i18n,learn): processed translations (#50333) 2023-05-09 09:31:00 -07:00
Muhammed Mustafa
c7f5a4cf8b feat(api): add update IsHonest value endpoint (#50281)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-05-09 09:29:48 -07:00