summaryrefslogtreecommitdiff
path: root/lib/config/index.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change config to camel case with backwards compatibilitySheogorath2018-03-251-29/+42
| | | | | | | | This refactors the configs a bit to now use camel case everywhere. This change should help to clean up the config interface and make it better understandable. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Refactoring imageRouter to modularitySheogorath2018-03-201-0/+7
| | | | | | | | | | | | | | This should make the imageRouter more modular and easier to extent. Also a lot of code duplication was removed which should simplify maintenance in future. In the new setup we only need to provide a new module file which exports a function called `uploadImage` and takes a filePath and a callback as argument. The callback itself takes an error and an url as parameter. This eliminates the need of a try-catch-block around the statement and re-enabled the optimization in NodeJS. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Remove camel case from `imageuploadtype` in configSheogorath2018-01-271-2/+8
| | | | | | | | | | | | | This removes the only camel cased option of the config options **we** added to the config.json. In auth provider's config parts are a lot of camel cased options provided. We shouldn't touch them to keep them as similar as possible to the examples. Fixes #315 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Merge pull request #691 from SISheogorath/feature/uploadChristoph (Sheogorath) Kern2018-01-231-0/+20
|\ | | | | Allow more detailed configuration of upload mime types
| * Allow more detailed configuration of upload mime typesSheogorath2018-01-201-0/+20
| | | | | | | | | | | | Fixes #637 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | Add option to enable `freely` permission in closed instanceDario Ernst2018-01-201-1/+1
|/ | | | | | | | 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>
* Load version from package.jsonSheogorath2018-01-191-1/+3
| | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* Release 1.0.0-ceSheogorath2018-01-181-1/+1
|
* Merge pull request #636 from laysdra7265/fix/sslcapathChristoph (Sheogorath) Kern2018-01-181-1/+4
|\ | | | | Fix sslcapath bug
| * Update index.jsChristoph (Sheogorath) Kern2017-12-221-1/+1
| |
| * Simplify loopChristoph (Sheogorath) Kern2017-12-221-8/+3
| |
| * fixed sslcapath bugLaysDragon2017-12-051-1/+9
| |
* | Initial support for SAML authenticationNorihito Nakae2017-11-281-0/+1
|/
* Add mattermost authenticationChristoph Witzany2017-10-311-0/+1
|
* Adds PDF export via configgeekyd2017-10-251-1/+3
|
* Read to correct tlsca file pathtkykm2017-06-011-2/+2
|
* refactor(config.js): Extract config fileBoHong Li2017-05-081-0/+112
* Separate different config source to each files * Freeze config object