Oliver Eyton-Williams
6e9513a933
chore: upgrade eslint ( #58575 )
2025-02-07 22:48:43 +02:00
Huyen Nguyen
0ba9eeff43
refactor(api, curriculum): use the shared shuffleArray util ( #56444 )
...
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2024-10-02 08:55:38 -05:00
Ahmad Abdolsaheb
7e23b0d69c
fix: update stripe wallets to use payment intent ( #54668 )
...
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2024-06-15 11:45:10 +05:30
Ahmad Abdolsaheb
20b6b83e99
feat: remove paypal webhook listener ( #54395 )
2024-04-29 07:49:21 +02:00
Oliver Eyton-Williams
84a81c842b
fix(api): remove cookie domain in development ( #54518 )
2024-04-26 08:32:46 -07:00
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
Tom
369368a799
feat(client/api): add C# survey ( #51682 )
2023-11-07 20:34:12 +05:30
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
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
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
Oliver Eyton-Williams
9bb1cc56f1
fix: stop returning donationEmails ( #50623 )
2023-06-07 19:08:04 +04: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
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
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
9b6042e44d
feat: enable mobile auth endpoints ( #49298
...
Reverts #49212
2023-02-09 14:01:13 +05:30
Mrugesh Mohapatra
c3103bae3d
revert: mobile auth for unblocking deployments ( #49212 )
2023-01-31 22:06:17 +05:30
Niraj Nandish
96fc70db1d
feat: mobile auth ( #48591 )
...
Co-authored-by: sembauke <semboot699@gmail.com >
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com >
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2023-01-27 13:35:48 +05:30
Ahmad Abdolsaheb
bff61255f9
feat(donation): simplify donation client ( #46379 )
...
* feat: unify post payment actions
* feat: handle stripe card error and add donation after auth
* feat: add donation saga stripe test
* feat: add more coverage to stripe tests
* feat: add initial stripe card saga test
* feat: finalize initial stripe card saga test
* feat: add patreon test saga
* feat: test clean up
* feat: do not show processing for Patreon
* feat: normalize donation settings
* feat: turn payment provider/contex to enum
* feat: remove donation-settings.js
* fix: git ignore generated config
* fix: ignore the generate config from everything
* fix: remove types.js
* fix: update linting to include types.js
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com >
2022-12-20 18:03:06 +05:30
Mrugesh Mohapatra
b393d88b9e
refactor: s/all-langs/i18n/g ( #48258 )
2022-10-26 10:08:27 -07:00
SADIK KUZU
3522ce6f34
fix(api): write variable names in correct manner ( #47883 )
2022-10-11 17:25:56 +02:00
Oliver Eyton-Williams
71b1d25d54
refactor: stop adding jwt to headers ( #46367 )
...
The client never uses the header, so there's no need for the api to set
it.
2022-06-16 09:42:32 -05:00
Radi Totev
e581bd9081
feat(client): shortcuts legend modal available on pressing the ? key ( #45530 )
...
* Add modal texts in translations.json file
* Add shortcuts modal state in redux
* Create shortcuts modal
* Integrate shortcuts modal
* Resolve codefactor.io issues
* Extend list of shortcuts
Based on this comment:
https://github.com/freeCodeCamp/freeCodeCamp/issues/36841#issuecomment-933310078
* Remove temporary placeholder for modal title
* Open modal fom Hotkeys instead of learn.tsx
As suggested in this comment:
https://github.com/freeCodeCamp/freeCodeCamp/pull/45530#issuecomment-1101224993
* Complete list in transaltions
* Change shortcut presentation fo better a11y
Use table instead of list items as suggestedin this comment:
https://github.com/freeCodeCamp/freeCodeCamp/pull/45530#issuecomment-1101796368
* Add aria-labelledby
* Remove GAnalytics
* Remove leftover style
* Remove table caption
* autofocus on modal close button
* Improve modal a11y
- Add requested changes from https://github.com/freeCodeCamp/freeCodeCamp/pull/45530#issuecomment-1104764766
- Leave autofocus and parent div role=dialog changes for later. (https://github.com/freeCodeCamp/freeCodeCamp/pull/45530#issuecomment-1107754148 )
* [WIP] Alllow users to turn off keyboard shortcuts
* Add keyboard shortcuts switch in settings
* Disable shortcuts
* Remove toggle switch description
* Refactor and cleanup
* Remove close button from modal header
Suggested by bbsmooth:
https://github.com/freeCodeCamp/freeCodeCamp/pull/45530#issuecomment-1107861091
* Fix lint issues
* Disable shortcuts
* Disable shortcuts by default
* Update challenge output test
* Update challenge-hot-keys test
* Disable shortcuts from inside handlers
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com >
2022-06-03 09:57:52 -07:00
Ahmad Abdolsaheb
1885b6ad96
fix: handle Sentry donation errors ( #46074 )
2022-05-19 16:32:11 +02:00
Oliver Eyton-Williams
21709a11cb
chore: return 404 for update-my-current-challenge ( #46042 )
2022-05-18 08:39:52 -05:00
Tom
9f753a5662
feat: let users save cert project code to db ( #44700 )
...
* feat: let users save cert project code to db
fix: move getChallenges call out of request function so it only runs once
fix: use FlashMessages enum
fix: transform challengeFiles earlier
test: make tribute page use multifile editor
stuff I was playing with - revert this to get it to a working state
refactor: allow undefined editableRegionBoundaries
fix: save history
history is not necessarily ["name.ext"] and using the incorrect history
could cause weird bugs
fix: replace files -> challengeFiles on the client
refactor: DRY out ajax
fix: use file -> challengefile map
refactor: rename ajax types
fix: alphatize flash-messages.ts
revert: tribute page project
fix: remove logs
fix: prettier
fix: cypress
fix: prettier
fix: remove submitComplete action
fix: block UI for new projects
fix: handle code size
* fix: catch undefined files
* fix: don't default to undefined when it's already the default
* fix: only update savedChallenges if applicable
* fix: dehumidify backend + fine tune nearby stuff
* fix: prop-types
* fix: dehumidify sagas
* fix: variable name
* fix: types
* Apply suggestions from code review
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* fix: typo
* fix: prettier
* fix: props types
* fix: flash messages
* Update client/src/utils/challenge-request-helpers.ts
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* chore: rename function uniformize -> standardize
* fix: flash message
* fix: add link to forum on flash messages
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2022-03-31 10:34:40 -05:00
Naomi Carrigan
9e03419efb
chore: dry out 410 logic ( #45257 )
2022-02-26 00:38:18 +05:30
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
Tom
57cf47dad4
feat: split rdbms into individual blocks and two challengeTypes ( #44978 )
...
* feat: split english rdbms into individual blocks
fix: stuff
fix: remove from partiallyComplete array on submit
fix: add suggestion
Update client/i18n/locales/english/translations.json
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Update client/i18n/locales/english/intro.json
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Update client/i18n/locales/english/intro.json
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Update client/i18n/locales/english/intro.json
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Update client/src/templates/Challenges/codeally/show.tsx
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Update client/src/templates/Challenges/codeally/show.tsx
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Update client/src/templates/Challenges/codeally/show.tsx
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Update client/src/templates/Challenges/codeally/show.tsx
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Update client/src/templates/Challenges/codeally/show.tsx
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Update client/src/templates/Challenges/codeally/show.tsx
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Update client/src/templates/Challenges/codeally/show.tsx
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Update client/src/templates/Challenges/codeally/show.tsx
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* fix: prettier
* fix: style suggestion
* Apply suggestions from code review
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2022-02-11 15:39:27 +00:00
Tom
f0698aa517
feat(client,api): add user tokens and route for submitting coderoad tutorials ( #43304 )
...
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com >
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2021-11-17 19:49:24 +05:30
Ahmad Abdolsaheb
9179b2fc55
feat: add stripe authentication support ( #44060 )
...
* feat: add stripe authentication support
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com >
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2021-11-03 10:32:03 -07:00
Nicholas Carrigan (he/him)
07bfe87419
feat: add campfire mode ( #42663 )
...
* feat: add campfire mode
fix: resolve lint issues
feat: add sound to editor
fix: restore flash messages
fix: linter issues
fix: obey sound setting
Update the editor to obey the camper's sound setting.
chore: apply suggestions from code review
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
fix: use @types/store
fix: linter issues
feat: simplify sound saga
Update client/src/redux/sound-mode-saga.js
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
fix: missing bracket
chore: use new s3 bucket
fix: lint
fix: import only needed bits
fix: remove from navbar
(was intermittently broken here anyway)
fix: dynamic imports?
fix: more dynamic imports
fix: tweak theme logic
chore: boolean | undefined
fix: dns
fix: no hammer local storage
* chore: apply oliver's review suggestions
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* fix: lost an import
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2021-10-27 17:50:29 -05:00
AndreiD049
a07a16b38b
fix: added possibility to revert back to default profile picture ( #43962 )
...
* added possibility to revert to default profile picture
* removed required from picture input
* remove addPlaceholderImage and replaced with empty string
* added test for empty string to avatar-renderer
2021-10-25 21:06:32 +02:00
RobertoMSousa
cb0a502d82
chore: tree shaking - unused / redundant code ( #43867 )
2021-10-15 13:13:43 +05:30
Eric Cheng
2ba536d559
refactor: enforce consistent camelCase in const names, add comments, condense multiple single-line comments into one multi-line comment ( #43699 )
2021-10-04 19:15:44 +05:30
Ahmad Abdolsaheb
cf309b5349
fix: optionally add name to customer creation ( #43486 )
2021-09-20 09:56:42 +02:00
Ahmad Abdolsaheb
e5523bf16e
feat: add Stripe card form ( #43433 )
...
* eat: add Stripe card form
* Apply suggestions from code review
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* feat: adjust payload and error handling
* feat: readjust error handling
* Apply suggestions from code review
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
* feat: refactors from comments
* feat: prevent submition during processing
* feat: redefine isSubmitting
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
* fix: show the proper paypal button on donate page
* fix: handle errors from stripe
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com >
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com >
2021-09-17 22:15:56 +03:00
Ahmad Abdolsaheb
b623c340a9
feat(client): add google pay ( #43117 )
...
* feat: initial button setup client
* feat: rename walletsButton to .tsx
* chore: typescriptize wallet component
* chore: re-add keys to config, env, etc + check in gatsby-node
* feat: refactor donate form and wallet component
* feat(client): set labels correctly
* chore: add stripe package back to server
* chore: add stripe back to allowed paths
* chore: copy donate.js code from PR #41924
* feat: attempt to make back end work
* feat: make redux work
* feat: clean up
* feat: hokify
* feat: add error handling
* fix: back-end should be working
* fix: type errors
* fix: clean up back-end
* feat:addd styles
* feat: connect the client to the api
* feat: display wallets button everywhere
* test: add stripe key for cypress action
* test: fix for cypress tests
* test: cypress tests again
* test: maybe?
* test: more
* test: more
* test: more
* test
* askdfjasklfj
* fix: tests finally?
* revert: remove space from cypress yaml action
* remove logs
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com >
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2021-08-08 23:22:25 +03:00
Oliver Eyton-Williams
e118dda13a
fix: order imports and remove circular dependencies ( #41824 )
...
* fix: remove circular dependency
redux depended on templates/Challenges/redux and vice versa. This
meant that import order mattered and confusing bugs could arise.
(cherry picked from commit 7d67a4e70922bbb3051f2f9982dcc69e240d43dc)
* feat: require imports to be in alphabetical order
Import order generally does not matter, but there are edge cases
(circular imports and css imports, for example) where changing order
changes behaviour
(cherry picked from commit b8d1393a91ec6e068caf8e8498a5c95df68c2b2c)
* chore: order imports
* fix: lift up challenge description + title comps
This brings the classic Show closer to the others as they
now all create the description and title components
* fix: remove donation-saga/index circular import
(cherry picked from commit 51a44ca668a700786d2744feffeae4fdba5fd207)
* refactor: extract action-types from settings
(cherry picked from commit 25e26124d691c84a0d0827d41dafb761c686fadd)
* fix: lint errors
* feat: prevent useless renames
2021-08-02 08:39:40 -05:00
Oliver Eyton-Williams
1ba9d03cb5
feat: remove csrf from the client ( #42242 )
2021-07-16 10:49:47 -05:00
Oliver Eyton-Williams
92d7ae1725
fix(client): remove extra slash when redirecting to client ( #42588 )
...
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com >
2021-07-12 13:54:54 +05:30
Renovate Bot
7c2a4aff6e
chore(deps): update dependency jest to v27
2021-07-06 19:01:17 +05:30
Ahmad Abdolsaheb
b3f2c64de8
fix(client): remove algolia and hot keys modules from landing pages ( #42394 )
...
* fix(client): remove algolia and hot keys from landing pages
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com >
2021-06-24 12:50:36 +03:00