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/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 +- 18 files changed, 535 insertions(+), 518 deletions(-) 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/views') 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