Commit Graph

67 Commits

Author SHA1 Message Date
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
mrugesh
f090730015 fix(api): send json messages for challenge routes (#37494) 2019-10-24 17:30:23 +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
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
Oliver Eyton-Williams
9c2f1ffd82 refactor: combine slug utils into one module 2019-09-26 22:15:27 +05:30
Bouncey
7271e82503 Fix: Restore email change functionality 2019-09-10 11:02:22 +05:30
Mrugesh Mohapatra
ac50216949 fix: NODE_ENV conflicts on pipelines 2019-08-19 01:37:32 +05:30
xyozio
657a5e2c16 cleanup: typos and remove commented out code (#36573) 2019-08-09 23:57:26 +05:30
Mrugesh Mohapatra
298e263f74 chore(client): resolve linting errors in client 2019-07-22 17:10:54 +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
Ahmad Abdolsaheb
b4d3e6d6bb fix: correct cert date for legacy data visualization (#35728)
Closes #34890
Closes #17424
2019-04-02 23:34:14 +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
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
b13e5fb41a feat: Use prettier-eslint to format code 2019-02-19 14:30:27 +05:30
Bouncey
3f25ed051d chore: Remove unused files 2019-02-19 14:30:27 +05:30
Bouncey
0ccd0a6f77 chore: Fix api linting 2019-02-19 14:30:27 +05:30
Bouncey
07266b7e43 chore: commit lint fixes for the api 2019-02-19 14:30:27 +05:30
Bouncey
010fa63e76 chore: Remove unused files 2019-02-19 14:30:27 +05:30
Valeriy
34503c86d8 fix(server): error on claim certification 2019-02-18 13:48:26 +00:00
Mrugesh Mohapatra
02e6e711cf fix(donate): refactor handlers for charges 2019-02-14 14:14:10 +00:00
Bouncey
d79f9f4899 feat(docker): Prep master for docker deploys 2019-02-04 20:13:51 +05:30
Mrugesh Mohapatra
f9c4d2426c fix: remove unwanted stuff 2019-01-16 13:48:38 +00:00
Mrugesh Mohapatra
fdc2219f81 feat: remove news from platform 2019-01-16 13:48:38 +00:00
Todd Chaffee
f0c8211e95 feat: use mock authentication for local dev 2019-01-15 19:52:19 +05:30
Bouncey
8fab33ba99 feat: Create and use dynamic active donation counts 2018-12-04 17:42:12 +05:30
Bouncey
7d7b2e049f fix: Handle no user request 2018-12-02 17:39:56 +05:30
Stuart Taylor
d327a5c36b Feat: News in the client app (#34392) 2018-11-29 15:12:15 +03:00
Hugo
8fbb601c55 fix: update email when finishing challenges (#34395) 2018-11-20 13:51:25 +08:00
Bouncey
0f73fdbd9c fix(update$): Remove User.update$, refactor to use native loopback interfaces 2018-11-16 04:09:16 +05:30