summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add build, ShellCheck, doctoc & jsonlint test on Travis CIPeter Dave Hello2017-10-291-0/+16
|
* Use matrix(jobs) in .travis.ymlPeter Dave Hello2017-10-291-8/+17
|
* Merge pull request #599 from xxyy/fix/inline-stylesSheogorath2017-10-272-6/+23
|\ | | | | Externalise some trivial inline styles from slide.ejs
| * Externalise trivial inline styles from slide.ejsLiterallie2017-10-232-6/+23
| | | | | | | | Dynamic background images need some further work
* | Merge pull request #562 from SISheogorath/fix/LDAPSheogorath2017-10-271-2/+3
|\ \ | | | | | | Fix LDAP problem about missing uidNumber
| * | Fix LDAP problem about missing uidNumberSheogorath2017-10-121-2/+3
| | | | | | | | | | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | | Merge pull request #574 from PeterDaveHello/README.md-Table-of-ContentsSheogorath2017-10-272-60/+86
|\ \ \ | | | | | | | | Add "Table of Contents" in README.md
| * | | Integrate npm package "doctoc" to update README.mdPeter Dave Hello2017-10-132-1/+7
| | | |
| * | | Add "Table of Contents" in README.mdPeter Dave Hello2017-10-131-0/+21
| | | |
| * | | Reorganize README.md structure, cc #574Peter Dave Hello2017-10-131-59/+58
| | | |
* | | | Merge pull request #589 from geekyd/masterSheogorath2017-10-257-10/+30
|\ \ \ \ | | | | | | | | | | Adds enable/disable PDF export via config
| * | | | Adds 403 response if PDF export is disabledgeekyd2017-10-251-1/+6
| | | | |
| * | | | Adds HMD_ALLOW_PDF_EXPORT to readmegeekyd2017-10-251-1/+2
| | | | |
| * | | | Adds PDF export via configgeekyd2017-10-256-8/+22
|/ / / /
* | | | Merge pull request #591 from Rwing/masterSheogorath2017-10-236-106/+215
|\ \ \ \ | |_|_|/ |/| | | support Simplified Chinese and rename original zh to Traditional Chinese
| * | | support Simplified Chinese and rename original zh to Traditional ChineseRwing2017-10-236-106/+215
| | | |
* | | | Merge pull request #597 from hackmdio/fix-gist-tag-structureSheogorath2017-10-211-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Fix markdown-it gist plugin code closing tag Fix #596
| * | | | Fix markdown-it gist plugin code closing tagYukai Huang2017-10-211-1/+1
|/ / / / | | | | | | | | | | | | fix #596
* | | | Merge pull request #595 from geekyd/swapSheogorath2017-10-191-0/+4
|\ \ \ \ | | | | | | | | | | Hides empty export section
| * | | | Hides empty export sectiongeekyd2017-10-181-0/+4
| | | | |
* | | | | Merge pull request #586 from PeterDaveHello/jsonlintSheogorath2017-10-181-1/+3
|\ \ \ \ \ | |/ / / / |/| | | | Add jsonlint script to ensure all json files are valid
| * | | | Add jsonlint script to ensure all json files are validPeter Dave Hello2017-10-141-1/+3
| | |/ / | |/| |
* | | | Merge pull request #593 from felixonmars/patch-1Sheogorath2017-10-171-1/+1
|\ \ \ \ | |_|/ / |/| | | Fix a typo in README.md
| * | | Fix a typo in README.mdFelix Yan2017-10-171-1/+1
|/ / /
* | | Merge pull request #585 from xxyy/feature/hsts-cfgSheogorath2017-10-146-6/+52
|\ \ \ | | | | | | | | Make HSTS Behaviour Configurable (Fixes #584)
| * | | Add env vars for extra HSTS optionsLiterallie2017-10-133-0/+18
| | | |
| * | | Add on/off env var for HSTSLiterallie2017-10-133-1/+8
| | | |
| * | | Make HSTS behaviour configurable; Fixes #584Literallie2017-10-134-5/+26
| |/ /
* | | Merge pull request #569 from SISheogorath/feature/extendedPermissionDocsSheogorath2017-10-141-6/+9
|\ \ \ | |/ / |/| | Provide table for permissions
| * | Provide table for permissionsSheogorath2017-10-121-6/+9
| | | | | | | | | | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | | Merge pull request #581 from SISheogorath/fix/HMD_URL_ADDPORTSheogorath2017-10-121-1/+1
|\ \ \ | | | | | | | | Fix missing boolean setting for HMD_URL_ADDPORT
| * | | Fix missing boolean setting for HMD_URL_ADDPORTSheogorath2017-10-111-1/+1
| |/ / | | | | | | | | | Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
* | | Merge pull request #575 from PeterDaveHello/fix.travis.ymlSheogorath2017-10-111-1/+0
|\ \ \ | | | | | | | | Remove duplicated nodejs version in .travis.yml
| * | | Remove duplicated nodejs version in .travis.ymlPeter Dave Hello2017-10-111-1/+0
| |/ / | | | | | | | | | lts/boron is v6
* | | Merge pull request #566 from ccoenen/fix-mysql-revision-orderSheogorath2017-10-111-4/+4
|\ \ \ | | | | | | | | createdAt DESC with quotation marks did not work with MySQL fixes #565
| * | | createdAt DESC with quotation marks did not work with MySQL fixes #565Claudius Coenen2017-10-091-4/+4
| |/ /
* | | Merge pull request #573 from PeterDaveHello/add-version-badgeClaudius Coenen2017-10-101-0/+3
|\ \ \ | | | | | | | | Add version badge in README.md
| * | | Add version badge in README.mdPeter Dave Hello2017-10-101-0/+3
| |/ /
* | | Merge pull request #571 from SISheogorath/fix/shellcheckSheogorath2017-10-101-2/+2
|\ \ \ | |/ / |/| | Prevent argument breaking by spaces
| * | Prevent argument breaking by spacesSheogorath2017-10-101-2/+2
|/ /
* | Merge pull request #550 from SISheogorath/fix/gitlabAvatarSheogorath2017-10-081-2/+6
|\ \ | | | | | | | | | | | | Fix broken profile images in GitLab Fixes #549
| * | Fix broken profile imagesSheogorath2017-09-221-2/+6
| |/
* | Merge pull request #564 from geekyd/pop_buttonClaudius Coenen2017-10-081-3/+3
|\ \ | | | | | | Adds button style to "new note"
| * | Adds color to new note buttongeekyd2017-10-071-3/+3
| | |
* | | Merge pull request #563 from geekyd/masterSheogorath2017-10-081-0/+3
|\ \ \ | |/ / |/| | Updates default max_line_len in uglifyjs
| * | Increases max_line_len in uglifyjsgeekyd2017-10-071-0/+3
|/ /
* | Merge pull request #553 from weisslj/fix-s3-bucket-documentationSheogorath2017-10-072-4/+5
|\ \ | | | | | | Correct documentation of S3 bucket
| * | Correct documentation of S3 bucketJohannes Weißl2017-09-232-4/+5
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Documentation added in aaf034b on Nov 17th 2016 says the S3 bucket can be specified with `s3.bucket`, but commit c8bcc4c (#285) on Dec 18th 2016 used `s3bucket`. Instead of fixing the code (#552) to match the documentation this commit changes just the documentation so that existing configurations are not broken. Also, the `s3` object is passed as is to `AWS.S3()`, which does not know the option `bucket` (but silently ignores it in my test). http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#constructor-property Following the old documentation leads to this exception: 2017-09-23T09:42:38.079Z - error: MissingRequiredParameter: Missing required key 'Bucket' in params at ParamValidator.fail (/srv/hackmd/hackmd/node_modules/aws-sdk/lib/param_validator.js:50:37) at ParamValidator.validateStructure (/srv/hackmd/hackmd/node_modules/aws-sdk/lib/param_validator.js:61:14) at ParamValidator.validateMember (/srv/hackmd/hackmd/node_modules/aws-sdk/lib/param_validator.js:88:21) at ParamValidator.validate (/srv/hackmd/hackmd/node_modules/aws-sdk/lib/param_validator.js:34:10) at Request.VALIDATE_PARAMETERS (/srv/hackmd/hackmd/node_modules/aws-sdk/lib/event_listeners.js:125:42) at Request.callListeners (/srv/hackmd/hackmd/node_modules/aws-sdk/lib/sequential_executor.js:105:20) at callNextListener (/srv/hackmd/hackmd/node_modules/aws-sdk/lib/sequential_executor.js:95:12) at /srv/hackmd/hackmd/node_modules/aws-sdk/lib/event_listeners.js:85:9 at finish (/srv/hackmd/hackmd/node_modules/aws-sdk/lib/config.js:315:7) at /srv/hackmd/hackmd/node_modules/aws-sdk/lib/config.js:333:9 at Credentials.get (/srv/hackmd/hackmd/node_modules/aws-sdk/lib/credentials.js:126:7) at getAsyncCredentials (/srv/hackmd/hackmd/node_modules/aws-sdk/lib/config.js:327:24) at Config.getCredentials (/srv/hackmd/hackmd/node_modules/aws-sdk/lib/config.js:347:9) at Request.VALIDATE_CREDENTIALS (/srv/hackmd/hackmd/node_modules/aws-sdk/lib/event_listeners.js:80:26) at Request.callListeners (/srv/hackmd/hackmd/node_modules/aws-sdk/lib/sequential_executor.js:101:18) at Request.emit (/srv/hackmd/hackmd/node_modules/aws-sdk/lib/sequential_executor.js:77:10)
* | Fix to filter @import CSS syntax in style tag to prevent XSS [Security Issue]Wu Cheng-Han2017-10-051-4/+9
| |
* | Fix unescape > symbol inside the style tags to make the CSS worksWu Cheng-Han2017-10-051-0/+4
| |