Commit Graph

3052 Commits

Author SHA1 Message Date
Oliver Eyton-Williams
d161998acc test: check that JS projects can be submitted. (#43222)
* test: check that JS projects can be submitted.

* refactor: remove stale workflow comments

* refactor: remove redundant build

* chore: update Cypress version in CI

* test: create separate electron-only workflow

* test: put data-cy on correct button

* test: drop mailhog from electron CI

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

* refactor: update differences comment

* test: separate toggling from logging in

* test: check solutions can be viewed on cert

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
2021-08-24 20:26:48 +02:00
Christian Z. Tamayo
a42348d3b9 test: Privacy terms redirection (#43195) 2021-08-24 22:36:23 +05:30
camperbot
f8b41a34ab chore(i18n,client): processed translations (#43276) 2021-08-24 16:39:35 +02:00
muneeb-121
b3cae635e1 fix: typo intro.json 2021-08-24 16:05:17 +02:00
Oliver Eyton-Williams
5e49521fc2 fix(client): some editor edge cases (#43256)
* fix: handle erm on line zero

* refactor: fix eslint errors

* fix: prevent crash on zero height editable region
2021-08-23 11:34:53 -07:00
Mohamed Naufal A
498805c235 fix(client): use en top contributor link for i18n (#43248)
* Changes made as directed in the instructions

* second revision

* Third revision

* Cypress Test updated

* cypress test updation

* directly linking to top-contributors news page

Co-authored-by: Ilenia <nethleen@gmail.com>
2021-08-23 16:50:28 +01:00
Renovate Bot
a44c2e4b8f fix(deps): update dependency algoliasearch to v4.10.4 2021-08-23 12:06:43 +00:00
miyaliu666
5ecfbcc5d4 Update trending.json 2021-08-23 18:33:55 +08:00
Renovate Bot
6f720dc068 chore(deps): update dependency autoprefixer to v10.3.2 2021-08-21 21:32:09 +00:00
ABHINAV SHARMA
bd7a6780a9 feat(client): ts-migrate Map component (#42845)
* feat(client) Renamed index.js to index.tsx

* feat(client): ts-migrate Map component
2021-08-21 12:06:09 +01:00
Madhuri Ramakrishnan
3c71593931 fix(client): "help translate" link for Italian & Portuguese (#43254) 2021-08-20 08:34:17 -07:00
camperbot
ec9034751e chore(i18n,learn): update translations (#43190) 2021-08-20 09:03:00 +02:00
Nicholas Carrigan (he/him)
b99ee5e7de feat: english forum for guide posts (#43246) 2021-08-20 11:58:07 +05:30
Renovate Bot
8dc9cd4d6d chore(deps): update codesee to v0.71.1 2021-08-20 01:03:55 +00:00
Renovate Bot
55e8db1d9c chore(deps): update codesee to v0.70.1 2021-08-19 21:44:25 +00:00
Ahmad Abdolsaheb
1fec73cdf7 feat(client): Unify donation loading state (#43179)
* initial loading state unification

* feat(client): show buttons after 3 seconds

* fix: use window.setInterval explicitly

Otherwise TS assumes that it's node's setInterval

* feat(client): remove spinner when first button load

* feat(client): move the loader to the donate page button area

* feat(client): extract grid from modal donation form

* feat(client): remove duplicate donation forms

* feat(client):extract unused components from donationForm

* feat(client): load paypal on load not onInit (for perf)

* feat(client): set paypal loading state if stripe already loaded

* feat(clinet):make lpaypal oading condition strickt.

* Apply suggestions from code review

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

* feat: clean up

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-08-19 14:47:25 -05:00
Renovate Bot
72529a8050 fix(deps): update dependency @stripe/stripe-js to v1.17.1 2021-08-19 18:03:39 +00:00
Renovate Bot
47c6e33e06 chore(deps): update dependency webpack to v5.51.1 2021-08-19 16:20:33 +00:00
Renovate Bot
25f750f888 chore(deps): update dependency webpack to v5.51.0 2021-08-19 10:39:37 +00:00
Renovate Bot
20c4b68ad4 chore(deps): update codesee to v0.69.0 2021-08-19 03:14:27 +00:00
Renovate Bot
21fbbe69d5 chore(deps): update codesee to v0.67.0 2021-08-18 18:51:27 +00:00
Victor Duarte
84760cba9e fix(client): removes cut off in certificate page (#43090) 2021-08-18 09:23:34 -05:00
Renovate Bot
52447d28a9 fix(deps): update gatsby monorepo 2021-08-18 12:34:03 +00:00
Renovate Bot
7dfe4b4900 chore(deps): update codesee to v0.66.1 2021-08-17 20:35:29 +00:00
Shaun Hamilton
5806c3047d fix(client): convert challengeFiles->files before sending to api (#43204)
* fix(client): convert challengeFiles->files before sending to api

* update use of user.completeChallenges

* parse response in ajax, pre-typing

* add typing to getSessionUser

* refactor: use Omit

* fix: reorganise getSessionUser

* refactor ajax for simplicity

* refactor to be worse

* allow for undefined completedChallenges

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

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-08-17 12:31:25 -05:00
renovate[bot]
63340dc55c fix(deps): update font awesome (#43107)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-17 21:46:18 +05:30
renovate[bot]
d620810710 fix(deps): update dependency i18next to v20.4.0 (#43166)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-17 17:03:35 +05:30
Tom
7ef9afcec4 Revert "fix(client): open curriculum links in new tabs (#43136)" (#43215)
This reverts commit 925891858c.
2021-08-16 19:19:23 +02:00
Renovate Bot
3c5ff65d82 chore(deps): update dependency webpack-cli to v4.8.0 2021-08-15 23:51:27 +00:00
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