Commit Graph

392 Commits

Author SHA1 Message Date
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 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 6b8950d235
Merge pull request #1481 from ghost/lang-attr 2021-07-09 14:59:49 +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 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 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 6585976e4d
Merge pull request #1588 from tamo/google-oauth-verified 2021-05-11 17:41:33 +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
Raccoon d74d30cc37
fix: feature section slide mode link broken
Signed-off-by: Raccoon <raccoon@hackmd.io>
2021-01-22 15:29:08 +08:00
Yukai Huang 493b86b0de
Bump cdn mermaid version
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2021-01-04 15:11:51 +08:00
Yukai Huang 59fd7e71ad
Update vega cdnjs assets
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-12-23 12:18:27 +08:00
Philipp Marmet (Adfinis AG) c418a9729f
display mediawiki export format
Signed-off-by: Philipp Marmet (Adfinis AG) <philipp.marmet@adfinis.com>
2020-11-19 13:39:50 +01:00
Tamotsu Takahashi ffac6450ff Remove the semicolons
https://github.com/hackmdio/codimd/pull/1580#issuecomment-690241496

Signed-off-by: Tamotsu Takahashi <ttakah@gmail.com>
2020-09-11 13:33:35 +09:00
Tamotsu Takahashi dec2f98d9b Make "Expand all" translatable
Move HTML from JS to EJS

I don't know how to register i18n helper to handlebars,
so "export to raw HTML" has not been touched.
You can do the same for html.hbs if you want.

Signed-off-by: Tamotsu Takahashi <ttakah@gmail.com>
2020-09-11 12:51:08 +09:00
Tamotsu Takahashi 66fdf7b49c Make permission and status translatable
Move HTML from JS to EJS.
https://github.com/hackmdio/codimd/issues/1581#issuecomment-683236111
https://github.com/hackmdio/codimd/issues/1581#issuecomment-683431173

Signed-off-by: Tamotsu Takahashi <ttakah@gmail.com>
2020-09-11 12:50:50 +09:00
Tamotsu Takahashi 0aff524bba Make permission labels translatable.
https://github.com/hackmdio/codimd/issues/1581#issuecomment-683236111

Signed-off-by: Tamotsu Takahashi <ttakah@gmail.com>
2020-09-11 12:50:07 +09:00
Tamotsu Takahashi 3df090302c Convert "include" directives to functions
Signed-off-by: Tamotsu Takahashi <ttakah@gmail.com>
2020-09-10 16:20:45 +09:00
Tamotsu Takahashi 1920978c75 Adjust margin
Signed-off-by: Tamotsu Takahashi <ttakah@gmail.com>
2020-09-01 23:05:47 +09:00
Tamotsu Takahashi dc46c3d45e Follow Google's branding guideline
https://github.com/hackmdio/codimd/issues/1582

Signed-off-by: Tamotsu Takahashi <ttakah@gmail.com>
2020-09-01 22:52:14 +09:00
Tamotsu Takahashi f42d1c3e3e Add privacyPolicyURL (CMD_PRIVACY_POLICY_URL)
If you use Google OAuth, you need to add Privacy Policy to the top.
https://support.google.com/cloud/answer/9110914#all-apps-zippy
https://github.com/hackmdio/codimd/issues/1582#issuecomment-682270394

Signed-off-by: Tamotsu Takahashi <ttakah@gmail.com>
2020-09-01 20:54:08 +09:00
Yukai Huang 0b164a0b93
Fix background image ref when urlpath is set
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-10 16:16:51 +08:00
Yukai Huang 5e608a9da8
Fix font loading when urlpath is set
Use copy webpack plugin instead. In the old fasion

Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-10 16:08:45 +08:00
Yukai Huang 70de439436 Fix baseUrl not replaced correctly in #1378
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-10 11:18:28 +08:00
Yukai Huang 91fb54539a
Merge pull request #1546 from schokotets/develop
feature: pass-through yaml metadata image to html meta tag
2020-07-10 10:33:55 +08:00
Yukai Huang 051789b41c
Merge pull request #1498 from zent00/develop
Update Simplified Chinese translation and fix typography
2020-07-10 10:32:43 +08:00
schokotets 2c9f73cfb2
feature: pass-through yaml metadata image to html meta tag
Signed-off-by: schokotets <moritzleni@gmail.com>
2020-06-27 17:22:11 +02:00
Raccoon ebec2c0537
fix: replace btn-social with btn-login-method
avoid to use btn-social, some AD block will delete
the DOM with btn-social class.

fixed #1491

Signed-off-by: Raccoon <raccoon@hackmd.io>
2020-05-19 14:42:47 +08:00
zent00 65222df23c fix typography of footer
Signed-off-by: zent00 <rainylau@gmail.com>
2020-04-29 18:35:28 +08:00
BinotaLIU 2453b2a9be
set lang attr on <html> according to user's choice
Signed-off-by: BinotaLIU <binota@binota.org>
2020-04-10 22:03:58 +08:00
Yukai Huang 6ef0d8698a
Install leaflet library
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-27 21:51:07 +08:00
Raccoon 06f578e6f8
Merge pull request #1422 from hackmdio/feature/support-vega-lite-code-highlight-svg
Feature/support vega lite code highlight svg
2020-02-27 19:06:01 +08:00
Max Wu 0a253a4f32 feat: upgrade vega to 5.9.1, vega-embed to 6.2.2, vega-lite to 4.4.0
also update the schema link in the features.md

Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-02-27 18:20:41 +08:00
Max Wu 0b9037fb11 feat: upgrade reveal.js to 3.9.2
remove headjs dependency after 3.8.0 and update lock file

Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-02-26 22:36:25 +08:00
Max Wu edd27af26e feat: upgrade mermaid to 8.4.8
Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-02-26 11:52:09 +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 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
Yukai Huang caf4ac61e5
Support emojify.css use cdn
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-02-06 14:31:25 +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
YusukeIwaki d5dd27f745 Implement bitbucket login.
Signed-off-by: YusukeIwaki <iwaki+git@i3-systems.com>
2019-12-28 22:22:15 +09: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
BoHong Li b074b173fb
fix: cdn link
Signed-off-by: BoHong Li <raccoon@hackmd.io>
2019-10-07 15:42:03 +08:00
Yukai Huang be900d8db6
Fix cdn integrity (#1284)
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-10-04 22:59:09 +08:00
Yukai Huang b2701caba7
Fix viz.js@2 api changes
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2019-10-04 22:33:23 +08:00
TAKIMOTO, Atsushi c7a15ecc66 Add allowAnonymousViews option
resolve #1144
set to `false` to delete `freely`, `editable` and `locked` permission when allowAnonymous is true (default is `true`)
Signed-off-by: hakoai <hakoai64@gmail.com>
2019-09-08 21:55:52 +09:00
Max Wu 71ea581796 Merge branch 'develop' into feature/support-vega-lite
# Conflicts:
#	package.json
#	public/views/slide.ejs
2019-08-06 22:06:43 +08:00