summaryrefslogtreecommitdiff
path: root/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix #521 by converting content fields to LONGTEXT in MySQL, to prevent ↵Claudius Coenen2017-10-163-4/+20
| | | | truncation of data.
* 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
|
* Add Content-Type to the images uploaded to AWS S3LluisArevalo2017-05-081-0/+20
|
* fix: Other dialect duplicated add index problemBoHong Li2017-03-282-3/+14
| | | | Detect is using SQLite to add index
* fix: Support SQliteBoHong Li2017-03-283-7/+25
| | | | Move 'unique' constraint to another statement (SQLite don't support set unique when addColumn)
* fix: Add missing migrationBoHong Li2017-03-277-0/+139
|
* fix: Fixed sequelize-cli db:migration cannot stop when occur errorBoHong Li2017-03-245-41/+51
| | | | | | Up and Down method must return a Promise. breaking changes: docker-hackmd cannot initialize, because db:migration will fail
* Fix front-end constants generation not getting config properlyWu Cheng-Han2017-03-231-0/+2
|
* Mark as 0.5.1Wu Cheng-Han2017-03-231-1/+1
|
* Update to generate front-end constants on server startupWu Cheng-Han2017-03-201-1/+2
| | | | To avoid extra webpacking on changing configs and follow the 12 factor app
* Fix strip null byte in model should cast to string to use replace functionWu Cheng-Han2017-03-151-0/+1
|
* Add config option for gitlab api scope and auto adapt gitlab snippet feature ↵Wu Cheng-Han2017-03-142-2/+4
| | | | on it