summaryrefslogtreecommitdiff
path: root/lib/response.js (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-06-05Fix slide might not provide slideOptions metaWu Cheng-Han1-1/+1
2017-06-01check if reveal theme existsbutlerx1-1/+2
2017-05-31add the ability to set slide theme in slide optionsbutlerx1-0/+1
2017-05-08refactor(config.js): Extract config fileBoHong Li1-16/+16
* Separate different config source to each files * Freeze config object
2017-05-08refactor: Remove `require` extension filenameBoHong Li1-2/+2
2017-03-14Use strict mode in all backend filesBoHong Li1-0/+1
add ‘use strict’ in all backend file
2017-03-08Use JavaScript Standard StyleBoHong Li1-547/+539
Introduce JavaScript Standard Style as project style rule, and fixed all fail on backend code.
2017-01-16Refactor checkViewPermission to fix limited & protected permission check bug ↵Wu Cheng-Han1-3/+3
and fix code style
2017-01-16Fix missing config in hackmd responseWu Cheng-Han1-1/+2
2017-01-12Add `allowemailregister` optionSheogorath1-0/+1
2017-01-10Add limited and protected permission蒼時弦也1-2/+7
2017-01-10Recovery tariling spaces蒼時弦也1-2/+2
2017-01-10Remove temporary change蒼時弦也1-3/+0
2017-01-05Fix anonymouse view permission check蒼時弦也1-1/+4
2017-01-05Add limit for constrain anonymous view note蒼時弦也1-3/+3
2017-01-04Fix and refactor extracting content using metaMarked directly might lead in ↵Wu Cheng-Han1-45/+14
invalid object
2017-01-02Fix yaml metadata description not able to showWu Cheng-Han1-3/+3
2017-01-02Remove LZString compression for data storageWu Cheng-Han1-7/+7
2016-12-21Fixed typo: anonmyousFlorian Rhiem1-3/+3
2016-12-16Add support of allow free url config option with correspond modificationsWu Cheng-Han1-2/+9
2016-12-15Add support of allow anonymous config option with correspond modificationsWu Cheng-Han1-0/+4
2016-12-13Initial support for LDAP server authenticationalecdwm1-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
2016-12-02Update to support optional email register and signinWu Cheng-Han1-6/+10
2016-11-26Update to auto generate meta description based on content in publish note ↵Wu Cheng-Han1-7/+14
and slide
2016-11-26Fix possible XSS in yaml-metadata and turn using ejs escape syntax than ↵Wu Cheng-Han1-5/+2
external lib [Security Issue]
2016-11-26Fix slide might trigger script when processing markdown which cause XSS ↵Wu Cheng-Han1-11/+1
[Security Issue]
2016-10-10Update to improve history api error and bad request handlingWu Cheng-Han1-0/+3
2016-10-10Update to allow CORS as API on revision actionsWu Cheng-Han1-0/+14
2016-10-10Update to support showing owner on the infobarWu Cheng-Han1-0/+6
2016-09-18Update to prevent caching and crawling statusWu Cheng-Han1-1/+1
2016-08-19Update to use proper way to render view and fix upload image error should ↵Wu Cheng-Han1-74/+19
response with code
2016-08-19Add info api for noteWu Cheng-Han1-0/+32
2016-08-15Update slide mode to show extra info and support url actions and support ↵Wu Cheng-Han1-4/+35
disqus via yaml-metadata
2016-08-15Fix meta might be null issueWu Cheng-Han1-0/+3
2016-08-15Improve index layout and UX with UI adjustments and better wordingWu Cheng-Han1-1/+2
2016-08-14Update slide mode, now respect all meta settings and update default stylesWu Cheng-Han1-1/+1
2016-08-01Update to support slideOptions in the YAML metadataWu Cheng-Han1-0/+1
2016-07-30Fix yaml metadata title should pass to generateWebTitleWu Cheng-Han1-6/+7
2016-07-02Update response to force note, publish note, publish slide redirect to their ↵Wu Cheng-Han1-0/+13
expected url
2016-07-02Update to make slide mode support all extra syntax and change it's rendering ↵Wu Cheng-Han1-9/+3
engine
2016-06-21Update to support new metadata: title, description, tags and ↵Cheng-Han, Wu1-22/+28
google-analytics (GA) and refactor render publish slide response function
2016-06-21Remove robot meta on note edit page and html template, add prevent crawling ↵Cheng-Han, Wu1-2/+2
header to enhance note privacy
2016-06-17Fix pdf tmp path is missing a folder slash before timestampCheng-Han, Wu1-1/+1
2016-06-17Add revision apiCheng-Han, Wu1-0/+36
2016-05-29Update slide template using ejs instead of mustache to reduce similar ↵Cheng-Han, Wu1-4/+15
package dependency
2016-05-21Add support of google signinCheng-Han, Wu1-2/+4
2016-05-16Update to move gitlab api path to sub path and fix its find user method for ↵Cheng-Han, Wu1-1/+49
PR #121
2016-05-15Fix merge conflictsCheng-Han, Wu1-4/+0
2016-05-15Update to move dropbox app key setting to common.js and will auto load ↵Cheng-Han, Wu1-6/+3
client-side related scripts
2016-05-11Start extending to support GitLab authentication.Jason Croft1-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