Commit Graph

2822 Commits

Author SHA1 Message Date
BoHong Li db615e5111
fix: page broken when shortId doesn't exists
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-02-26 10:25:25 +08:00
Raccoon 05dd6eb739
Merge pull request #1415 from hackmdio/bugfix/enable-version-check-only-in-production
Enable version check only in NODE_ENV production
2020-02-25 14:28:53 +08:00
Yukai Huang 59f177d891
Enable version check only in NODE_ENV production
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-25 14:06:46 +08:00
Raccoon f09b317e63
Merge pull request #1410 from hackmdio/feature/drop-yarn
Drop yarn
2020-02-24 16:35:56 +08:00
Raccoon d22ea95fb6
Merge pull request #1399 from hackmdio/feature/version-check
Version check middleware & logging
2020-02-24 16:13:50 +08:00
Yukai Huang ae40a76c08 Drop yarn
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-17 11:41:33 +08:00
Max Wu 6f78c9ad9a
Merge pull request #1273 from hackmdio/feature/support-pandoc-export
Pandoc export
2020-02-17 11:35:02 +08:00
Yukai Huang d573a4541d Add beta to pandoc dropdown menu
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-17 10:49:56 +08:00
Yukai Huang cac7c667d5 Update dropdown file format with extension
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-17 10:49:56 +08:00
Yukai Huang f1c9ee4c89
Fix actioinPandoc
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-10 11:23:52 +08:00
Yukai Huang 3b2df24b75 Change npm package target
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-10 10:58:42 +08:00
Yukai Huang 9f062fcf8f Update menu item
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-10 10:58:02 +08:00
Yukai Huang bb9c43348d Support pandoc export
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-10 10:58:02 +08:00
BoHong Li 7969d17366
fix(noteController): should check permission when user view note
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2020-02-07 10:55:50 +08:00
Yukai Huang c26a9f10ca
Fix missing environment config for version check
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-07 10:55:16 +08:00
Max Wu ea52ed8689
Merge pull request #1400 from hackmdio/bugfix/emojify-cdn
Support emojify.css with CDN
2020-02-06 17:32:29 +08:00
Yukai Huang 59b31a108d
Remove unused markdown-it-emoji
use emoji markdown-it plugin implemented in 2063eb

Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-06 16:43:05 +08:00
Yukai Huang caf4ac61e5
Support emojify.css use cdn
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-06 14:31:25 +08:00
Yukai Huang 821295ecd3
Fix linting errors
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-06 10:46:48 +08:00
Yukai Huang 8cd9ba2f82 Log version check info when app is starting
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-06 10:40:54 +08:00
Yukai Huang 334c81efe7 Save version info in app locals
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-06 10:19:44 +08:00
Yukai Huang 11265238db Implement version check middleware
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-06 10:19:44 +08:00
Yukai Huang eefcf28fcf
Merge pull request #1398 from hackmdio/jackycute-flip-buttons
fix: flip the view and edit header buttons
2020-02-05 20:39:44 +08:00
Max Wu 9935df1c19
fix: flip the view and edit header buttons
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-02-05 20:29:38 +08:00
Max Wu 4eb6bac62a
Merge pull request #1355 from hackmdio/feature/multilang-spellcheck
Multilanguage spellchecker
2020-02-05 19:16:10 +08:00
Yukai Huang dc873e0d28
Display active spell check lang
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-05 18:49:41 +08:00
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