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 @@
-
-
-
-
-
-
-
-
-
-
- <%= __('changed') %>
- <%= __('created') %>
-
-
-
-
-
-
-
-
-
-
- owned this note
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
<%= __('Sorry, only owner can edit this note.') %>
-
-
-
-
-
-
-
-
-
-
-
-
<%= __("Sorry, you've reached the max length this note can be.") %>
- <%= __('Please reduce the content or divide it to more notes, thank you!') %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
<%= __('OR') %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
<%= __('Do you really want to delete this note?') %>
- <%= __('All users will lose their connection.') %>
-
-
-
-
-
-<%- 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 @@
+
+
+
+
+
+
+
+
+
+
+ <%= __('changed') %>
+ <%= __('created') %>
+
+
+
+
+
+
+
+
+
+
+ owned this note
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
<%= __('Sorry, only owner can edit this note.') %>
+
+
+
+
+
+
+
+
+
+
+
+
<%= __("Sorry, you've reached the max length this note can be.") %>
+ <%= __('Please reduce the content or divide it to more notes, thank you!') %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
<%= __('OR') %>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
<%= __('Do you really want to delete this note?') %>
+ <%= __('All users will lose their connection.') %>
+
+
+
+
+
+<%- 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;"<% } %>>
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/views')
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 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/views')
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 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/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 +-
5 files changed, 3 insertions(+), 4 deletions(-)
delete mode 100644 public/views/hedgedoc/footer.ejs
(limited to 'public/views')
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 @@