summaryrefslogtreecommitdiff
path: root/app.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor(app.js): Extract tooBusyBoHong Li2017-05-081-8/+2
|
* refactor(app.js): Extract upload imageBoHong Li2017-05-081-84/+2
|
* fix(app.js): Fixed typoBoHong Li2017-05-081-1/+1
|
* refactor(app.js): Extract note actionBoHong Li2017-05-081-17/+4
|
* refactor(app.js): Extract /me pageBoHong Li2017-05-081-28/+1
|
* refactor(app.js): Remove unused modulesBoHong Li2017-05-081-1/+0
|
* refactor(app.js): Extract history apiBoHong Li2017-05-081-11/+1
|
* refactor(app.js): Remove unused import modulesBoHong Li2017-05-081-2/+0
|
* refactor(app.js, auth.js): Extract all auth method to individual modulesBoHong Li2017-05-081-157/+1
|
* refactor(app.js): Extract status pagesBoHong Li2017-05-081-78/+1
|
* refactor(app.js): Extract index, 403, 404, 500 pagesBoHong Li2017-05-081-14/+1
|
* refactor(app.js): Extract urlencodedParser to utils moduleBoHong Li2017-05-081-6/+1
|
* refactor(app.js): Extract middleware to moduleBoHong Li2017-05-081-20/+2
| | | | extract check URi is valid, redirect without trailing slashes
* fix(app.js): Stream logBoHong Li2017-05-081-1/+1
| | | | use logger instead of logger.stream
* Add reference to utils libraryLluisArevalo2017-05-081-0/+3
|
* Add Content-Type to the images uploaded to AWS S3LluisArevalo2017-05-081-0/+3
|
* Fix front-end constants generation not getting config properlyWu Cheng-Han2017-03-231-3/+7
|
* Update to indicate version in status API headerWu Cheng-Han2017-03-221-1/+2
|
* Update to print info on exit term signals handledWu Cheng-Han2017-03-221-0/+1
|
* Update to handle SIGQUITWu Cheng-Han2017-03-221-0/+1
|
* Add support of Catalan localeWu Cheng-Han2017-03-201-1/+1
|
* Fix typo and possible wrong value on provider is false on generating ↵Wu Cheng-Han2017-03-201-3/+3
| | | | front-end constants
* Update to generate front-end constants on server startupWu Cheng-Han2017-03-201-0/+16
| | | | To avoid extra webpacking on changing configs and follow the 12 factor app
* Add config option for gitlab api scope and auto adapt gitlab snippet feature ↵Wu Cheng-Han2017-03-141-2/+4
| | | | on it
* Use JavaScript Standard StyleBoHong Li2017-03-081-554/+556
| | | | | Introduce JavaScript Standard Style as project style rule, and fixed all fail on backend code.
* Fix image path problem when using filesystem backendNV2017-02-091-1/+1
|
* Update to remove history cache to lower application couplingWu Cheng-Han2017-02-031-3/+3
|
* Handle SIGTERM the same way SIGINT is handledJan Kunzmann2017-01-201-3/+5
|
* Merge pull request #317 from SISheogorath/master+allowEmailRegisterMax Wu2017-01-121-25/+27
|\ | | | | Add `allowemailregister` option
| * Add `allowemailregister` optionSheogorath2017-01-121-25/+27
| |
* | Fix SIGINT checkClean should only log error instead throw errorWu Cheng-Han2017-01-121-1/+1
|/
* Merge pull request #279 from alecdwm/ldap-authMax Wu2017-01-091-0/+12
|\ | | | | Support for LDAP server authentication
| * LDAP login improvementsalecdwm2016-12-141-3/+9
| | | | | | | | | | | | - return bad request if no username or password given - return to referer url on auth success - flash error message on auth failure
| * Initial support for LDAP server authenticationalecdwm2016-12-131-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Limitations as of this commit: - tlsOptions can only be specified in config.json, not as env vars - authentication failures are not yet gracefully handled by the UI - instead the error message is shown on a blank page (/auth/ldap) - no email address is associated with the LDAP user's account - no picture/profile URL is associated with the LDAP user's account - we might have to generate our own access + refresh tokens, because we aren't using oauth. The currently generated tokens are just a placeholder. - 'LDAP Sign in' needs to be translated to each locale
* | Added Esperanto translationJames Stephenson2016-12-301-1/+1
| | | | | | | | Translation by Jonathan Powell and James Stephenson
* | Fix URL concatenationknjcode2016-12-271-1/+2
| |
* | fix #284S.Noda2016-12-181-1/+1
|/
* Fix missing dependency in app.jsWu Cheng-Han2016-12-121-0/+1
|
* Fix redirection to url without trailing slashes not considering about config ↵Wu Cheng-Han2016-12-121-2/+5
| | | | urlpath
* Remove bower occurencesYukai Huang2016-12-111-2/+1
|
* Update to handle request with invalid uriWu Cheng-Han2016-12-031-0/+11
|
* Remove preprocess image on upload image or it will losing support of image ↵Wu Cheng-Han2016-12-031-72/+51
| | | | some formats
* Update to support optional email register and signinWu Cheng-Han2016-12-021-1/+46
|
* Merge pull request #248 from hackmdio/file-upload-optionsMax Wu2016-11-271-18/+87
|\ | | | | Support other options for image uploading
| * Handle preprocess image errorYukai Huang2016-11-221-0/+4
| |
| * Config sharp image preprocessingYukai Huang2016-11-161-53/+69
| |
| * upload image to s3Yukai Huang2016-11-161-4/+32
| |
| * Join image path with config.serverurlYukai Huang2016-11-161-1/+3
| |
| * save to upload folder only when option enabledYukai Huang2016-11-151-2/+4
| |
| * support filesystem image uploadYukai Huang2016-11-141-12/+26
| |