summaryrefslogtreecommitdiff
path: root/lib (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-01-20Add option to enable `freely` permission in closed instanceDario Ernst5-2/+6
Before, closed disallowed guest edits completely, by removing the `freely` permission. This makes it possible to explicitely bring back guest-editing, but not guest-note-creation, to closed instances. Signed-off-by: Dario Ernst <dario@kanojo.de>
2018-01-19Load version from package.jsonSheogorath1-1/+3
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-01-19Fix not passing app key correctly in dropbox configWu Cheng-Han3-3/+6
2018-01-18Release 1.0.0-ceSheogorath1-1/+1
2018-01-18Ignore empty values for revision.Sheogorath1-2/+2
Fixes #420
2018-01-18Allow posting new note with contentDustin Frisch3-1/+13
Signed-off-by: Dustin Frisch <fooker@lab.sh>
2018-01-16Fix minor typosMax Wu1-3/+3
of wrong parameters passing order and wrong user object indexing in for each function
2017-12-22Update index.jsChristoph (Sheogorath) Kern1-1/+1
2017-12-22Simplify loopChristoph (Sheogorath) Kern1-8/+3
2017-12-14Fix file permission, remove useless executablePeter Dave Hello1-0/+0
2017-12-09parse HMD_LDAP_SEARCHATTRIBUTES env var as a comma-separated arrayalecdwm2-5/+12
Signed-off-by: Alec WM <firstcontact@owls.io>
2017-12-09Add setting `ldap.usernameField`Lukas Kalbertodt3-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.
2017-12-05fixed sslcapath bugLaysDragon2-2/+10
2017-12-04added guide for SAML settingsNorihito Nakae3-3/+0
2017-11-29added environment variables for SAMLNorihito Nakae1-1/+12
2017-11-29fixed the SAML callback URL to unconfigurable.Norihito Nakae2-2/+1
2017-11-28Initial support for SAML authenticationNorihito Nakae7-0/+129
2017-10-31Fix mattermost breaking notesSheogorath1-0/+1
2017-10-31Add mattermost authenticationChristoph Witzany8-0/+75
2017-10-25Adds 403 response if PDF export is disabledgeekyd1-1/+6
2017-10-25Adds PDF export via configgeekyd4-4/+10
2017-10-16Fix #521 by converting content fields to LONGTEXT in MySQL, to prevent ↵Claudius Coenen3-4/+20
truncation of data.
2017-10-13Add env vars for extra HSTS optionsLiterallie1-0/+3
2017-10-13Add on/off env var for HSTSLiterallie1-0/+3
2017-10-13Make HSTS behaviour configurable; Fixes #584Literallie1-0/+6
2017-10-12Fix LDAP problem about missing uidNumberSheogorath1-2/+3
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2017-10-11Fix missing boolean setting for HMD_URL_ADDPORTSheogorath1-1/+1
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2017-10-09createdAt DESC with quotation marks did not work with MySQL fixes #565Claudius Coenen1-4/+4
2017-09-22Fix broken profile imagesSheogorath1-2/+6
2017-09-04Give google the correct name.Kaiyu Shi1-3/+3
2017-06-14fix s3 us-east-1 region endpointKotaro Yamamoto1-1/+4
2017-06-05Fix typo in the db configWu Cheng-Han1-1/+1
2017-06-05Fix slide might not provide slideOptions metaWu Cheng-Han1-1/+1
2017-06-02switch to __dirnamebutlerx1-1/+1
2017-06-01Read to correct tlsca file pathtkykm1-2/+2
2017-06-01check if reveal theme existsbutlerx2-1/+11
2017-05-31add the ability to set slide theme in slide optionsbutlerx1-0/+1
2017-05-17fix: export to gist occurred 404 not foundMax Wu1-0/+4
2017-05-08fix(config): ssl environment configs not parse properlyRaccoon Li3-7/+20
2017-05-08fix(config): some environment config not parse properlyRaccoon Li2-7/+7
2017-05-08Rename checkURiValid.js to checkURIValid.jsMax Wu1-0/+0
2017-05-08fix(imageRouter): import missing dependency: getImageMimeTypeRaccoon Li1-1/+1
2017-05-08refactor(config.js): Extract config fileBoHong Li12-251/+390
* Separate different config source to each files * Freeze config object
2017-05-08refactor: Remove `require` extension filenameBoHong Li9-22/+21
2017-05-08refactor(baseRouter.js): Adjust style fit standardBoHong Li1-1/+0
2017-05-08refactor(auth.js): Remove base pathBoHong Li1-8/+8
2017-05-08refactor(app.js): Move passport serialize and deserialize to auth moduleBoHong Li1-0/+22
2017-05-08refactor(app.js): Extract tooBusyBoHong Li1-0/+13
2017-05-08refactor(app.js): Extract upload imageBoHong Li1-0/+95
2017-05-08refactor(app.js): Extract note actionBoHong Li1-0/+24