Commit Graph

2420 Commits (9f219f3f2b02d14ed61a22cf493f72c27d7cf322)

Author SHA1 Message Date
dependabot[bot] d2ab69ef49 chore(deps): bump gatsby from 2.24.73 to 2.24.80 in /client
Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 2.24.73 to 2.24.80.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/compare/gatsby@2.24.73...gatsby@2.24.80)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 05:37:33 +00:00
dependabot[bot] 6185f44892 chore(deps): bump gatsby-source-filesystem in /client
Bumps [gatsby-source-filesystem](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-source-filesystem) from 2.3.34 to 2.3.35.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-filesystem/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-filesystem@2.3.35/packages/gatsby-source-filesystem)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 05:36:56 +00:00
dependabot[bot] 8d6e33ced9 chore(deps): bump @babel/standalone from 7.11.6 to 7.12.3 in /client
Bumps [@babel/standalone](https://github.com/babel/babel/tree/HEAD/packages/babel-standalone) from 7.11.6 to 7.12.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.3/packages/babel-standalone)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 05:33:14 +00:00
dependabot[bot] c93421a21b chore(deps): bump react-instantsearch-dom from 6.7.0 to 6.8.1 in /client
Bumps [react-instantsearch-dom](https://github.com/algolia/react-instantsearch) from 6.7.0 to 6.8.1.
- [Release notes](https://github.com/algolia/react-instantsearch/releases)
- [Changelog](https://github.com/algolia/react-instantsearch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/algolia/react-instantsearch/compare/v6.7.0...v6.8.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-19 05:29:31 +00:00
Eli Carlin-Coleman a834672437
Fix low-contrast CSS strings in code blocks (#39967) (#39987)
First noticed on the challenge "Divide the Grid Into an Area Template", text is hard to read in night mode due to low contrast in the CSS code block. Problem was discussed in issue #39967, and this change was proposed to boost contrast above the minimum acceptable ratio of 4.5:1.

This change only targets CSS code blocks in night mode, and only strings. I could not find code blocks in other languages with this issue, but they may exist.
This also does not target `.token.operator`, `.token.entity`, or `.token.url`. There is no issue here with contrast, but these classes do not include a background. A proposed future change could be to remove the background from `.token.string` as well, but this change is not made here, as current style guides recommend the background.
2020-10-16 14:52:16 +03:00
Oliver Eyton-Williams a39235be83
feat(learn): allow word breaks in tool panel (#39986)
This is motivated by a desire to remove <wbr>s from the test texts

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-10-16 16:20:50 +05:30
Oliver Eyton-Williams 89737e1406
refactor(learn): remove static prism css (#39981) 2020-10-15 18:13:51 +05:30
Oliver Eyton-Williams a71150074d
fix(learn): preserve whitespace in the tool panel (#39973) 2020-10-14 21:40:15 +05:30
Ahmad Abdolsaheb 3106fe804f
fix(client): unify client donations methods (#39562)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-10-14 15:53:26 +05:30
Oliver Eyton-Williams 38323f858f
fix(client): update nanoid (#39960) 2020-10-13 17:24:46 +05:30
Oliver Eyton-Williams 35f43e8886 chore: update date-fns 2020-10-13 16:26:17 +05:30
Oliver Eyton-Williams 6da9d105e0
chore(client): update testing-library 2020-10-12 14:15:51 +02:00
Oliver Eyton-Williams b9db30f7a1
refactor(client): move jest-dom into setup file 2020-10-12 14:11:52 +02:00
Oliver Eyton-Williams 59e81824a6 chore(client): minor version bumps 2020-10-12 15:23:05 +05:30
Mrugesh Mohapatra e666419a8f fix(client): address new warnings from linter 2020-10-12 15:10:42 +05:30
dependabot[bot] cce1355efa chore(deps): bump gatsby-plugin-postcss from 2.3.12 to 2.3.13 in /client
Bumps [gatsby-plugin-postcss](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-postcss) from 2.3.12 to 2.3.13.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-postcss/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-postcss@2.3.13/packages/gatsby-plugin-postcss)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-11 20:16:31 +00:00
dependabot[bot] 221a822009 chore(deps): bump axios from 0.19.2 to 0.20.0 in /client
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.20.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.20.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-11 20:12:28 +00:00
dependabot[bot] 20867256fb chore(deps-dev): bump autoprefixer from 9.7.6 to 9.8.6 in /client
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.7.6 to 9.8.6.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.7.6...9.8.6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-11 19:37:11 +00:00
dependabot[bot] 82b028542f chore(deps): bump prismjs from 1.21.0 to 1.22.0 in /client
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.21.0...v1.22.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-11 19:28:59 +00:00
dependabot[bot] 551f0ca6c7 chore(deps): bump typescript from 3.8.3 to 4.0.3 in /client
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.8.3 to 4.0.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.8.3...v4.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-11 17:50:17 +00:00
dependabot[bot] 4f520a2144 chore(deps): bump sanitize-html from 1.27.4 to 2.1.0 in /client
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 1.27.4 to 2.1.0.
- [Release notes](https://github.com/apostrophecms/sanitize-html/releases)
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apostrophecms/sanitize-html/compare/1.27.4...2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-10 18:25:34 +00:00
dependabot[bot] e9bfd68ec7 chore(deps): bump react-helmet from 5.2.1 to 6.1.0 in /client
Bumps [react-helmet](https://github.com/nfl/react-helmet) from 5.2.1 to 6.1.0.
- [Release notes](https://github.com/nfl/react-helmet/releases)
- [Changelog](https://github.com/nfl/react-helmet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nfl/react-helmet/commits/6.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-10 18:22:27 +00:00
dependabot[bot] c198578303 chore(deps-dev): bump monaco-editor-webpack-plugin from 1.9.0 to 1.9.1
Bumps [monaco-editor-webpack-plugin](https://github.com/Microsoft/monaco-editor-webpack-plugin) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/Microsoft/monaco-editor-webpack-plugin/releases)
- [Commits](https://github.com/Microsoft/monaco-editor-webpack-plugin/compare/v1.9.0...v1.9.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-10 17:24:06 +00:00
dependabot[bot] c3acbc8692 chore(deps): bump @fortawesome/react-fontawesome in /client
Bumps [@fortawesome/react-fontawesome](https://github.com/FortAwesome/react-fontawesome) from 0.1.9 to 0.1.11.
- [Release notes](https://github.com/FortAwesome/react-fontawesome/releases)
- [Changelog](https://github.com/FortAwesome/react-fontawesome/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/react-fontawesome/compare/0.1.9...0.1.11)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-10 17:18:12 +00:00
Mrugesh Mohapatra b80f4da09d chore(deps): update packages on client 2020-10-10 21:54:43 +05:30
dependabot[bot] cd8a4876d3 chore(deps): bump gatsby from 2.24.60 to 2.24.73
Bumps [gatsby](https://github.com/gatsbyjs/gatsby) from 2.24.60 to 2.24.73.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/compare/gatsby@2.24.60...gatsby@2.24.73)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-09 20:41:10 +00:00
dependabot[bot] 7fdd9591be chore(deps): bump gatsby-transformer-remark from 2.8.35 to 2.8.38
Bumps [gatsby-transformer-remark](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-transformer-remark) from 2.8.35 to 2.8.38.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-transformer-remark/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-transformer-remark@2.8.38/packages/gatsby-transformer-remark)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-09 20:18:33 +00:00
dependabot[bot] ca8b03113e chore(deps): bump gatsby-plugin-manifest from 2.4.29 to 2.4.34
Bumps [gatsby-plugin-manifest](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-manifest) from 2.4.29 to 2.4.34.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-manifest/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-manifest@2.4.34/packages/gatsby-plugin-manifest)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-09 20:08:08 +00:00
dependabot[bot] 6c7ec6b34f chore(deps): bump @fortawesome/fontawesome-svg-core
Bumps [@fortawesome/fontawesome-svg-core](https://github.com/FortAwesome/Font-Awesome) from 1.2.30 to 1.2.32.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases)
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/Font-Awesome/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-09 20:00:09 +00:00
dependabot[bot] 65fa4055d0 chore(deps): bump gatsby-plugin-create-client-paths
Bumps [gatsby-plugin-create-client-paths](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-plugin-create-client-paths) from 2.3.11 to 2.3.13.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-create-client-paths/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-plugin-create-client-paths@2.3.13/packages/gatsby-plugin-create-client-paths)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-09 19:41:54 +00:00
dependabot[bot] 1518e5e4c1 chore(deps): bump gatsby-source-filesystem from 2.3.30 to 2.3.34
Bumps [gatsby-source-filesystem](https://github.com/gatsbyjs/gatsby/tree/HEAD/packages/gatsby-source-filesystem) from 2.3.30 to 2.3.34.
- [Release notes](https://github.com/gatsbyjs/gatsby/releases)
- [Changelog](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-filesystem/CHANGELOG.md)
- [Commits](https://github.com/gatsbyjs/gatsby/commits/gatsby-source-filesystem@2.3.34/packages/gatsby-source-filesystem)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-09 19:09:44 +00:00
Oliver Eyton-Williams ed2840cb1c refactor: use dashedName over dasherize(title) 2020-10-06 23:10:08 +05:30
max-voronov 17a6a8868b
Refactor Honesty (#39726)
* remove unused prop from Honesty component

* convert Honesty into a functional component
2020-10-01 09:11:45 -05:00
Ahmad Abdolsaheb 4e51e845bb
fix: remove duplicate of borderColorPicker (#39732) 2020-09-30 14:56:30 +05:30
max-voronov 55f3df293a
chore(client): refactor ImageLoader (#39691) 2020-09-30 14:52:20 +05:30
Oliver Eyton-Williams 9718244431
fix: watch curriculum changes 2020-09-29 22:09:02 +02:00
Kristofer Koishigawa 0a0fe2bae5
fix: suppress algolia errors (#39703) 2020-09-27 16:25:11 +05:30
Oliver Eyton-Williams f5f2fca28c
fix(client): use mongoids for challenge.id (#39676) 2020-09-24 23:49:40 +05:30
Ahmad Abdolsaheb 1a66eac990 feat: render nav conditionally 2020-09-24 17:48:29 +05:30
Tom 422bacd15d
feat: add button to add cert to LinkedIn profile (#39466) 2020-09-24 17:33:11 +05:30
Oliver Eyton-Williams 0a4316b0ae fix(client): update eslint and fix issues
The eslint config now includes rules that have been added to Gatsby.
This uncovered some problems with missing labels that have been fixed.
2020-09-24 16:29:55 +05:30
Oliver Eyton-Williams 5528823151 fix(client): add polyfill explicitly
Previously it was only present because of a chain of dependencies
2020-09-24 16:29:55 +05:30
Oliver Eyton-Williams 410ab87c61 fix(client): use new Gatsby --inspect 2020-09-24 16:29:55 +05:30
Mrugesh Mohapatra 806cadfd91 chore:(deps): client - update minor and patch 2020-09-24 16:29:55 +05:30
Oliver Eyton-Williams 4b14f9297b
fix: source certificates into Gatsby (#39648)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Shaun Hamilton <51722130+Sky020@users.noreply.github.com>
2020-09-24 16:04:35 +05:30
Oliver Eyton-Williams 4f0959df1d
fix: use position: fixed to avoid forcing Cypress (#39605) 2020-09-23 20:45:21 +05:30
Oliver Eyton-Williams dd7fba4558 fix(learn): ignore missing editable regions
They should never be missing, so that bug should be squashed.  However,
for now, this gracefully deals with their absence.
2020-09-22 14:15:00 +05:30
Sky020 a86b220eb7 chore: remove isRequired from curriculum files 2020-09-21 20:51:46 +05:30
Twaha Rahman 984f311061
fix(Client): Use `font-display: fallback` to avoid FOIT (#39628) 2020-09-21 16:06:44 +03:00
Jarson Abenojar 66630715ee
fix(learn): update 'Whitelist' to 'Access List' for Atlas setup (#39626)
Mongodb has been updated to call this the 'IP Access List'
2020-09-19 23:03:23 +01:00
Hassaan Pasha 80438cac3e
feat(client, learn): add helper functions for common validation operations (#38605)
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-09-17 19:38:01 +05:30
Lasse Jørgensen 45520cd7c5
fix(editor): disable suggestion actions squiggly-hint (#39596) 2020-09-17 16:18:04 +05:30
Shaun Hamilton bdc29c2e49
fix(client): rename certification for typo (#39567)
* fix(client): rename legacy cert

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-09-16 19:18:01 +02:00
Oliver Eyton-Williams 39b4aff4f8 fix(client): return frame-runner err correctly 2020-09-16 11:54:15 +05:30
Ahmad Abdolsaheb 9d647ee90c fix: load editor tabs conditionally on mobile 2020-09-16 11:54:14 +05:30
Oliver Eyton-Williams c16785f74e fix(client): do not build Intro for missing blocks
This creates an empty page, but ideally it should be a 404
2020-09-16 11:54:14 +05:30
Oliver Eyton-Williams 1ce354a179 fix(client): show editor for React challenges 2020-09-16 11:54:14 +05:30
Oliver Eyton-Williams 07cf7e3e72 fix(client): set custom schema
Necessary for the time being, as all the multi-file challenges are
upcoming (and thus hidden)
2020-09-16 11:54:14 +05:30
Ahmad Abdolsaheb a500279036 fix: editor resize (#39542) 2020-09-16 11:54:13 +05:30
Ahmad Abdolsaheb 9b1077acf5 fix: render editor tabs if SHOW_UPCOMING_CHANGES is 'true' (#39513) 2020-09-16 11:54:13 +05:30
Randell Dawson 06da30e48a feat(learn): Basic CSS Cafe Menu instructions and hints/tests (v7) (#39407)
* feat: created step instructions for cafe menu

fix: added instructions to steps 1-31

fix: changed steps 29-31

fix: added instructions for steps 32-42

fix: changed prototype class definition

fix: padded file names

fix: added instructions for steps 43-61

fix: add object id to final.md and final prototype to meta.json

fix: correct typos in steps 26 and 27

fix: misc wording changes

fix: added forward slash to closing html tag

fix: added instructions for steps 62-75

feat: added instructions to steps 76-79

fix: added FOOTER comment for steps 68-75

fix: add steps 68a and 68b

fix: add steps 69a and reorder steps

fix: added instructions to the final steps

* fix: remove final.md

* fix: fixed typo of menue to menu

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* fix: changed wording to improve readability

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* fix: changed wording to improve readability

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* fix: changed wording to improve readability

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

* fix: combined two lines into same paragraph

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2020-09-16 11:54:13 +05:30
Oliver Eyton-Williams 3cfd80a806 fix: handle editable region covering editor's top 2020-09-16 11:54:12 +05:30
Oliver Eyton-Williams 9df098953d Feat: editable dom element (#39341)
* feat: __testEditable allows editable region tests

It's not entirely isolated, but it makes it possible to select only the
element with id 'editable-only' which is built solely from code inside
the editable region.

* fix(client): missing editableContents -> ''

Previously it was added as the string 'undefined'

* fix: more informative error messages

* fix: DRY, correct and test getLines
2020-09-16 11:54:11 +05:30
Ahmad Abdolsaheb a1a051bd3a feat: add action row for challenges with ERMs on desktop (#39377) 2020-09-16 11:54:11 +05:30
Oliver Eyton-Williams 9a137573a7 fix: only show description in target editor 2020-09-16 11:54:11 +05:30
Oliver Eyton-Williams 2abefc27a2 fix: handle missing ERB 2020-09-16 11:54:11 +05:30
Oliver Eyton-Williams 78c3b42770 fix: scroll to editable region on mount 2020-09-16 11:54:10 +05:30
Oliver Eyton-Williams a4c836c6d4 feat: open target editor on mount 2020-09-16 11:54:10 +05:30
Oliver Eyton-Williams 02aff4d400 feat: multiple concurrent editors 2020-09-16 11:54:10 +05:30
Oliver Eyton-Williams 2e7a2424c1 refactor: DRY out DesktopLayout 2020-09-16 11:54:10 +05:30
Oliver Eyton-Williams 3ea251383f fix: use loadable MonacoEditor 2020-09-16 11:54:10 +05:30
Randell Dawson fd6f8b5cd4 feat(learn): Update Basic HTML Cat Photo App project descriptions and hints and tests (v7) (#39131)
* feat: added Cat Photo App project

Added new steps

feat: add tests + targetted hints for demo

simplify wording and combine some tests

feat: update text and add tests/hints

fix: changed descriptions and tests

feat: added tests for part 11 - 15

fix: reworded description for steps 2 and 10

fix: changed isBeta to isHidden

fix: temporarily remove fcc-editable strings

fix: added project to challengeTypes.js

fix: added missing parentheses

fix: test text improvements

fix: changes to tests and text discussed in meeting

fix: adjust logic for detecting indentation in part 07

fix: missing regex characters and made last test more permissive for part 04

feat: add steps 25 to 55 and notes

fix: added h1 element back to steps 5-24

fix: h1 and h2 elements from steps 25 to 50

fix: added missing DOCTYPE declaration steps 20-24

fix: miscellaneous text edits

fix: break up part 28, change local paths for images to short s3 cdn URLs

fix: part 01 and 02 descriptions and tests

feat: pull in changes from #39145 and remove solution sections

fix: adjust descriptions and break up steps 33 and 35

fix: break up more steps and adjust text

feat: add tests for parts 25 - 30

* fix: ran reorder-steps.js

* fix: added editable region markers

* fix: standardize opening tag hint text

* fix: remove trailing periods from descriptions and hints and adjust tests

* fix: remove unnecessary instructions sections

* fix: added test to check for only one h1 element

* fix: removed comma

* fix: changed paragraph element to `p` element

* fix: added test for extra h1 element

* fix: test to validate only one img element exists

* fix: replaced code tags with backticks

* fix: reworded description

* fix: reworded step description

* fix: changed tests for first step

* fix: change last two alt values to sentences

* fix: check for spaces in text strings

* fix: removed extra dot before replace method

* fix: moved example before instruction

* fix: rearranged step 6 tests

* fix: capitalized p in paragraph

* fix: rewored step 7's description and a test text

* fix: corrected test for step 8

* fix: improved step 9 tests

* fix: moved example above instruction

* fix: corrected step 9 test wording

* fix: rearrange test order for step 10

* fix: moved example before instructions for step 11

* fix: improved step 12 descripton and tests

* fix: corrected tests for steps 9, 10, 11, 13, 14

* fix: added ERMs to steps 4-14

* fix: minor typos

* fix: reword steps so examples are above instructions

* fix: introduce inline and block elements and use divs instead of br

* fix: add or adjust tests for steps 15 - 27

* fix: moved ERM up one line

* fix: removed unnecessary quotes in tests' text

* fix: added dfn tags for step 45

* fix: removed adding # to href step

* fix: tests 15 - 16

* fix: reword descriptions so they're not as hand holdy

* fix: reorder/reword steps 58 - 60

* feat: simplify radio button steps

* fix: wording and add demo step

* fix: remove doctype and teach in last step

* fix: update part-demo

* fix: added some more step 15 hints

* fix: added step to introduce section elems

* fix: added section elements to project

* fix: update final code

* fix: update tests for 15a and 16

* fix: add section elements to parts 45 to 61

* fix: change p elements to h3, update tests and text

* fix: added new test for step 9

* fix: fixed/added tests for steps 15-30a

* fix: use fieldset elements instead of divs in the form

* fix: added new test to setp 30a

* fix: changed `main` to `section`

* fix: corrected/added tests for step 31

* feat: add tests 32 - 36

* fix: revert change to js rpg game

* fix: simplify tests 32 - 36

* fix: updated submit-cat-form url

fix: changed submit-cat-form url

* fix: added/rearranged tests steps 32-36

* fix: added tests for step 36a

* fix: used hasAttribute where applicable

* fix: misc edits for steps 10 and 35-36a

* fix: add tests to step 37

* fix: reworded step 37

* fix: added more verbiage to steps 35 and 36

* fix: modified step 38 desc and added tests

* fix: added hints/tests for step 40

* fix: added hints/tests for step 41

* fix: added hints/tests for steps 42 and 43

* fix: made attribute values match exactly

* fix: change wording from text input to text field

* fix: rearrange name attribute lessons

* feat: tests for 44 - 44b

* fix: added a step  35a

* fix: added name="catphotourl" to steps 36-61

* fix: reworded steps 41 and 43

* fix: removed intro to for attribute

* fix: rewrite of step 44b's desc and tests

* fix: added step 45 hints/tests

fix

* fix: removed for attribute from steps 45a-61

* fix: removed extra )

* fix: wrapped "section" with backticks

* fix: added test for steps 45a and 45b

* fix: adjust position of label steps 55-61

* fix: removed conole.log statements

* fix: added tests to step 45c

* fix: renamed step 49 to step 46a

* fix: moved label element for steps 48-53

* fix: reworded step 47 description and instructions

* fix: typos in description and test text

* feat: add tests 46-48

* fix: wording

* fix: remove case insensitivity from a couple of tests

* fix: wording and add erms

* fix: add additional test for step 48

* fix: added hints/tests for step 50

* fix: added hints/tests for step 51

* fix: added hints/tests to step 53

* fix: added hints/tests for step 55

* fix: added hints/tests for step 56

* feat: tests for 57-61

* fix: removed duplicate test in step 55

* fix: adjusted 1st test for step 57

* fix: simplified test for title text

* fix: improved tests for step 60-61

* fix: removed demo.md file

* fix: ran reorder-steps.js

* fix: part 10 description

* fix: part 14 description

* fix: part 24 - move ERMs

* fix: part 05 description

* fix: part 54 test text

* fix: part 06 - wording and add test for p and main closing tag order

* fix: part 50 - add test to check for order of fieldset elements

* feat: value attribute for radio buttons step and seed changes

* feat: value attribute for checkboxes step and seed changes

* fix: update part 14 description

* fix: revert ERMs for part 24

* fix: remove last test in part 06

* fix: text and typos for new radio and checkbox lessons

* fix: text and typos for new radio and checkbox lessons

* fix: add test to part 01

* fix: ran reorder-steps.js

Co-authored-by: Kris Koishigawa <scissorsneedfoodtoo@gmail.com>
2020-09-16 11:54:09 +05:30
Oliver Eyton-Williams ad83a2e3f4 feat: show one hint at a time 2020-09-16 11:54:09 +05:30
Oliver Eyton-Williams 68b223322f feat: make editable code available in tests 2020-09-16 11:54:09 +05:30
Oliver Eyton-Williams 120bb342e8 fix: keep the zones in the right places
The description zone needs fixing, but the hint zone should behave correctly.
2020-09-16 11:54:08 +05:30
Oliver Eyton-Williams e34bdded7d fix: region expansion
Now the top region can expand up and the bottom region down.
2020-09-16 11:54:08 +05:30
Oliver Eyton-Williams f7ce54a154 fix: prevent deletion of editable region at bottom
If the first line of the greyed out region is deleted it now springs
back. As does the second line - which needs fixing
2020-09-16 11:54:07 +05:30
Oliver Eyton-Williams 52cb6adf02 refactor: sortFiles -> toSortedArray 2020-09-16 11:54:07 +05:30
Oliver Eyton-Williams 1ee5e24d0f feat(multi): insert description into editor 2020-09-16 11:54:07 +05:30
Oliver Eyton-Williams 59c838e8ca feat(multi): add editor decoration
The warning region does not grow at the edges This makes it harder for
the user to get into an odd state.  It might be better to have let the
user expand the second region at the trailing edge.  I'm not sure, and
that's harder to implement.
2020-09-16 11:54:07 +05:30
Oliver Eyton-Williams dfbf1ae9ae refactor(multi): DRY out view state changes 2020-09-16 11:54:06 +05:30
Oliver Eyton-Williams 1e1a0939ab feat: highlight currently selected editor tab 2020-09-16 11:54:06 +05:30
Oliver Eyton-Williams ad059dc49c fix(a11y): improve tab navigation for Editor 2020-09-16 11:54:06 +05:30
Oliver Eyton-Williams 54630cbfca fix: update editor on code reset 2020-09-16 11:54:06 +05:30
Oliver Eyton-Williams 754a33970e refactor(multi) move preparation into curriculum 2020-09-16 11:54:05 +05:30
Oliver Eyton-Williams 88de5bc602 refactor: sort-files -> common utils 2020-09-16 11:54:05 +05:30
Oliver Eyton-Williams a959d462e9 fix(client): update editor when code is reset 2020-09-16 11:54:05 +05:30
Oliver Eyton-Williams 10d2559fee feat(client): handle jsx in multi-file editor 2020-09-16 11:54:04 +05:30
Oliver Eyton-Williams 1a985f95f5 feat: initialise editor with 'first' file
Since sort-files exists, the challengeFiles have an order. The editor
now displays the first file on mount.
2020-09-16 11:54:04 +05:30
Oliver Eyton-Williams f82886148c feat: add simple challengeFile sorter 2020-09-16 11:54:04 +05:30
Oliver Eyton-Williams b0f18cacc7 fix: prevent unnecessary re-renders
The editor should handle its own rendering.  By including a key that
changes as the users changes tabs forces the editor to re-render.  This
gets triggered as the user types, resetting the cursor to the start of
the editor.

Now the key only changes if the theme changes.
2020-09-16 11:54:04 +05:30
Oliver Eyton-Williams 4de5c5fde3 fix: concat sources so that 'code' has them all 2020-09-16 11:54:03 +05:30
Oliver Eyton-Williams dea30c1397 feat: simple prototype for dynamic tabs
While this works for html challenges, it should dynamically generate the
tabs in a predetermined order from the available files.
2020-09-16 11:54:03 +05:30
Oliver Eyton-Williams 631c2671b6 feat: support multiple editor tabs
Generates models to handle multiple groups of code (html, js or css) and
tracks the editor state as user moves between tabs. The current model
is connected to the redux store via a key associated with the file in
the editor.
2020-09-16 11:54:03 +05:30
Oliver Eyton-Williams a0f43c93ba chore: update react-monaco-editor 2020-09-16 11:54:03 +05:30
moT01 7bd6e77b0f feat: add multi file capabillity 2020-09-16 11:54:03 +05:30
Oliver Eyton-Williams 0e1dca5924 feat(client): parse test 'text' as markdown (#39176) 2020-09-16 11:54:02 +05:30
Kris Koishigawa 4f1be63055 feat(learn): sync master and next-curriculum branches 2020-09-16 11:54:01 +05:30
Kristofer Koishigawa c648a595df fix: intermediate js calorie counter challengeType (#38270) 2020-09-16 11:54:01 +05:30
Tom 977701937b Feat: add d3 dashboard project to next curriculum (#38028)
* feat: add d3 dashboard project to next curriculum
2020-09-16 11:54:01 +05:30
lmilliken 39b0afd5f0 feat: tests for calorie counter 2020-09-16 11:54:00 +05:30
Kristofer Koishigawa d3d5147c1f fix: renamed files and titles in the frontmatter for consitency (#37792) 2020-09-16 11:53:59 +05:30
SomeDer 2fbafda167 feat: functional programming spreadsheet (#36873)
* Add meta.json for spreadsheet

* Add spreadsheet files

* Close code tags for tests in 2 files

* Add solution section

* Add index file

* Add javascript-spreadsheet to stringifier

* Move index to step

* Rename steps in meta.json

* Rename step numbers in files

* Add index file to proper location

* Remove inappropriate files from spreadsheet dir

* Fix typo in first step

* Fix test sections

* Rename files to correct step

* Fix broken tests

* Add newline between sections

* Change challengeType from 1 to 0

* Add missng ) in step-079.md

* test -> tests in step-079

* Simplify test in step-103

* Fix step-137 test

* Remove last step

* Added solutions and adjusted some tests

* Fix some challenges

* Remove wrong spaces

* Fix more tests

* Add missing semicolon

* Fix more tests

* Fix type: lastttwo

* Fix all remaining tests
2020-09-16 11:53:59 +05:30
Tom 89e18e3a81 feat: add challenges for skyline project (#36854) 2020-09-16 11:53:59 +05:30
Kristofer Koishigawa 529f2596d9 feat: JS RPG game tests (#37678)
* feat: Add JavaScript RPG Game for testing
2020-09-16 11:53:58 +05:30
Sky020 dea4e51371 fix(client): remove unused formHelper functions 2020-09-15 17:07:54 +03:00
Sky020 c4240cdf2f fix: allow form label and name to differ
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-09-15 17:07:54 +03:00
Randell Dawson 0f5832b562
fix: project 25 + 5 (#39526) 2020-09-09 13:28:12 +05:30
Kristofer Koishigawa 0ccb140f71
fix: up and down hotkeys in search bar (#39529)
This fix prevents whitespace from breaking the up and down hotkeys in the search bar.
2020-09-08 23:43:45 +05:30
Oliver Eyton-Williams 9e3441fe1d
fix(client): solutionLink -> solution (#39544)
This sends the api the 'solution' it expects, not 'solutionLink'.
2020-09-08 23:16:24 +05:30
Lasse Jørgensen f3a82fe2f1
fix: Add information about local development for RWD projects (#38670)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2020-09-04 20:26:26 +05:30
Shaun Hamilton f247090895
fix: add backend placeholder to solution form (#39494) 2020-09-04 19:14:26 +05:30
Oliver Eyton-Williams bd68b70f3d
Feat: hide blocks not challenges (#39504)
* fix: remove isHidden flag from frontmatter

* fix: add isUpcomingChange

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

* feat: hide blocks not challenges

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-09-03 15:07:40 -07:00
Oliver Eyton-Williams c772382d59 fix: remove remnants of servicebot
None of the code was still in use.
2020-09-04 00:14:24 +05:30
Ahmad Abdolsaheb ce777e43d2
fix: align completion modal buttons (#39509) 2020-09-02 10:38:14 +02:00
swyx 705cba67bc
fix: typo "alumini" (#39502)
fix typo "alumini"
2020-09-01 18:49:00 +05:30
Oliver Eyton-Williams 4a45b5ac1c fix: redirect /challenges/* to /learn/* 2020-09-01 11:35:44 +05:30
Ahmad Abdolsaheb 434cf15ad3
fix: update meta (#39500) 2020-08-31 20:41:13 -05:00
imgbot[bot] 52cfe54e94
chore: [ImgBot] Optimize images (#39460)
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-08-26 16:25:21 +05:30
Oliver Eyton-Williams 46e3d75c76
fix(client): select only required props (Login) (#39461) 2020-08-25 22:59:39 +05:30
Ahmad Abdolsaheb d9dad10f43
feat(client): shinny new landing page 🎉 (#39400)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-08-24 23:36:40 +05:30
Oliver Eyton-Williams 8c70ea6b62
fix(client): format cert date in user's timezone (#39440) 2020-08-20 16:46:10 +05:30
Ahmad Abdolsaheb c8acd13b31
fix: minor style changes (#39439) 2020-08-20 15:12:11 +05:30
Ahmad Abdolsaheb b1be0425a5
fix(client): add navigate proptype (#39434) 2020-08-20 03:04:40 +05:30
Oliver Eyton-Williams eb75f8c8cc
fix(client): ensure presetEnv is loaded (#39431)
Prior to this, if a user first loaded a React challenge and then
navigated to a JS challenge, they would see
TypeError: Cannot read property 'presets' of undefined
in the console and be unable to run tests or evaluate code until they
reloaded the page.
2020-08-19 13:30:46 -07:00
Twaha Rahman 7155c87e8b
fix: prevent dev tools from accessing state in prod (#38669)
* Fixed Redux dev tool plugin in production problem

* Update client/src/redux/createStore.js

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* Update client/src/redux/createStore.js

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* Update client/src/redux/createStore.js

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

* Update client/src/redux/createStore.js

Co-Authored-By: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>

* Fixed ESLint error

* Second try to fix linting issue

* Third try to fix lint issues

* Update client/src/redux/createStore.js

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

* Update client/src/redux/createStore.js

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

* fix: use env.json for ENVIRONMENT

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-08-20 01:22:59 +05:30
Ahmad Abdolsaheb 0ee680c3ab
fix: redirect users to success url after /donation completion (#39404) 2020-08-20 01:20:34 +05:30
Oliver Eyton-Williams 8350c517cc
fix: revert explicit Gatsby schema (#39426)
The Gatsby schema was breaking the React challenges (for some reason)
this is a quick hotfix while I figure out what's going on.
2020-08-17 18:09:19 -07:00
Kristofer Koishigawa 6b3c61c737
feat: update backend project links (#39314)
* feat: update backend project links

Replace solution and remix Glitch links with equivalent Repl.it links in backend projects/challenges and intro pages.

* fix: link and Repl.it casing

* fix: update mention of glitch in testing challenge

* Apply suggestions from code review

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

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-08-17 14:38:16 -07:00
Oliver Eyton-Williams 45e4a770a2 fix: robust Certifications/Additional learning split 2020-08-16 04:45:19 +05:30
Oliver Eyton-Williams 64c969a908 fix: add explicit schema for hidden challenges 2020-08-16 04:45:19 +05:30
Ahmad Abdolsaheb b1da66b80d
feat: add intro text to email sign up page (#39409)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2020-08-16 02:31:18 +05:30
Oliver Eyton-Williams 8baab3895d test: reuse redux store in single test 2020-08-15 14:37:23 +05:30
Oliver Eyton-Williams 456173f677 fix: use Login over custom button 2020-08-15 14:37:23 +05:30
Oliver Eyton-Williams a7d595f349 fix: replace hardgoto with api links 2020-08-15 14:37:23 +05:30
Oliver Eyton-Williams 5409e1e62e
fix: use forumLocation everywhere (#39405)
* fix: use forumLocation everywhere
2020-08-14 12:56:14 +03:00
Mrugesh Mohapatra 42686db303
feat: update learn intro (#39393)
* feat: update learn into

* fix: make text more readable

* fix: adjust global font smoothing

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-08-13 12:33:03 +02:00
Oliver Eyton-Williams 688a3dcc7b
fix: improve challenge logs (#39395) 2020-08-11 20:02:18 +05:30
Mrugesh Mohapatra adef746299
chore: move search-indexing, supress webpack-cli progress (#39367) 2020-08-09 04:17:10 +05:30
Ahmad Abdolsaheb ebcb34f3d9
feat: add monitization meta (#39368) 2020-08-05 14:02:23 +05:30
Ahmad Abdolsaheb f91cf1ae2d feat: style email-sign-up page 2020-08-05 14:01:47 +05:30
Oliver Eyton-Williams 3dbe69707f fix: redirect to email sign up on first login 2020-08-05 14:01:47 +05:30
Manish Giri 08d4811df3
feat(client, api): Add Camper Join Date to Profile (#38408) 2020-08-04 13:08:13 +05:30
Oliver Eyton-Williams bc2f659e40 chore: bump client 2020-08-04 03:50:20 +05:30
Ahmad Abdolsaheb e32022a198 feat: add june 2020 footer 2020-07-28 00:27:51 +09:00
David Sykes 17d9b43747
fic: certification links now open in a new tab (#39180) 2020-07-27 18:15:40 +05:30
Shraddha b1a0c4fa59
fix: center donation modal text (#39307) 2020-07-27 11:32:32 +02:00
Oliver Eyton-Williams 25be0f379e
fix: remove unwanted log (#39312) 2020-07-24 05:08:37 -07:00
Ruchi Kushwaha 0c0611229e
Fix/delayofflinewarning (#39291)
* delay offline warning

* Delayed the offline warning

* delayed offline warning

* revert unwanted changes

* correct spacing

* correct spacing second time

* use let instead of var
2020-07-22 05:26:27 -07:00
Kris Koishigawa f21248edae fix: update donor email address and fix spacing 2020-07-22 12:37:31 +09:00
Oliver Eyton-Williams de55527693
fix: prevent preview-tests race condition (#39286) 2020-07-20 08:33:56 -07:00
Oliver Eyton-Williams c285ce5a0c
chore: bump loadash and remove gulp (#39276) 2020-07-18 00:34:48 +05:30
Oliver Eyton-Williams 7269894a86
refactor: test output -> arrays (#39178) 2020-07-18 00:33:23 +05:30
Oliver Eyton-Williams bb019b2b0f
fix: responsive videos (#39171) 2020-07-18 00:33:10 +05:30
Oliver Eyton-Williams 22e24dfb54
fix(client): improve accuracy of offline warning (#39249)
The old message made it sound like there was a problem with the server,
even though no attempt was being made to contact it.
2020-07-14 15:56:47 +05:30
Tom cf190b59e6
Fix/make mongodb instructions accurate (#39214)
* fix: make mongodb instructions accurate
2020-07-14 19:00:23 +09:00
Mosh Feu aab60d299d
docs: Update "Responsive Web Design" Github link (#39134)
Current link leads to a 404 page in the old "learn" repository
2020-07-09 21:14:30 +05:30
Oliver Eyton-Williams e7346baa34
feat(client): show line numbers on video questions (#39207) 2020-07-08 20:00:42 +05:30
Tom 7ed1d52001
fix(client): hide youtube suggestions (#39164) 2020-07-02 20:36:54 +05:30
Mrugesh Mohapatra 426732f7b5
revert(client): /s/react-youtube/plyr-react/g (#39162)
This reverts commit df6a4f649d.
We found mulitple issues with the integration and will rework on this.
2020-07-02 19:46:10 +05:30
Huyen Nguyen ab75df7cb1
fix(learn): capitalization and grammar errors (#39151) 2020-07-02 17:20:43 +05:30
Jovani 97f5229033
fix(learn): Organized the Certifications on Settings to match the main page (#39146)
* Organized the Certifications on Settings to match the main page

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-07-02 13:48:08 +02:00
Nicholas Carrigan 1e0e54446f
chore: replace forum links (#39139) 2020-06-30 14:21:26 +05:30
Oliver Eyton-Williams 34c26c4950
chore: update forum links in NavLinks (#39141) 2020-06-30 14:16:05 +05:30
Nicholas Carrigan 25cabc0a18
fix(learn): change forum link in help modal (#39143)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2020-06-30 14:15:42 +05:30
Mrugesh Mohapatra df6a4f649d
feat(client): /s/react-youtube/plyr-react/g (#39137)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-06-29 17:37:24 +05:30
Ahmad Abdolsaheb 9fe222680c
fix: set radio button selection to null (#39120) 2020-06-23 20:09:06 +02:00
Mrugesh Mohapatra 0116afd18b
chore: remove unused quotes files (#39107) 2020-06-22 09:18:27 +02:00
Oliver Eyton-Williams 80223e5e39
fix: style for video answers (#39090)
Vertically centers the radio buttons.
Fixes answer backgrounds.
Corrects answer padding on night mode.
2020-06-18 13:47:13 +05:30
Oliver Eyton-Williams 9954c3d0bc
feat: add python syntax highlighting (#39079)
To err on the side of caution, this explicitly includes all languages
that were implicitly included before using the Babel plugin.
2020-06-17 20:33:08 +05:30
Kristofer Koishigawa 6e5988da4e
fix(learn): versioning for new certificate slugs (#39087) 2020-06-17 20:30:31 +05:30
Kristofer Koishigawa 77df0e32cd
feat(learn): rename certificates, cert slugs, and cert flags (#39026) 2020-06-15 21:51:30 +05:30
rdm100 885538d9e1
fix: updated and consolidated quotes (#39069)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-06-15 18:42:27 +05:30
Oliver Eyton-Williams daed7ad5dd
fix(client): ensure dom ready before testing (#39073)
jQuery challenges can fail seemingly at random. These changes should
prevent the race condition between a user's $( document ).ready() and
test evalution.
2020-06-15 18:41:34 +05:30
Mrugesh Mohapatra bcf9942263
feat(donate): allow mutiple donations with warning (#39066) 2020-06-13 17:32:29 +05:30
Oliver Eyton-Williams b4926052f4
chore: refactor and simplify testing (#39050) 2020-06-13 14:57:15 +05:30
Ieahleen db9c38539b
chore(client): removing a forgotten console.log (#39055) 2020-06-12 23:58:53 +05:30
Oliver Eyton-Williams 6b8c2e74b6
fix(client): sync Redux store and DB (#39034) 2020-06-10 12:24:19 +05:30
Kris Koishigawa 89d5c891e3 feat(learn): add full stack certificate md and handle errors
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-06-06 14:45:12 +05:30
Mrugesh Mohapatra a02ff7b08e
fix(certs): add year to certs introduced in 2020 (#38912) 2020-06-04 13:13:07 +05:30
Tom 31614fa9a6
fix(client): remove auto redirect on report user page (#38974) 2020-06-01 23:03:53 +05:30
Kristofer Koishigawa 959608e85e
fix(client): public profile qa and infosec certification links (#38948) 2020-06-01 19:53:59 +05:30
Tom a4ee5ea09a
fix(client): background-color in code blocks of questions (#38968) 2020-06-01 18:38:08 +05:30
matbub 4af28cf12c
fix(client): update report user verbiage and link (#38954) 2020-06-01 18:37:24 +05:30
Oliver Eyton-Williams a9acf11209
refactor(client): simply landing query (#38935) 2020-05-28 20:56:48 +05:30
Oliver Eyton-Williams fcef62d5de
refactor(learn): use graphQL filter for Map (#38913) 2020-05-28 20:56:19 +05:30
Oliver Eyton-Williams d233cb35a3
fix(client): ensure validation works during watch (#38936) 2020-05-28 20:54:29 +05:30
Kristofer Koishigawa 18d2dca05b
fix(client): landing page superblocks (#38914) 2020-05-28 14:20:51 +05:30
Tom 7fd92c5fe6
fix: make videos bigger + add styles (#38924) 2020-05-28 12:55:25 +05:30
Tom e040d64e4e
fix(client): add margin to certs (#38921) 2020-05-28 12:40:07 +05:30
Tom db08ab2965 fix: backend projects not submitting (#38900)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-05-27 13:19:16 +05:30
Tom 911ba72106 fix: allow ctrl+enter to submit video lessons (#38898)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-05-27 13:19:16 +05:30
Mrugesh Mohapatra 9879d6e72b fix(learn): update project views for python 2020-05-27 13:19:15 +05:30
Oliver Eyton-Williams de0bec88a3 feat: process video question md into html (#38667)
* feat: process video question md into html

* test: mdToHTML

* fix: use dedicated prism component
2020-05-27 13:19:14 +05:30
Beau Carnes 3a653438fc Feat: add python security video course (#38683) 2020-05-27 13:19:14 +05:30
Tom ef79ddd0de feat: add loader on video challenges (#38633) 2020-05-27 13:19:13 +05:30
Mrugesh Mohapatra 286ba7689b fix(client): nicer error message and layout update 2020-05-27 13:19:13 +05:30
Tom 184a07d20d fix: infosec show cert button not rendering (#38620) 2020-05-27 13:19:13 +05:30
Tom 2e37cb8da5 fix: rename tensorflow lessons (#38617) 2020-05-27 13:19:13 +05:30
Beau Carnes 256ed00fb9 feat(learn): split InforSec and QA into individual certs (#38347)
Co-authored-by: Mrugesh Mohapatra <me@raisedadead.com>
Co-authored-by: Kris Koishigawa <scissorsneedfoodtoo@gmail.com>
2020-05-27 13:19:12 +05:30
Tom c75d212831 fix: misaligned titles (#38613) 2020-05-27 13:19:12 +05:30
Tom 379f6f89ca fix(learn): tests for python video lessons (#38600)
* fix: improve tests for video challenges

* fix: remove unused challenges + get rid of no description warning

* fix: remove non-existent challenges from meta
2020-05-27 13:19:11 +05:30
Beau Carnes 03c9e47be9 feat: Add more video challenges (#38598)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2020-05-27 13:19:10 +05:30
Beau Carnes cb88dcf1e6 add tensorflow course without questions (#38525) 2020-05-27 13:19:10 +05:30
Tom 63fe67e53f feat: add video lessons to db on submit + update UI (#38591)
* feat: add video lessons to db on submit + update UI

* feat: delete CompletionVideoModal

* feat: clean up component + add comments

* feat: remove comment

* feat: remove log

* feat: remove log

* fix: update buttons + fix some testing

* fix: remove unused selector
2020-05-27 13:19:10 +05:30
Beau Carnes e776529ed0 feat(learn): add python video challenges (#38424) 2020-05-27 13:19:09 +05:30
mrugesh 22afc2a0ca feat(learn): python certification projects (#38216)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Beau Carnes <beaucarnes@gmail.com>
2020-05-27 13:19:08 +05:30
Lasse Jørgensen 9e01ead291
fix(editor): Add quickSuggestions false to editor options (#38899) 2020-05-26 19:10:45 +05:30
Oliver Eyton-Williams 48532d6ccb fix: hide isHidden challenges from hotkey nav 2020-05-25 16:25:19 +05:30
Oliver Eyton-Williams 68aef571ee feat: hide isHidden challenges 2020-05-25 16:25:19 +05:30
Oliver Eyton-Williams 5bc3e15e3a fix(client): DRY out challenge sourcing
Also handles file changes the same way as the original sourcing.
2020-05-25 16:25:19 +05:30
Twaha Rahman d01ce3bbc1
fix(learn): remove cta and add current challenge button (#38807) 2020-05-21 18:09:48 +05:30
Luis H. Ball Jr 2db668b6ad
feat: show extensions warning in css learning module index (#38806) 2020-05-19 14:05:33 +05:30
Mrugesh Mohapatra 421bbdefbe
fix(client): add footer on learn home (#38830) 2020-05-19 12:50:15 +05:30
Rostyslav Ugryniuk 88b263fef8
fix(client): prevent PayPal script loads in development (#38785) 2020-05-12 18:04:24 +05:30
Mrugesh Mohapatra e3ee7eef3a chore(client): bump minor & patch versions of deps 2020-05-11 22:53:55 +05:30
Vincent Endrahadi 9a25ba2633
fix(learn): improve landing page (#38695) 2020-05-11 18:56:12 +05:30
Mrugesh Mohapatra 161c0c20a2
fix: 404 page styles (#38775) 2020-05-10 12:23:22 -05:00
Oliver Eyton-Williams 5e56a9a938
Feat(curriculum): scss not sass (#38764) 2020-05-09 20:01:18 +05:30
Hassaan Pasha 7126bacf34
fix (learn): add title to challenge meta for backend challenges (#38745) 2020-05-07 21:56:58 +05:30
Shaun Hamilton 21ca4e3f67
fix(client): add relevant placeholder to link submission (#38411) 2020-05-07 21:49:06 +05:30
Kristofer Koishigawa 75e926810f
fix: search bar width (#38693) 2020-04-30 17:40:34 +05:30
Kristofer Koishigawa 54c93aabbb
fix: bump number of tutorials to 6,000+ (#38694) 2020-04-30 17:39:41 +05:30
Mattia Penna f5eeda68d1
Added missing word in quote (#38665)
Fixed quote of alicia Walker, the word "way" was missing.
2020-04-28 10:49:46 +02:00
Esteban Borai c5ba18e978
fix(client): wrap editor in span with "notranslate" (#38389)
* Update Editor.js

* Fix linting issue

* Working on Preview with .notranslate

* Add "notranslate" for Preview component
2020-04-26 09:22:41 -05:00
Mrugesh Mohapatra d866766223 fix(client): update logic for non-signedin users 2020-04-25 00:00:43 +05:30
Ahmad Abdolsaheb a45df11de1
fix: capture one time and subscriptions separately (#38630) 2020-04-24 22:27:19 +05:30
Oliver Eyton-Williams 54c6190361 feat: add GitHub action for e2e testing 2020-04-23 01:42:24 +05:30
Bouncey 7eb6351530 feat: add cypress for e2e tests 2020-04-23 01:42:24 +05:30
Ashraf Nazar e4e16f054e
fix(client): disable unnecessary features in Monaco editor (#38551) 2020-04-23 00:48:59 +05:30
Ahmad Abdolsaheb 7db718141b
feat: add paypal script loader for one time and subscription (#38553)
* fix: add one-time payment sdk script loader

* fix: remove paypal credit
2020-04-21 00:46:34 +05:30
Kristofer Koishigawa 2e90ba4754
fix: change wording for donate buttons (#38549) 2020-04-14 18:48:42 +05:30
Ahmad Abdolsaheb 6517f88b6c
fix: add logos for payment buttons (#38548)
* fix: add assets
* fix: add accepted-cards and style donation assets
2020-04-14 18:22:20 +05:30
Mrugesh Mohapatra d74d72446d feat: use Stripe checkout on donate page 2020-04-14 12:29:06 +03:00
Mrugesh Mohapatra 946cd0665a feat: add one-time links to PayPal.me 2020-04-14 12:29:06 +03:00
Ahmad Abdolsaheb 1519e70165
fix: remove paypal credit button (#38537) 2020-04-13 23:16:24 +05:30
Mrugesh Mohapatra 5f1f5554b2
fix: remove stripe card from donate page (#38534) 2020-04-13 16:28:34 +03:00
Mrugesh Mohapatra 00c475f663
chore: update meta and description (#38419) 2020-04-02 17:26:21 +05:30
Oliver Eyton-Williams d4838f65d8 test: update HeatMap snap 2020-04-01 22:40:40 +05:30
Oliver Eyton-Williams 8300a669a3 chore: roll react-tooltip back to 4.1.0
Later versions use random classnames, breaking snapshots.
2020-04-01 22:40:40 +05:30
Oliver Eyton-Williams db4b94f5ad refactor: refer directly to editor when possible 2020-04-01 22:40:40 +05:30
Oliver Eyton-Williams 457dbe13be fix: use updated monaco api 2020-04-01 22:40:40 +05:30
Oliver Eyton-Williams b1296a4521 chore: update deps and install peers 2020-04-01 22:40:40 +05:30
Tom 0ffc657d5f
feat: paginate heatmap + calculate streaks on client (#38318)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-03-31 23:34:54 +03:00
Ashraf Nazar 7e29462168
fix(Editor): change tab size to 2 spaces instead of 4 (#38475) 2020-03-31 16:20:46 +05:30
Ahmad Abdolsaheb 562f28e8b9
fix: update supporter badge logic (#38461)
* fix: update supporter badge logic

* fix: update snapshot
2020-03-28 12:34:48 +05:30
Ahmad Abdolsaheb b7e9795466
fix: make modal donation text dynamic (#38462) 2020-03-28 12:34:09 +05:30
Oliver Eyton-Williams ffcf8294f1
fix: fetch CSRF cookie and set headers lazily (#38452)
* fix: fetch csrf cookie and set headers lazily

* fix: check cookie each call to keep it up to date

Previously the cookie was checked once and never updated until the
client was reloaded.  Stale or absent cookies would generate incorrect
tokens or no tokens, respectively, causing CSRF errors.
2020-03-27 16:41:33 +05:30
Ahmad Abdolsaheb 8aa68be560
feat: border on avatar and badge for donating campers (#38434) 2020-03-27 14:21:35 +05:30
Ashraf Nazar 28d363e65a
fix(client): adjust CTA button width depending on viewport (#38432) 2020-03-26 23:10:59 +05:30
Ashraf Nazar 66cbabda22
fix(search): add borders for list items (#38425)
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-03-26 22:35:34 +05:30
Oliver Eyton-Williams 35751bacf0 chore: remove rollbar from client and .env 2020-03-26 16:51:17 +05:30
Hassaan Pasha 2b1e02daf3
fix (client): show correct paypal donation duration on donate page (#38444) 2020-03-26 10:51:05 +03:00
Ahmad Abdolsaheb af46e851df fix: make donation plan dynamic 2020-03-26 16:34:37 +09:00
Oliver Eyton-Williams 58bd0b5ce4
chore(tools): add jsx-a11y Eslint plugin (#38438)
* chore(tools): add a11y eslint plugin

* fix: use Gatsby's a11y eslint rules

* fix(search): remove unnecessary mouse listeners
2020-03-26 10:25:47 +05:30
Jacob Robinson 49efb02528
fix(client):remove hyperlink from flash message (#38429)
* fix(client):remove hyperlink from flash message

* Use full URL

Co-Authored-By: mrugesh <1884376+raisedadead@users.noreply.github.com>

Co-authored-by: mrugesh <1884376+raisedadead@users.noreply.github.com>
2020-03-24 17:31:48 +01:00
mrugesh 786626f21e
fix(PayPal): update config pickup from env (#38423)
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-03-23 19:33:37 +05:30
Tobias Helsing 2ff5e83195
Add full width hover to map (#38412)
Co-authored-by: Tobias <tobias.helsing@futurice.com>
2020-03-22 19:15:46 +03:00
Ashraf Nazar 88e1952478 fix: ESLint warnings in logs 2020-03-21 03:09:38 +05:30
Ahmad Abdolsaheb b561599614 fix(donate): re-enable monthly donations and update plans 2020-03-21 01:58:07 +05:30
Oliver Eyton-Williams a7c70ddcd8
fix: remove debugModal (#38405) 2020-03-20 21:24:06 +05:30
Mrugesh Mohapatra 8866ed74c2 fix(donate): remove call to verification when not signed in 2020-03-20 13:17:39 +05:30
Ahmad Abdolsaheb cdc8b1e8e5 feat: add reconfigurable paypal button to donate page 2020-03-20 10:05:07 +05:30
Mrugesh Mohapatra 170e3dbf4f fix(donate): remove isSigned in check temporarily 2020-03-19 23:55:47 +05:30
Mrugesh Mohapatra 585527d145 feat: add paypal donation to modals and certificates 2020-03-19 23:55:47 +05:30
Mrugesh Mohapatra c30f0dbf0d fix(client): fixup PayPal intergration 2020-03-19 17:18:53 +05:30
Mrugesh Mohapatra 9d72ccf048 chore(client): remove PayPal integration
This commit removes the changes introduced via #38239 to unblock deployment to production
2020-03-18 00:18:23 +05:30
Oliver Eyton-Williams 23b899f50f fix(csrf): remove all csrf bypass 2020-03-17 23:28:23 +05:30
Oliver Eyton-Williams 10eaf8ed13 chore: update client 2020-03-17 11:09:12 +05:30
Jacob Robinson 00347ff8bf
feat(client): add space for flash message (#38327) 2020-03-17 11:07:42 +05:30
Ahmad Abdolsaheb c21af106bb feat: update open graph and twitter meta 2020-03-17 00:32:56 +05:30
Mrugesh Mohapatra f9277b4fec fix(env): make PayPal env config dynamic 2020-03-16 18:35:52 +05:30
Ahmad Abdolsaheb 6c6eadfbe4 feat(donate): PayPal integration 2020-03-16 18:35:51 +05:30
Jacob Robinson 694e52f742
feat: Code saveing to localStorage on Cmd/Ctrl + S (#38324)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: mrugesh <1884376+raisedadead@users.noreply.github.com>
2020-03-13 18:50:14 +05:30
Hassaan Pasha 5294936667
fix(learn): prevent indexing learn pages on search engines (#38260)
Co-authored-by: mrugesh <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-03-03 20:57:53 +05:30
Ahmad Abdolsaheb 2c3de17c74
fix: open universal nav links on the same tab (#38273) 2020-02-27 00:39:56 +05:30
Ezekiel Oladejo 402ccb36f1
Fix typographical errors in introductory texts (#38276)
* Fix typographical errors in introductory texts
2020-02-26 18:32:21 +01:00
Oliver Eyton-Williams 5b80595fbf
fix: remove useless logging (#38246) 2020-02-21 15:08:53 +05:30
Oliver Eyton-Williams 7cdf01276d fix: ensure Babel options exist when used
Also renamed 'config' to 'options' to be consistent with the calling
function.
2020-02-20 19:52:23 +05:30
Oliver Eyton-Williams ebc6197c54 fix: assume scripts inside HTML are js, not jsx 2020-02-20 19:52:23 +05:30
Oliver Eyton-Williams d87c16e65e fix: only load preset when needed 2020-02-20 19:52:23 +05:30
Oliver Eyton-Williams 21833ab508 fix: load all Babel libs dynamically 2020-02-20 19:52:23 +05:30
Oliver Eyton-Williams 3fff454872
fix(client): localise calendar to user's current timezone (#38217)
* fix: localise Heatmap to user's timezone

Rather than using ISO formatted date strings, this uses Date objects
for simplicity and to ensure that the heatmap is correct for the
timezone it is viewed in. It should also match the timeline which is
also localised to the viewing computer's timezone.

* test: update snapshot
2020-02-15 00:29:41 +05:30
Oliver Eyton-Williams cc79999a31
fix: force timezone to be UTC for tests (#38215)
react-calendar-heatmap's output depends on the timezone, which means
that snapshots can fail if the timezone changes.  This sets the timezone
as UTC during client tests to avoid that problem.
2020-02-14 21:24:29 +05:30
Ashraf Nazar 4999288912
fix: Use markdown syntax instead of HTML on exercises (#38196) 2020-02-11 23:26:09 +05:30
Ahmad Abdolsaheb 99a30d4b65
fix: remove donation message for unauthorized users (#38188)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-02-10 18:34:49 +05:30
Manish Giri 3e5963b2a7 fix(client): disable intellisense in editor (#37813) 2020-02-09 00:26:47 +05:30
Josh Soref 004b99bf8f chore: fix typos in spelling (#38100)
* spelling: accidentally

* spelling: announce

* spelling: assembly

* spelling: avoid

* spelling: backend

* spelling: because

* spelling: claimed

* spelling: candidate

* spelling: certification

* spelling: certified

* spelling: challenge

* spelling: circular

* spelling: it isn't

* spelling: coins

* spelling: combination

* spelling: compliant

* spelling: containers

* spelling: concise

* spelling: deprecated

* spelling: development

* spelling: donor

* spelling: error

* spelling: everything

* spelling: exceed

* spelling: exist

* spelling: falsy

* spelling: faulty

* spelling: forward

* spelling: handle

* spelling: indicates

* spelling: initial

* spelling: integers

* spelling: issealed

* spelling: javascript

* spelling: length

* spelling: maximum

* spelling: minimum

* spelling: mutable

* spelling: notifier

* spelling: coordinate

* spelling: passport

* spelling: perform

* spelling: permuter

* spelling: placeholder

* spelling: progressively

* spelling: semantic

* spelling: submission

* spelling: submit

* spelling: translations

* spelling: turquoise

* spelling: visualization

* spelling: without

* spelling: registration

* spelling: representation
2020-02-08 23:59:10 +05:30
Mika Laaksonen f4fbe1d97c
fix(client): Header and buttons text made smaller (#38110)
* Front page header and login buttons text made smaller

* Increased headers size a little to all be over 1rem
2020-02-08 18:28:25 +05:30
Kristofer Koishigawa 4ef445c543
feat: add styles for markdown tables and convert some HTML tables to markdown (#38126) 2020-02-07 09:47:35 +01:00
Tom a9c173b35b
fix: remove useless last sentence on intros (#38176) 2020-02-06 17:22:15 +01:00
Oliver Eyton-Williams c76978bdfe
fix: prevent duplication of Monaco webpack plugin (#38131)
It seems that adding it during the 'build-html' stage meant it was
creating new, unminified, versions of the scripts and overwriting the
existing, minified, ones.
2020-02-06 14:24:00 +03:00
kundan kumar fcddfc90b2
fix: Update html tags to fix misalignment (#38160) 2020-02-05 11:18:51 +05:30
vanya829 9a863898f3
fix: remove html tags to fix misalignment (#38159)
* fix: remove html tags to fix misalignment

* Update client/src/pages/learn/apis-and-microservices/managing-packages-with-npm/index.md

Co-Authored-By: Tom <20648924+moT01@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
2020-02-04 11:31:48 -06:00
Tom 25a46f613b
fix: add line break to align with the rest of the intros (#38161) 2020-02-04 11:27:58 -06:00
Ahmad Abdolsaheb 24eb2c4310
fix: add donation ga and tests (#38003)
* fix: add donation ga

* feat: add ga-saga tests
2020-02-04 11:13:56 +05:30
Oliver Eyton-Williams 992ee98cc1 fix: make no-hits result seem non-interactive 2020-02-04 10:56:34 +05:30
Oliver Eyton-Williams 00e0f574df refactor: move no hits case into own component 2020-02-04 10:56:34 +05:30
Tom 964328dbae
fix(client): accuracy issue with heatmap (#38137)
* fix/accuracy-issue-with-heatmap

* fix: typo

* feat: add test and simplify logic

* test: mock Date.now and update snapshot

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-02-04 10:37:04 +05:30
Oliver Eyton-Williams c6eb40ceef
feat: remove protection from interview prep (#38136)
The interview prep section includes many challenges that require long
running calculations which can be mistaken for infinite loops. This
removes the loop protection from those challenges, while the tests are
being evaluated.

It keeps the protection for the preview, since it is easy to create
broken code while working on a challenge and that should not crash the
site.
2020-02-04 10:33:56 +05:30