Commit Graph

498 Commits

Author SHA1 Message Date
Naomi Carrigan
2d513aee33 feat: make new javascript live (#52623)
Co-authored-by: scissorsneedfoodtoo <scissorsneedfoodtoo@gmail.com>
2023-12-20 00:39:33 -06:00
Ahmad Abdolsaheb
575aa172ad feat: add update-stripe-card route (#52389)
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-12-12 11:49:52 -08:00
renovate[bot]
e87280cd96 chore(deps): update dependency prettier to v3.1.0 (#52328)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-11-13 15:06:27 +01:00
Tom
c762b9075d fix(api): get completed surveys from db (#52272) 2023-11-08 10:37:21 +01:00
Oliver Eyton-Williams
f844dd2f51 fix(api): handle requests with empty body (user/submit-survey) (#52270) 2023-11-08 10:48:19 +05:30
Tom
369368a799 feat(client/api): add C# survey (#51682) 2023-11-07 20:34:12 +05:30
Shaun Hamilton
5094a82704 Merge pull request from GHSA-f69g-q6v2-rhjp
* fix(api-server): only allow specified profile keys

* simplify and fix validation
2023-10-30 20:35:13 +05:30
Oliver Eyton-Williams
ec51cbbd9f fix(api): handle trailing / in MS transcript urls (#51766)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2023-10-18 08:50:13 -07:00
Tom
1ad87a0cfa fix(api): infer if MS profile is private when verifying trophies (#52009) 2023-10-18 08:49:33 -07:00
Tom
9b50d54001 fix(client/api): ms trophy validation (#51892) 2023-10-11 13:15:32 -07:00
Mrugesh Mohapatra
3ce08ba8aa feat(api-server): endpoint for classroom mode flag (#51708) 2023-10-11 11:00:50 +02:00
Krzysztof G
174865974b fix: text typos (#51876)
Co-authored-by: Viktor Szépe <viktor@szepe.net>
2023-10-09 19:36:27 +07:00
Tom
0f49460547 feat(api/client): use server response as flash msg for c# (#51551)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-09-25 15:24:53 +02:00
Riya Dhawan
c12f4bfd45 feat: store sound settings in local storage (#51374)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-09-19 09:17:51 -07:00
Ahmad Abdolsaheb
88b36d08b8 feat: restrict donations via stripe card (#51598)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-09-18 18:42:11 +02:00
Kristofer Koishigawa
e769f505b2 fix: claim legacy and full stack certifications (#51506) 2023-09-15 15:42:00 +02:00
Oliver Eyton-Williams
ade2092e1f feat: create Docker images for api-server (#51142) 2023-09-13 14:13:17 +05:30
Oliver Eyton-Williams
391fc2e34d refactor: create shared workspace (#51454) 2023-09-07 23:06:01 +05:30
Oliver Eyton-Williams
cb9d6a6243 refactor: stop sharing api/client specific config (#51423) 2023-08-29 18:35:27 +05:30
Tom
4ed95973d2 feat(client/curriclum): make C# live (#51354) 2023-08-27 08:00:57 -05:00
Tom
9a1895d2e3 feat(client/api): validate ms users (#51372)
Co-authored-by: Muhammed Mustafa <MuhammedElruby@gmail.com>
2023-08-26 07:57:02 -05:00
Oliver Eyton-Williams
112c485b12 feat: show upcoming certifications (#51198) 2023-08-14 19:19:10 +02:00
Oliver Eyton-Williams
a12930c95c feat: return certSlug on /certificate/showCert (#51209) 2023-08-14 15:52:40 +05:30
Oliver Eyton-Williams
019d7f0d97 refactor(api): remove extraneous lookup (#51210)
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2023-08-11 14:18:34 +03:00
Rene Pot
df49297de2 feat(api): improve performance with profanity filter replacement (#51112)
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
2023-08-08 15:27:41 -07:00
Oliver Eyton-Williams
ada027798e chore(api): remove unused legacyProjectData file (#51179) 2023-08-07 21:59:25 +07:00
Tom
80dba8fd30 feat(api): create endpoints for exams (#51062)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-08-03 09:34:47 -05:00
Oliver Eyton-Williams
984208f2a5 feat(api): check ms trophy urls exist (#51016)
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2023-08-02 14:10:25 -05:00
Oliver Eyton-Williams
5f475cefa6 refactor: use process.env in node environments (#51110) 2023-07-31 17:25:24 +02:00
Sem Bauke
a7acb619a8 fix: remove Sentry debug endpoints (#51007) 2023-07-20 11:00:50 +04:00
Oliver Eyton-Williams
e9bc3e5968 fix(api): require fcc repos for coderoad submissions (#50995) 2023-07-18 15:48:19 +02:00
Shaun Hamilton
414987ae2c Merge pull request from GHSA-6c37-r62q-7xf4 2023-07-18 15:57:45 +05:30
Oliver Eyton-Williams
7fd74c8f5c fix(tools): manage PM2 globally 2023-07-17 16:45:37 +05:30
Oliver Eyton-Williams
e46386ddca chore: remove old babel-core + plugins (#50671) 2023-06-14 13:14:46 +02:00
Oliver Eyton-Williams
9bb1cc56f1 fix: stop returning donationEmails (#50623) 2023-06-07 19:08:04 +04:00
Muhammed Mustafa
e368410c89 feat(api): deprecate get account endpoint (#50419) 2023-06-02 08:09:54 +02:00
Oliver Eyton-Williams
f3eb1eccb5 refactor: remove unused parts of api-server (#50513)
* refactor: remove unused parts of api-server
2023-05-30 22:54:19 +07:00
Oliver Eyton-Williams
404d3f1726 refactor(api): stop returning sessionMeta (#50482) 2023-05-30 10:18:47 +02:00
Oliver Eyton-Williams
1fc0bccb6f refactor(api): stop returning streak (#50502)
The client does not use them. It calculates streaks from the calendar
property.
2023-05-24 19:16:29 +03:00
Muhammed Mustafa
4c5363bff0 fix(api-server): a typo in the info message for resubscribe (#50496) 2023-05-24 16:27:26 +02: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
Shaun Hamilton
5eb91a9043 chore(api-server): remove unused is* fields (#50346) 2023-05-10 11:59:40 +02:00
Shaun Hamilton
e30e6d9f55 fix(api-server): check type of email to prevent throw (#50259) 2023-05-03 14:53:28 +02:00
Mrugesh Mohapatra
b8dc4d5393 chore: update error message for Crash Dumps (#50213) 2023-04-28 17:17:55 -07:00
Shaun Hamilton
8300ccb7f0 fix(api-server): return usable flash type to client (#50082) 2023-04-17 23:18:18 +05:30
Muhammed Mustafa
f08fe482d1 feat(api-server): show unique messages from api (#49781)
Show specific messages for API calls
2023-04-17 14:21:25 +01: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
Tom
605fdf220a feat(curriculum): make college algebra with python live (#49695) 2023-03-23 21:57:32 +00:00
Shaun Hamilton
7d01522c0d refactor(api): remove rx from boot/challenge.js (#49387)
* refactor(api): remove rx from `boot/challenge.js`

* fix: pass error to express

* refactor: do not use updated user

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

---------

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2023-03-16 20:39:28 +05:30
Shaun Hamilton
c030757f03 refactor(api): remove rx from boot/user.js (#49386)
* refactor(api): remove rx from `boot/user.js`

* fix: handle async session user error

* fix lint: do not make changes without npm ci
2023-03-16 20:38:53 +05:30