Commit Graph

409 Commits

Author SHA1 Message Date
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
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
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
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
35a6b40e63 Found that thr model uses lower case i but this was using I 2019-10-31 08:02:06 +00:00
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
225cc570f6 chore(api): update local pm2 to in memory 2019-10-21 18:51:36 +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
ebc49be88f fix(api): revert regex based email query (#37393) 2019-10-19 01:09:29 +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
91244b1365 chore: update server deps 2019-10-17 18:20:33 +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
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
9c2f1ffd82 refactor: combine slug utils into one module 2019-09-26 22:15:27 +05:30
32ee2f032c fix: install cross-env for server npm script (#36855) 2019-09-26 21:16:45 +05:30
31947c5009 fix(server): update email template copy (#36780) 2019-09-11 18:58:41 +05:30
53ca86e953 Fix: Ensure emails are processed in lower-case 2019-09-10 11:02:22 +05:30
e08bc32170 Fix: migrate from DeprecationWarning over Buffer security concerns 2019-09-10 11:02:22 +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
469c3f05c2 feat: use static query to get idToNameMap (#36722) 2019-08-30 22:37:28 +05:30
2785875941 fix: make public certs always viewable (#36723) 2019-08-30 16:18:49 +05:30
f2fe60bfbd fix: sort the constant strings 2019-08-29 23:33:01 +05:30
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
5f97782eb0 fix: add identicon natively (#36633) 2019-08-19 19:17:53 +05:30
ac50216949 fix: NODE_ENV conflicts on pipelines 2019-08-19 01:37:32 +05:30
56d78a1119 fix(server,client): CORS is a real nightmare 2019-08-17 17:01:10 +05:30
a1ee532be3 fix: added cross-env before script (#36592) 2019-08-15 13:16:15 +05:30
9061dab9b4 fix: update googleapis to latest 2019-08-14 19:23:26 +05:30