Commit Graph

25 Commits

Author SHA1 Message Date
Mrugesh Mohapatra
eba910e939 feat(news): Add news model 2018-08-03 19:27:42 +05:30
Mrugesh Mohapatra
59f700b110 fix(auth): Add verification route for email 2018-05-29 01:51:38 +05:30
Mrugesh Mohapatra
3ad70a7926 feat: add gdpr privacy and terms 2018-05-28 19:12:26 +05:30
Stuart Taylor
58a5d0d181 fix(external): Ensure req.user on verified web token (#17225) 2018-05-24 16:49:51 +05:30
Stuart Taylor
dfda68fb58 feat(auth): Authorise 'external' requests through JWT (#17224) 2018-05-24 01:40:56 +05:30
Stuart Taylor
f916204ba5 Chore: Update User model (#17171)
* fix(logs): Remove console.log's

* chore(challengeMap): challengeMap -> completedChallenges

* chore(userModel): Update user model

* feat(userIDs): Add user ident fields

* chore(github): Remove more refs to github data
2018-05-15 19:26:26 +05:30
Stuart Taylor
156ea1af76 Feat: Welcome Page (#17150) 2018-05-15 10:42:05 +05:30
Berkeley Martinez
387eafbf33 feat(Flash): Add render methods that do not dump flash autom
query from the front end app for these messages
2018-01-18 15:20:54 -08:00
Berkeley Martinez
7a922229f4 chore(Loopback): Normalize configs using cli 2018-01-02 23:38:01 +05:30
Berkeley Martinez
13b7eac16f fix(passport/login): Use middleware instead of bootscript
prototype overwrite doesn't seem have any effect
2018-01-02 23:38:01 +05:30
Mrugesh Mohapatra
4967b2a2be chore(dependencies): Add and update CORS config 2017-11-16 11:34:50 +05:30
Mrugesh Mohapatra
460ce2644a fix: Update to loopback@^3 and add strong-error-hanlder@^1 2017-11-16 11:34:50 +05:30
Berkeley Martinez
2fcd976700 fix(signup): signup auth (#15628)
* fix(models.user): Colocate all user methods

Moved user methods/extensions into one file. Tracked down `next method
called more than once` error and setting headers after their sent. Let
regular error handler handle api errors as well.

* feat(server.auth): Disable github account creation

We are no longer allowing account creation through github

* refactor(Auth): Move user identity link into models dir

* feat(Disable link account login): This removes the ability to use a linked account t

* feat(errorhandlers): Add opbeat, filter out handled error
2017-07-14 00:09:07 +05:30
Berkeley Martinez
2d7e96045c Fix: remove old middleware config 2016-07-28 23:40:01 -07:00
Berkeley Martinez
078560c3ba Add language routing 2016-07-28 23:40:01 -07:00
Berkeley Martinez
6898d961bf Normalize model json using generator loopback 2016-07-28 23:39:17 -07:00
Arsen Melikyan
510ce1fe83 Show flash message on every page when cheater is logged in 2016-07-28 17:32:54 +04:00
Berkeley Martinez
3ae67f6fa9 Add csrf protection 2016-05-02 17:22:56 -07:00
Berkeley Martinez
07d54a455c Add challengeMap migrations 2016-02-10 10:06:36 -08:00
Berkeley Martinez
12b2be9db8 Remove old terminology 2016-01-15 06:08:54 -08:00
Berkeley Martinez
aceb1dd9e6 Change order of information in morgan reporting 2015-10-14 20:51:38 -07:00
Berkeley Martinez
306c441ae7 add revisioning to js/css files to break caching
This moves the location of javascript files, commonFramework,
iFrameScript, sandbox, plugin, and all the less files.
On gulp or gulp build these files are moved and revisioned.
Places where they are references in jade/html are now removed and
replaced with the use of a helper function `rev`. This function will
take the required file and return a string referencing the revisioned
file. This should alleviate the need for hard refreshing and will break
caches when files change, so fixes for firefox caching issue as well.

NOTE: @benmcmahon @quincylarson, This means files will need to be build
on the server in production before doing a server restart/reload
In production: 'npm run build' To build and revision js/css files

`gulp` and `gulp build` will used in development

npm install also needs to be run in production on initial deploy
2015-08-26 23:30:33 -07:00
Berkeley Martinez
6a11b30bc2 serve static assets before sessions 2015-08-19 11:28:44 -07:00
Berkeley Martinez
f01a66c5c7 use (LMP)loopback middleware phases
bump loopback-component-passport which uses LMP
move custom middlewares to middlewares directory
2015-08-04 01:34:26 -07:00
Berkeley Martinez
956a2b915e initial move to loopback server 2015-06-02 17:27:02 -07:00