Commit Graph

3023 Commits (1786ce36853c5ec2a4cc2366106ee3429ab84cfe)

Author SHA1 Message Date
Renovate Bot 831ef03335 chore(deps): pin dependency serve to 12.0.0 2021-08-14 04:26:53 +00:00
Shaun Hamilton c2a11ad00d
feat: add 'back/front end' in curriculum (#42596)
* chore: rename APIs and Microservices to include "Backend" (#42515)

* fix typo

* fix typo

* undo change

* Corrected grammar mistake

Corrected a grammar mistake by removing a comma.

* change APIs and Microservices cert title

* update title

* Change APIs and Microservices certi title

* Update translations.json

* update title

* feat(curriculum): rename apis and microservices cert

* rename folder structure

* rename certificate

* rename learn Markdown

* apis-and-microservices -> back-end-development-and-apis

* update backend meta

* update i18n langs and cypress test

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

* fix: add development to front-end libraries (#42512)

* fix: added-the-word-Development-to-front-end-libraries

* fix/added-the-word-Development-to-front-end-libraries

* fix/added-word-development-to-front-end-libraries-in-other-related-files

* fix/added-the-word-Development-to-front-end-and-all-related-files

* fix/removed-typos-from-last-commit-in-index.md

* fix/reverted-changes-that-i-made-to-dependecies

* fix/removed xvfg

* fix/reverted changes that i made to package.json

* remove unwanted changes

* front-end-development-libraries changes

* rename backend certSlug and README

* update i18n folder names and keys

* test: add legacy path redirect tests

This uses serve.json from the client-config repo, since we currently use
that in production

* fix: create public dir before moving serve.json

* fix: add missing script

* refactor: collect redirect tests

* test: convert to cy.location for stricter tests

* rename certificate folder to 00-certificates

* change crowdin config to recognise new certificates location

* allow translations to be used

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* add forwards slashes to path redirects

* fix cypress path tests again

* plese cypress

* fix: test different challenge

Okay so I literally have no idea why this one particular challenge
fails in Cypress Firefox ONLY. Tom and I paired and spun a full build
instance and confirmed in Firefox the page loads and redirects as
expected. Changing to another bootstrap challenge passes Cypress firefox
locally. Absolutely boggled by this.

AAAAAAAAAAAAAAA

* fix: separate the test

Okay apparently the test does not work unless we separate it into
a different `it` statement.

>:( >:( >:( >:(

Co-authored-by: Sujal Gupta <55016909+heysujal@users.noreply.github.com>
Co-authored-by: Noor Fakhry <65724923+NoorFakhry@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-08-13 21:57:13 -05:00
Renovate Bot 4df2a0c542 chore(deps): update codesee to v0.65.0 2021-08-13 20:20:07 +00:00
Shaun Hamilton e98d3dd3da
fix(client): allow old local-storage code (#43196) 2021-08-13 13:15:50 -05:00
renovate[bot] 4190e2264d
fix(deps): update dependency react-monaco-editor to v0.44.0 (#43029)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-13 12:19:39 +02:00
renovate[bot] 1c39fc2204
fix(deps): update gatsby monorepo (#42959)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-13 00:32:53 +05:30
Shaun Hamilton 59f17f237b
refactor: files{} -> challengeFiles[], and key -> fileKey (#43023)
* fix(client): fix client

* fix propType and add comment

* revert user.json prettification

* slight type refactor and payload correction

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

* update ChallengeFile type imports

* add cypress test for code-storage

* update test and storage epic

* fix Shaun's tired brain's logic

* refactor with suggestions

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

* update codeReset

* increate cypress timeout because firefox is slow

* remove unused import to make linter happy

* use focus on editor

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

* use more specific seletor for cypress editor test

* account for silly null challengeFiles

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

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-08-12 20:48:28 +02:00
Renovate Bot 1f62dfe2b3 fix(deps): update dependency @stripe/stripe-js to v1.17.0 2021-08-12 17:46:27 +00:00
Renovate Bot 0336269da9 fix(deps): update dependency nanoid to v3.1.25 2021-08-12 15:50:07 +00:00
DanielRosa74 b51d0d72f5
fix(i18n): Fixing a typo in line 170 (#43187) 2021-08-12 12:59:05 +01:00
Tom 925891858c
fix(client): open curriculum links in new tabs (#43136) 2021-08-12 09:02:57 +02:00
Renovate Bot e2c1328d62 fix(deps): update dependency nanoid to v3.1.24 2021-08-11 23:20:36 +00:00
Nicholas Carrigan (he/him) c8ec196dbc
fix: scrollable nav (#42600)
* fix: scrollable nav

Modify the drop down menu to be scrollable.

* fix: account for really small screens
2021-08-11 18:17:21 +01:00
Renovate Bot 686acd6dff chore(deps): update babel monorepo to v7.15.3 2021-08-11 09:47:40 +00:00
Nicholas Carrigan (he/him) 28003256c3
fix: restore navatar class (#43176) 2021-08-11 09:38:31 +02:00
Renovate Bot 0a32528c4d chore(deps): update dependency webpack to v5.50.0 2021-08-11 03:29:05 +00:00
Renovate Bot 8e48f17234 chore(deps): update codesee to v0.64.1 2021-08-11 01:25:58 +00:00
Renovate Bot 574b13d4ee chore(deps): update codesee to v0.64.0 2021-08-10 19:50:22 +00:00
Victor Duarte 7c6524186e
refactor(client): docs, ts and test challenges (#42978)
* refactor(client): relocate to learn path tests file

* refactor(client): add docs for to learn path

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>

* fix: order imports

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-08-10 15:22:39 +02:00
Renovate Bot dc8f88ee2e chore(deps): update codesee to v0.63.1 2021-08-10 01:40:26 +00:00
Ahmad Abdolsaheb b0b438a40f
Revert "fix(client): remove wallets (#43159)" (#43163)
This reverts commit 5a4c02addd.
2021-08-09 16:39:48 -05:00
camperbot c9b9175d1d
chore(i18n,learn): update translations (#43155) 2021-08-09 13:17:06 -07:00
Ahmad Abdolsaheb 5a4c02addd
fix(client): remove wallets (#43159) 2021-08-09 21:28:38 +03:00
Tom 0ae8b0c0e8
chore: clean-up unsed things in stripe integration (#43156)
* chore: clean-up unsed things in stripe integration

* fix: use logged in users email over email given to payment form
2021-08-09 21:27:14 +03:00
Renovate Bot f27a4440d6 chore(deps): pin dependency @types/psl to 1.1.0 2021-08-09 11:45:46 +00:00
awu43 dd5d2919be
feat(client): ts-migrate client/utils/** (#42823)
* rename js files

* update imports and references

* migrate build-challenges

* migrate challenge-types

* migrate utils/index

* migrate state-management

* install @types/psl for tags

* migrate tags

* migrate tags.test

* migrate challenge-page-creator

* migrate utils/gatsby/index

* migrate layout-selector

* migrate layout-selector.test

* revert challenge-types

Curriculum can't handle TS or modules

* convert arrow functions

* revert build-challenges

* revert utils/gatsby/index

* revert challenge-page-creator

* revert challenge-types reference

* Delete state-management

Deleted in #42960

* Disable render-result-naming-convention (for now)

* update layout-selector.test comment

* reorder imports in build-challenges

* change ts-ignore to ts-expect-error
2021-08-09 10:30:31 +02:00
Renovate Bot 1a212ab927 fix(deps): pin dependencies 2021-08-08 22:33:04 +00: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
Renovate Bot ad54684dce fix(deps): update dependency @babel/standalone to v7.15.2 2021-08-08 18:12:00 +00:00
camperbot 1f4972c6f5
chore(i18n,learn): update translations (#43139) 2021-08-07 16:55:07 +01:00
Renovate Bot 41c6914a25 chore(deps): update codesee to v0.61.0 2021-08-06 23:07:34 +00:00
Renovate Bot ae734e7715 chore(deps): update dependency webpack to v5.49.0 2021-08-06 16:40:58 +00:00
camperbot 48fee9232b
chore(i18n,learn): update translations (#43131) 2021-08-06 08:04:24 -07:00
Sem Bauke eccc642d83
fix(client): store accessibility for screenreaders (#42996)
* fix: store accessibility for screenreaders

* Apply suggestions from code review

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

* fix: remove old comments

* feat: at short cut announcement when running test

* feat: announce that accesibility mode is turned on

* fix: use Redux values

* Apply suggestions from code review

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

* Apply suggestions from Oliver

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

* fix: "rip out redux stuff" and use store instead

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* fix: old use of props

* Update client/src/templates/Challenges/classic/editor.tsx

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

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-08-06 14:17:17 +02:00
Renovate Bot 097565c615 chore(deps): update codesee to v0.60.0 2021-08-05 22:37:25 +00:00
Tom f0aeb3b267
fix(curriculum): rename rdbms cert project to proper name (#43042)
* fix:(curriculum): rename rdbms cert project

* fix: some more spots to rename

* fix: rename i18n's
2021-08-05 22:15:44 +01:00
awu43 4134404bfd
feat(client): ts-migrate WithInstantSearch.js (#42923)
* rename to TS

* update import

* migrate with-instant-search

* change falsy values to empty string

* update import order

Finish resolving conflict from #41824

* update import order for search-bar

* update setTimeout() type
2021-08-05 21:00:30 +01:00
DanielRosa74 038ac3e7b9
feat(client,i18n): update motivation.json for Portuguese (#43121) 2021-08-05 21:23:47 +02:00
Oliver Eyton-Williams 10286f6c80
feat: add stripe merchant id for apple pay (#43124) 2021-08-05 20:00:50 +01:00
camperbot e389517800
chore(i18n,learn): update translations (#43126) 2021-08-05 07:30:35 -07:00
Renovate Bot fe17982d27 fix(deps): update dependency @babel/standalone to v7.15.1 2021-08-05 09:41:54 +00:00
Renovate Bot b4ec41adfd chore(deps): update codesee to v0.59.1 2021-08-05 01:31:25 +00:00
Renovate Bot 35cdece8d7 chore(deps): update babel monorepo to v7.15.0 2021-08-05 00:13:20 +00:00
Renovate Bot 1307ce3eb9 fix(deps): update dependency react-reflex to v4.0.3 2021-08-04 22:29:35 +00:00
Tom 7b27821871
feat(curriculum): add icon for rdbms (#43109)
* feat(curriculum): add icon for rdbms

* fix: add better behaved icon
2021-08-04 13:22:58 -07:00
Renovate Bot 524556463a fix(deps): pin dependency @types/react-scrollable-anchor to 0.6.1 2021-08-04 12:19:55 +00:00
Nicolás Restrepo e34ec814ef
feat(client): migrate donate module to ts (#42561)
* change DonationTextComponent extension to tsx

* migrate DonationTextComponents to ts

* change DonationModal extension to tsx

* add @types/react-redux

* migrate DonationModal to ts

* change PaypalButton extension to ts

* change DonateCompletion extension to tsx

* migrate DonateCompletion to TypeScript

* change PayPalButtonLoader extension to tsx

* first changes in paypal button (help needed)

* first changes in PayPalButtonScriptLoader (help needed)

* change DonateForm extension to tsx

* migrate donate module to ts

* Update client/src/components/Donation/DonateForm.tsx

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

* Update client/src/components/Donation/DonationModal.tsx

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

* Update client/src/components/Donation/DonationModal.tsx

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

* Update client/src/components/Donation/DonateForm.tsx

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

* Update client/src/components/Donation/DonateForm.tsx

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

* Delete console.log client/src/components/Donation/DonationModal.tsx

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

* applied changes requested

* fix: readjust default one time amount

* fix types

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

* chore: restore comments.json

* fix: type assertion

* fix: specific DonateForm props

* Apply suggestions from code review

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

* Update client/src/components/Donation/PaypalButton.tsx

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

* fix:set default stat for paypalbutton

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2021-08-04 11:21:11 +01:00
Renovate Bot 8886a9396c fix(deps): update dependency redux to v4.1.1 2021-08-03 17:08:11 +00:00
Renovate Bot 5ccb6cf452 chore(deps): update codesee to v0.57.0 2021-08-02 21:30:20 +00:00
Renovate Bot 785ec78af2 chore(deps): update dependency webpack to v5.48.0 2021-08-02 16:00:24 +00:00