Commit Graph

17 Commits

Author SHA1 Message Date
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
2da8eb23e9 feat(api): get challenges directly from /curriculum 2020-06-23 11:27:16 +02:00
23b899f50f fix(csrf): remove all csrf bypass 2020-03-17 23:28:23 +05:30
Tom
a8a7eeb10d fix: make github url optional for backend projects (#37936) 2019-12-20 19:30:33 +05:30
f090730015 fix(api): send json messages for challenge routes (#37494) 2019-10-24 17:30:23 +05:30
9c2f1ffd82 refactor: combine slug utils into one module 2019-09-26 22:15:27 +05:30
f743f4edf5 fix: Convert ints to strings for validation 2019-02-26 00:17:02 +05:30
014c26cd4e fix: Add tests for redirectToLearn 2019-02-26 00:17:02 +05:30
953e1b2e11 feat: Add tests for challenge>buildUserUpdate 2019-02-26 00:17:02 +05:30
75190d3a43 feat: Add challenge validation middleware 2019-02-26 00:17:02 +05:30
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
b13e5fb41a feat: Use prettier-eslint to format code 2019-02-19 14:30:27 +05:30
d79f9f4899 feat(docker): Prep master for docker deploys 2019-02-04 20:13:51 +05:30
7d7b2e049f fix: Handle no user request 2018-12-02 17:39:56 +05:30
0f73fdbd9c fix(update$): Remove User.update$, refactor to use native loopback interfaces 2018-11-16 04:09:16 +05:30
dace86663f fix(current-challenge): Fix current-challenge API 2018-11-13 05:39:50 +05:30
46a217d0a5 chore(server): Move api-server in to it's own DIR 2018-09-03 17:47:48 +05:30