Sören Wegener
45d4daf0f3
Check for falsy existingUser variable. Fixes #1369
...
Use another return code for "User already exist"
This allows external scripts differentiating between "failure" and "everything is fine"
Co-Authored-By: Max Wu <jackymaxj@gmail.com>
Signed-off-by: Soeren Wegener <wegener92@gmail.com>
2019-12-05 15:35:33 +01:00
Yukai Huang
f0c26b3a8c
Merge pull request #1360 from brandon-welsch/feature/scalingo_deployment
...
Added Scalingo compatible deployment
2019-12-02 19:06:40 +08:00
Max Wu
725795651a
Merge pull request #1365 from quite/fixlocation
...
fix: correct to singular location
2019-12-02 19:03:12 +08:00
Daniel Lublin
db0ee65fc8
fix: correct to singular location
...
Signed-off-by: Daniel Lublin <daniel@lublin.se>
2019-12-01 16:49:28 +01:00
Max Wu
547262243c
fix: mysql2 not install ( #1362 )
...
fix: mysql2 not install
2019-12-01 00:28:24 +08:00
BoHong Li
f7ef491bf3
fix: mysql2 not install
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-11-30 14:42:59 +08:00
Brandon WELSCH
abde89064f
Added Scalingo compatible deployment
...
Signed-off-by: Brandon WELSCH <dev@brandon-welsch.eu>
2019-11-29 11:52:01 +01:00
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