Commit Graph

2496 Commits

Author SHA1 Message Date
Yukai Huang 34a69c401c
Fix check overlay not refreshed
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-05 18:34:03 +08:00
Yukai Huang 19dad9dfc8
Lazy load dicts, support cdn, config webpack
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-05 18:34:02 +08:00
Yukai Huang 22443879e7
Support multilanguage spellchecker
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-05 18:34:02 +08:00
Yukai Huang 3c8b5afe20
Adjust vertical rhythm 😂
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-05 18:34:01 +08:00
Yukai Huang 526b5d0aa7
Expose setDictLang method
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-05 18:34:01 +08:00
Yukai Huang bc3fe7ca8d
Refactor dictionary loading method
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-05 18:34:01 +08:00
Yukai Huang aef2c780c8
Bundle our own spellchecker
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-05 18:34:00 +08:00
Max Wu 023161d00d
Merge pull request #1335 from hackmdio/feature/configurable-theme
Configurable editor color scheme (theme)
2020-02-05 15:56:03 +08:00
Yukai Huang 89ff0b6b1c
Fix coding style
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-05 14:51:16 +08:00
Yukai Huang 20d7df5139 Handle theme dropdown menu resizing
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-04 14:36:31 +08:00
Yukai Huang 62980b3dcb Fix light theme name
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-04 14:35:46 +08:00
Yukai Huang 0983cae811 Add more editor themes
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-01-31 15:53:29 +08:00
Yukai Huang 0060488244 Change theme toggle to theme select dropdown menu
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-01-31 15:42:22 +08:00
Raccoon e09c16a933
Merge pull request #1389 from tunagohan/feature/postgresql-upgrade-to-11_6
postgresql docker image upgrade 11.5 to 11.6-alpine
2020-01-22 16:23:06 +08:00
tunagohan 4a88e195d8 postgresql upgrade(11.5 -> 11.6)
Signed-off-by: tunagohan <kazuxtuna@gmail.com>
2020-01-15 20:17:28 +09:00
Max Wu 27443b4503
Merge pull request #1385 from hackmdio/chore/update-maintainers-list
chore: update maintainers list
2020-01-06 14:50:18 +08:00
BoHong Li 0823b5b624
chore: update maintainers list
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-01-06 14:37:46 +08:00
Max Wu 6e74e41641
Merge pull request #1384 from hackmdio/refactor/new-web-arch
Refactor/new web arch
2020-01-06 14:35:33 +08:00
BoHong Li 57345b06f7
refactor: noteActions
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-01-06 14:19:03 +08:00
BoHong Li 82cade2b87
refactor: noteActions
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-01-06 14:19:03 +08:00
BoHong Li 7f9970449a
refactor: showPublishNote
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-01-06 14:19:03 +08:00
BoHong Li 66edff87c5
refactor: show note
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-01-06 14:19:03 +08:00
BoHong Li b4ec353fcd
refactor: remove web folder
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-01-06 14:19:02 +08:00
BoHong Li 911bd773e1
chore: upgrade sequelize
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-01-06 14:19:02 +08:00
BoHong Li 2135cfcd18
refactor: move realtime related code to directory
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-01-06 14:19:02 +08:00
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
Jong-Kai Yang 412317a588
Update README.md 2019-12-30 15:55:21 +08:00
Yukai Huang 1cf43e1fe2
Merge pull request #1381 from YusukeIwaki/feature/bitbucket_login
Add bitbucket Support
2019-12-30 09:54:11 +08:00
YusukeIwaki 12d4aa8a4f Add environment variables definition for Scalingo deploy.
Signed-off-by: YusukeIwaki <iwaki+git@i3-systems.com>
2019-12-28 23:24:16 +09: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 83fe0815d5 Add environment variables definition for Heroku deploy.
Signed-off-by: YusukeIwaki <iwaki+git@i3-systems.com>
2019-12-28 22:23:20 +09:00
YusukeIwaki d5dd27f745 Implement bitbucket login.
Signed-off-by: YusukeIwaki <iwaki+git@i3-systems.com>
2019-12-28 22:22:15 +09:00
Yukai Huang 3f089c7926
Merge branch 'master' into develop 2019-12-14 11:06:00 +08:00
Max Wu a5bb0d692d
Merge pull request #1379 from hackmdio/release/1.4.1
Release/1.4.1
2019-12-14 10:59:43 +08:00
Yukai Huang 520853387a
Update 1.4.1 release note
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-12-14 00:12:37 +08:00
Yukai Huang 7d3931db3d
Bump version to 1.4.1
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-12-14 00:12:11 +08:00
Max Wu b634ee2253
Merge pull request #1378 from hackmdio/bugfix/urlpath
Fix urlpath in webpack build
2019-12-13 17:24:48 +08:00
Yukai Huang a1c5c68611
Fix urlpath in webpack build
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-12-13 17:06:30 +08:00
Max Wu d5ed691ebe
feat(imageUpload): upgrade minio version to 7.0.12 (#1377)
feat(imageUpload): upgrade minio version to 7.0.12
2019-12-13 12:28:09 +08: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
Max Wu 054dd4048b
Merge pull request #1376 from hackmdio/fix/minio-can-not-upload
fix: minio cannot upload caused by package upgrade
2019-12-12 23:46:12 +08:00
BoHong Li d212d3fea0
fix: minio cannot upload caused by package upgrade
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-12-12 22:39:50 +08:00
Yukai Huang b771baf7ab
Explicitely set uploaded image ACLs for S3 to "public-read" (#1371)
Explicitely set uploaded image ACLs for S3 to "public-read"
2019-12-06 17:49:09 +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
Max Wu 510ccf7539
Merge pull request #1370 from soerface/patch-1
Fix #1369 - make manage_users work again
2019-12-06 00:02:14 +08:00
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