Commit Graph

1669 Commits

Author SHA1 Message Date
Mrugesh Mohapatra
7c4676d0a4 fix(client): quick-fix for cert claiming (#42055)
* chore: reinstate the quick-fix for cert claiming

This reverts commit d80d093c8b.

* feat: add progress to claim cert card
2021-05-07 12:39:42 -07:00
Nicholas Carrigan
fb9edaf790 revert(client): enzyme adapter React 17
This reverts commit ce6124a9ed.
2021-05-07 03:53:04 +05:30
Mrugesh Mohapatra
d80d093c8b revert(client): add quick superblock cert claim steps
This reverts commit e8578341b5.
2021-05-07 02:39:38 +05:30
Shaun Hamilton
e8578341b5 feat(client): add quick superblock cert claim steps (#42031)
* feat(client): add quick superblock cert claim steps

* remove comments
2021-05-06 11:45:19 -07:00
Mrugesh Mohapatra
5cb3465a1d fix(i18n): ensure language redirects for Chinese traditional (#42020) 2021-05-06 20:35:27 +05:30
Nicholas Carrigan
e46e80e08f feat(client): add chinese traditional
Add chinese traditional to the all-langs validation and necessary
client build configs.
2021-05-05 21:06:54 +05:30
Mrugesh Mohapatra
ce6124a9ed fix: use unofficial adapter for react 17 for enzyme 2021-05-05 20:59:43 +05:30
Ahmad Abdolsaheb
27c8d564e4 fix(client): replace Stripe with PayPal (#41924)
* feat: remove stripe payment option from client

* feat: remove stripe completely

* fix: remove last Stripe remnants

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-05-03 11:45:23 +03:00
Oliver Eyton-Williams
2eac236e39 fix: remove JS comments revisited (#41952)
* fix: restrict removeJSComments to test-evaluator

To prevent @babel from being included everywhere, this only calls
removeJSComments inside the test-evaluator

* test: add removeJSComments test
2021-04-30 22:30:06 +03:00
Mrugesh Mohapatra
341fe76f0f chore: roll back CSRF changes for the weekend
This reverts commit 00193858a0.
2021-04-30 23:57:28 +05:30
Oliver Eyton-Williams
00193858a0 fix: generate csrf tokens on server not client (#41908)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-04-30 09:42:26 +03:00
GM Fuster
3b056aa7b4 chore(replit): use correct brand name across codebase (#41941)
* replace repl.it with replit.com in the English version

Replace repl.it to replit.com in the English version.  Chinese and Spanish versions have the same issue.

* Updated the repl.it to replit.com or Replit

I changed the text from replit.com to Replit and added the changes to the files outside the curriculum folder.

* Forgot removing one .com.

There was on Replit.com that I missed when I reviewed the files.

* Resolve conflicts

I got an unable to auto merge so resolving conflicts and trying again.

* try committing conflicts again

* Trying the conflicts again

* chore: fix typo in personal library

Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>

Co-authored-by: gemmaf98 <44875585+gemmaf98@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Shaun Hamilton <51722130+ShaunSHamilton@users.noreply.github.com>
2021-04-29 11:13:38 +01:00
Oliver Eyton-Williams
9be2fb9a10 fix: use lodash-es in the client (#41931) 2021-04-28 16:11:20 -05:00
Evgeny Klimenchenko
db369fbed1 fix(client): remove JS comments from user code for tests (#41873)
* Removes comments in js challanges by default

* fix local-scope-and-functions test regex

* fix all languages

* revert language changes

* removed unnecessary removeJSComments from challenges

* fix challanges in other languages

* removed removeJSComments from all challanges
2021-04-28 10:18:54 -05:00
Sem Bauke
20cbfce484 chore(client) remove contextual navigation (#41919) 2021-04-28 08:10:43 -05:00
Sem Bauke
4d83779b2e fix(curriculum): intellisense suggenstion box should not be visible (#41918) 2021-04-27 09:27:53 -07:00
Tom
e79e212912 fix(curriculum): helper function regex s flag causing error (#41910) 2021-04-23 22:59:33 +02:00
Shaun Hamilton
d3f59e6d5d fix(dev): rename superBlock with v7 to certSlug (#41738)
* fix(dev): rename superBlock with v7 to slug

* improve name slug -> certSlug

* superBlockTitle -> superBlock

* correct teeny, tiny mistake

* fix: correct slug to certSlug in certLocation

* refactor currentCerts

* rename showCert cert -> certSlug and various
2021-04-23 22:29:17 +03:00
Shaun Hamilton
96e8dbc58f fix(client): replace lookbehind in transformEditorLink (#41889) 2021-04-22 19:06:33 +05:30
Shaun Hamilton
fd955635e5 feat(client): transform app url to editor (#41858) 2021-04-20 14:47:42 -07:00
gracewest333
90fe009374 feat(client): add placeholder text to forum posts (#41849) 2021-04-18 19:40:26 +03:00
Hassaan Pasha
9ce5a09593 fix (client): added editor refs to all the instances of Editor to enable hotkey focus (#41757) 2021-04-13 13:29:41 +02:00
Michael Parkadze
081f79060d fix(client): update search results links to open in new tab (#41734) 2021-04-12 15:29:01 +07:00
Ahmad Abdolsaheb
f075837311 feat: create action row and style Multi-file editor (#41579)
* feat: add action row & style editor

* fix: separate conditional for splittter and reflex element

* fix: move jaws whenever a line is deleted or added

* feat: keep line indicator inside editable region

* feat: add submit button and restyle decorator

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-04-09 13:18:54 -07:00
Gil Joseph Klein
6325c071fb fix: typo in APIs and Microservices (#41746) 2021-04-09 11:00:18 +03:00
Ahmad Abdolsaheb
d5d786049e feat(api): stripe checkout integration (#41666)
* feat: add api stripe checkout integration

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-04-02 15:33:34 +09:00
Ahmad Abdolsaheb
9d15b43415 feat: isolate production and staging analytics (#41648)
* feat: isolate production analytics

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-03-30 06:45:54 -07:00
Oliver Eyton-Williams
740370eb60 refactor: explicit mocking for analytics (#41562)
The previous approach did avoid a fair number of jest.mock calls, but
made debugging the tests harder. If you don't know about the mapping
it's unclear why the imported module does not behave as normal.

By forcing the use of jest.mock it means that the answer to that
question is in the test you are working on.
2021-03-29 16:48:58 -07:00
Mrugesh Mohapatra
ad9b1f89d8 fix(api, client): update Gatsby, webpack & related things (#41452)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-03-25 12:13:43 -07:00
Oliver Eyton-Williams
92dfb3065c fix(tests): expand client testing for Espanol (#41574) 2021-03-25 21:25:13 +05:30
Nicholas Carrigan (he/him)
746380b14d feat(client): style code block scrollbar (#41556)
Styles the scrollbar within the python challenges answer box.
2021-03-25 12:36:28 +01:00
Oliver Eyton-Williams
6b63da3996 fix(client): get translationPending in video chals (#41567) 2021-03-25 11:24:17 +05:30
Nicholas Carrigan (he/him)
b0f6c4e7a1 revert: remove nowrap rule (2f0b9ec) (#41572)
Revert the white-space: nowrap rule introduced in commit
2f0b9ec4a5 which was breaking multi-
line code block rendering.
2021-03-24 23:29:50 +03:00
Oliver Eyton-Williams
73d9b4c194 fix(client): split Editor panes correctly (#41570)
* refactor: clean up MultifileEditor

* fix: show correct splitters

* fix: include splitter for JSX
2021-03-24 23:21:08 +03:00
Oliver Eyton-Williams
963c3c5af5 fix(test): handle NavLinks for Chinese locale (#41566) 2021-03-24 08:11:19 -07:00
Shaun Hamilton
3aad0808ed fix(client): fix v7 certlocation (#41565) 2021-03-24 20:28:13 +05:30
Tom
73e5c4d935 fix(i18n): translate block names in completion modal (#41516)
* fix(i18n): translate block names in completion modal

* fix: update snapshot

* fix: update test and snapshot betterish

* fix: remove dasherize usage

* Update client/src/templates/Challenges/video/Show.js

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

* Update client/src/templates/Challenges/projects/frontend/Show.js

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

* fix: add block props to backend Show.js

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-03-23 23:29:16 +03:00
Patrick Franz
0190c19411 fix(client): code blocks overflowing parents (#41438) 2021-03-23 10:23:57 +05:30
Shaun Hamilton
cd722a0e7f fix(client): change repl.it validation to replit for migration (#41457) 2021-03-15 19:37:43 +05:30
Nicholas Carrigan (he/him)
f1c8a9825b fix(i18n,client): translatable cta url (#41384) 2021-03-12 17:14:54 -07:00
Mrugesh Mohapatra
6c91f81b0e chore(deps): upgrade eslint, prettier & related packages 2021-03-11 12:19:42 +05:30
Ahmad Abdolsaheb
aac49e9a40 fix(client): modernize stripe form (#41359)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-03-10 20:33:55 +05:30
gikf
e213c9f581 fix(client): use block for video challenge right breadcrumb (#41397) 2021-03-07 10:06:17 -08:00
Tegar D Pratama
2630dc03d7 fix: block-cta-wrapper breaking the layout in mobile view. (#41299)
* fix: client bug in mobile view

* fix: show card title elemenbts in column on small screens

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2021-03-04 14:05:50 -08:00
Shaun Hamilton
36f58bcfdf fix(client): update store after any submission (#41329) 2021-03-05 02:31:18 +05:30
Mayank Verma
01a7a8c320 fix(i18n): add i18next keys for ShowProjectLinks (#41239)
* Add required keys for translating ShowProjectLinks

* Use i18next keys for translation
2021-03-01 15:47:52 +01:00
Randell Dawson
2b326e9714 fix(client,i18n): Use block for front end / back end projects and back end challenge right breadcrumb (#41276) 2021-02-27 02:38:34 +05:30
Mrugesh Mohapatra
b5f4754e2a fix: re-revert the API decoupling (#41263)
* fix(api): decouple api from curriculum

This reverts commit 8f0e441644 and
introduces the implementations from #40703.

* fix(gitpod): add curriculum build to GitPod

This reverts commit 706d70f58d and
introduces implementations from #41234.

* docs: update DevOps manual for api change (#41259)

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-02-25 12:02:35 -08:00
Oliver Eyton-Williams
f4e1fe11fc fix: error reporting (#41249) 2021-02-25 20:09:28 +05:30
Mrugesh Mohapatra
8f0e441644 revert(api): decouple api from curriculum
This reverts commit c077ffe4b9
via PR #40703
2021-02-25 03:40:09 +05:30