summaryrefslogtreecommitdiff
path: root/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix update doc from filesystem cause redundant authorship stringifyWu Cheng-Han2017-03-141-1/+1
|
* Use strict mode in all backend filesBoHong Li2017-03-1419-0/+19
| | | | add ‘use strict’ in all backend file
* Use JavaScript Standard StyleBoHong Li2017-03-0819-3139/+3069
| | | | | Introduce JavaScript Standard Style as project style rule, and fixed all fail on backend code.
* Fixed Syntax ErrorBoHong Li2017-03-041-1/+5
|
* Merge branch 'master' into feature/addSecretsRaccoon2017-03-037-144/+134
|\
| * Fix user profile photo might not replace to proper sizeWu Cheng-Han2017-02-181-4/+4
| |
| * first envs then the configMike2017-02-151-1/+1
| | | | | | or docker -e will not work
| * Add validation to defaultpermission in configNV2017-02-101-2/+7
| |
| * Add default permission configNV2017-02-102-2/+6
| |
| * Fix ldap config not initialize properlyWu Cheng-Han2017-02-071-4/+3
| |
| * Fix HMD_LDAP_TLS_CA not passing correctly and update README.mdWu Cheng-Han2017-02-071-2/+11
| |
| * Update to add biggerphoto on parsing user profileWu Cheng-Han2017-02-031-10/+26
| |
| * Update realtime to use timer to avoid memory leaks on busy tickWu Cheng-Han2017-02-031-5/+11
| |
| * Update to remove history cache to lower application couplingWu Cheng-Han2017-02-032-111/+61
| |
| * Merge branch 'master' into es6-integrationYukai Huang2017-01-212-3/+3
| |\
| | * Fix redundant parameter to removeColumn in db migration scriptsWu Cheng-Han2017-01-212-3/+3
| | |
| * | Merge branch 'master' into frontend-nextYukai Huang2017-01-212-24/+33
| |\|
| * | Recover config change in 0f833f0Yukai Huang2017-01-151-2/+2
| | |
| * | Merge branch 'frontend-next' into t216-refactor-commonYukai Huang2017-01-157-29/+176
| |\ \
| * | | Update server google/dropbox config checkYukai Huang2017-01-141-2/+2
| | | |
* | | | Add basics for secret management by Docker 1.13Sheogorath2017-02-071-24/+28
| |_|/ |/| | | | | | | | See https://docs.docker.com/engine/swarm/secrets/
* | | Refactor checkViewPermission to fix limited & protected permission check bug ↵Wu Cheng-Han2017-01-162-23/+31
| | | | | | | | | | | | and fix code style