From b28839484d120c04c5a06e7f8318650c78ab195b Mon Sep 17 00:00:00 2001 From: Erik Michelson Date: Thu, 2 Jul 2020 17:22:52 +0200 Subject: Replace CodiMD with HedgeDoc Signed-off-by: Erik Michelson Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: References in public/views Signed-off-by: David Mehren Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: Update links in README Signed-off-by: David Mehren Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: Update links in SECURITY.md Signed-off-by: David Mehren Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: Update links in LICENSE Signed-off-by: David Mehren Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: Update links in docs/configuration.md Signed-off-by: David Mehren Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: Update links in bin/setup Signed-off-by: David Mehren Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: References in docs/guides Signed-off-by: David Mehren Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: References in docs/dev Signed-off-by: David Mehren Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: References in docs/guides/auth Signed-off-by: David Mehren Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: References in docs/setup Signed-off-by: David Mehren Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: Update various links in code to the new GitHub org. Signed-off-by: David Mehren Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: codiMDVersion.js is now hedgeDocVersion.js Signed-off-by: David Mehren Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: References in docs/setup/yunohost Signed-off-by: Tilman Vatteroth Rebrand to HedgeDoc: Add banner and logo Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: Update links in docs/guides/migrate-etherpad Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: Remove note in docs/guides/auth/github Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: Replace links in public/docs/features Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: Add todo placeholder in docs/history Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: Replace github link in public/views/index/body Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: Replace github link in README Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: Add logo to README Signed-off-by: Tilman Vatteroth Rename to HedgeDoc: Add note about the renaming to the front page Signed-off-by: Tilman Vatteroth Removed Travis from README.md and change CodiMD to HedgeDoc in some places Signed-off-by: Yannick Bungers Some more renaming to HedgeDoc - Fixed capitalization of HedgeDoc - Added renaming for etherpad migration doc Signed-off-by: Yannick Bungers Changed Repo name to hedgedoc Signed-off-by: Yannick Bungers --- public/apple-touch-icon.png | Bin 684 -> 0 bytes public/banner/banner_h_bw.svg | 1 + public/banner/banner_h_wb.svg | 1 + public/banner/banner_vertical_color.svg | 1 + public/codimd-icon-1024.png | Bin 4837 -> 0 bytes public/css/index.css | 15 ++ public/docs/features.md | 10 +- public/docs/privacy.md.example | 6 +- public/docs/yaml-metadata.md | 4 +- public/favicon.png | Bin 725 -> 0 bytes public/icons/android-chrome-192x192.png | Bin 0 -> 2804 bytes public/icons/android-chrome-512x512.png | Bin 0 -> 9405 bytes public/icons/apple-touch-icon.png | Bin 0 -> 2126 bytes public/icons/browserconfig.xml | 9 ++ public/icons/favicon-16x16.png | Bin 0 -> 428 bytes public/icons/favicon-32x32.png | Bin 0 -> 605 bytes public/icons/favicon.ico | Bin 0 -> 15086 bytes public/icons/html_code.html | 0 public/icons/mstile-144x144.png | Bin 0 -> 2094 bytes public/icons/mstile-150x150.png | Bin 0 -> 1824 bytes public/icons/mstile-310x150.png | Bin 0 -> 1898 bytes public/icons/mstile-310x310.png | Bin 0 -> 3737 bytes public/icons/mstile-70x70.png | Bin 0 -> 1426 bytes public/icons/safari-pinned-tab.svg | 1 + public/icons/site.webmanifest | 18 +++ public/js/cover.js | 2 +- public/js/extra.js | 4 +- public/views/codimd.ejs | 15 -- public/views/codimd/body.ejs | 253 -------------------------------- public/views/codimd/foot.ejs | 29 ---- public/views/codimd/footer.ejs | 0 public/views/codimd/head.ejs | 30 ---- public/views/codimd/header.ejs | 174 ---------------------- public/views/error.ejs | 6 +- public/views/hedgedoc.ejs | 15 ++ public/views/hedgedoc/body.ejs | 253 ++++++++++++++++++++++++++++++++ public/views/hedgedoc/foot.ejs | 29 ++++ public/views/hedgedoc/footer.ejs | 0 public/views/hedgedoc/head.ejs | 31 ++++ public/views/hedgedoc/header.ejs | 177 ++++++++++++++++++++++ public/views/includes/favicon.ejs | 11 ++ public/views/index/body.ejs | 9 +- public/views/index/head.ejs | 11 +- public/views/pretty.ejs | 4 +- public/views/shared/help-modal.ejs | 6 +- 45 files changed, 594 insertions(+), 531 deletions(-) delete mode 100644 public/apple-touch-icon.png create mode 100644 public/banner/banner_h_bw.svg create mode 100644 public/banner/banner_h_wb.svg create mode 100644 public/banner/banner_vertical_color.svg delete mode 100644 public/codimd-icon-1024.png delete mode 100644 public/favicon.png create mode 100644 public/icons/android-chrome-192x192.png create mode 100644 public/icons/android-chrome-512x512.png create mode 100644 public/icons/apple-touch-icon.png create mode 100644 public/icons/browserconfig.xml create mode 100644 public/icons/favicon-16x16.png create mode 100644 public/icons/favicon-32x32.png create mode 100644 public/icons/favicon.ico create mode 100644 public/icons/html_code.html create mode 100644 public/icons/mstile-144x144.png create mode 100644 public/icons/mstile-150x150.png create mode 100644 public/icons/mstile-310x150.png create mode 100644 public/icons/mstile-310x310.png create mode 100644 public/icons/mstile-70x70.png create mode 100644 public/icons/safari-pinned-tab.svg create mode 100644 public/icons/site.webmanifest delete mode 100644 public/views/codimd.ejs delete mode 100644 public/views/codimd/body.ejs delete mode 100644 public/views/codimd/foot.ejs delete mode 100644 public/views/codimd/footer.ejs delete mode 100644 public/views/codimd/head.ejs delete mode 100644 public/views/codimd/header.ejs create mode 100644 public/views/hedgedoc.ejs create mode 100644 public/views/hedgedoc/body.ejs create mode 100644 public/views/hedgedoc/foot.ejs create mode 100644 public/views/hedgedoc/footer.ejs create mode 100644 public/views/hedgedoc/head.ejs create mode 100644 public/views/hedgedoc/header.ejs create mode 100644 public/views/includes/favicon.ejs (limited to 'public') diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png deleted file mode 100644 index 6978e262..00000000 Binary files a/public/apple-touch-icon.png and /dev/null differ diff --git a/public/banner/banner_h_bw.svg b/public/banner/banner_h_bw.svg new file mode 100644 index 00000000..8721be9e --- /dev/null +++ b/public/banner/banner_h_bw.svg @@ -0,0 +1 @@ + diff --git a/public/banner/banner_h_wb.svg b/public/banner/banner_h_wb.svg new file mode 100644 index 00000000..9c450000 --- /dev/null +++ b/public/banner/banner_h_wb.svg @@ -0,0 +1 @@ + diff --git a/public/banner/banner_vertical_color.svg b/public/banner/banner_vertical_color.svg new file mode 100644 index 00000000..cd5f8010 --- /dev/null +++ b/public/banner/banner_vertical_color.svg @@ -0,0 +1 @@ + diff --git a/public/codimd-icon-1024.png b/public/codimd-icon-1024.png deleted file mode 100644 index eebdcf78..00000000 Binary files a/public/codimd-icon-1024.png and /dev/null differ diff --git a/public/css/index.css b/public/css/index.css index d266ad88..992c9a7b 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -20,6 +20,21 @@ body.night{ background: #333 !important; } +body.night .no-night { + display: none; +} + +body:not(.night) .night { + display: none; +} + +.h-100 { + height: 100%; +} +.header-brand { + padding: 6px; +} + .CodeMirror { font-family: "Source Code Pro", Consolas, monaco, monospace; letter-spacing: 0.025em; diff --git a/public/docs/features.md b/public/docs/features.md index 9429da9e..f4582728 100644 --- a/public/docs/features.md +++ b/public/docs/features.md @@ -2,11 +2,11 @@ ## Introduction - **CodiMD** is a real-time, multi-platform collaborative markdown note editor. + **HedgeDoc** is a real-time, multi-platform collaborative markdown note editor. This means that you can write notes with other people on your **desktop**, **tablet** or even on the **phone**. You can sign-in via multiple auth providers like **Facebook**, **Twitter**, **GitHub** and many more on the [*homepage*](/). -If you experience any *issues*, feel free to report it on [**GitHub**](https://github.com/codimd/server/issues). +If you experience any *issues*, feel free to report it on [**GitHub**](https://github.com/hedgedoc/hedgedoc/issues). Or meet us on [**Matrix.org**](https://matrix.to/#/#hedgedoc:matrix.org) for dev-talk and interactive help. **Thank you very much!** @@ -27,7 +27,7 @@ Or meet us on [**Matrix.org**](https://matrix.to/#/#hedgedoc:matrix.org) for dev ### Night Mode -When you are tired of a white screen and like a night mode, click on the little moon and turn on the night view of CodiMD. +When you are tired of a white screen and like a night mode, click on the little moon and turn on the night view of HedgeDoc. The editor view, which is in night mode by default, can also be toggled between night and day view using the the little sun. @@ -73,7 +73,7 @@ There are four possible options: Notes can be embedded as follows: ```xml - + ``` ### [Slide Mode](./slide-example) @@ -524,7 +524,7 @@ Center aligned columns #### Links -[link text](https://demo.codimd.org) +[link text](https://demo.hedgedoc.org) [link with title](https://nodeca.github.io/pica/demo/ "title text!") Autoconverted link diff --git a/public/docs/privacy.md.example b/public/docs/privacy.md.example index cb9f1122..e2ec0e79 100644 --- a/public/docs/privacy.md.example +++ b/public/docs/privacy.md.example @@ -5,9 +5,9 @@ We process the following data, for the following purposes: | your data | our usage | | ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | IP-Address | Used to communicate with your browser and our servers. It's may exposed to third-parties which provide resources for this service. These services are, depending on your login method, the document you visit and the setup of this instance: Google, Disqus, MathJax, GitHub, SlideShare/LinkedIn, yahoo, Libravatar, Imgur, Amazon, and Cloudflare. | -| Usernames and profiles | Your username as well as user profiles that are connected with it are transmitted and stored by us to provide a useful login integration with services like GitHub, Facebook, Twitter, GitLab, Dropbox, Google. Depending on the setup of this CodiMD instance there are maybe other third-parties involved using SAML, LDAP or the integration with a Mattermost instance. | -| Profile pictures | Your profile picture is either loaded from the service you used to login, the CodiMD instance or Libravatar. | -| Uploaded pictures | Pictures that are uploaded for documents are either uploaded to Amazon S3, Imgur, a minio instance or the local filesystem of the CodiMD server. | +| Usernames and profiles | Your username as well as user profiles that are connected with it are transmitted and stored by us to provide a useful login integration with services like GitHub, Facebook, Twitter, GitLab, Dropbox, Google. Depending on the setup of this HedgeDoc instance there are maybe other third-parties involved using SAML, LDAP or the integration with a Mattermost instance. | +| Profile pictures | Your profile picture is either loaded from the service you used to login, the HedgeDoc instance or Libravatar. | +| Uploaded pictures | Pictures that are uploaded for documents are either uploaded to Amazon S3, Imgur, a minio instance or the local filesystem of the HedgeDoc server. | All account data and notes are stored in a mysql/postgres/sqlite database. Besides the user accounts and the document themselves also relationships between the documents and the user accounts are stored. This includes ownership, authorship and revisions of all changes made during the creation of a note. diff --git a/public/docs/yaml-metadata.md b/public/docs/yaml-metadata.md index 10956382..d7907005 100644 --- a/public/docs/yaml-metadata.md +++ b/public/docs/yaml-metadata.md @@ -96,7 +96,7 @@ dir: rtl ## breaks This option means the hardbreaks in the note will be parsed or be ignore. -The original markdown syntax breaks only if you put space twice, but CodiMD choose to breaks every time you enter a break. +The original markdown syntax breaks only if you put space twice, but HedgeDoc choose to breaks every time you enter a break. You can only use whether `true` or `false`. > default: not set (which will be true) @@ -125,7 +125,7 @@ This option allows you to enable Disqus with your shortname. **Example** ```yml -disqus: codimd +disqus: hedgedoc ``` ## type diff --git a/public/favicon.png b/public/favicon.png deleted file mode 100644 index 1600e49c..00000000 Binary files a/public/favicon.png and /dev/null differ diff --git a/public/icons/android-chrome-192x192.png b/public/icons/android-chrome-192x192.png new file mode 100644 index 00000000..1b42c8b7 Binary files /dev/null and b/public/icons/android-chrome-192x192.png differ diff --git a/public/icons/android-chrome-512x512.png b/public/icons/android-chrome-512x512.png new file mode 100644 index 00000000..1eedb77a Binary files /dev/null and b/public/icons/android-chrome-512x512.png differ diff --git a/public/icons/apple-touch-icon.png b/public/icons/apple-touch-icon.png new file mode 100644 index 00000000..54deb68d Binary files /dev/null and b/public/icons/apple-touch-icon.png differ diff --git a/public/icons/browserconfig.xml b/public/icons/browserconfig.xml new file mode 100644 index 00000000..be3e0384 --- /dev/null +++ b/public/icons/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #b51f08 + + + diff --git a/public/icons/favicon-16x16.png b/public/icons/favicon-16x16.png new file mode 100644 index 00000000..695b8aaa Binary files /dev/null and b/public/icons/favicon-16x16.png differ diff --git a/public/icons/favicon-32x32.png b/public/icons/favicon-32x32.png new file mode 100644 index 00000000..80afec65 Binary files /dev/null and b/public/icons/favicon-32x32.png differ diff --git a/public/icons/favicon.ico b/public/icons/favicon.ico new file mode 100644 index 00000000..7188efc4 Binary files /dev/null and b/public/icons/favicon.ico differ diff --git a/public/icons/html_code.html b/public/icons/html_code.html new file mode 100644 index 00000000..e69de29b diff --git a/public/icons/mstile-144x144.png b/public/icons/mstile-144x144.png new file mode 100644 index 00000000..fa2152ab Binary files /dev/null and b/public/icons/mstile-144x144.png differ diff --git a/public/icons/mstile-150x150.png b/public/icons/mstile-150x150.png new file mode 100644 index 00000000..5b277a2c Binary files /dev/null and b/public/icons/mstile-150x150.png differ diff --git a/public/icons/mstile-310x150.png b/public/icons/mstile-310x150.png new file mode 100644 index 00000000..ab952960 Binary files /dev/null and b/public/icons/mstile-310x150.png differ diff --git a/public/icons/mstile-310x310.png b/public/icons/mstile-310x310.png new file mode 100644 index 00000000..a43ae7cc Binary files /dev/null and b/public/icons/mstile-310x310.png differ diff --git a/public/icons/mstile-70x70.png b/public/icons/mstile-70x70.png new file mode 100644 index 00000000..ce4b9fa9 Binary files /dev/null and b/public/icons/mstile-70x70.png differ diff --git a/public/icons/safari-pinned-tab.svg b/public/icons/safari-pinned-tab.svg new file mode 100644 index 00000000..aedf0d29 --- /dev/null +++ b/public/icons/safari-pinned-tab.svg @@ -0,0 +1 @@ + diff --git a/public/icons/site.webmanifest b/public/icons/site.webmanifest new file mode 100644 index 00000000..a3d61782 --- /dev/null +++ b/public/icons/site.webmanifest @@ -0,0 +1,18 @@ +{ + "name": "HedgeDoc", + "short_name": "HedgeDoc", + "icons": [ + { + "src": "/icons/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/icons/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#303030", + "background_color": "#303030" +} diff --git a/public/js/cover.js b/public/js/cover.js index 39f748e9..ed10afbf 100644 --- a/public/js/cover.js +++ b/public/js/cover.js @@ -318,7 +318,7 @@ $('.ui-save-history').click(() => { const blob = new Blob([history], { type: 'application/json;charset=utf-8' }) - saveAs(blob, `codimd_history_${moment().format('YYYYMMDDHHmmss')}`, true) + saveAs(blob, `hedgedoc_history_${moment().format('YYYYMMDDHHmmss')}`, true) }) }) diff --git a/public/js/extra.js b/public/js/extra.js index 0a95b1b1..49dd23ce 100644 --- a/public/js/extra.js +++ b/public/js/extra.js @@ -117,9 +117,9 @@ function getTitle (view) { export function renderTitle (view) { let title = getTitle(view) if (title) { - title += ' - CodiMD' + title += ' - HedgeDoc' } else { - title = 'CodiMD - Collaborative markdown notes' + title = 'HedgeDoc - Collaborative markdown notes' } return title } diff --git a/public/views/codimd.ejs b/public/views/codimd.ejs deleted file mode 100644 index 7818346c..00000000 --- a/public/views/codimd.ejs +++ /dev/null @@ -1,15 +0,0 @@ - - - - - <%- include codimd/head %> - - - - <%- include codimd/header %> - <%- include codimd/body %> - <%- include codimd/footer %> - <%- include codimd/foot %> - - - diff --git a/public/views/codimd/body.ejs b/public/views/codimd/body.ejs deleted file mode 100644 index 96cb8f95..00000000 --- a/public/views/codimd/body.ejs +++ /dev/null @@ -1,253 +0,0 @@ - - - - - - - - - - - - - - - - - -<%- include ../shared/refresh-modal %> -<%- include ../shared/signin-modal %> -<%- include ../shared/help-modal %> -<%- include ../shared/revision-modal %> diff --git a/public/views/codimd/foot.ejs b/public/views/codimd/foot.ejs deleted file mode 100644 index 9d620e29..00000000 --- a/public/views/codimd/foot.ejs +++ /dev/null @@ -1,29 +0,0 @@ - -<% if(useCDN) { %> - - - - - - - - - - - - - - - - - - - - -<%- include ../build/index-scripts %> -<% } else { %> - - - -<%- include ../build/index-pack-scripts %> -<% } %> diff --git a/public/views/codimd/footer.ejs b/public/views/codimd/footer.ejs deleted file mode 100644 index e69de29b..00000000 diff --git a/public/views/codimd/head.ejs b/public/views/codimd/head.ejs deleted file mode 100644 index 71e261fb..00000000 --- a/public/views/codimd/head.ejs +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - -<% for (var og in opengraph) { %> -<% if (opengraph.hasOwnProperty(og) && opengraph[og].trim() !== '') { %> - -<% }} if (!opengraph.hasOwnProperty('image')) { %> - - - -<% } %> - -<%= title %> - - -<% if(useCDN) { %> - - - - - -<%- include ../build/index-header %> -<%- include ../shared/polyfill %> -<% } else { %> - -<%- include ../build/index-pack-header %> -<% } %> diff --git a/public/views/codimd/header.ejs b/public/views/codimd/header.ejs deleted file mode 100644 index 6bf37804..00000000 --- a/public/views/codimd/header.ejs +++ /dev/null @@ -1,174 +0,0 @@ - -
diff --git a/public/views/error.ejs b/public/views/error.ejs index 3ed76c8c..e208d778 100644 --- a/public/views/error.ejs +++ b/public/views/error.ejs @@ -2,18 +2,18 @@ - <%- include codimd/head %> + <%- include hedgedoc/head %> - <%- include codimd/header %> + <%- include hedgedoc/header %>

<%- code %> <%- detail %> <%- msg %>

- <%- include codimd/footer %> + <%- include hedgedoc/footer %> diff --git a/public/views/hedgedoc.ejs b/public/views/hedgedoc.ejs new file mode 100644 index 00000000..1a6061ab --- /dev/null +++ b/public/views/hedgedoc.ejs @@ -0,0 +1,15 @@ + + + + + <%- include hedgedoc/head %> + + + + <%- include hedgedoc/header %> + <%- include hedgedoc/body %> + <%- include hedgedoc/footer %> + <%- include hedgedoc/foot %> + + + diff --git a/public/views/hedgedoc/body.ejs b/public/views/hedgedoc/body.ejs new file mode 100644 index 00000000..96cb8f95 --- /dev/null +++ b/public/views/hedgedoc/body.ejs @@ -0,0 +1,253 @@ + + + + + + + + + + + + + + + + + +<%- include ../shared/refresh-modal %> +<%- include ../shared/signin-modal %> +<%- include ../shared/help-modal %> +<%- include ../shared/revision-modal %> diff --git a/public/views/hedgedoc/foot.ejs b/public/views/hedgedoc/foot.ejs new file mode 100644 index 00000000..9d620e29 --- /dev/null +++ b/public/views/hedgedoc/foot.ejs @@ -0,0 +1,29 @@ + +<% if(useCDN) { %> + + + + + + + + + + + + + + + + + + + + +<%- include ../build/index-scripts %> +<% } else { %> + + + +<%- include ../build/index-pack-scripts %> +<% } %> diff --git a/public/views/hedgedoc/footer.ejs b/public/views/hedgedoc/footer.ejs new file mode 100644 index 00000000..e69de29b diff --git a/public/views/hedgedoc/head.ejs b/public/views/hedgedoc/head.ejs new file mode 100644 index 00000000..e7b13e8a --- /dev/null +++ b/public/views/hedgedoc/head.ejs @@ -0,0 +1,31 @@ + + + + + + +<%- include ../includes/favicon %> +<% for (var og in opengraph) { %> +<% if (opengraph.hasOwnProperty(og) && opengraph[og].trim() !== '') { %> + +<% }} if (!opengraph.hasOwnProperty('image')) { %> + + + +<% } %> + +<%= title %> + + +<% if(useCDN) { %> + + + + + +<%- include ../build/index-header %> +<%- include ../shared/polyfill %> +<% } else { %> + +<%- include ../build/index-pack-header %> +<% } %> diff --git a/public/views/hedgedoc/header.ejs b/public/views/hedgedoc/header.ejs new file mode 100644 index 00000000..f700cd5b --- /dev/null +++ b/public/views/hedgedoc/header.ejs @@ -0,0 +1,177 @@ + +
diff --git a/public/views/includes/favicon.ejs b/public/views/includes/favicon.ejs new file mode 100644 index 00000000..14b963fe --- /dev/null +++ b/public/views/includes/favicon.ejs @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs index 0f2b8f33..561502f0 100644 --- a/public/views/index/body.ejs +++ b/public/views/index/body.ejs @@ -40,10 +40,13 @@
style="display:none;"<% } %>>
-

CodiMD

+

HedgeDoc logo

<%= __('Best way to write and share your knowledge in markdown.') %>

+ + CodiMD was renamed to HedgeDoc. Read more + <% if (infoMessage && infoMessage.length > 0) { %>
<%= infoMessage %>
<% } %> @@ -156,10 +159,10 @@

- <%- __('Powered by %s', 'CodiMD') %> | <%= __('Releases') %> | <%= __('Source Code') %><% if(imprint) { %> | <%= __('Imprint') %><% } %><% if(privacyStatement) { %> | <%= __('Privacy') %><% } %><% if(termsOfUse) { %> | <%= __('Terms of Use') %><% } %> + <%- __('Powered by %s', 'HedgeDoc') %> | <%= __('Releases') %> | <%= __('Source Code') %><% if(imprint) { %> | <%= __('Imprint') %><% } %><% if(privacyStatement) { %> | <%= __('Privacy') %><% } %><% if(termsOfUse) { %> | <%= __('Terms of Use') %><% } %>

diff --git a/public/views/index/head.ejs b/public/views/index/head.ejs index 66396adb..2b751d34 100644 --- a/public/views/index/head.ejs +++ b/public/views/index/head.ejs @@ -6,17 +6,16 @@ - +<%- include ../includes/favicon %> + - - + + -CodiMD - <%= __('Collaborative markdown notes') %> - - +HedgeDoc - <%= __('Collaborative markdown notes') %> <% if(useCDN) { %> diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index 91a8ead2..d9221c93 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -18,8 +18,8 @@ <% if (opengraph.hasOwnProperty(og) && opengraph[og].trim() !== '') { %> <% }} if (!opengraph.hasOwnProperty('image')) { %> - - + + <% } %> diff --git a/public/views/shared/help-modal.ejs b/public/views/shared/help-modal.ejs index d1fe50bb..88c2d9de 100644 --- a/public/views/shared/help-modal.ejs +++ b/public/views/shared/help-modal.ejs @@ -15,13 +15,13 @@

<%= __('Contacts') %>

-- cgit v1.2.3 From 7ce89d0ac52df46a228cfd3ae3bc755dfda81565 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Sat, 14 Nov 2020 21:21:39 +0100 Subject: Replace placeholder with actual link Signed-off-by: Tilman Vatteroth --- public/views/index/body.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public') diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs index 561502f0..9a76f89f 100644 --- a/public/views/index/body.ejs +++ b/public/views/index/body.ejs @@ -45,7 +45,7 @@ <%= __('Best way to write and share your knowledge in markdown.') %>

- CodiMD was renamed to HedgeDoc. Read more + CodiMD was renamed to HedgeDoc. Read more <% if (infoMessage && infoMessage.length > 0) { %>
<%= infoMessage %>
-- cgit v1.2.3 From 0c1f72d8d009e1f908079ba0fd07e64a71c847dd Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Sat, 14 Nov 2020 21:50:23 +0100 Subject: Add new screenshot Signed-off-by: Tilman Vatteroth --- public/screenshot.png | Bin 227548 -> 362026 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'public') diff --git a/public/screenshot.png b/public/screenshot.png index bff18d4b..c15fc7f2 100644 Binary files a/public/screenshot.png and b/public/screenshot.png differ -- cgit v1.2.3 From 978538c0de5afcf6cf4a21c0782a6b1e7fa57d9d Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Sat, 14 Nov 2020 22:24:44 +0100 Subject: Correct repo name Signed-off-by: Tilman Vatteroth --- public/views/index/body.ejs | 2 +- public/views/shared/help-modal.ejs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'public') diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs index 9a76f89f..cb96e628 100644 --- a/public/views/index/body.ejs +++ b/public/views/index/body.ejs @@ -162,7 +162,7 @@ <%- __('Powered by %s', 'HedgeDoc') %> | <%= __('Releases') %> | <%= __('Source Code') %><% if(imprint) { %> | <%= __('Imprint') %><% } %><% if(privacyStatement) { %> | <%= __('Privacy') %><% } %><% if(termsOfUse) { %> | <%= __('Terms of Use') %><% } %>

diff --git a/public/views/shared/help-modal.ejs b/public/views/shared/help-modal.ejs index 88c2d9de..29872ee7 100644 --- a/public/views/shared/help-modal.ejs +++ b/public/views/shared/help-modal.ejs @@ -19,7 +19,7 @@
<%= __('Meet us on %s', 'Matrix') %>
- <%= __('Report an issue') %> + <%= __('Report an issue') %>
<%= __('Help us translating') %> -- cgit v1.2.3 From a9026e0ec05abb72cad607a22f388aa22beca652 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Sun, 15 Nov 2020 15:39:04 +0100 Subject: Removed icon --- public/docs/features.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public') diff --git a/public/docs/features.md b/public/docs/features.md index f4582728..8c88d7ae 100644 --- a/public/docs/features.md +++ b/public/docs/features.md @@ -2,7 +2,7 @@ ## Introduction - **HedgeDoc** is a real-time, multi-platform collaborative markdown note editor. +**HedgeDoc** is a real-time, multi-platform collaborative markdown note editor. This means that you can write notes with other people on your **desktop**, **tablet** or even on the **phone**. You can sign-in via multiple auth providers like **Facebook**, **Twitter**, **GitHub** and many more on the [*homepage*](/). -- cgit v1.2.3 From cdc5a89cd7a9d1c3cf3468e79620ac346f806874 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Sun, 15 Nov 2020 20:12:22 +0100 Subject: apply review suggestions --- public/icons/html_code.html | 0 public/icons/site.webmanifest | 2 +- public/views/hedgedoc.ejs | 1 - public/views/hedgedoc/footer.ejs | 0 public/views/includes/favicon.ejs | 2 +- public/views/index/body.ejs | 2 +- public/views/shared/help-modal.ejs | 2 +- 7 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 public/icons/html_code.html delete mode 100644 public/views/hedgedoc/footer.ejs (limited to 'public') diff --git a/public/icons/html_code.html b/public/icons/html_code.html deleted file mode 100644 index e69de29b..00000000 diff --git a/public/icons/site.webmanifest b/public/icons/site.webmanifest index a3d61782..adbd7a98 100644 --- a/public/icons/site.webmanifest +++ b/public/icons/site.webmanifest @@ -13,6 +13,6 @@ "type": "image/png" } ], - "theme_color": "#303030", + "theme_color": "#b51f08", "background_color": "#303030" } diff --git a/public/views/hedgedoc.ejs b/public/views/hedgedoc.ejs index 1a6061ab..cfedb2b5 100644 --- a/public/views/hedgedoc.ejs +++ b/public/views/hedgedoc.ejs @@ -8,7 +8,6 @@ <%- include hedgedoc/header %> <%- include hedgedoc/body %> - <%- include hedgedoc/footer %> <%- include hedgedoc/foot %> diff --git a/public/views/hedgedoc/footer.ejs b/public/views/hedgedoc/footer.ejs deleted file mode 100644 index e69de29b..00000000 diff --git a/public/views/includes/favicon.ejs b/public/views/includes/favicon.ejs index 14b963fe..1cc8edb5 100644 --- a/public/views/includes/favicon.ejs +++ b/public/views/includes/favicon.ejs @@ -8,4 +8,4 @@ - + diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs index cb96e628..6176cb6e 100644 --- a/public/views/index/body.ejs +++ b/public/views/index/body.ejs @@ -45,7 +45,7 @@ <%= __('Best way to write and share your knowledge in markdown.') %>

- CodiMD was renamed to HedgeDoc. Read more + CodiMD was renamed to HedgeDoc. Read more <% if (infoMessage && infoMessage.length > 0) { %>
<%= infoMessage %>
diff --git a/public/views/shared/help-modal.ejs b/public/views/shared/help-modal.ejs index 29872ee7..7ffee93a 100644 --- a/public/views/shared/help-modal.ejs +++ b/public/views/shared/help-modal.ejs @@ -17,7 +17,7 @@