summaryrefslogtreecommitdiff
path: root/lib/response.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* refactor: Remove `require` extension filenameBoHong Li2017-05-081-2/+2
|
* Use strict mode in all backend filesBoHong Li2017-03-141-0/+1
| | | | add ‘use strict’ in all backend file
* Use JavaScript Standard StyleBoHong Li2017-03-081-547/+539
| | | | | Introduce JavaScript Standard Style as project style rule, and fixed all fail on backend code.
* Refactor checkViewPermission to fix limited & protected permission check bug ↵Wu Cheng-Han2017-01-161-3/+3
| | | | and fix code style
* Fix missing config in hackmd responseWu Cheng-Han2017-01-161-1/+2
|
* Add `allowemailregister` optionSheogorath2017-01-121-0/+1
|
* Merge pull request #313 from elct9620/feature/disable_anonymous_viewMax Wu2017-01-101-2/+7
|\ | | | | WIP: Add options to limit anonymous view note
| * Add limited and protected permission蒼時弦也2017-01-101-2/+7
| |
| * Recovery tariling spaces蒼時弦也2017-01-101-2/+2
| |
| * Remove temporary change蒼時弦也2017-01-101-3/+0
| |
| * Fix anonymouse view permission check蒼時弦也2017-01-051-1/+4
| |
| * Add limit for constrain anonymous view note蒼時弦也2017-01-051-3/+3
| |
* | Merge pull request #279 from alecdwm/ldap-authMax Wu2017-01-091-0/+2
|\ \ | |/ |/| Support for LDAP server authentication
| * Initial support for LDAP server authenticationalecdwm2016-12-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fix and refactor extracting content using metaMarked directly might lead in ↵Wu Cheng-Han2017-01-041-45/+14
| | | | | | | | invalid object
* | Fix yaml metadata description not able to showWu Cheng-Han2017-01-021-3/+3
| |
* | Remove LZString compression for data storageWu Cheng-Han2017-01-021-7/+7
| |
* | Fixed typo: anonmyousFlorian Rhiem2016-12-211-3/+3
| |
* | Add support of allow free url config option with correspond modificationsWu Cheng-Han2016-12-161-2/+9
| |
* | Add support of allow anonymous config option with correspond modificationsWu Cheng-Han2016-12-151-0/+4
|/
* Update to support optional email register and signinWu Cheng-Han2016-12-021-6/+10
|
* Update to auto generate meta description based on content in publish note ↵Wu Cheng-Han2016-11-261-7/+14
| | | | and slide
* Fix possible XSS in yaml-metadata and turn using ejs escape syntax than ↵Wu Cheng-Han2016-11-261-5/+2
| | | | external lib [Security Issue]
* Fix slide might trigger script when processing markdown which cause XSS ↵Wu Cheng-Han2016-11-261-11/+1
| | | | [Security Issue]
* Update to improve history api error and bad request handlingWu Cheng-Han2016-10-101-0/+3
|
* Update to allow CORS as API on revision actionsWu Cheng-Han2016-10-101-0/+14
|
* Update to support showing owner on the infobarWu Cheng-Han2016-10-101-0/+6
|
* Update to prevent caching and crawling statusWu Cheng-Han2016-09-181-1/+1
|
* Update to use proper way to render view and fix upload image error should ↵Wu Cheng-Han2016-08-191-74/+19
| | | | response with code
* Add info api for noteWu Cheng-Han2016-08-191-0/+32
|
* Update slide mode to show extra info and support url actions and support ↵Wu Cheng-Han2016-08-151-4/+35
| | | | disqus via yaml-metadata
* Fix meta might be null issueWu Cheng-Han2016-08-151-0/+3
|
* Improve index layout and UX with UI adjustments and better wordingWu Cheng-Han2016-08-151-1/+2
|
* Update slide mode, now respect all meta settings and update default stylesWu Cheng-Han2016-08-141-1/+1
|
* Update to support slideOptions in the YAML metadataWu Cheng-Han2016-08-011-0/+1
|
* Fix yaml metadata title should pass to generateWebTitleWu Cheng-Han2016-07-301-6/+7
|
* Update response to force note, publish note, publish slide redirect to their ↵Wu Cheng-Han2016-07-021-0/+13
| | | | expected url
* Update to make slide mode support all extra syntax and change it's rendering ↵Wu Cheng-Han2016-07-021-9/+3
| | | | engine
* Update to support new metadata: title, description, tags and ↵Cheng-Han, Wu2016-06-211-22/+28
| | | | google-analytics (GA) and refactor render publish slide response function
* Remove robot meta on note edit page and html template, add prevent crawling ↵Cheng-Han, Wu2016-06-211-2/+2
| | | | header to enhance note privacy
* Fix pdf tmp path is missing a folder slash before timestampCheng-Han, Wu2016-06-171-1/+1
|
* Add revision apiCheng-Han, Wu2016-06-171-0/+36
|
* Update slide template using ejs instead of mustache to reduce similar ↵Cheng-Han, Wu2016-05-291-4/+15
| | | | package dependency
* Add support of google signinCheng-Han, Wu2016-05-211-2/+4
|
* Update to move gitlab api path to sub path and fix its find user method for ↵Cheng-Han, Wu2016-05-161-1/+49
| | | | PR #121
* Fix merge conflictsCheng-Han, Wu2016-05-151-4/+0
|
* Merge branch 'gitlab_snippets' of https://github.com/jccrofty30/hackmd into ↵Cheng-Han, Wu2016-05-151-0/+4
|\ | | | | | | | | | | | | jccrofty30-gitlab_snippets # Conflicts: # lib/response.js
| * Remove skeleton functionsJason Croft2016-05-111-83/+0
| |
| * Skeletons for GitLab actions.Jason Croft2016-05-091-0/+83
| |
| * Start extending to support GitLab authentication.Jason Croft2016-05-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | Add necessary dependency. Add baseURL parameter for self-hosted GitLab Add necessary require. Add block for GitLab auth. Fix typo Update font-awesome dependency for GitLab icon. Use a color closer to GitLab orange. More direct TODO