Commit Graph

136 Commits

Author SHA1 Message Date
4300ce44db fix: prevent 403 reporting (#38449) 2020-03-26 22:22:57 +05:30
c9084aea2c DEBUG: create dedicated debug endpoints 2020-03-26 16:51:18 +05:30
38e7369b92 chore: remove rollbar, bump deps 2020-03-26 16:51:17 +05:30
87ae387ecb fix: put error filtering in the handler 2020-03-26 16:51:17 +05:30
f378f54ac3 feat: enhance dev error reports 2020-03-26 16:51:16 +05:30
10a6622546 feat(api): enable Sentry reporting 2020-03-26 16:51:16 +05:30
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
ef39ab0e20 fix(donate): allow calls to the API without auth
This is also dependent on 170e3dbf4f
2020-03-21 01:58:07 +05:30
170e3dbf4f fix(donate): remove isSigned in check temporarily 2020-03-19 23:55:47 +05:30
585527d145 feat: add paypal donation to modals and certificates 2020-03-19 23:55:47 +05:30
4ee032d664 feat(api): add and update webhooks routing 2020-03-19 17:18:53 +05:30
d8e5f3ebc8 feat(tools): add helper for testing webhooks locally 2020-03-19 17:18:53 +05:30
6f90efb20c fix(api): update routes for authorization bypass (#38387) 2020-03-18 18:05:42 +01:00
802f9f68ba fix: use flash before auth (#38385) 2020-03-18 17:51:14 +05:30
933e289617 fix(api): add /auth paths to whitelist (#38383) 2020-03-18 13:19:42 +01:00
23b899f50f fix(csrf): remove all csrf bypass 2020-03-17 23:28:23 +05:30
f9277b4fec fix(env): make PayPal env config dynamic 2020-03-16 18:35:52 +05:30
6c6eadfbe4 feat(donate): PayPal integration 2020-03-16 18:35:51 +05:30
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
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
093f3f8a04 fix(settings): happier/less stern flash messages! (#38134) 2020-02-03 15:27:41 +05:30
059e826465 fix: remove all year-end gift implementation (#38030) 2020-01-09 02:37:50 +05:30
89ddd4bb7e fix(api): error reporter should have explicit env check (#38000) 2020-01-01 10:53:11 +05:30
Tom
a8a7eeb10d fix: make github url optional for backend projects (#37936) 2019-12-20 19:30:33 +05:30
e4590fed5c fix(donate): implement donate page 2019-12-20 19:10:42 +05:30
8db0f89634 fix(donate): remove isDontating check from year-end 2019-12-18 12:59:18 +03:00
663f726c4e fix(donate): allow unauthenticated donations for year-end 2019-12-18 04:21:57 +05:30
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
fdb17223ec revert : Added displayUsername and username update functionality
removes implemenation from #35699
This reverts commit e154f38118.
2019-12-13 01:07:05 +05:30
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
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
f30f8072b0 chore(donate): unify donation config
This commit can be further optimised to DRY out values
2019-11-19 23:09:56 +05:30
aeec1bb9e6 feat(donate): integrate servicebot 2019-11-19 23:09:53 +05:30
2cb8c16b28 fix(donate): control plan creation with environment variable 2019-11-19 23:09:52 +05:30
ef0a801c90 feat(donate): remove unauthenticated routes 2019-11-19 22:28:05 +05:30
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
e77408827a feat: add server-side username validation 2019-11-14 22:16:24 +05:30
f090730015 fix(api): send json messages for challenge routes (#37494) 2019-10-24 17:30:23 +05:30
2352c0b1d9 feat: remove portfolio and add conditional intro 2019-10-22 21:21:07 +05:30
aa62fdbfe9 feat(api): add custom redirect back 2019-10-21 18:03:26 +05:30
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
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
2425f705c2 fix: reword honesty policy and replace profile with portfolio… (#37282) 2019-10-15 00:07:53 +07:00
20ca046a2a fix(auth): redirect to learn after sign in (#37114) 2019-10-08 18:15:36 +03:00
e19e54a152 fix(api): remove the email verified middleware 2019-10-07 15:19:21 -07:00
2116997f85 fix(api): remove the privacy middleware 2019-10-07 15:19:21 -07:00
9c2f1ffd82 refactor: combine slug utils into one module 2019-09-26 22:15:27 +05:30
31947c5009 fix(server): update email template copy (#36780) 2019-09-11 18:58:41 +05:30
7271e82503 Fix: Restore email change functionality 2019-09-10 11:02:22 +05:30
9ff7bf5801 feat: simplify landing page 2019-09-04 18:23:21 +05:30