Commit Graph

324 Commits (9669e39b85a6c46f5407256043ef164ea2293fe7)

Author SHA1 Message Date
Mrugesh Mohapatra ab9699a66c chore(deps): update packages on api-server 2020-10-10 23:46:24 +05:30
dependabot[bot] 2b466ec43e chore(deps): bump passport from 0.4.0 to 0.4.1 in /api-server
Bumps [passport](https://github.com/jaredhanson/passport) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/jaredhanson/passport/releases)
- [Commits](https://github.com/jaredhanson/passport/compare/v0.4.0...v0.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-10 17:36:49 +00:00
dependabot[bot] d97aec50f9 chore(deps): bump query-string from 6.13.2 to 6.13.5 in /api-server
Bumps [query-string](https://github.com/sindresorhus/query-string) from 6.13.2 to 6.13.5.
- [Release notes](https://github.com/sindresorhus/query-string/releases)
- [Commits](https://github.com/sindresorhus/query-string/compare/v6.13.2...v6.13.5)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-10 17:13:57 +00:00
Mrugesh Mohapatra 5b335fd62e chore(api): wrap req logs in debug format 2020-10-09 17:29:55 +02:00
Mrugesh Mohapatra 977d411a97 chore:(deps): apply npm audit fix to all packages 2020-09-24 16:29:55 +05:30
Mrugesh Mohapatra d623ca0053 chore:(deps): server - update minor and patch 2020-09-24 16:29:55 +05:30
Randell Dawson 0f5832b562
fix: project 25 + 5 (#39526) 2020-09-09 13:28:12 +05:30
Mrugesh Mohapatra c23c4ef8e4
fix: negative sentiment → neutral language (#39522)
The existing terminology carries negative sentiment that can be
interpreted in a racial or sense. Updating the name to have no
potential for such a connection.

Co-authored-by: Justin Rogers <justrog@gmail.com>
2020-09-07 11:04:44 +05:30
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
Oliver Eyton-Williams 1ad5f756e0 fix(api): remove redirects from api
They should be handled either by nginx or by the client. Turned out a
lot of code, including the path migration, existed to support them.
Hence the large number of removals
2020-09-01 11:35:44 +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 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 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
Mrugesh Mohapatra b58704a5ce
fix: harden username blocklist (#39281)
* fix: harden username blocklist

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-07-28 10:35:56 +02:00
Oliver Eyton-Williams bf9837c1da
chore: remove unused library (#39270) 2020-07-27 18:10:22 +05:30
Oliver Eyton-Williams 31f9211016
refactor(api): clean up certification logic (#39196) 2020-07-15 21:28:26 +05:30
Oliver Eyton-Williams 57a39d47ab
refactor: remove old curriculum map from api 2020-06-23 11:27:16 +02:00
Oliver Eyton-Williams 2da8eb23e9
feat(api): get challenges directly from /curriculum 2020-06-23 11:27:16 +02:00
Oliver Eyton-Williams 5a80b83579
fix(api): csrf over http in development (#39114) 2020-06-22 15:57:20 +05:30
Kristofer Koishigawa 6e5988da4e
fix(learn): versioning for new certificate slugs (#39087) 2020-06-17 20:30:31 +05:30
Oliver Eyton-Williams b3d5cde75e
fix(api): csurf to SameSite 'strict', https only (#39077)
Lax and http are probably sufficient, but if the stricter versions work
there's no harm using them.
2020-06-16 20:48:48 +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 b4926052f4
chore: refactor and simplify testing (#39050) 2020-06-13 14:57:15 +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
matbub 4af28cf12c
fix(client): update report user verbiage and link (#38954) 2020-06-01 18:37:24 +05:30
Huyen Nguyen 727ae4b932
fix(api): update url in email template (#38970) 2020-06-01 18:00:26 +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
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
Oliver Eyton-Williams 8f239cb3e5 refactor(api): remove unused map util 2020-05-25 18:32:18 +05:30
Oliver Eyton-Williams 0c771b7000 refactor(api): remove unused url-utils 2020-05-25 18:32:18 +05:30
Mrugesh Mohapatra ed08ec088a
fix(api): use mongodb+srv url protocol (#38831) 2020-05-19 21:52:05 +05:30
Mrugesh Mohapatra 61e791ffda
revert(api): bump minor & patch versions of deps (#38816) 2020-05-14 14:35:13 +05:30
Mrugesh Mohapatra c76e855ff1 chore(api): bump minor & patch versions of deps 2020-05-11 22:53:55 +05:30
Oliver Eyton-Williams 9451328a85
fix(api): show most recent date for FullStack cert (#38736) 2020-05-06 18:54:12 +05:30
Shaun Hamilton b1ea426f51
fix(api): add toLowerCase method to email (#38586) 2020-04-24 16:23:29 +05:30
Oliver Eyton-Williams f0da5e712e
chore: update deps (#38562) 2020-04-17 22:16:31 +05:30
Mrugesh Mohapatra 13b248d464 chore: npm audit fix in all packages 2020-04-07 14:24:34 +05:30
Oliver Eyton-Williams 4300ce44db
fix: prevent 403 reporting (#38449) 2020-03-26 22:22:57 +05:30
Oliver Eyton-Williams c9084aea2c DEBUG: create dedicated debug endpoints 2020-03-26 16:51:18 +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
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
Mrugesh Mohapatra ef39ab0e20 fix(donate): allow calls to the API without auth
This is also dependent on 170e3dbf4f
2020-03-21 01:58: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 4ee032d664 feat(api): add and update webhooks routing 2020-03-19 17:18:53 +05:30
Mrugesh Mohapatra d8e5f3ebc8 feat(tools): add helper for testing webhooks locally 2020-03-19 17:18:53 +05:30
mrugesh 6f90efb20c
fix(api): update routes for authorization bypass (#38387) 2020-03-18 18:05:42 +01:00
Oliver Eyton-Williams 802f9f68ba
fix: use flash before auth (#38385) 2020-03-18 17:51:14 +05:30
mrugesh 933e289617
fix(api): add /auth paths to whitelist (#38383) 2020-03-18 13:19:42 +01:00
Oliver Eyton-Williams 23b899f50f fix(csrf): remove all csrf bypass 2020-03-17 23:28:23 +05:30
Oliver Eyton-Williams de124c4386 chore: update api-server 2020-03-17 11:09:12 +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
mrugesh ac922ac04e
fix: add pass thru for some subdomains (#38315)
* fix: add passthru for some subdomains

* fix: export whitelist correctly
2020-03-04 00:02:04 +09:00
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
Steve Phillips 093f3f8a04
fix(settings): happier/less stern flash messages! (#38134) 2020-02-03 15:27:41 +05:30
mrugesh 059e826465
fix: remove all year-end gift implementation (#38030) 2020-01-09 02:37:50 +05:30
mrugesh 89ddd4bb7e
fix(api): error reporter should have explicit env check (#38000) 2020-01-01 10:53:11 +05:30
dependabot[bot] 6756c06fcd chore(deps): bump handlebars from 4.1.2 to 4.5.3 (#37987)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: null <49699333+dependabot[bot]@users.noreply.github.com>
2019-12-27 22:15:58 +05:30
Tom a8a7eeb10d fix: make github url optional for backend projects (#37936) 2019-12-20 19:30:33 +05:30
Tom f5360e9393 fix: timeline not showing when set to public (#37937) 2019-12-20 19:19:02 +05:30
Mrugesh Mohapatra e4590fed5c fix(donate): implement donate page 2019-12-20 19:10:42 +05:30
Mrugesh Mohapatra 8db0f89634 fix(donate): remove isDontating check from year-end 2019-12-18 12:59:18 +03:00
Mrugesh Mohapatra 663f726c4e fix(donate): allow unauthenticated donations for year-end 2019-12-18 04:21:57 +05:30
Mrugesh Mohapatra 4221e7c45b fix(donate): make api flexible for custom amounts
The commit needs to be removed or the logic updated later.
2019-12-18 02:48:03 +05:30
Mrugesh Mohapatra fdb17223ec revert : Added displayUsername and username update functionality
removes implemenation from #35699
This reverts commit e154f38118.
2019-12-13 01:07:05 +05:30
Catalina e154f38118 Added displayUsername and username update functionality (#35699)
* Added displayUsername and username update functionality

* fix: move username assignment to safe place

moved the username assignment down a statement so that it doesn't cause exception 

* fix: handle missing username or displayUsername

* refactor: remove redundant code
2019-12-11 12:43:06 +01:00
mrugesh 9886cf7ca2
fix(client,server): usernames should not be a http error code (#37804)
* fix(client,server): usernames should not be a http error code
* feat: reject invalid chars first

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2019-11-27 10:49:17 +05:30
Mrugesh Mohapatra f30f8072b0 chore(donate): unify donation config
This commit can be further optimised to DRY out values
2019-11-19 23:09:56 +05:30
Mrugesh Mohapatra aeec1bb9e6 feat(donate): integrate servicebot 2019-11-19 23:09:53 +05:30
Mrugesh Mohapatra 2cb8c16b28 fix(donate): control plan creation with environment variable 2019-11-19 23:09:52 +05:30
Mrugesh Mohapatra ef0a801c90 feat(donate): remove unauthenticated routes 2019-11-19 22:28:05 +05:30
Mrugesh Mohapatra e13f35171c feat(donate): updated donate page and plans
- [x] two column layout for the page.
- [x] amount to learning minutes mapping for contribution impact.
- [x] handle one-time and recurring stripe subscription charges.
- [x] server side validation of donate forms.
- [x] prevent multiple subscriptions and onetime donations per user.
2019-11-19 22:28:04 +05:30
Oliver Eyton-Williams e77408827a feat: add server-side username validation 2019-11-14 22:16:24 +05:30
Michaël De Boey c22ca2429e [ImgBot] Optimize images (#37520)
*Total -- 70.80kb -> 52.55kb (25.77%)

/docs/images/devops/travis-build.png -- 65.11kb -> 46.87kb (28.02%)
/api-server/public/images/freeCodeCamp-puck.svg -- 2.03kb -> 2.03kb (0.05%)
/client/src/assets/images/freeCodeCamp-404.svg -- 3.66kb -> 3.66kb (0.03%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: Imgbot <ImgBotHelp@gmail.com>
2019-10-31 17:54:30 +05:30
mikek2252 35a6b40e63 Found that thr model uses lower case i but this was using I 2019-10-31 08:02:06 +00:00
mrugesh f090730015
fix(api): send json messages for challenge routes (#37494) 2019-10-24 17:30:23 +05:30
Ahmad Abdolsaheb 2352c0b1d9 feat: remove portfolio and add conditional intro 2019-10-22 21:21:07 +05:30
Mrugesh Mohapatra 225cc570f6 chore(api): update local pm2 to in memory 2019-10-21 18:51:36 +05:30
Mrugesh Mohapatra aa62fdbfe9 feat(api): add custom redirect back 2019-10-21 18:03:26 +05:30
Ahmad Abdolsaheb 3823ed19bc fix: update user state from server (#37374)
* fix: return updates from server
* fix: make store consistant and adjust form validation
2019-10-21 17:07:28 +05:30
mrugesh ebc49be88f
fix(api): revert regex based email query (#37393) 2019-10-19 01:09:29 +05:30
Stuart Taylor 892e6862ed fix: reduce the number of db calls for getSessionUser (#37385)
* Fix: Reduce the number of db calls for getSessionUser

* Fix unit tests
2019-10-18 05:47:37 +05:30
Mrugesh Mohapatra 91244b1365 chore: update server deps 2019-10-17 18:20:33 +05:30
Ahmad Abdolsaheb 2425f705c2 fix: reword honesty policy and replace profile with portfolio… (#37282) 2019-10-15 00:07:53 +07:00
mrugesh 20ca046a2a fix(auth): redirect to learn after sign in (#37114) 2019-10-08 18:15:36 +03:00
Mrugesh Mohapatra e19e54a152 fix(api): remove the email verified middleware 2019-10-07 15:19:21 -07:00
Mrugesh Mohapatra 2116997f85 fix(api): remove the privacy middleware 2019-10-07 15:19:21 -07:00
Aravind V. Nair d0cda5820c chore: .gitignore and image enhancements (#37075)
Co-Authored-By: mrugesh <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: ImgBot <ImgBotHelp@gmail.com>
2019-10-07 03:58:07 -07:00
Oliver Eyton-Williams 9c2f1ffd82 refactor: combine slug utils into one module 2019-09-26 22:15:27 +05:30
Oliver Eyton-Williams 32ee2f032c fix: install cross-env for server npm script (#36855) 2019-09-26 21:16:45 +05:30
mrugesh 31947c5009
fix(server): update email template copy (#36780) 2019-09-11 18:58:41 +05:30
Bouncey 53ca86e953 Fix: Ensure emails are processed in lower-case 2019-09-10 11:02:22 +05:30
Bouncey e08bc32170 Fix: migrate from DeprecationWarning over Buffer security concerns 2019-09-10 11:02:22 +05:30
Bouncey 7271e82503 Fix: Restore email change functionality 2019-09-10 11:02:22 +05:30
Ahmad Abdolsaheb 9ff7bf5801 feat: simplify landing page 2019-09-04 18:23:21 +05:30
Valeriy 469c3f05c2 feat: use static query to get idToNameMap (#36722) 2019-08-30 22:37:28 +05:30
Oliver Eyton-Williams 2785875941 fix: make public certs always viewable (#36723) 2019-08-30 16:18:49 +05:30
Mrugesh Mohapatra f2fe60bfbd fix: sort the constant strings 2019-08-29 23:33:01 +05:30
moT01 afc431e900 fix: restrict usernames that are keywords
fix: the rest of the typo (unsunscribe to unsubscribe)

fix: restrict copyright and copyright-policy and add appropriate redirects

fix/forgot-to-save-this-file-before-last-commit

fix: remove-duplicate+fix-typo

fix: update-snapshot
2019-08-29 23:33:01 +05:30
Tom 70b7080833 fix: make challenge links on profile page work (#36701)
* fix: make challenge links on profile page work

* fix: filter out certs from displaying

* fix: add suggested changes
2019-08-29 23:25:06 +05:30
mrugesh 5f97782eb0
fix: add identicon natively (#36633) 2019-08-19 19:17:53 +05:30
Mrugesh Mohapatra ac50216949 fix: NODE_ENV conflicts on pipelines 2019-08-19 01:37:32 +05:30
Mrugesh Mohapatra 56d78a1119 fix(server,client): CORS is a real nightmare 2019-08-17 17:01:10 +05:30
Randell Dawson a1ee532be3 fix: added cross-env before script (#36592) 2019-08-15 13:16:15 +05:30
Mrugesh Mohapatra 9061dab9b4 fix: update googleapis to latest 2019-08-14 19:23:26 +05:30
Mrugesh Mohapatra 6f3bd10c1f chore: remove and update extraneous scripts 2019-08-14 19:23:25 +05:30
Mrugesh Mohapatra 27d998271d fix: rename app entrypoints 2019-08-14 19:23:24 +05:30
xyozio 657a5e2c16 cleanup: typos and remove commented out code (#36573) 2019-08-09 23:57:26 +05:30
Mrugesh Mohapatra 8841c866b3 fix(api): @bable/node is not the part of cli 2019-07-30 14:58:44 +03:00
Mrugesh Mohapatra 298e263f74 chore(client): resolve linting errors in client 2019-07-22 17:10:54 +05:30
Mrugesh Mohapatra ed4bbfdbcd chore(server): update all dependencies to latest 2019-06-21 19:56:20 +05:30
Mrugesh Mohapatra c5fd478d9a fix(deploy): misc. re-arrange scripts and organize 2019-06-21 00:53:05 +05:30
Parth Parth 67028025d1 fix(client): Vague Error messages (#36047)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2019-06-19 20:01:03 +05:30
Mrugesh Mohapatra 0ffca02ec1 fix: remove medium links and rss feeds 2019-06-16 00:23:41 +05:30
Mrugesh Mohapatra 91adc43bcd fix(tools): rearrange scripts and graceful exit 2019-06-16 00:23:41 +05:30
ValeraS e7ae9a5b45 fix: bootstrap packages 2019-06-12 02:49:30 +05:30
kozlovvski d6a6504f74 chore(tools): updated jest in packages
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2019-06-11 19:06:57 +05:30
dependabot[bot] 7a88eadf7d Bump handlebars from 4.0.12 to 4.1.2
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.12 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.12...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-08 03:00:09 +05:30
dependabot[bot] 60afa97f5d Bump js-yaml from 3.12.0 to 3.13.1 in /api-server
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-08 02:18:11 +05:30
Ahmad Abdolsaheb 8b4fb5a452 fix: imgur to s3 for various files without conflict (#36057) 2019-05-20 23:58:20 +05:30
Ahmad Abdolsaheb b4d3e6d6bb fix: correct cert date for legacy data visualization (#35728)
Closes #34890
Closes #17424
2019-04-02 23:34:14 +05:30
Valeriy 5c95cac000 chore(tools): add user in container and fix debug of api-server 2019-03-15 15:50:30 +05:30
Bouncey 7d18cd8de6 fix: Delete zombie auth properties from session 2019-03-05 15:57:46 +05:30
Bouncey 898242f562 fix: Sesssions should not have an effect on the request routing 2019-03-05 15:57:46 +05:30
Bouncey 72a0d63aa0 fix: Centralise user deserialization 2019-03-05 15:57:46 +05:30
Bouncey 0c23844793 chore: Remove old auth cruft 2019-03-05 15:57:46 +05:30
Bouncey 9151723951 fix: Rework reset progress saga to wait for the updated user 2019-02-27 09:25:05 +03:00
Bouncey d3418dfecf fix: Do not try to parse an empty response 2019-02-27 09:25:05 +03:00
Mrugesh Mohapatra 58edfce838 chore: fixup linting the api tests 2019-02-25 19:14:52 +00:00
Valeriy S 1faa8dc0c1 fix: set a max-len rule for eslint 2019-02-26 00:18:46 +05:30
Bouncey 1c6df3649b chore: Add readme for boot_tests directory 2019-02-26 00:17:02 +05:30
Bouncey f743f4edf5 fix: Convert ints to strings for validation 2019-02-26 00:17:02 +05:30
Bouncey 014c26cd4e fix: Add tests for redirectToLearn 2019-02-26 00:17:02 +05:30
Bouncey 953e1b2e11 feat: Add tests for challenge>buildUserUpdate 2019-02-26 00:17:02 +05:30
Bouncey 75190d3a43 feat: Add challenge validation middleware 2019-02-26 00:17:02 +05:30
Stuart Taylor 675d6a76e4 Fix: Current challenge timeout (#35352)
<!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ensure that our team takes your pull request seriously. -->

- [x] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md).
- [x] My pull request has a descriptive title (not a vague title like `Update index.md`)
- [x] My pull request targets the `master` branch of freeCodeCamp.

Closes #35345

This PR resolves an issue where the `/challenges/current-challenge` request times out due to an unresolved promise.
2019-02-22 17:19:12 +05:30
Bouncey cf1def239d feat: Use new (tested) accessToken utils to set and remove cookies 2019-02-21 21:03:06 +05:30
Bouncey 3e8bac4590 feat: Use new (tested) accessToken utils to authoize requests 2019-02-21 21:03:06 +05:30
Bouncey 2f944b3aed feat: Add new accessToken utils 2019-02-21 21:03:06 +05:30
Bouncey 36c4737998 chore: Add tests for jwt authorization 2019-02-21 21:03:06 +05:30