Commit Graph

2593 Commits

Author SHA1 Message Date
Max Wu 76f4c001d1
Merge pull request #1357 from hackmdio/fix/pcheck-related-issues
fix pcheck not parsed url correctly
2019-11-29 15:09:45 +08:00
BoHong Li f1594c56e2
feat: upgrade base image to resolve pcheck issues
1. upgrade node.js version from 8.16.0 to 8.16.2
2. upgrade pcheck to support connection string from environment
3. upgrade pcheck to fix connection string contains underscore might not resolve correctly

Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-11-28 15:57:31 +08:00
Yukai Huang 5002ec4b4e
Merge branch 'master' into develop 2019-11-15 17:43:22 +08:00
Yukai Huang daafd21405
Add line break to README migration section (#1349)
Add line break to README migration section
2019-11-15 17:36:10 +08:00
Yukai Huang 56a35f5935
Add line break to README migration section
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-11-14 17:32:37 +08:00
Max Wu a0cc1955cb
Prepare release 1.4.0 (#1344)
Prepare release 1.4.0
2019-11-11 17:28:00 +08:00
Yukai Huang 2358dd2fa3
Bump version to 1.4.0
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-11-11 16:58:51 +08:00
Yukai Huang 137e5dfb48
Update release note for 1.4.0
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-11-11 16:58:51 +08:00
Yukai Huang 83274b862f
Bump sequelize from 5.3.5 to 5.15.1 (#1343)
Bump sequelize from 5.3.5 to 5.15.1

Co-authored-by: null <49699333+dependabot[bot]@users.noreply.github.com>
2019-11-10 22:30:17 +08:00
dependabot[bot] e6a3a79c13
Bump sequelize from 5.3.5 to 5.15.1
Bumps [sequelize](https://github.com/sequelize/sequelize) from 5.3.5 to 5.15.1.
- [Release notes](https://github.com/sequelize/sequelize/releases)
- [Commits](https://github.com/sequelize/sequelize/compare/v5.3.5...v5.15.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-11-10 14:04:43 +00:00
Yukai Huang 606424c2bc
Bugfix/slide mode printpdf (#1339)
Bugfix/slide mode printpdf
2019-11-07 13:42:35 +08:00
Yukai Huang 7c3293768b
Remove transform-style workaround in eab984d
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-11-06 13:28:33 +08:00
Max Wu f4921a129a
Update markdownlint & webpack bundling (#1332)
Update markdownlint & webpack bundling
2019-11-01 17:19:50 +08:00
Yukai Huang f1586c57dd
Fix linter error
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-11-01 16:47:41 +08:00
Yukai Huang bfc50b8bb9
Update markdownlint & webpack bundling
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-11-01 16:34:13 +08:00
Yukai Huang aa5a50facf
Merge pull request #1306 from hackmdio/feature/configurable-break-style
Configurable default break style
2019-11-01 12:16:06 +08:00
Yukai Huang 75ee5ad255
Merge branch 'develop' into feature/configurable-break-style 2019-11-01 10:27:47 +08:00
Yukai Huang f871eff28d
Merge pull request #1327 from kamijin-fanta/github-enterprise
support to login with github enterprise
2019-11-01 10:22:46 +08:00
Yukai Huang 7fd36b1b33
Add https_proxy support to gitlab oauth (#1296)
Add https_proxy support to gitlab oauth
2019-11-01 10:22:08 +08:00
kamijin_fanta 9e6f980d8d github-login: move comment to default.js
Signed-off-by: kamijin_fanta <kamijin@live.jp>
2019-10-30 17:02:15 +09:00
Ruben ten Hove 2a365d6971 fix linter issues
Signed-off-by: Ruben ten Hove <git@rhtenhove.nl>
2019-10-30 07:58:36 +01:00
Ruben ten Hove afc4a3e11d yarn add https-proxy-agent
Signed-off-by: Ruben ten Hove <git@rhtenhove.nl>
2019-10-30 07:49:43 +01:00
rhtenhove bac3921197 Add https_proxy support to gitlab oauth
Signed-off-by: Ruben ten Hove <git@rhtenhove.nl>
2019-10-30 07:49:43 +01:00
Yukai Huang 65ecb6d2ec
Allow to generate lower case header references through the conf… (#1310)
Allow to generate lower case header references through the config
2019-10-30 14:44:40 +08:00
hoijui 558fa5fcf4 make standard conform [fix]
Signed-off-by: hoijui <hoijui.quaero@gmail.com>
2019-10-29 13:20:18 +01:00
hoijui aaf9466498 make `headerIds` `const` [fix]
Signed-off-by: hoijui <hoijui.quaero@gmail.com>
2019-10-29 11:57:51 +01:00
hoijui 7c5ac3603a allow to define header link generation style via environment var
Signed-off-by: hoijui <hoijui.quaero@gmail.com>
2019-10-29 10:53:20 +01:00
hoijui c202cca39b also use gfm header generation in test and debug configuraitons
Signed-off-by: hoijui <hoijui.quaero@gmail.com>
2019-10-29 10:00:34 +01:00
hoijui 9742f7d075 fix gfm header link generation with respect to `deduplicatedHeaderId`
Signed-off-by: hoijui <hoijui.quaero@gmail.com>
2019-10-29 10:00:22 +01:00
hoijui 3d5d8e20f7 document `linkifyHeaderStyle` in default.js
Signed-off-by: hoijui <hoijui.quaero@gmail.com>
2019-10-29 09:57:31 +01:00
Max Wu ee8bd9defe
fix: table editor key map might conflict with textcomplete keym… (#1328)
fix: table editor key map might conflict with textcomplete keymap
2019-10-28 23:53:44 +08:00
kamijin_fanta b785ead5e5 github login: fix env name
Signed-off-by: kamijin_fanta <kamijin@live.jp>
2019-10-27 00:01:56 +09:00
kamijin_fanta ba37faf71a github login: default config/config from env vars.
Signed-off-by: kamijin_fanta <kamijin@live.jp>
2019-10-26 22:18:07 +09:00
Max Wu 052c787c0a fix: table editor key map might conflict with textcomplete keymap
and avoid add/remove keymap on every updateActiveState

Signed-off-by: Max Wu <jackymaxj@gmail.com>
2019-10-26 15:02:45 +08:00
kamijin_fanta 225e28bdbd support to login with github enterprise
Signed-off-by: kamijin_fanta <kamijin@live.jp>
2019-10-25 15:15:42 +09:00
Max Wu e03a326c26
Merge pull request #1313 from hackmdio/fix/image-upload-permission
fix: image upload caused permission denied error in docker
2019-10-23 01:49:40 +08:00
BoHong Li d0b02af144
fix: wrong permission caused user cannot upload image in docker
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-10-23 00:57:54 +08:00
hoijui c4906c0592 linkifyHeaderStyle needs no string-ification; is already str.
Co-Authored-By: Yukai Huang <yukaihuangtw@gmail.com>
Signed-off-by: hoijui <hoijui.quaero@gmail.com>
2019-10-22 17:14:02 +02:00
hoijui 905414d039 Make `id` block-scoped (thanks @Yukaii)
Co-Authored-By: Yukai Huang <yukaihuangtw@gmail.com>
Signed-off-by: hoijui <hoijui.quaero@gmail.com>
2019-10-22 17:14:02 +02:00
Yukai Huang eec45c838b
Feature/syntax hilight on PDF (#1308)
Fix syntax highlight on PDF

Co-authored-by: kondouagi <kondouagi@gmail.com>
2019-10-22 19:08:49 +08:00
kondouagi 0dfb8a320d feat: add syntax hilight on pdf
Signed-off-by: kondouagi <kondouagi@gmail.com>
2019-10-22 12:43:09 +09:00
hoijui 34c2bfcfc5 Allow to generate lower case header references through the config (#1305)
This makes the references consistent/compatible with GitHub,
GitLab, Pandoc and many other tools.

This behavior can be enabled in config.json with:

```
"linkifyHeaderStyle": "gfm"
```

Signed-off-by: hoijui <hoijui.quaero@gmail.com>
2019-10-21 22:17:55 +02:00
hoijui 9e4d07926a slight doc comment touch-up/simplification [minor]
Signed-off-by: hoijui <hoijui.quaero@gmail.com>
2019-10-21 22:17:55 +02:00
Yukai Huang 82b5e98f55
Add defaultUseHardbreak environment variable
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-10-20 14:32:06 +08:00
Yukai Huang 56b669a027
Fix meta break setting in slide mode
When `RevealMarkdown.initialize` is called, it use `md.render` to render markdown, but no until we parse meta, the md.options.breaks would be default value we set in extra.js.

So this commit move forward the whole meta parsing block. Ensure line break setting changed before `md.render` get called.

Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-10-20 14:30:56 +08:00
Yukai Huang fd155fa74d
Use defaultUseHardbreak config when render
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-10-20 14:30:56 +08:00
Yukai Huang 495b65e3b9
Add defaultUseHardbreak as constants
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-10-20 14:30:55 +08:00
Yukai Huang 56cc64e910
Feature/support table tools (#1300)
Feature/support table tools
2019-10-14 14:32:00 +08:00
Max Wu efff8d0a5c feat: update yarn lockfile for mte-kernel
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2019-10-14 14:14:32 +08:00
Max Wu 232c8bd870 feat: add toolbar buttons for table tools
and hide scrollbar of the toolbar to avoid overlapping the buttons

Signed-off-by: Max Wu <jackymaxj@gmail.com>
2019-10-14 14:14:32 +08:00