Raccoon
a0074bcaac
fix: lint
...
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-07-24 01:09:31 +08:00
Raccoon
c430e56a8f
refactor: rename custom-note-url-modal -> change-note-alias-modal
...
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-07-24 01:07:09 +08:00
Raccoon
cc4cec1459
Merge branch 'develop' into feature/custom-note-url-base
...
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-07-24 01:05:56 +08:00
Raccoon
f76f7509e4
fix: multiple errors by custom note url
...
1. revert config refactoring
2. custom note url -> note alias
3. handle error in promise catch
4. adjust modal style
5. return 404 in change note alias api when note not found
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-07-24 01:01:43 +08:00
Raccoon
829c961a03
Merge pull request #1699 from Nick0603/feature/custom-note-url
...
Feat/custom note url
2021-07-23 23:51:28 +08:00
Raccoon
3b1e270952
Merge pull request #1701 from YadominJinta/develop
...
Add arm64 docker image build.
2021-07-09 18:37:02 +08:00
Raccoon
e7a5ea813a
Merge pull request #1587 from tamo/more-i18n
...
Move HTML-related code from JS to EJS to enable more i18n
2021-07-09 15:08:03 +08:00
Raccoon
620197faf7
Merge pull request #1580 from tamo/master
...
Convert "include" directives to functions
2021-07-09 15:06:06 +08:00
Max Wu
4b78202494
Merge pull request #1605 from tamo/patch-1
2021-07-09 15:04:18 +08:00
Max Wu
6b8950d235
Merge pull request #1481 from ghost/lang-attr
2021-07-09 14:59:49 +08:00
YadominJinta
9c280b064e
Add support for arm64 build
...
Signed-off-by: YadominJinta <i@yadom.in>
2021-07-05 19:03:03 +08:00
nick.chen
d72d6a0f7a
revmoe archivedAlias logic
...
Signed-off-by: nick.chen <nick.chen.sudo@gmail.com>
2021-06-23 01:59:39 +08:00
nick.chen
014790a8eb
Clean code
...
Signed-off-by: nick.chen <nick.chen.sudo@gmail.com>
2021-06-22 03:46:03 +08:00
Nick
0777f2d1ff
Update lib/migrations/202106200000000-create-note-aliases-history.js
...
Co-authored-by: Yukai Huang <yukaihuangtw@gmail.com>
Signed-off-by: nick.chen <nick.chen.sudo@gmail.com>
2021-06-22 03:46:03 +08:00
Nick
dc9c98e390
Update lib/migrations/202106200000000-create-note-aliases-history.js
...
Co-authored-by: Yukai Huang <yukaihuangtw@gmail.com>
Signed-off-by: nick.chen <nick.chen.sudo@gmail.com>
2021-06-22 03:46:03 +08:00
nick.chen
dab0c6682f
fix linter error
...
Signed-off-by: nick.chen <nick.chen.sudo@gmail.com>
2021-06-22 03:46:03 +08:00
nick.chen
1579f20ccc
create custom-note-url flow
...
Signed-off-by: nick.chen <nick.chen.sudo@gmail.com>
2021-06-22 03:46:03 +08:00
Max Wu
1bdedf17b6
Merge pull request #1688 from hackmdio/chore/dev-container
...
Add dev container for GitHub Codespaces and VSCode remote container
2021-06-16 21:27:29 +08:00
Raccoon
e623b72054
Merge pull request #1690 from hackmdio/feature/upgrade-mermaid-8.10.1
...
Upgrade mermaid to version 8.10.2 to avoid prototype pollution
2021-06-16 19:17:16 +08:00
Raccoon
82b78007dd
Merge pull request #1691 from hackmdio/bugfix/fix-gist-id-stored-XSS
...
Strip HTML tags for gist id to avoid stored XSS on showing error [Security Issue]
2021-06-16 19:11:34 +08:00
Max Wu
16a1e82835
feat: upgrade mermaid to version 8.10.2
...
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2021-06-16 19:10:30 +08:00
Max Wu
e75e28c80d
feat: upgrade mermaid to version 8.10.1
...
to avoid mermaid prototype pollution https://github.com/mermaid-js/mermaid/issues/1940
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2021-06-16 19:10:30 +08:00
Max Wu
2eefe7706f
fix: strip html tags for gist file, gist line, gist highlight line, gist show loading attrtributes
...
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2021-06-16 19:00:04 +08:00
Max Wu
6966881152
fix: strip html tags for gist id to avoid stored XSS on showing error [Security Issue]
...
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2021-06-16 19:00:04 +08:00
Raccoon
282fcab4f7
Merge pull request #1694 from hackmdio/chore/github-actions
...
Run CI with GitHub Actions
2021-06-16 18:24:40 +08:00
Yukai Huang
dcfdb0129c
Remove travis CI config
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-06-10 12:52:13 +08:00
Yukai Huang
24323975c7
Fix doctoc workflow
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-06-10 12:51:47 +08:00
Yukai Huang
71dce28c04
Add doctoc check
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-06-10 12:44:46 +08:00
Yukai Huang
34f502c166
Add test and build actions
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-06-10 12:31:58 +08:00
Raccoon
2338113655
chore: add dev container
...
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-05-28 16:22:48 +08:00
Raccoon
8c20d9f625
Merge pull request #1685 from hackmdio/feature/upgrade-flowchart.js-1.15.0
...
Upgrade flowchart.js to version 1.15.0
2021-05-25 14:39:49 +08:00
Raccoon
b27f1474bc
Merge pull request #1684 from hackmdio/feature/support-mhchem-mathjax
...
Add TeX mhchem extensions for MathJax
2021-05-25 14:39:32 +08:00
Raccoon
599fd41c83
Merge pull request #1683 from hackmdio/bugfix/fix-image-upload-s3-config
...
Fix S3 client config passing for image upload
2021-05-19 15:42:31 +08:00
Max Wu
b6837f1a82
feat: upgrade flowchart.js to version 1.15.0
...
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2021-05-18 10:56:06 +08:00
Max Wu
a913c61828
feat: bump package-lock codimd version
...
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2021-05-18 10:56:06 +08:00
Max Wu
e9293b0c30
feat: add TeX mhchem extensions for MathJax
...
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2021-05-13 23:45:12 +08:00
Max Wu
a41c4db0c2
fix: S3 client config passing for image upload
...
ref issue: https://github.com/aws/aws-sdk-js-v3/issues/1396
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2021-05-13 19:03:25 +08:00
Raccoon
54f6e55b71
Merge pull request #1679 from hackmdio/bugfix/fix-no-referrer-for-return-url
...
Handle when request url has no valid referer
2021-05-13 12:56:42 +08:00
Raccoon
3af5408d58
Merge pull request #1680 from hackmdio/bugfix/fix-export-user-data-filename-zero
...
Avoid append zero suffix on exporting user data
2021-05-13 12:56:04 +08:00
Max Wu
db5fc5075a
fix: avoid append zero suffix on exporting user data
...
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2021-05-13 11:57:13 +08:00
Max Wu
5e709653ab
fix: handle when request url has no valid referer
...
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2021-05-13 11:53:03 +08:00
Tamotsu Takahashi
9343d3222b
Merge branch 'patch-1' of https://github.com/tamo/codimd into patch-1
2021-05-13 11:44:12 +09:00
TAKAHASHI Tamotsu
ad1bfa6bc6
Update public/js/index.js
...
simplify the regex
suggested by yukaii in #1605
Co-authored-by: Yukai Huang <yukaihuangtw@gmail.com>
Signed-off-by: Tamotsu Takahashi <ttakah@gmail.com>
2021-05-13 11:41:45 +09:00
TAKAHASHI Tamotsu
400230618d
Update public/js/index.js
...
simplify the regex
suggested by yukaii in #1605
Co-authored-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-05-12 09:22:03 +09:00
Yukai Huang
37b656df93
Merge pull request #1678 from hackmdio:release/2.4.1
...
Release 2.4.1
2021-05-11 20:03:28 +08:00
Yukai Huang
57f5134d9f
Bump package.json version
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-05-11 19:53:36 +08:00
Yukai Huang
8a38a60714
Merge branch 'master' into develop
2021-05-11 19:26:49 +08:00
Yukai Huang
2e468db210
Merge pull request #1677 from hackmdio/release/2.4.0
...
Release 2.4.0
2021-05-11 19:24:04 +08:00
Yukai Huang
792f70504a
Update release for 2.4.0
...
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-05-11 18:52:55 +08:00
Max Wu
6585976e4d
Merge pull request #1588 from tamo/google-oauth-verified
2021-05-11 17:41:33 +08:00