Commit Graph

2853 Commits

Author SHA1 Message Date
Raccoon a2777ab0e6
fix: profile dropdown should not set active class
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-11 16:56:15 +08:00
Raccoon 9c6da79cd3
feat: implement CSRF token in export user data
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-06-11 16:56:07 +08:00
Max Wu 2d1b82e3ff
feat: upgrade flowchart.js to version 1.15.0
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2021-06-11 16:55:50 +08:00
Max Wu e0734ac411
feat: bump package-lock codimd version
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2021-06-11 16:55:50 +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 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
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
Yukai Huang ee1230b6f4
Merge pull request #1532 from freitagsrunde/feature/customTocLevel
Set TOC depth freely for every note by using YAML metadata or an option within `[toc]`
2021-05-11 17:30:31 +08:00
Yukai Huang cab80c105d
Merge pull request #1676 from hackmdio/bugfix/parseNoteIdByAlias-id-resolve
Fix parseNoteId bug
2021-05-11 17:18:23 +08:00
Yukai Huang 98bf5a6148
Fix async series been interrupted by parse alias
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-05-11 16:51:27 +08:00
Yukai Huang 0c3171b17d
Merge pull request #1570 from hackmdio/bugfix/update-history-usage
Use encoded noteId when calling updateHistory
2021-05-11 16:27:50 +08:00
Yukai Huang ab58cd45b4 Use encoded noteId in updateHistory call
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-05-11 16:21:46 +08:00
Yukai Huang bec877c11c
Merge pull request #1577 from hackmdio/feature/more-editor-modes
Allow more syntax highlight modes in editor
2021-05-11 16:19:22 +08:00
Yukai Huang cfe653152a Allow more syntax highlight modes in cm
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-05-11 16:10:48 +08:00
Yukai Huang 025f6d2149
Merge pull request #1625 from pichouk/develop
Add some help strings to Prometheus metrics
2021-05-11 15:56:48 +08:00
Yukai Huang 94473c2b5f
Merge pull request #1629 from a-andreyev/aa13q-add-matrix-bage
Add matrix badge and links to README
2021-05-11 15:38:29 +08:00
Yukai Huang c01a4b46ec
Merge pull request #1624 from fujexo/feature_mediawiki
display mediawiki export format
2021-05-11 15:37:37 +08:00
Yukai Huang 2467fce638
Merge pull request #1674 from hackmdio/fix/free-url-can-read-any-md-in-file-system
Fix/free url can read any md in file system
2021-05-11 15:29:35 +08:00
Yukai Huang bef0701c8f
Merge pull request #1675 from hackmdio/fix/windows-webpack-build
fix: webpack exclude path should support windows path
2021-05-11 15:09:39 +08:00
Raccoon 965cca9d39
fix: lint
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-04-28 17:37:43 +08:00
Raccoon 20b10b7bb7
refactor: beforeCreate and parseNoteId
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-04-27 19:25:46 +08:00
Raccoon d3bbdfc7d3
fix: can traversal any md files
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-04-27 18:25:06 +08:00
Raccoon 57b2fa8d12
fix: webpack exclude path should support windows path
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-04-27 18:24:47 +08:00
Yukai Huang bf5325b37f
Merge pull request #1609 from mic4ael/return-to-note-on-login
Better redirection after a successful login
2021-04-16 12:20:09 +08:00
Yukai Huang e00eaa82a9
Merge pull request #1665 from glpatcern/develop
Support anonymous updates via API if allowAnonymousEdits is true
2021-03-22 14:20:20 +08:00
Giuseppe Lo Presti dc37e5df63 Better update of the authorship of anonymous users
Co-authored-by: Yukai Huang <yukaihuangtw@gmail.com>
Signed-off-by: Giuseppe Lo Presti <giuseppe.lopresti@cern.ch>
2021-03-18 09:13:22 +01:00
Yukai Huang a7d392c6ee
Merge pull request #1654 from hackmdio/feature/autofix-linting
Autofix linter errors
2021-03-12 11:46:51 +08:00
Yukai Huang f564a010fb
Bump cm to 5.57.7
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-03-12 11:21:22 +08:00
Yukai Huang f2912efd25
As vscode-markdownlint behavior
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-03-12 10:45:56 +08:00
Yukai Huang ad6f82c9f6
Dark mode linter menu
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-03-12 10:45:55 +08:00
Yukai Huang 0b9dd91822
Update cm deps
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-03-12 10:45:55 +08:00
Yukai Huang f07e3f10b6
Fix invalid range
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-03-12 10:45:54 +08:00
Yukai Huang 7caa272175
Provide linter autofixes
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-03-12 10:45:54 +08:00
Yukai Huang f946b5ba04
Ignore os for markdownlint-rule-helpers
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-03-12 10:45:54 +08:00
Yukai Huang cdb18a31fe
Update deps
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-03-12 10:45:53 +08:00
Giuseppe Lo Presti c9399f33d1 Support anonymous updates via API if allowAnonymousEdits is true
Signed-off-by: Giuseppe Lo Presti <giuseppe.lopresti@cern.ch>
2021-03-09 12:32:54 +01:00
Yukai Huang 7200506563
Merge pull request #1660 from hackmdio/bugfix/heroku-postgres-ssl
Enforce PG ssl require mode on heroku
2021-03-02 11:57:05 +08:00
Yukai Huang 1cdfbad458
Run bin/heroku in heroku-postbuild phase
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-02-28 11:23:52 +08:00
Yukai Huang 497abc8bca
Enforce PG ssl require mode
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-02-28 11:20:39 +08:00