summaryrefslogtreecommitdiff
path: root/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add setting `ldap.usernameField`Lukas Kalbertodt2017-12-093-1/+9
| | | | | | | | This determines which ldap field is used as the username on HackMD. By default, the "id" is used as username, too. The id is taken from the fields `uidNumber`, `uid` or `sAMAccountName`. To give the user more flexibility, they can now choose the field used for the username instead.
* added guide for SAML settingsNorihito Nakae2017-12-043-3/+0
|
* added environment variables for SAMLNorihito Nakae2017-11-291-1/+12
|
* fixed the SAML callback URL to unconfigurable.Norihito Nakae2017-11-292-2/+1
|
* Initial support for SAML authenticationNorihito Nakae2017-11-287-0/+129
|
* Fix mattermost breaking notesSheogorath2017-10-311-0/+1
|
* Add mattermost authenticationChristoph Witzany2017-10-318-0/+75
|
* Merge pull request #562 from SISheogorath/fix/LDAPSheogorath2017-10-271-2/+3
|\ | | | | Fix LDAP problem about missing uidNumber
| * Fix LDAP problem about missing uidNumberSheogorath2017-10-121-2/+3
| | | | | | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | Adds 403 response if PDF export is disabledgeekyd2017-10-251-1/+6
| |
* | Adds PDF export via configgeekyd2017-10-254-4/+10
| |
* | Add env vars for extra HSTS optionsLiterallie2017-10-131-0/+3
| |
* | Add on/off env var for HSTSLiterallie2017-10-131-0/+3
| |
* | Make HSTS behaviour configurable; Fixes #584Literallie2017-10-131-0/+6
| |
* | Merge pull request #581 from SISheogorath/fix/HMD_URL_ADDPORTSheogorath2017-10-121-1/+1
|\ \ | | | | | | Fix missing boolean setting for HMD_URL_ADDPORT
| * | Fix missing boolean setting for HMD_URL_ADDPORTSheogorath2017-10-111-1/+1
| | | | | | | | | | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | | createdAt DESC with quotation marks did not work with MySQL fixes #565Claudius Coenen2017-10-091-4/+4
|/ /
* | Merge pull request #550 from SISheogorath/fix/gitlabAvatarSheogorath2017-10-081-2/+6
|\ \ | | | | | | | | | | | | Fix broken profile images in GitLab Fixes #549
| * | Fix broken profile imagesSheogorath2017-09-221-2/+6
| |/
* / Give google the correct name.Kaiyu Shi2017-09-041-3/+3
|/
* fix s3 us-east-1 region endpointKotaro Yamamoto2017-06-141-1/+4
|
* Fix typo in the db configWu Cheng-Han2017-06-051-1/+1
|
* Fix slide might not provide slideOptions metaWu Cheng-Han2017-06-051-1/+1
|
* Merge pull request #471 from butlerx/reveal/themeMax Wu2017-06-032-0/+11
|\ | | | | add the ability to set slide theme in slide options
| * switch to __dirnamebutlerx2017-06-021-1/+1
| |
| * check if reveal theme existsbutlerx2017-06-012-1/+11
| |
| * add the ability to set slide theme in slide optionsbutlerx2017-05-311-0/+1
| |
* | Read to correct tlsca file pathtkykm2017-06-011-2/+2
|/
* fix: export to gist occurred 404 not foundMax Wu2017-05-171-0/+4
|
* fix(config): ssl environment configs not parse properlyRaccoon Li2017-05-083-7/+20
|
* fix(config): some environment config not parse properlyRaccoon Li2017-05-082-7/+7
|
* Rename checkURiValid.js to checkURIValid.jsMax Wu2017-05-081-0/+0
|
* fix(imageRouter): import missing dependency: getImageMimeTypeRaccoon Li2017-05-081-1/+1
|
* refactor(config.js): Extract config fileBoHong Li2017-05-0812-251/+390
| | | | | * Separate different config source to each files * Freeze config object
* refactor: Remove `require` extension filenameBoHong Li2017-05-089-22/+21
|
* refactor(baseRouter.js): Adjust style fit standardBoHong Li2017-05-081-1/+0
|
* refactor(auth.js): Remove base pathBoHong Li2017-05-081-8/+8
|
* refactor(app.js): Move passport serialize and deserialize to auth moduleBoHong Li2017-05-081-0/+22
|
* refactor(app.js): Extract tooBusyBoHong Li2017-05-081-0/+13
|
* refactor(app.js): Extract upload imageBoHong Li2017-05-081-0/+95
|
* refactor(app.js): Extract note actionBoHong Li2017-05-081-0/+24
|
* refactor(app.js): Extract /me pageBoHong Li2017-05-081-0/+36
|
* refactor(app.js): Extract history apiBoHong Li2017-05-081-0/+19
|
* refactor(app.js, auth.js): Extract all auth method to individual modulesBoHong Li2017-05-0811-194/+405
|
* refactor(app.js): Extract status pagesBoHong Li2017-05-081-0/+92
|
* refactor(app.js): Extract index, 403, 404, 500 pagesBoHong Li2017-05-081-0/+23
|
* refactor(app.js): Extract urlencodedParser to utils moduleBoHong Li2017-05-081-0/+9
|
* refactor(app.js): Extract middleware to moduleBoHong Li2017-05-082-0/+31
| | | | extract check URi is valid, redirect without trailing slashes
* refactor(logger): Refactor logger.jsBoHong Li2017-05-081-11/+11
| | | | Use class style implement write interface
* Use single quotesLluisArevalo2017-05-081-11/+11
|