Commit Graph

191 Commits (3c3ceaa3f5a4164c5182a82f49842096cb027676)

Author SHA1 Message Date
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