summaryrefslogtreecommitdiff
path: root/lib/auth.js (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-05-08refactor(app.js, auth.js): Extract all auth method to individual modulesBoHong Li1-194/+0
2017-03-14Add config option for gitlab api scope and auto adapt gitlab snippet feature ↵Wu Cheng-Han1-0/+1
on it
2017-03-14Use strict mode in all backend filesBoHong Li1-0/+1
add ‘use strict’ in all backend file
2017-03-08Use JavaScript Standard StyleBoHong Li1-173/+175
Introduce JavaScript Standard Style as project style rule, and fixed all fail on backend code.
2016-12-14LDAP auth use email if providedalecdwm1-1/+1
2016-12-14Tokens not required for ldap authalecdwm1-4/+30
2016-12-13Initial support for LDAP server authenticationalecdwm1-1/+32
Limitations as of this commit: - tlsOptions can only be specified in config.json, not as env vars - authentication failures are not yet gracefully handled by the UI - instead the error message is shown on a blank page (/auth/ldap) - no email address is associated with the LDAP user's account - no picture/profile URL is associated with the LDAP user's account - we might have to generate our own access + refresh tokens, because we aren't using oauth. The currently generated tokens are just a placeholder. - 'LDAP Sign in' needs to be translated to each locale
2016-12-02Update to support optional email register and signinWu Cheng-Han1-3/+24
2016-05-21Add support of google signinCheng-Han, Wu1-0/+9
2016-05-21Update to use dropbox api version 2Cheng-Han, Wu1-0/+1
2016-05-20Update to make user profile auto update on authenticationCheng-Han, Wu1-9/+24
2016-05-16Fix code styles and user refreshToken might need update when accessToken not ↵Cheng-Han, Wu1-4/+5
match
2016-05-11Start extending to support GitLab authentication.Jason Croft1-0/+10
Add necessary dependency. Add baseURL parameter for self-hosted GitLab Add necessary require. Add block for GitLab auth. Fix typo Update font-awesome dependency for GitLab icon. Use a color closer to GitLab orange. More direct TODO
2016-05-11Add accessToken saving.Jason Croft1-4/+14
2016-05-09Start extending to support GitLab authentication.Jason Croft1-0/+10
Add necessary dependency. Add baseURL parameter for self-hosted GitLab Add necessary require. Add block for GitLab auth. Fix typo Update font-awesome dependency for GitLab icon. Use a color closer to GitLab orange. More direct TODO
2016-04-20Refactor server with Sequelize ORM, refactor server configs, now will show ↵Cheng-Han, Wu1-30/+46
note status (created or updated) and support docs (note alias)
2015-07-02Jump to 0.3.1Wu Cheng-Han1-6/+7
2015-05-15Marked as 0.2.8Wu Cheng-Han1-4/+4
2015-05-04First commit, version 0.2.7Wu Cheng-Han1-0/+49