summaryrefslogtreecommitdiff
path: root/app.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * upload image to public/uploadsYukai Huang2016-11-141-0/+3
| |
* | Try to replace engine.io to uws in socket.io for better performanceWu Cheng-Han2016-11-181-0/+4
|/
* Add to throw error when server not ready after db syncedWu Cheng-Han2016-11-071-0/+2
|
* Revert "html minify in production environment"Max Wu2016-10-241-13/+0
|
* html minify in production environmentPeter Dave Hello2016-10-231-0/+13
|
* Update to support Swedish localeWu Cheng-Han2016-10-211-1/+1
|
* Fix socket disconnect might interrupt loop issueWu Cheng-Han2016-10-211-1/+3
|
* Update to support Hindi localeWu Cheng-Han2016-10-141-1/+1
|
* Fix to handle checkAllNotesRevision might return null notesWu Cheng-Han2016-10-121-1/+1
|
* Fix fatal error should throw instead of returnWu Cheng-Han2016-10-101-2/+2
|
* Update to add post history by note id with data, delete all history and ↵Wu Cheng-Han2016-10-101-0/+6
| | | | delete history by id and rename methods
* Update to add cache to historyWu Cheng-Han2016-10-101-51/+5
|
* Update to support Ukrainian localeWu Cheng-Han2016-10-101-1/+1
|
* Add support of Italian, Turkish, Russian, Dutch, Croatian, Polish localesWu Cheng-Han2016-10-101-1/+1
|
* Update to support Greek and Portuguese localesWu Cheng-Han2016-10-021-1/+1
|
* Remove expiry from cookiesJordan Matelsky2016-09-261-2/+1
| | | As per [this issue](https://github.com/expressjs/session/issues/365)
* Update to add revision saving policyWu Cheng-Han2016-09-181-1/+1
|
* Update to prevent caching and crawling statusWu Cheng-Han2016-09-181-0/+4
|
* Update to support French, Deutsch, Japanese and Spanish localesWu Cheng-Han2016-09-161-1/+1
|
* Removed redundant condition.robert2016-09-061-11/+5
|
* Add support of i18n with related patches and support "en" and "zh" locales ↵Wu Cheng-Han2016-08-191-0/+11
| | | | for now
* Update to use proper way to render view and fix upload image error should ↵Wu Cheng-Han2016-08-191-5/+7
| | | | response with code
* Update slide mode to show extra info and support url actions and support ↵Wu Cheng-Han2016-08-151-0/+2
| | | | disqus via yaml-metadata
* Update to support redirect back to previous url after signinWu Cheng-Han2016-08-011-36/+43
|
* Update to raise the body-parser limit to fix "Error: request entity too ↵Wu Cheng-Han2016-07-301-2/+5
| | | | large" issue
* Fix the signin and logout redirect url might be emptyMax Wu2016-07-081-14/+14
|
* Add rolling option on session to reset maxAge on every response to extend ↵Wu Cheng-Han2016-07-051-1/+2
| | | | session life