Commit Graph

27102 Commits

Author SHA1 Message Date
Sohaib
740d57d962 fix (learn): fixed spelling mistake in authentication-strategies.md (#38460) 2020-03-27 06:23:28 -07:00
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
mrugesh
46c3cd3265 revert(docs): Fixed Chinese broken link and markdown (#38458)
This reverts commit 552203c0b0 merged via #37278

Co-authored-by: miyaliu666 <miyaliu66666@gmail.com>
2020-03-27 14:19:49 +05:30
Mrugesh Mohapatra
f6978d1d40 docs: update links and grammar 2020-03-27 14:06:53 +05:30
mrugesh
a45c2c4f15 docs: update links and workflow (#38457) 2020-03-27 13:53:32 +05:30
Keith Warter
3ee1c39e41 Adding a solution for reversing a DoubleLinkedList. (#38427) 2020-03-26 21:01:49 -07:00
Enock Kasaadha
06d97ac813 fix(curriculum/learn): moved the comment one line below. (#38422)
moved the comment ` //add code above this line` in the text editor of [this challenge](https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/es6/use--to-import-everything-from-a-file) one line below so that it makes meaning.
2020-03-26 20:01:58 -05:00
Joseph Crandal
f142eed6ef Fix pig latin challenge description (#38018)
* Fix pig latin challenge description

Added statement for beginning with consonants and if a vowel does not begin with a vowel.

* fix: update description/instructions

* fix:  removed extra line break

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

* fix:  removed extra line break

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

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-03-26 23:38:07 +01:00
Boyeong Yoon
9723d24598 Translated 'how-to-setup-freecodecamp-locally.md' into Korean (#37832)
Co-authored-by: Nancy Yoon (윤보영) <nancy.b.yoon@gmail.com>
2020-03-27 01:43:24 +05:30
Gregory Gubarev
1ae4e25303 Improved translate (#37536) 2020-03-26 12:36:32 -07:00
Gregory Gubarev
5a44fcf77e Improved Russian translate (#37537)
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-03-26 12:13:23 -07:00
Víctor Lasa
f9eefa18f0 Fixed Google translations and added Solution (#37488)
Also modified the wording to be more cohesive with the rest of the documentation.
2020-03-26 11:23:03 -07:00
Randell Dawson
1fdb691996 fix(learn): updated tests and deleted old sample code (#38450) 2020-03-26 23:12:18 +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
4300ce44db fix: prevent 403 reporting (#38449) 2020-03-26 22:22:57 +05:30
Hassaan Pasha
4fbce07792 fix: improve test regex to validate disallowed methods that can be bypassed by prototype reassignments and/or otherwise (#38214)
* fix: improve test regex to validate disallowed methods that can be bypassed by prototype reassignments and/or otherwise

* fix: fixing regex pattern
2020-03-26 08:13:34 -07:00
Relsig
bb7a50e341 Enable newlines in Authentication with Socket.IO, test 3 (#37862)
* newlines in Authentication with Socket.IO, test 3

Both my original formatting and glitch's "format this file" button add a newline between "io.use("  and  "passport.authorize"
".+" catches one or more of anything that isn't a newline.
"[^]+" catches one or more of anything including newlines. 
This change updates the test accordingly so people who use glitch's formatting don't get left searching for assistance

* less permissive match to prevent shenanigans

Won't work with comments still.

* fix my own silliness
2020-03-26 08:09:34 -05:00
Oliver Eyton-Williams
c830951beb fix: add SENTRY_ENVIRONMENT variable (#38446)
Adds a tag to group Sentry events
2020-03-26 18:15:49 +05:30
Oliver Eyton-Williams
c9084aea2c DEBUG: create dedicated debug endpoints 2020-03-26 16:51:18 +05:30
Oliver Eyton-Williams
35751bacf0 chore: remove rollbar from client and .env 2020-03-26 16:51:17 +05:30
Oliver Eyton-Williams
38e7369b92 chore: remove rollbar, bump deps 2020-03-26 16:51:17 +05:30
Oliver Eyton-Williams
87ae387ecb fix: put error filtering in the handler 2020-03-26 16:51:17 +05:30
Oliver Eyton-Williams
f378f54ac3 feat: enhance dev error reports 2020-03-26 16:51:16 +05:30
Oliver Eyton-Williams
10a6622546 feat(api): enable Sentry reporting 2020-03-26 16:51:16 +05:30
Mrugesh Mohapatra
61e5bf942b feat(api): integrate sentry for log reporting 2020-03-26 16:51:16 +05:30
David Sánchez
34048e2c73 Updated wording in Spanish translation (#37484)
* docs: updated wording in Spanish translation

* Completed translation
2020-03-26 16:42:11 +05:30
Bet-Zua
ff0973ad65 restructured grammar for clarity (#37368)
Rewrote parts of the sentences about the zero-index to add clarity.
2020-03-26 16:38:07 +05:30
Benedikt
99749074e1 docs: fixed grammar and consistent wording in German contribut… (#37293) 2020-03-26 16:36:59 +05:30
Andres Arrieta
448068888c fix(i18n): Spanish corrected explanation and fixed redundancy (#37281)
described the media query in a bit more detail and fixed a redundancy description on the first paragraph.
2020-03-26 16:11:04 +05:30
Allen Guan
552203c0b0 fix(docs): Fixed Chinese broken link and markdown (#37278)
* fix: Chinese README.md broken link

* fix: Chinese CONTRIBUTING.md broken link

* fix: broken markdown and full width char

* fix: overly translation

* update Chinese CONTRIBUTING.md to current version
2020-03-26 16:10:04 +05:30
Arthur
7ad220d1ac fix: add tests for exercise tracker (#37696)
* fix: add tests for exercise tracker
2020-03-26 10:39:06 +01:00
Ahmad Abdolsaheb
4c14e3f396 fix: add a fallback for fullstack cert (#37065)
* fix: add a fallback for fullstack cert completion

* fix: optimize loop over completedChallengs

* fix: try to make more declarative

* fix: move variable to config

* fix: use node exports

Co-authored-by: moT01 <tmondloch01@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-03-26 09:57:15 +01:00
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
Randell Dawson
e0e6334628 fix(curriculum): Consolidated comments for JavaScript Algorithms and Data Structures challenges - part 3 of 4 (#38264)
* fix: remove example code from challenge seed

* fix: remove declaration from solution

* fix: added sum variable back in

* fix: reverted description back to original version

* fix: added examples to description section

* fix: added complete sentence

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

* fix: corrected typo

Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>

* fix: reverted to original desc with formatted code

* fix: removed unnecessary code example from description section

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

* fix: failiing test on iterate through array with for loop

* fix: changed to Only change this line

Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Manish Giri <manish.giri.me@gmail.com>
Co-authored-by: moT01 <tmondloch01@gmail.com>
2020-03-25 16:07:13 +01:00
Randell Dawson
50f15886b8 fix(curriculum): Strip comments from user code for Use Destructuring Assignment to Extract Values from Objects challenge (#38213)
* fix: strip user code to improve tests

* fix: removed closing section tag messing up tests
2020-03-25 13:28:17 +01:00
Kalyanasundaram
8b0cbd6f83 Modify tests for testing objects for properties challenge (#38414)
* Stronger test cases for testing objects for properties

Change function signature to take in a custom object to be tested

* YML formatting mistake

* Yaml no space in string

* Small one more fix - most likely final

* REmove double space in return

* Update instruction Section
2020-03-24 22:09:57 -07:00
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
Yaroslav Khudchenko
4e3d35d487 fix: delete inactive links in Russian Contribution Guidelines(#37270) 2020-03-24 15:03:53 +03: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
Randell Dawson
1f2a93b646 fix: added additional test for altText (#38395) 2020-03-23 07:02:34 -05:00
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
Shane
ae45c491b2 docs(i18n): Update Chinese README.md (#37585) 2020-03-22 16:14:52 +05:30
Keith Warter
022bbdd1b0 Adding a solution for searching within a linked list for future students (#38326)
* Adding a solution for future students

* fix: added new tests and correctied existing tests

* Adding isEmpty method as well

* Update curriculum/challenges/english/08-coding-interview-prep/data-structures/search-within-a-linked-list.english.md

Co-Authored-By: Manish Giri <manish.giri.me@gmail.com>

Co-authored-by: Randell Dawson <rdawson@onepathtech.com>
Co-authored-by: Manish Giri <manish.giri.me@gmail.com>
2020-03-21 09:30:14 -05:00
mrugesh
696bfe8b7b docs: update links in curriculum guide 2020-03-21 11:18:17 +05:30
Vincent Shury
6920634e6c TYPO-FIX JS-regex-match-non-whitespace-characters (#38407)
Added Markdown to correctly display second test
2020-03-20 21:13:48 -07:00
Ashraf Nazar
88e1952478 fix: ESLint warnings in logs 2020-03-21 03:09:38 +05:30