Commit Graph

2656 Commits

Author SHA1 Message Date
Kishan Mehta a1a69a75c0 Add correct path for minio
This should fix #1452

Signed-off-by: Kishan Mehta <kishan@scrapinghub.com>
2020-03-13 18:22:40 +05:30
moycat 46fdb6a6f0
Support avatar for OAuth users
Signed-off-by: Moycat <i@moy.cat>
2020-03-12 13:48:18 +08:00
Max Wu af5ad36167
Merge pull request #1449 from pkrasicki/ui-contrast
Improve visibility of some UI elements
2020-03-10 17:17:06 +08:00
pkrasicki ba4ddca67c
Improve visibility of some UI elements
Partially fixes #1441

Signed-off-by: pkrasicki <pkrasicki@protonmail.com>
2020-03-10 09:06:58 +00:00
Yukai Huang f0fbd09fa0
Merge pull request #1448 from hackmdio/feature/spoiler-inline-markdown
Allow inline markdown in spoiler summary syntax
2020-03-09 20:31:38 +08:00
Yukai Huang 8f4ccb967d
Support inline markdown in spoiler summary
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-03-09 10:15:01 +08:00
Raccoon 42ae89cc72
Merge pull request #1446 from hackmdio/fix/docker-secret-not-complete
Fix not all config in docker secret
2020-03-06 21:01:04 +08:00
BoHong Li 3ae3cb191d
fix: some environment variables not in docker secret
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-06 20:51:25 +08:00
Max Wu 9ec6dad461
Merge pull request #1443 from Lin-Buo-Ren/patch-1
Fix Wikipedia link in 2.0.0 release notes
2020-03-05 15:45:52 +08:00
林博仁(Buo-ren Lin) 297c1f1085 Fix Wikipedia link in 2.0.0 release notes
Fixes the problem where the link opens the same release notes page.

Signed-off-by: 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
2020-03-05 13:41:35 +08:00
Max Wu 2ba5b74c32 Merge branch 'master' into develop 2020-03-03 18:48:20 +08:00
Yukai Huang 16b9409ef5
Merge pull request #1439 from hackmdio/release/2.0.0
Release 2.0.0
2020-03-03 18:43:42 +08:00
Max Wu fc662661a8 fix: only enable dropbox directives when config is given
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-03-03 18:35:57 +08:00
Max Wu e2c31e4cb3 fix: allow Dropbox dropins in CSP directives
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-03-03 17:25:36 +08:00
Yukai Huang 118b11a4fa
Update highlights of refreshed documentation
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-03-03 15:02:24 +08:00
Yukai Huang 9bb683a96f
Update image html alignment
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-03-03 13:58:01 +08:00
Max Wu 3fbf1bbb83 Update 2.0.0 release note
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-03-03 00:40:57 +08:00
BoHong Li d152e8a7ec
chore: dump version to 2.0.0
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-03 00:00:02 +08:00
BoHong Li 1c5eaae51d
fix: heroku Proffile might show sensitive data in log
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-02 23:51:40 +08:00
BoHong Li a2b9fa9a65
fix: change heroku and scalingo config schema for 2.0.0
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-02 23:05:55 +08:00
BoHong Li ac1b419fbd
fix: add Procfile for heroku
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-02 23:03:03 +08:00
BoHong Li 5b2320f516
Revert "fix heroku again"
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-02 23:02:42 +08:00
BoHong Li 1cd4dce6b6
fix heroku again
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-02 22:21:01 +08:00
BoHong Li 109e751da8
fix: heroku .seqeulzierc file
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-02 22:11:43 +08:00
Max Wu 5c9438697a
Merge pull request #1435 from hackmdio/feat/remove-old-config
Remove old config and environment
2020-03-02 21:55:24 +08:00
Max Wu 4dc5a9b7f9
Merge pull request #1438 from hackmdio/bugfix/remove-old-spellchecker
Remove old spellchecker
2020-03-02 21:55:04 +08:00
BoHong Li 79fe4f7259
fix: add heroku port environment variables binding
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-02 20:59:30 +08:00
Yukai Huang ad19c87af9
Remove old spellchecker
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-03-02 20:20:30 +08:00
BoHong Li 6f3292c8a3
fix: migrate heroku DATABASE_URL environment variable
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-02 20:10:28 +08:00
BoHong Li 48582617ad
doc: remove HMD related and remove docs
All docs migrate to online documentation now and store in `codimd-docs`

Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-02 18:35:25 +08:00
Max Wu d658903d01
Merge pull request #1433 from hackmdio/feature/disable-include-subdomain-hsts
Disable HSTS IncludeSubdomain, to prevent unexpected behavior
2020-03-02 18:29:03 +08:00
Max Wu b20c8ea83f
Merge pull request #1434 from hackmdio/feat/change-default-anonymous-setting
Change default anonymous setting for more privacy
2020-03-02 18:28:28 +08:00
Max Wu 0c919381c3
Merge pull request #1437 from hackmdio/fix/geo-map-not-support-minus
Fix west longitude and south latitude not parsed correctly in geo map
2020-03-02 18:09:30 +08:00
BoHong Li 5b5d0417f5
fix(geo-map): fix west longitude and south latitude not parsed correctly
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-02 14:07:53 +08:00
BoHong Li ffe0783869
feat: old config and environment is not use anymore
BREAKING CHANGE: remove old config and environment

Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-02 12:06:28 +08:00
BoHong Li ac0f5a9461
feat: change default anonymous setting
BREAKING CHANGE: change allowAnonymous to `false` and setup
allowAnonymousEdits and allowAnonymousViews to `true`

Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-02 11:58:29 +08:00
BoHong Li 40b6b06f57
feat(hsts): trun includeSubdomain to false
BREAKING CHANGE: change default setting from `true` to `false`

Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-03-02 11:53:35 +08:00
Yukai Huang 66ec25dddb
Merge pull request #1430 from hackmdio/bugfix/fix-validate-url-regex
fix: use validator.isURL to avoid regex catastrophic backtracking
2020-02-29 20:04:58 +08:00
Max Wu 69a0cb5054
Merge pull request #1428 from hackmdio/feature/plantuml-codemirror-grammer
Bump codemirror version to 5.49.5
2020-02-29 20:00:08 +08:00
Max Wu eb27db8f3e fix: use validator.isURL to avoid regex catastrophic backtracking
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-02-29 19:51:20 +08:00
Yukai Huang e3b9263b6c
Merge pull request #1429 from hackmdio/feature/upgrade-markdown-it-10.0.0
feat: upgrade markdown-it to 10.0.0 for supporting em in strong tag
2020-02-29 19:48:21 +08:00
Max Wu 451a02fff3 feat: upgrade markdown-it to 10.0.0 for supporting em in strong tag
for example: ex***amp***le
e519e6ac19
83ed53e12a

Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-02-29 19:31:50 +08:00
Max Wu 85e5d0adfe
Merge pull request #1427 from hackmdio/feature/update-pandoc-i18n
Update pandoc i18n
2020-02-29 19:28:58 +08:00
Yukai Huang e3e42f4f7d
Bump codemirror version to 5.49.5
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-29 19:28:46 +08:00
Yukai Huang ee534a46ed Update pandoc i18n
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-29 18:43:20 +08:00
Max Wu c9badcf2e4
Merge pull request #1426 from hackmdio/feat/support-google-hosted-name
Support hostedName in google OAuth provider
2020-02-28 18:03:19 +08:00
BoHong Li b9f0e37eee
feat: support hostedName in google OAuth 2.0 provider
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-02-28 17:53:04 +08:00
Max Wu 371e985e29
Merge pull request #1289 from hackmdio/feature/embed-geolocation
Support embedding geolocation data
2020-02-28 17:37:23 +08:00
Yukai Huang 1a000226b0
fix: unwrap the geo div and throw error when input
location search not found

also fix the CSP rule that the img with data src might be violated

Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
Co-authored-by: Max Wu <jackymaxj@gmail.com>
2020-02-28 15:48:09 +08:00
Max Wu a6f2ff4aa3
Merge pull request #1424 from hackmdio/fix/oauth2-email-may-undefined
fix server crash when use oauth2 provider with email not exists
2020-02-28 15:03:32 +08:00