BoHong Li
68fcf35c70
feat: merge all route to single file
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-01-06 14:19:02 +08:00
BoHong Li
80859f6cf7
feat: remove very old history migration method (since 0.2.8)
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-01-06 14:19:01 +08:00
YusukeIwaki
6be31aba9b
Remove unused imports, fixing coding style issues.
...
Signed-off-by: YusukeIwaki <iwaki+git@i3-systems.com>
2019-12-28 23:00:58 +09:00
YusukeIwaki
d5dd27f745
Implement bitbucket login.
...
Signed-off-by: YusukeIwaki <iwaki+git@i3-systems.com>
2019-12-28 22:22:15 +09:00
BoHong Li
8629670b0e
feat(imageUpload): upgrade minio version to 7.0.12
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-12-13 12:18:42 +08:00
Martin Honermeyer
3fe6ec71e3
Explicitely set uploaded image ACLs for S3 to "public-read"
...
This works around permission problems with DigitalOcean spaces (where
files are always *private* by default).
This should not pose a difference with AWS and other providers as CodiMD
only works with public S3 assets either way.
Signed-off-by: Martin Honermeyer <maze@strahlungsfrei.de>
2019-12-05 18:37:42 +01: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
Ruben ten Hove
2a365d6971
fix linter issues
...
Signed-off-by: Ruben ten Hove <git@rhtenhove.nl>
2019-10-30 07:58:36 +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
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
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
Yukai Huang
495b65e3b9
Add defaultUseHardbreak as constants
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-10-20 14:30:55 +08:00
BoHong Li
85fc41c350
Merge branch 'master' into develop
2019-08-17 00:07:49 +08:00
BoHong Li
ff124ab6bf
refactor: fix line after merged develop
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:59:03 +08:00
BoHong Li
ee1538eed9
refactor: fix lint on lib/web/userRouter.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:31 +08:00
BoHong Li
3049c64066
refactor: fix lint on lib/web/imageRouter/s3.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:30 +08:00
BoHong Li
c8ffd2ab19
refactor: fix lint on lib/web/imageRouter/minio.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:30 +08:00
BoHong Li
0c9195b731
refactor: fix lint on lib/web/auth/twitter/index.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:30 +08:00
BoHong Li
bc71b7b31b
refactor: fix lint on lib/web/auth/saml/index.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:29 +08:00
BoHong Li
a9bcf055e7
refactor: fix lint on lib/web/auth/openid/index.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:29 +08:00
BoHong Li
d5f5bdaa57
refactor: fix lint on lib/web/auth/oauth2/index.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:29 +08:00
BoHong Li
3be119ded1
refactor: fix lint on lib/web/auth/mattermost/index.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:28 +08:00
BoHong Li
d8cde49a9c
refactor: fix lint on lib/web/auth/ldap/index.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:28 +08:00
BoHong Li
df9eaf7fc4
refactor: fix lint on lib/web/auth/google/index.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:28 +08:00
BoHong Li
41500310b0
refactor: fix lint on lib/web/auth/gitlab/index.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:28 +08:00
BoHong Li
09f2a04bc0
refactor: fix lint on lib/web/auth/github/index.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:27 +08:00
BoHong Li
446d38a842
refactor: fix lint on lib/web/auth/facebook/index.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:27 +08:00
BoHong Li
7c8ade8258
refactor: fix lint on lib/web/auth/email/index.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:27 +08:00
BoHong Li
ff72618a9c
refactor: fix lint on lib/web/auth/dropbox/index.js
...
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-08-04 23:56:26 +08:00
Chulki Lee
1d7895c869
Add plantuml support
...
Signed-off-by: Chulki Lee <chulki.lee@gmail.com>
2019-07-31 10:02:07 -07:00
Max Wu
62918134c0
Merge branch 'develop' into feature/lutim
2019-08-01 00:22:23 +08:00
Max Wu
0af9bfb015
Merge branch 'master' into feature/disableRequestedAuthnContext-config-option
2019-07-31 23:35:50 +08:00
Max Wu
f1680ef7fa
fix: code style
...
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2019-07-28 20:04:41 +08:00
Toshinori Notake
4e91268e1f
Make toobusy.maxLag configurable
...
Signed-off-by: Toshinori Notake <toshi.notake.43568@gmail.com>
2019-07-18 13:57:14 +09:00
GHOUL Nadir
779fa59dbb
Adding an error code to the `{"status":"forbidden"}` response
...
Signed-off-by: Ghoul Nadir <nadir.ghoul@outlook.com>
2019-05-04 00:18:28 +02:00
toshi0123
eff6e04e2b
Fix avoiding crash if URL is invalid
...
Signed-off-by: toshi0123 <7948737+toshi0123@users.noreply.github.com>
2019-04-18 19:10:46 +09:00
Raccoon
48a68e015b
Merge pull request #1095 from Thor77/fix-1094
...
Hide default ports from minio image upload urls
2019-04-15 13:48:44 +08:00
Raccoon
d127b8ef7f
Merge pull request #1142 from dg-i/configurable-s3-endpoint
...
Make AWS S3 endpoint configurable
2019-04-15 13:37:33 +08:00
BoHong Li
8c26107ab1
fix: lint
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-15 13:36:44 +08:00
BoHong Li
6c137ae6ed
fix: mattermost has been deprecated, use mattermost-redux instead it.
...
1. change mattermost color and gitlab color to official color
2. Add mattermost icon because Fork-awesome/font-awesome doesn’t provide mattermost icon
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-15 13:03:31 +08:00
BoHong Li
a34e6a7245
refactor: fix lint warning on lib/auth
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-12 18:01:35 +08:00
BoHong Li
8d9a6f38c7
refactor: fix lint warning on lib/web/imageRouter
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-12 18:01:30 +08:00
BoHong Li
319bf6d8b8
refactor: fix lint warning on lib/web/historyRouter.js
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-12 18:01:23 +08:00
BoHong Li
1e5b4a4382
refactor: fix lint warning on lib/web/noterouter.js
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-12 18:01:18 +08:00
BoHong Li
a52fd0b3f9
refactor: fix lint warning on lib/web/statusRouter.js
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-12 18:01:10 +08:00
BoHong Li
550e6a831d
refactor: fix lint warning on lib/web/userRouter.js
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-12 18:01:05 +08:00
BoHong Li
7fcfbae89f
feat: replace imgur with @hackmd/imgur
...
Signed-off-by: BoHong Li <a60814billy@gmail.com>
2019-04-12 18:00:21 +08:00
Sheogorath
cda878d377
Add required change for Google+ API deprecation
...
Since Google+ is shutting down soon, we need to get the profile data
from another URL. Since the library already supports it, all we need to
do is adding a single line of code.
Details:
https://github.com/hackmdio/codimd/issues/1160
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2019-03-09 14:42:06 +01:00