Commit Graph
27716 Commits
Author SHA1 Message Date
Renovate Bot 75bf6fc78c fix(deps): update gatsby monorepo 2021-05-25 18:51:19 +00:00
d5cc9ba259 feat(dev): add css helper function (#42148)
* feat(dev): add css helper function

* add media declaration methods

* use a selector to grab styles

* add CSSHelp class with annoying TS warnings (no-verify)

* replace indexing with getPropertyValue

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

* connect CSSHelp to helpers, clean up types

* fix: return extended object, not modify prototype

* fix: unnecessary assertion error

* add tests with fixtures

* add afterAll document clean-up

* 'fix' tests

* undo jest transform config

* remove erroneous comments and logs

* reafactor: use existing types and narrow types

* refactor test descriptions

* rename files to appease Mrugesh 😄

* remove probably unnecessary document clean

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

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-05-25 07:34:55 -07:00
Renovate Bot a32559b203 fix(deps): update dependency react-i18next to v11.9.0 2021-05-25 09:59:30 +00:00
Renovate Bot 7844b81288 chore(deps): update typescript-eslint monorepo to v4.25.0 2021-05-25 02:50:29 +00:00
Nicholas Carrigan (he/him) 948cc10be4 docs: translators -> contributors (#42239)
Replace the links to the now archived translators room with the
contributors room.
2021-05-24 18:07:05 -07:00
Renovate Bot 827cc4f53e chore(deps): update dependency cypress to v7.4.0 2021-05-24 23:18:50 +00:00
etlioglu 8b73920487 fix(curriculum): add items using splice verbiage
"The second entry of `12` is removed" is changed to "The second occurrence of `12` is removed". I believe the phrase "second entry" might create confusion as the readers might think of the second entry of the array rather than the second occurrence of the array element 12.
2021-05-24 13:33:25 -07:00
Oliver Eyton-Williams 2648f75df6 fix: remove redundant babel plugin (#42234)
@babel/plugin-proposal-class-properties is now included in preset-env
2021-05-24 13:30:09 -07:00
Nicholas Carrigan (he/him) 821aee9687 feat: i18n for help text (#42235)
Add internationalisation capabilities for the pre-filled text in
the Ask for Help forum post.
2021-05-24 19:59:35 +02:00
gikf 7faa168761 fix(curriculum): rework Project Euler 85 (#42181)
* fix: rework challenge to use argument in function

* fix: add solution

* fix: grammar
2021-05-24 23:13:58 +05:30
gikf 399281f225 fix(curriculum): rework Project Euler 84 (#42161) 2021-05-24 23:13:34 +05:30
Renovate Bot 4496168187 chore(deps): update dependency start-server-and-test to v1.12.3 2021-05-24 15:47:07 +00:00
camperbot bb841869eb chore(i18n,docs): update translations (#42207) 2021-05-24 18:22:08 +05:30
Oliver Eyton-Williams 9c6701bf10 fix: eslint config (#42228)
The typescript parser does not work properly on pure JS and is only
needed for TS files, so this commit restricts @typescript-eslint/parser
to .ts and .tsx files
2021-05-24 17:45:39 +07:00
camperbot 4a0d43facb chore(i18n,client): processed translations (#42223) 2021-05-24 16:00:42 +05:30
camperbot bd69e00480 chore(i18n,curriculum): update translations (#42191) 2021-05-24 09:42:08 +02:00
saeedandAhmad Abdolsaheb 66c5523909 feat: render footer correctly (#42096)
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2021-05-24 00:30:07 +02:00
Renovate Bot 4714e033c8 chore(deps): update dependency jsdom to v16.6.0 2021-05-23 22:25:24 +00:00
914ff44f74 fix(client): add validation to profile image URL (#41927)
* fix: fix broken image url after validation

* feat: add tests for a broken image url submission

* fix: reduce event related calls

* Update cypress/integration/settings/image-picture-check.js

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>

* Update cypress/integration/settings/image-picture-check.js

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2021-05-23 16:08:12 +02:00
miyaliu666 3b2be48dea Update Chinese footer (#42193)
* Update trending.json

* Update three long titles
2021-05-22 07:26:26 -07:00
Mrugesh MohapatraandSem Bauke b1eeb0fb11 docs: update PR template (#42210)
* docs: update PR template

* Update .github/PULL_REQUEST_TEMPLATE.md

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>

Co-authored-by: Sem Bauke <46919888+Sembauke@users.noreply.github.com>
2021-05-22 07:23:56 -07:00
Renovate Bot 6913e364d1 fix(deps): update dependency i18next to v20.3.0 2021-05-22 11:24:58 +00:00
fcc29419c6 feat(tools): add color palette to tailwind config file (#42198)
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
2021-05-22 15:33:43 +05:30
Halu89 1018f91535 fix(curriculum): check for correct method in test (#42214)
I don't know how the code runs from here, but I'm assuming it should be the correct method now
2021-05-22 10:58:35 +02:00
Renovate Bot df0860dd96 chore(deps): update dependency eslint to v7.27.0 2021-05-22 03:01:14 +00:00
Renovate Bot 6db31fd9aa chore(deps): update dependency eslint-plugin-import to v2.23.3 2021-05-21 21:46:14 +00:00
Renovate Bot 7ab513fbae chore(deps): update dependency mongodb to v3.6.8 2021-05-21 19:03:47 +00:00
Renovate Bot c92150e9bb fix(deps): update dependency @actions/core to v1.3.0 2021-05-21 15:24:26 +00:00
Seth Falco 4d024f3e4b fix(curriculum): css and html test issues (#42045)
* fix: css and html issues

* fix: issues with css test

* fix: allow spaces in solution css

* fix: css tests for use-rgb-to-mix-colors
2021-05-21 12:18:42 +01:00
Renovate Bot efffe56dfd chore(deps): update dependency postcss to v8.3.0 2021-05-21 09:36:33 +00:00
ChrisPrzR d636bb8912 fix(client): update CSS variable values (#42197)
Update rgba instead of rgb to translucent colors and add hex value for --purple-mid
2021-05-21 12:55:33 +05:30
camperbot 9088a07dad chore(i18n,learn): update translations (#42190) 2021-05-21 09:25:16 +02:00
Huyen Nguyen 79b90ca46e docs: add links to the moderator handbook (#42199) 2021-05-21 06:08:55 +02:00
Renovate Bot b9fa68b00f fix(deps): update dependency sanitize-html to v2.4.0 2021-05-20 17:46:16 +00:00
renovate[bot]andRenovate Bot f53097b152 chore(deps): update dependency lint-staged to v11 (#42180)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-20 17:21:28 +05:30
Lance 9c86168b2f fix: valid username lowercase (#42172)
* fix: valid username lowercase

* test: add test in the validate for reject uppercase characters

* test: add test in the cypress for check on uppercase characters and reject it.
2021-05-20 09:04:00 +02:00
camperbot 938e5913fa chore(i18n,curriculum): update translations (#42187) 2021-05-19 19:20:10 +02:00
Renovate Bot e57c1438f7 fix(deps): update gatsby monorepo 2021-05-19 14:51:59 +00:00
Renovate Bot d672f9e73a chore(deps): update dependency webpack to v5.37.1 2021-05-19 09:00:46 +00:00
Renovate Bot 12a37ba581 chore(deps): update dependency mongodb to v3.6.7 2021-05-18 22:48:04 +00:00
alirezagheyandParth Parth 777c508f82 fix(curriculum): small english improvement (#42173)
* fix(curriculum): small english improvement

* fix(curriculum): small english improvement

Co-authored-by: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>

Co-authored-by: Parth Parth <34807532+thecodingaviator@users.noreply.github.com>
2021-05-18 14:42:05 -07:00
Mrugesh Mohapatra 6d8baddec0 chore: update api deps, apply npm audit fix (#42179)
* chore(api): bump minor and patch

* chore: apply npm audit fix across deps
2021-05-18 22:39:26 +05:30
Sem Bauke f3e8a0f0c2 fix(curriculum): clarify Check if an Object has a Property (#42156)
* fix: clarify Check if an Object has a Property

* fix: give extra clarity on object checking
2021-05-18 20:36:53 +04:00
camperbot 18ccc3bd34 chore(i18n,curriculum): processed translations (#42178) 2021-05-18 07:27:23 -07:00
camperbot 91dd0401e0 chore(i18n,client): processed translations (#42177) 2021-05-18 07:26:36 -07:00
camperbot f68fc5a5a8 chore(i18n,docs): processed translations (#42176) 2021-05-18 19:06:17 +05:30
Kristofer Koishigawa 064179e508 fix: bump the number of published English articles (#42171) 2021-05-18 09:33:48 +04:00
gikf 0f0a1f4801 feat(curriculum): add solution (#42149)
* fix: ensure using in test arrays from background

* feat: add solution

* fix: improve description
2021-05-18 14:26:54 +09:00
gikf 86d50dc093 feat(curriculum): add solution (#42146)
* fix: ensure using in test arrays from background

* feat: add solution

* fix: improve description
2021-05-18 14:12:56 +09:00
Renovate Bot 8ef1c43f3d chore(deps): update typescript-eslint monorepo to v4.24.0 2021-05-18 00:34:41 +00:00