summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.editorconfig2
-rw-r--r--CHANGELOG.md2
-rw-r--r--CONTRIBUTING.md2
-rw-r--r--LICENSE4
-rw-r--r--README.md59
-rw-r--r--SECURITY.md8
-rw-r--r--app.js4
-rw-r--r--app.json8
-rwxr-xr-xbin/setup6
-rw-r--r--config.json.example4
-rw-r--r--docs/configuration.md36
-rw-r--r--docs/dev/api.md8
-rw-r--r--docs/dev/getting-started.md6
-rw-r--r--docs/dev/openapi.yml18
-rw-r--r--docs/guides/auth/github.md4
-rw-r--r--docs/guides/auth/gitlab-self-hosted.md6
-rw-r--r--docs/guides/auth/keycloak.md10
-rw-r--r--docs/guides/auth/ldap-ad.md2
-rw-r--r--docs/guides/auth/mattermost-self-hosted.md2
-rw-r--r--docs/guides/auth/nextcloud.md4
-rw-r--r--docs/guides/auth/saml-keycloak.md38
-rw-r--r--docs/guides/auth/saml-onelogin.md10
-rw-r--r--docs/guides/auth/saml.md20
-rw-r--r--docs/guides/auth/twitter.md2
-rw-r--r--docs/guides/migrate-etherpad.md50
-rw-r--r--docs/guides/migrations-and-breaking-changes.md10
-rw-r--r--docs/guides/minio-image-upload.md12
-rw-r--r--docs/guides/providing-terms.md4
-rw-r--r--docs/guides/s3-image-upload.md4
-rw-r--r--docs/history.md8
-rw-r--r--docs/setup/cloudron.md4
-rw-r--r--docs/setup/docker-linuxserver.md8
-rw-r--r--docs/setup/docker.md16
-rw-r--r--docs/setup/heroku.md4
-rw-r--r--docs/setup/kubernetes.md2
-rw-r--r--docs/setup/yunohost.md6
-rw-r--r--docs/slide-options.md2
-rw-r--r--docs/url-scheme.md2
-rw-r--r--lib/config/default.js2
-rw-r--r--lib/config/index.js2
-rw-r--r--lib/models/note.js2
-rw-r--r--lib/response.js2
-rw-r--r--lib/web/middleware/hedgeDocVersion.js (renamed from lib/web/middleware/codiMDVersion.js)2
-rw-r--r--lib/web/note/controller.js2
-rw-r--r--package.json12
-rw-r--r--public/apple-touch-icon.pngbin684 -> 0 bytes
-rw-r--r--public/banner/banner_h_bw.svg1
-rw-r--r--public/banner/banner_h_wb.svg1
-rw-r--r--public/banner/banner_vertical_color.svg1
-rw-r--r--public/codimd-icon-1024.pngbin4837 -> 0 bytes
-rw-r--r--public/css/index.css15
-rw-r--r--public/docs/features.md10
-rw-r--r--public/docs/privacy.md.example6
-rw-r--r--public/docs/yaml-metadata.md4
-rw-r--r--public/favicon.pngbin725 -> 0 bytes
-rw-r--r--public/icons/android-chrome-192x192.pngbin0 -> 2804 bytes
-rw-r--r--public/icons/android-chrome-512x512.pngbin0 -> 9405 bytes
-rw-r--r--public/icons/apple-touch-icon.pngbin0 -> 2126 bytes
-rw-r--r--public/icons/browserconfig.xml9
-rw-r--r--public/icons/favicon-16x16.pngbin0 -> 428 bytes
-rw-r--r--public/icons/favicon-32x32.pngbin0 -> 605 bytes
-rw-r--r--public/icons/favicon.icobin0 -> 15086 bytes
-rw-r--r--public/icons/html_code.html (renamed from public/views/codimd/footer.ejs)0
-rw-r--r--public/icons/mstile-144x144.pngbin0 -> 2094 bytes
-rw-r--r--public/icons/mstile-150x150.pngbin0 -> 1824 bytes
-rw-r--r--public/icons/mstile-310x150.pngbin0 -> 1898 bytes
-rw-r--r--public/icons/mstile-310x310.pngbin0 -> 3737 bytes
-rw-r--r--public/icons/mstile-70x70.pngbin0 -> 1426 bytes
-rw-r--r--public/icons/safari-pinned-tab.svg1
-rw-r--r--public/icons/site.webmanifest18
-rw-r--r--public/js/cover.js2
-rw-r--r--public/js/extra.js4
-rw-r--r--public/views/codimd.ejs15
-rw-r--r--public/views/error.ejs6
-rw-r--r--public/views/hedgedoc.ejs15
-rw-r--r--public/views/hedgedoc/body.ejs (renamed from public/views/codimd/body.ejs)0
-rw-r--r--public/views/hedgedoc/foot.ejs (renamed from public/views/codimd/foot.ejs)0
-rw-r--r--public/views/hedgedoc/footer.ejs0
-rw-r--r--public/views/hedgedoc/head.ejs (renamed from public/views/codimd/head.ejs)5
-rw-r--r--public/views/hedgedoc/header.ejs (renamed from public/views/codimd/header.ejs)5
-rw-r--r--public/views/includes/favicon.ejs11
-rw-r--r--public/views/index/body.ejs9
-rw-r--r--public/views/index/head.ejs11
-rw-r--r--public/views/pretty.ejs4
-rw-r--r--public/views/shared/help-modal.ejs6
85 files changed, 322 insertions, 258 deletions
diff --git a/.editorconfig b/.editorconfig
index 1629e28f..b3ddf1c8 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -14,7 +14,7 @@ trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
-[{.travis.yml,npm-shrinkwrap.json,package.json}]
+[{npm-shrinkwrap.json,package.json}]
indent_style = space
indent_size = 2
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a9797043..c4f24294 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,5 +3,5 @@
Please refer to the release notes published under
[`public/docs/release-notes.md`](public/docs/release-notes.md).
-These are also available on each CodiMD instance under
+These are also available on each HedgeDoc instance under
<https://[domain-name]/release-notes>
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 6c39d7e3..9637979f 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -25,7 +25,7 @@ interactions with the project.
## Sign your work
We use the Developer Certificate of Origin (DCO) as a additional safeguard
-for the CodiMD project. This is a well established and widely used
+for the HedgeDoc project. This is a well established and widely used
mechanism to assure contributors have confirmed their right to license
their contribution under the project's license.
Please read [docs/legal/developer-certificate-of-origin.txt][dcofile].
diff --git a/LICENSE b/LICENSE
index ccbd997d..08b09fb5 100644
--- a/LICENSE
+++ b/LICENSE
@@ -629,12 +629,12 @@ to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
- CodiMD - Realtime collaborative markdown notes on all platforms.
+ HedgeDoc - Realtime collaborative markdown notes on all platforms.
Copyright (C) 2019 Christoph (Sheogorath) Kern
Copyright (C) 2019 Claudius Coenen
Copyright (C) 2019 Max Wu
Copyright (C) 2017 Yukai Huang
- And more can be found on https://github.com/codimd/server/graphs/contributors
+ And more can be found on https://github.com/hedgedoc/hedgedoc/graphs/contributors
Or in the local AUTHORS file
diff --git a/README.md b/README.md
index 80060e2b..6081a02e 100644
--- a/README.md
+++ b/README.md
@@ -1,21 +1,20 @@
-# CodiMD
+![HedgeDoc Logo](https://raw.githubusercontent.com/hedgedoc/hedgedoc-logo/main/LOGOTYPE/SVG/HedgeDoc-Logo%204b.svg)
-[![#CodiMD on matrix.org][matrix.org-image]][matrix.org-url]
-[![build status][travis-image]][travis-url]
+# HedgeDoc
+
+[![#HedgeDoc on matrix.org][matrix.org-image]][matrix.org-url]
[![version][github-version-badge]][github-release-page]
[![POEditor][poeditor-image]][poeditor-url]
[![Mastodon][social-mastodon-image]][social-mastodon]
-CodiMD lets you create real-time collaborative markdown notes. You can test-drive
-it by visiting our [CodiMD demo server][codimd-demo].
-
-**Note**: CodiMD is in the process of [changing its name to HedgeDoc](https://github.com/codimd/server/issues/452).
+HedgeDoc lets you create real-time collaborative markdown notes. You can test-drive
+it by visiting our [HedgeDoc demo server][hedgedoc-demo].
It is inspired by Hackpad, Etherpad and similar collaborative editors. This
project originated with the team at [HackMD](https://hackmd.io) and now forked
into its own organisation. [A longer writeup can be read in the history doc](docs/history.md).
-[![CodiMD 1.3.2 with its feature demonstration page open](docs/images/CodiMD-1.3.2-features.png)][codimd-demo-features]
+[![HedgeDoc 1.3.2 with its feature demonstration page open](docs/images/CodiMD-1.3.2-features.png)][hedgedoc-demo-features]
## Community and Contributions
@@ -26,13 +25,13 @@ take a look at the [docs/dev](docs/dev) directory. In any case: come talk to us,
we'll be delighted to help you with the first steps.
To stay up to date with our work or get support it's recommended to join our
-[Matrix channel][matrix.org-url], stop by our [community forums][codimd-community]
+[Matrix channel][matrix.org-url], stop by our [community forums][hedgedoc-community]
or subscribe to the [release feed][github-release-feed]. We also engage in
-regular [community calls][codimd-community-calls] ([RSS](https://community.codimd.org/t/codimd-community-call/19.rss)) which you are very welcome to join.
+regular [community calls][hedgedoc-community-calls] ([RSS](https://community.hedgedoc.org/t/codimd-community-call/19.rss)) which you are very welcome to join.
## Installation / Upgrading
-You can run CodiMD in a number of ways, and we created setup instructions for
+You can run HedgeDoc in a number of ways, and we created setup instructions for
all of these:
- [Docker](docs/setup/docker.md)
@@ -44,10 +43,10 @@ all of these:
## Configuration
-Theres two main ways to [configure](docs/configuration.md) your CodiMD instance:
+Theres two main ways to [configure](docs/configuration.md) your HedgeDoc instance:
config file or environment variables. You can choose what works best for you.
-CodiMD can integrate with
+HedgeDoc can integrate with
- facebook, twitter, github, gitlab, mattermost, dropbox, google, ldap, saml and [oauth2](docs/guides/auth/oauth.md) **for login**
- imgur, s3, minio, azure **for image/attachment storage** (files can also be local!)
@@ -57,7 +56,7 @@ More info about that can be found in the configuration docs above.
## Browser support
-To use CodiMD, your browser should match or exceed these versions:
+To use HedgeDoc, your browser should match or exceed these versions:
- ![Chrome](https://raw.githubusercontent.com/alrra/browser-logos/HEAD/src/chrome/chrome_24x24.png) Chrome >= 47, ![Chrome](https://raw.githubusercontent.com/alrra/browser-logos/HEAD/src/chrome/chrome_24x24.png) Chrome for Android >= 47
- ![Safari](https://raw.githubusercontent.com/alrra/browser-logos/HEAD/src/safari/safari_24x24.png) Safari >= 9, ![iOS Safarai](https://raw.githubusercontent.com/alrra/browser-logos/HEAD/src/safari-ios/safari-ios_24x24.png) iOS Safari >= 8.4
@@ -68,36 +67,36 @@ To use CodiMD, your browser should match or exceed these versions:
## Backup/restore your instance
-To backup codimd, you should:
+To backup HedgeDoc, you should:
- backup your database
- backup your custom config file if you have one
-- backup the upload folder (see the [uploadsPath](./docs/configuration.md#codimd-paths-stuff) config directive)
+- backup the upload folder (see the [uploadsPath](./docs/configuration.md#hedgedoc-paths-stuff) config directive)
-Restoring an existing instance of codimd is then just a matter of restoring these elements.
+Restoring an existing instance of HedgeDoc is then just a matter of restoring these elements.
## Related Tools
-Our community has created related tools, we'd like to highlight [codimd-cli](https://github.com/codimd/cli)
-which lets you use CodiMD from the comfort of your command line.
+Our community has created related tools, we'd like to highlight [hedgedoc-cli](https://github.com/hedgedoc/cli)
+which lets you use HedgeDoc from the comfort of your command line.
## License
Licensed under AGPLv3. For our list of contributors, see [AUTHORS](AUTHORS).
+The license does not include the HedgeDoc logo, whose terms of usage can be found in the [github repository](https://github.com/hedgedoc/hedgedoc-logo).
+
[matrix.org-image]: https://img.shields.io/matrix/hedgedoc:matrix.org?logo=matrix&server_fqdn=matrix.org
[matrix.org-url]: https://matrix.to/#/#hedgedoc:matrix.org
-[travis-image]: https://travis-ci.org/codimd/server.svg?branch=master
-[travis-url]: https://travis-ci.org/codimd/server
-[github-version-badge]: https://img.shields.io/github/release/codimd/server.svg
-[github-release-page]: https://github.com/codimd/server/releases
-[github-release-feed]: https://github.com/codimd/server/releases.atom
-[github-issue-tracker]: https://github.com/codimd/server/issues/
+[github-version-badge]: https://img.shields.io/github/release/hedgedoc/hedgedoc.svg
+[github-release-page]: https://github.com/hedgedoc/hedgedoc/releases
+[github-release-feed]: https://github.com/hedgedoc/hedgedoc/releases.atom
+[github-issue-tracker]: https://github.com/hedgedoc/hedgedoc/issues/
[poeditor-image]: https://img.shields.io/badge/POEditor-translate-blue.svg
[poeditor-url]: https://poeditor.com/join/project/1OpGjF2Jir
-[codimd-demo]: https://demo.codimd.org
-[codimd-demo-features]: https://demo.codimd.org/features
-[codimd-community]: https://community.codimd.org
-[codimd-community-calls]: https://community.codimd.org/t/codimd-community-call/19
-[social-mastodon]: https://social.codimd.org/mastodon
+[hedgedoc-demo]: https://demo.hedgedoc.org
+[hedgedoc-demo-features]: https://demo.hedgedoc.org/features
+[hedgedoc-community]: https://community.hedgedoc.org
+[hedgedoc-community-calls]: https://community.hedgedoc.org/t/codimd-community-call/19
+[social-mastodon]: https://social.hedgedoc.org/mastodon
[social-mastodon-image]: https://img.shields.io/mastodon/follow/18547?domain=https%3A%2F%2Fsocial.snopyta.org&style=social
diff --git a/SECURITY.md b/SECURITY.md
index 6d5a8c61..d7e7390b 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -2,12 +2,12 @@
## Supported Versions
-Only the latest release of CodiMD is supported. We don't have the
+Only the latest release of HedgeDoc is supported. We don't have the
ressources to maintain multiple versions.
## Reporting a Vulnerability
-If you find a vulnerability for [this repository](https://github.com/codimd/server), please report it to
+If you find a vulnerability for [this repository](https://github.com/hedgedoc/hedgedoc), please report it to
[@SISheogorath](https://github.com/SISheogorath).
Please report your findings OpenPGP encrypted. If you are not aware of
@@ -25,8 +25,8 @@ the fix, we want to encurage you to publish your findings as you like.
We'll also credit you in the release notes.
When your findings are not accepted as a security issue, feel free to write
-a fix yourself and contribute it to CodiMD, as well as publish them as you
-like and allow people to make in informed decision about using CodiMD.
+a fix yourself and contribute it to HedgeDoc, as well as publish them as you
+like and allow people to make in informed decision about using HedgeDoc.
If you have any further questions, feel free to reach out to the
[community chat](https://matrix.to/#/#hedgedoc:matrix.org) or the mentioned contacts above.
diff --git a/app.js b/app.js
index 90beefbe..67fb2232 100644
--- a/app.js
+++ b/app.js
@@ -176,7 +176,7 @@ app.use(passport.session())
app.use(require('./lib/web/middleware/checkURIValid'))
// redirect url without trailing slashes
app.use(require('./lib/web/middleware/redirectWithoutTrailingSlashes'))
-app.use(require('./lib/web/middleware/codiMDVersion'))
+app.use(require('./lib/web/middleware/hedgeDocVersion'))
// routes need sessions
// template files
@@ -287,7 +287,7 @@ process.on('uncaughtException', function (err) {
// install exit handler
function handleTermSignals () {
- logger.info('CodiMD has been killed by signal, try to exit gracefully...')
+ logger.info('HedgeDoc has been killed by signal, try to exit gracefully...')
realtime.maintenance = true
// disconnect all socket.io clients
Object.keys(io.sockets.sockets).forEach(function (key) {
diff --git a/app.json b/app.json
index 4d68c0df..4cf3875b 100644
--- a/app.json
+++ b/app.json
@@ -1,14 +1,14 @@
{
- "name": "CodiMD",
+ "name": "HedgeDoc",
"description": "Realtime collaborative markdown notes on all platforms",
"keywords": [
"Collaborative",
"Markdown",
"Notes"
],
- "website": "https://codimd.org",
- "repository": "https://github.com/codimd/server",
- "logo": "https://github.com/codimd/server/raw/master/public/codimd-icon-1024.png",
+ "website": "https://hedgedoc.org",
+ "repository": "https://github.com/hedgedoc/hedgedoc",
+ "logo": "https://github.com/hedgedoc/hedgedoc/raw/master/public/hedgedoc-icon-1024.png",
"success_url": "/",
"env": {
"NPM_CONFIG_PRODUCTION": {
diff --git a/bin/setup b/bin/setup
index 1f766703..776a0a95 100755
--- a/bin/setup
+++ b/bin/setup
@@ -35,10 +35,10 @@ yarn install --production=false --pure-lockfile
cat << EOF
-Edit the following config file to setup CodiMD server and client.
-Read more info at https://github.com/codimd/server#configuration-files
+Edit the following config file to setup HedgeDoc server and client.
+Read more info at https://github.com/hedgedoc/server#configuration-files
-* config.json -- CodiMD config
+* config.json -- HedgeDoc config
* .sequelizerc -- db config
EOF
diff --git a/config.json.example b/config.json.example
index 71187b96..258643a9 100644
--- a/config.json.example
+++ b/config.json.example
@@ -13,7 +13,7 @@
},
"db": {
"dialect": "sqlite",
- "storage": "./db.codimd.sqlite"
+ "storage": "./db.hedgedoc.sqlite"
},
"linkifyHeaderStyle": "gfm"
},
@@ -39,7 +39,7 @@
"db": {
"username": "",
"password": "",
- "database": "codimd",
+ "database": "hedgedoc",
"host": "localhost",
"port": "5432",
"dialect": "postgres"
diff --git a/docs/configuration.md b/docs/configuration.md
index a173e12c..8f2d6263 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -1,6 +1,6 @@
# Configuration
-You can choose to configure CodiMD with either a config file or with environment variables.
+You can choose to configure HedgeDoc with either a config file or with environment variables.
Environment variables take precedence over configurations from the config files. They generally start with `CMD_` for our own options, but we also list node-specific options you can configure this way.
@@ -18,18 +18,18 @@ to `config.json` before filling in your own details.
| | `NODE_ENV` | `production` or `development` | set current environment (will apply corresponding settings in the `config.json`) |
| `debug` | `DEBUG` | `true` or `false` | set debug mode, show more logs |
-## CodiMD basics
+## HedgeDoc basics
| config file | environment | **default** and example value | description |
| ------------------- | ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `allowPDFExport` | `CMD_ALLOW_PDF_EXPORT` | **`true`** or `false` | Enable or disable PDF exports |
-| | `CMD_CONFIG_FILE` | **no default**, `/path/to/config.json` | optional override for the path to CodiMD's config file |
-| `db` | | **`undefined`**, `{ "dialect": "sqlite", "storage": "./db.codimd.sqlite" }` | set the db configs, [see more here](http://sequelize.readthedocs.org/en/latest/api/sequelize/) |
+| | `CMD_CONFIG_FILE` | **no default**, `/path/to/config.json` | optional override for the path to HedgeDoc's config file |
+| `db` | | **`undefined`**, `{ "dialect": "sqlite", "storage": "./db.hedgedoc.sqlite" }` | set the db configs, [see more here](http://sequelize.readthedocs.org/en/latest/api/sequelize/) |
| `dbURL` | `CMD_DB_URL` | **`undefined`**, `mysql://localhost:3306/database` | Set the db in URL style. If set, then the relevant `db` config entries will be overridden. |
| `loglevel` | `CMD_LOGLEVEL` | **`info`**, `debug` ... | Defines what kind of logs are provided to stdout. Available options: `debug`, `verbose`, `info`, `warn`, `error` |
| `forbiddenNoteIDs` | `CMD_FORBIDDEN_NOTE_IDS` | **`['robots.txt', 'favicon.ico', 'api', 'build', 'css', 'docs', 'fonts', 'js', 'uploads', 'vendor', 'views']`**, `['robots.txt']` or `'robots.txt'` | disallow creation of notes, even if `allowFreeUrl` or `CMD_ALLOW_FREEURL` is `true` |
| `imageUploadType` | `CMD_IMAGE_UPLOAD_TYPE` | **`filesystem`**, `imgur`, `s3`, `minio`, `azure`, `lutim` | Where to upload images. For S3, see our Image Upload Guides for [S3](guides/s3-image-upload.md) or [Minio](guides/minio-image-upload.md), also there's a whole section on their respective env vars below. |
-| `sourceURL` | `CMD_SOURCE_URL` | **no default**, `https://github.com/codimd/server/tree/<current commit>` | Provides the link to the source code of CodiMD on the entry page (Please, make sure you change this when you run a modified version) |
+| `sourceURL` | `CMD_SOURCE_URL` | **no default**, `https://github.com/hedgedoc/server/tree/<current commit>` | Provides the link to the source code of HedgeDoc on the entry page (Please, make sure you change this when you run a modified version) |
| `tooBusyLag` | `CMD_TOOBUSY_LAG` | **`70`** | CPU time for one event loop tick until node throttles connections. (milliseconds) |
| `staticCacheTime` | | **`1 * 24 * 60 * 60 * 1000`** | static file cache time |
| `heartbeatInterval` | | **`5000`** | socket.io heartbeat interval |
@@ -37,7 +37,7 @@ to `config.json` before filling in your own details.
| `documentMaxLength` | | **`100000`** | note max length |
| `linkifyHeaderStyle` | | **`keep-case`**, `lower-case`, `gfm` | how is a header text converted into a link id |
-## CodiMD paths stuff
+## HedgeDoc paths stuff
these are rarely used for various reasons.
@@ -46,28 +46,28 @@ these are rarely used for various reasons.
| `defaultNotePath` | | **`./public/default.md`** | default note file path<sup>1</sup>, empty notes will be created with this template. |
| `dhParamPath` | | **`undefined`**, `./cert/dhparam.pem` | SSL dhparam path<sup>1</sup> (only need when you set `useSSL`) |
| `sslCAPath` | | **`undefined`**, `['./cert/COMODORSAAddTrustCA.crt']` | SSL ca chain<sup>1</sup> (only need when you set `useSSL`) |
-| `sslCertPath` | | **`undefined`**, `./cert/codimd_io.crt` | SSL cert path<sup>1</sup> (only need when you set `useSSL`) |
+| `sslCertPath` | | **`undefined`**, `./cert/hedgedoc_io.crt` | SSL cert path<sup>1</sup> (only need when you set `useSSL`) |
| `sslKeyPath` | | **`undefined`**, `./cert/client.key` | SSL key path<sup>1</sup> (only need when you set `useSSL`) |
| `tmpPath` | | **`os.tmpdir()`**, `./tmp/` | temp directory path<sup>1</sup> |
| `docsPath` | | **`./public/docs`** | docs directory path<sup>1</sup> |
| `viewPath` | | **`./public/views`** | template directory path<sup>1</sup> |
| `uploadsPath` | | **`./public/uploads`** | uploads directory<sup>1</sup> - needs to be persistent when you use imageUploadType `filesystem` |
-**Note:** *relative paths are based on CodiMD's base directory*
+**Note:** *relative paths are based on HedgeDoc's base directory*
-## CodiMD Location
+## HedgeDoc Location
| config file | environment | **default** and example value | description |
| ---------------- | --------------------- | ---------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
-| `domain` | `CMD_DOMAIN` | **`null`**, `localhost`, `codimd.org` | domain name |
-| `urlPath` | `CMD_URL_PATH` | **`null`**, `codimd` | If CodiMD is run from a subdirectory like `www.example.com/<urlpath>` |
+| `domain` | `CMD_DOMAIN` | **`null`**, `localhost`, `hedgedoc.org` | domain name |
+| `urlPath` | `CMD_URL_PATH` | **`null`**, `hedgedoc` | If HedgeDoc is run from a subdirectory like `www.example.com/<urlpath>` |
| `host` | `CMD_HOST` | **`0.0.0.0`**, `localhost` | interface/ip to listen on |
| `port` | `CMD_PORT` | **`3000`**, `80` | port to listen on |
-| `path` | `CMD_PATH` | **no default**, `/var/run/codimd.sock` | path to UNIX domain socket to listen on (if specified, `host` or `CMD_HOST` and `port` or `CMD_PORT` are ignored) |
+| `path` | `CMD_PATH` | **no default**, `/var/run/hedgedoc.sock` | path to UNIX domain socket to listen on (if specified, `host` or `CMD_HOST` and `port` or `CMD_PORT` are ignored) |
| `protocolUseSSL` | `CMD_PROTOCOL_USESSL` | **`false`** or `true` | set to use SSL protocol for resources path (only applied when domain is set) |
| `useSSL` | | **`false`** or `true` | set to use SSL server (if `true`, will auto turn on `protocolUseSSL`) |
| `urlAddPort` | `CMD_URL_ADDPORT` | **`false`** or `true` | set to add port on callback URL (ports `80` or `443` won't be applied) (only applied when domain is set) |
-| `allowOrigin` | `CMD_ALLOW_ORIGIN` | **`['localhost']`**, `['codimd.org']`, `[localhost, codimd.org]` | domain name whitelist (use comma to separate) |
+| `allowOrigin` | `CMD_ALLOW_ORIGIN` | **`['localhost']`**, `['hedgedoc.org']`, `[localhost, hedgedoc.org]` | domain name whitelist (use comma to separate) |
## Web security aspects
@@ -166,8 +166,8 @@ these are rarely used for various reasons.
| | `CMD_LDAP_SEARCHBASE` | **no default**, `o=users,dc=example,dc=com` | LDAP directory to begin search from |
| | `CMD_LDAP_SEARCHFILTER` | **no default**, `(uid={{username}})` | LDAP filter to search with |
| | `CMD_LDAP_SEARCHATTRIBUTES` | **no default**, `displayName, mail` | LDAP attributes to search with (use comma to separate) |
-| | `CMD_LDAP_USERIDFIELD` | **no default**, `uidNumber` or `uid` or `sAMAccountName` | The LDAP field which is used uniquely identify a user on CodiMD |
-| | `CMD_LDAP_USERNAMEFIELD` | **no default**, fallback to userid | The LDAP field which is used as the username on CodiMD |
+| | `CMD_LDAP_USERIDFIELD` | **no default**, `uidNumber` or `uid` or `sAMAccountName` | The LDAP field which is used uniquely identify a user on HedgeDoc |
+| | `CMD_LDAP_USERNAMEFIELD` | **no default**, fallback to userid | The LDAP field which is used as the username on HedgeDoc |
| | `CMD_LDAP_TLS_CA` | **no default**, `server-cert.pem, root.pem` | Root CA for LDAP TLS in PEM format (use comma to separate) |
| | `CMD_LDAP_PROVIDERNAME` | **no default**, `My institution` | Optional name to be displayed at login form indicating the LDAP provider |
@@ -191,8 +191,8 @@ these are rarely used for various reasons.
| | `CMD_OAUTH2_USER_PROFILE_EMAIL_ATTR` | **no default**, `email` | where to find the email address in the JSON from the user profile URL. (no default value) |
| | `CMD_OAUTH2_TOKEN_URL` | **no default**, `https://example.com` | sometimes called token endpoint, please refer to the documentation of your OAuth2 provider (no default value) |
| | `CMD_OAUTH2_AUTHORIZATION_URL` | **no default**, `https://example.com` | authorization URL of your provider, please refer to the documentation of your OAuth2 provider (no default value) |
-| | `CMD_OAUTH2_CLIENT_ID` | **no default**, `afae02fckafd...` | you will get this from your OAuth2 provider when you register CodiMD as OAuth2-client, (no default value) |
-| | `CMD_OAUTH2_CLIENT_SECRET` | **no default**, `afae02fckafd...` | you will get this from your OAuth2 provider when you register CodiMD as OAuth2-client, (no default value) |
+| | `CMD_OAUTH2_CLIENT_ID` | **no default**, `afae02fckafd...` | you will get this from your OAuth2 provider when you register HedgeDoc as OAuth2-client, (no default value) |
+| | `CMD_OAUTH2_CLIENT_SECRET` | **no default**, `afae02fckafd...` | you will get this from your OAuth2 provider when you register HedgeDoc as OAuth2-client, (no default value) |
| | `CMD_OAUTH2_PROVIDERNAME` | **no default**, `My institution` | Optional name to be displayed at login form indicating the oAuth2 provider |
| | `CMD_OAUTH2_SCOPE` | **no default**, `openid email profile` | Scope to request for OIDC (OpenID Connect) providers. |
@@ -208,7 +208,7 @@ these are rarely used for various reasons.
| | `CMD_SAML_DISABLEREQUESTEDAUTHNCONTEXT` | **no default**, `true` or `false` | true to allow any authentication method, false restricts to password authentication (PasswordProtectedTransport) method (default: false) |
| | `CMD_SAML_IDENTIFIERFORMAT` | **`urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress`** | name identifier format (optional, default: `urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress`) |
| | `CMD_SAML_GROUPATTRIBUTE` | **no default**, `memberOf` | attribute name for group list (optional) |
-| | `CMD_SAML_REQUIREDGROUPS` | **no default**, `codimd-users` | group names that allowed (use vertical bar to separate) (optional) |
+| | `CMD_SAML_REQUIREDGROUPS` | **no default**, `hedgedoc-users` | group names that allowed (use vertical bar to separate) (optional) |
| | `CMD_SAML_EXTERNALGROUPS` | **no default**, `Temporary-staff` | group names that not allowed (use vertical bar to separate) (optional) |
| | `CMD_SAML_ATTRIBUTE_ID` | **no default**, `sAMAccountName` | attribute map for `id` (optional, default: NameID of SAML response) |
| | `CMD_SAML_ATTRIBUTE_USERNAME` | **no default**, `mailNickname` | attribute map for `username` (optional, default: NameID of SAML response) |
diff --git a/docs/dev/api.md b/docs/dev/api.md
index fbbdae83..5422533d 100644
--- a/docs/dev/api.md
+++ b/docs/dev/api.md
@@ -1,5 +1,5 @@
# API documentation
-Several tasks of CodiMD can be automated through HTTP requests.
+Several tasks of HedgeDoc can be automated through HTTP requests.
The available endpoints for this api are described in this document.
For code-autogeneration there is an OpenAPIv3-compatible description available [here](openapi.yml).
@@ -34,9 +34,9 @@ These endpoints return information about the current logged-in user and it's not
| `/history/<NOTE>` | `POST` | **Toggles the pinned status in the history for a note.**<br>The body must be form-encoded and contain a field `pinned` that is either `true` or `false`. |
| `/history/<NOTE>` | `DELETE` | **Deletes a note from the user's history.** |
-## CodiMD-server
-These endpoints return information about the running CodiMD instance.
+## HedgeDoc-server
+These endpoints return information about the running HedgeDoc instance.
| Endpoint | HTTP-Method | Description |
| --------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `/status` | `GET` | **Returns the current status of the CodiMD instance.**<br>The data is returned as a JSON object containing the number of notes stored on the server, (distinct) online users and more. |
+| `/status` | `GET` | **Returns the current status of the HedgeDoc instance.**<br>The data is returned as a JSON object containing the number of notes stored on the server, (distinct) online users and more. |
diff --git a/docs/dev/getting-started.md b/docs/dev/getting-started.md
index 7ed96944..9169ea4d 100644
--- a/docs/dev/getting-started.md
+++ b/docs/dev/getting-started.md
@@ -4,7 +4,7 @@
**Notice:** *There's [specialised instructions for docker](../setup/docker.md) or [heroku](../setup/heroku.md), if you prefer running code this way!*
-1. Clone the repository with `git clone https://github.com/codimd/server.git codimd-server`
+1. Clone the repository with `git clone https://github.com/hedgedoc/server.git hedgedoc-server`
(cloning is the preferred way, but you can also download and unzip a release)
2. Enter the directory and run `bin/setup`, which will install npm dependencies
@@ -16,7 +16,7 @@
## Running the Code
-Now that everything is in place, we can start CodiMD:
+Now that everything is in place, we can start HedgeDoc:
1. `yarn run build` will build the frontend bundle. It uses webpack to do that.
2. Run the server with `node app.js`
@@ -43,7 +43,7 @@ The repository contains two parts: a server (backend) and a client (frontend).
most of the server code is in `/lib` and most of the client code is in `public`.
```text
-codimd-server/
+hedgedoc-server/
├── docs/ --- documentation
├── lib/ --- server code
├── test/ --- test suite
diff --git a/docs/dev/openapi.yml b/docs/dev/openapi.yml
index 4d3e31f6..d32a7ef4 100644
--- a/docs/dev/openapi.yml
+++ b/docs/dev/openapi.yml
@@ -1,18 +1,18 @@
openapi: 3.0.1
info:
- title: CodiMD
- description: CodiMD is an open source collaborative note editor. Several tasks of CodiMD can be automated through this API.
+ title: HedgeDoc
+ description: HedgeDoc is an open source collaborative note editor. Several tasks of HedgeDoc can be automated through this API.
version: 1.6.0
contact:
- name: CodiMD on GitHub
- url: https://github.com/codimd/server
+ name: HedgeDoc on GitHub
+ url: https://github.com/hedgedoc/server
license:
name: AGPLv3
- url: https://github.com/codimd/server/blob/master/LICENSE
+ url: https://github.com/hedgedoc/server/blob/master/LICENSE
externalDocs:
- url: https://github.com/codimd/server/blob/master/docs/dev/api.md
+ url: https://github.com/hedgedoc/server/blob/master/docs/dev/api.md
paths:
@@ -281,7 +281,7 @@ paths:
tags:
- note
summary: Creates a new GitHub Gist with the note's content.
- description: 'If [GitHub integration](https://github.com/codimd/server/blob/master/docs/configuration-env-vars.md#github-login) is configured, the user will be redirected to GitHub and a new Gist with the content of the note will be created.'
+ description: 'If [GitHub integration](https://github.com/hedgedoc/server/blob/master/docs/configuration-env-vars.md#github-login) is configured, the user will be redirected to GitHub and a new Gist with the content of the note will be created.'
responses:
default:
description: Redirect to the created gist (or the GitHub authentication before)
@@ -432,7 +432,7 @@ paths:
get:
tags:
- server
- summary: Returns the current status of the CodiMD instance.
+ summary: Returns the current status of the HedgeDoc instance.
description: The data is returned as a JSON object containing the number of notes stored on the server, (distinct) online users and more.
responses:
200:
@@ -478,4 +478,4 @@ tags:
- name: user
description: These endpoints return information about the current logged-in user and it's note history. If no user is logged-in, the most of this requests will fail with either a HTTP 403 or a JSON object containing `{"status":"forbidden"}`.
- name: server
- description: These endpoints return information about the running CodiMD instance.
+ description: These endpoints return information about the running HedgeDoc instance.
diff --git a/docs/guides/auth/github.md b/docs/guides/auth/github.md
index dc46f74c..f540a530 100644
--- a/docs/guides/auth/github.md
+++ b/docs/guides/auth/github.md
@@ -1,7 +1,5 @@
# Authentication guide - GitHub
-*Note:* This guide was written before the renaming. Just replace `HackMD` with `CodiMD` in your mind :smile: thanks!
-
1. Sign-in or sign-up for a GitHub account
2. Navigate to developer settings in your GitHub account [here](https://github.com/settings/developers) and select the "OAuth Apps" tab
@@ -12,7 +10,7 @@
4. Fill out the new OAuth application registration form, and click **Register Application**
![register-oauth-application-form](../../images/auth/register-oauth-application-form.png)
- **Note:** *The callback URL is <your-codimd-url>/auth/github/callback*
+ **Note:** *The callback URL is <your-hedgedoc-url>/auth/github/callback*
5. After successfully registering the application, you'll receive the Client ID and Client Secret for the application
![application-page](../../images/auth/application-page.png)
diff --git a/docs/guides/auth/gitlab-self-hosted.md b/docs/guides/auth/gitlab-self-hosted.md
index 62ce1122..fc655ac5 100644
--- a/docs/guides/auth/gitlab-self-hosted.md
+++ b/docs/guides/auth/gitlab-self-hosted.md
@@ -1,6 +1,6 @@
# GitLab (self-hosted)
-*Note:* This guide was written before the renaming. Just replace `HackMD` with `CodiMD` in your mind :smile: thanks!
+*Note:* This guide was written before the renaming. Just replace `HackMD` with `HedgeDoc` in your mind :smile: thanks!
1. Sign in to your GitLab
2. Navigate to the application management page at `https://your.gitlab.domain/admin/applications` (admin permissions required)
@@ -16,7 +16,7 @@
6. In the `docker-compose.yml` add the following environment variables to `app:` `environment:`
```Dockerfile
-- CMD_DOMAIN=your.codimd.domain
+- CMD_DOMAIN=your.hedgedoc.domain
- CMD_URL_ADDPORT=true
- CMD_PROTOCOL_USESSL=true
- CMD_GITLAB_BASEURL=https://your.gitlab.domain
@@ -25,6 +25,6 @@
```
7. Run `docker-compose up -d` to apply your settings.
-8. Sign in to your CodiMD using your GitLab ID:
+8. Sign in to your HedgeDoc using your GitLab ID:
![Sign in via GitLab](../../images/auth/gitlab-sign-in.png)
diff --git a/docs/guides/auth/keycloak.md b/docs/guides/auth/keycloak.md
index 16e24bc5..6bb3ce7d 100644
--- a/docs/guides/auth/keycloak.md
+++ b/docs/guides/auth/keycloak.md
@@ -1,4 +1,4 @@
-OAuth with Keycloak/Red Hat SSO (self-hosted)
+# OAuth with Keycloak/Red Hat SSO (self-hosted)
## Prerequisites
@@ -13,7 +13,7 @@ Where HTTPS is specified throughout, use HTTP instead. You may also have to spec
You may note that a separate realm is specified throughout this tutorial. It is best practice not to use the master realm, as it normally contains the realm-management client that federates access using the policies and permissions you can create.
2. Navigate to the client management page at `https://keycloak.example.com/auth/admin/master/console/#/realms/your-realm/clients` (admin permissions required)
-3. Click **Create** to create a new client and fill out the registration form. You should set the Root URL to the fully qualified public URL of your CodiMD instance.
+3. Click **Create** to create a new client and fill out the registration form. You should set the Root URL to the fully qualified public URL of your HedgeDoc instance.
4. Click **Save**
5. Set the **Access Type** of the client to `confidential`. This will make your client require a client secret upon authentication.
@@ -24,7 +24,7 @@ You may note that a separate realm is specified throughout this tutorial. It is
1. Select Client Scopes from the sidebar, and begin to create a new client scope using the Create button.
2. Ensure that the **Name** field is set to `id`.
3. Create a new mapper under the Mappers tab. This should reference the User Property `id`. `Claim JSON Type` should be String and all switches below should be enabled. Save the mapper.
-4. Go to the client you set up in the previous steps using the Clients page, then choose the Client Scopes tab. Apply the scope you've created. This should mitigate errors as seen in [codimd/server#56](https://github.com/codimd/server/issues/56), as the `/userinfo` endpoint should now bring back the user's ID under the `id` key as well as `sub`.
+4. Go to the client you set up in the previous steps using the Clients page, then choose the Client Scopes tab. Apply the scope you've created. This should mitigate errors as seen in [hedgedoc/server#56](https://github.com/hedgedoc/server/issues/56), as the `/userinfo` endpoint should now bring back the user's ID under the `id` key as well as `sub`.
---
@@ -40,10 +40,10 @@ CMD_OAUTH2_AUTHORIZATION_URL=https://keycloak.example.com/auth/realms/your-realm
CMD_OAUTH2_CLIENT_ID=<your client ID>
CMD_OAUTH2_CLIENT_SECRET=<your client secret, which you can find under the Credentials tab for your client>
CMD_OAUTH2_PROVIDERNAME=Keycloak
-CMD_DOMAIN=<codimd.example.com>
+CMD_DOMAIN=<hedgedoc.example.com>
CMD_PROTOCOL_USESSL=true
CMD_URL_ADDPORT=false
```
6. Run `docker-compose up -d` to apply your settings.
-7. Sign in to your CodiMD using your Keycloak ID
+7. Sign in to your HedgeDoc using your Keycloak ID
diff --git a/docs/guides/auth/ldap-ad.md b/docs/guides/auth/ldap-ad.md
index fa41346e..b7d0284e 100644
--- a/docs/guides/auth/ldap-ad.md
+++ b/docs/guides/auth/ldap-ad.md
@@ -1,6 +1,6 @@
# AD LDAP auth
-To setup your CodiMD instance with Active Directory you need the following configs:
+To setup your HedgeDoc instance with Active Directory you need the following configs:
```env
CMD_LDAP_URL=ldap://internal.example.com
diff --git a/docs/guides/auth/mattermost-self-hosted.md b/docs/guides/auth/mattermost-self-hosted.md
index 5085b4e7..2ad2afd7 100644
--- a/docs/guides/auth/mattermost-self-hosted.md
+++ b/docs/guides/auth/mattermost-self-hosted.md
@@ -17,7 +17,7 @@ This guide uses the generic OAuth2 module for compatibility with Mattermost vers
5. Fill out the form and click **Save**
![mattermost-oauth-app-form](../../images/auth/mattermost-oauth-app-form.png)
-*Note: The callback URL is \<your-codimd-url\>/auth/oauth2/callback*
+*Note: The callback URL is \<your-hedgedoc-url\>/auth/oauth2/callback*
6. After saving the application, you'll receive the Client ID and Client Secret
![mattermost-oauth-app-done](../../images/auth/mattermost-oauth-app-done.png)
diff --git a/docs/guides/auth/nextcloud.md b/docs/guides/auth/nextcloud.md
index 8ce90ca9..e0eb28d1 100644
--- a/docs/guides/auth/nextcloud.md
+++ b/docs/guides/auth/nextcloud.md
@@ -11,14 +11,14 @@ This guide uses the generic OAuth2 module for compatibility with Nextcloud 13 an
At the top there's OAuth 2.0-Clients.
![Where to find OAuth2 in Nextcloud](../../images/auth/nextcloud-oauth2-1-settings.png)
-3. Add your CodiMD instance by giving it a *name* (perhaps CodiMD, but could be anything) and a *Redirection-URI*. The Redirection-URI will be `\<your-codimd-url\>/auth/oauth2/callback`. Click <kbd>Add</kbd>.
+3. Add your HedgeDoc instance by giving it a *name* (perhaps HedgeDoc, but could be anything) and a *Redirection-URI*. The Redirection-URI will be `\<your-hedgedoc-url\>/auth/oauth2/callback`. Click <kbd>Add</kbd>.
![Adding a client to Nextcloud](../../images/auth/nextcloud-oauth2-2-client-add.png)
4. You'll now see a line containing a *client identifier* and a *Secret*.
![Successfully added OAuth2-client](../../images/auth/nextcloud-oauth2-3-clientid-secret.png)
-5. That's it for Nextcloud, the rest is configured in your CodiMD `config.json` or via the `CMD_` environment variables!
+5. That's it for Nextcloud, the rest is configured in your HedgeDoc `config.json` or via the `CMD_` environment variables!
6. Add the Client ID and Client Secret to your `config.json` file or pass them as environment variables. Make sure you also replace `<your-nextcloud-domain>` with the right domain name.
- `config.json`:
diff --git a/docs/guides/auth/saml-keycloak.md b/docs/guides/auth/saml-keycloak.md
index 5caf3766..1bc3b363 100644
--- a/docs/guides/auth/saml-keycloak.md
+++ b/docs/guides/auth/saml-keycloak.md
@@ -1,34 +1,34 @@
-# How to setup CodiMD SAML with Keycloak
+# How to setup HedgeDoc SAML with Keycloak
## Configuring Keycloak
### Get the public certificate
-1. Select the Realm you want to use for your CodiMD SAML
+1. Select the Realm you want to use for your HedgeDoc SAML
2. Select "Realm Settings" in left sidebar
3. Select the "Keys" tab
4. Click the button "Certificate" at `RS256` algorithm
![keycloak_idp_cert](../../images/auth/keycloak_idp_cert.png)
-5. Copy this key and save it to the file specified in `saml.idpCert` property of the CodiMD configuration or `CMD_SAML_IDPCERT` environment variable
+5. Copy this key and save it to the file specified in `saml.idpCert` property of the HedgeDoc configuration or `CMD_SAML_IDPCERT` environment variable
### Create a new client
1. Select "Client" in left sidebar
![keycloak_clients_overview](../../images/auth/keycloak_clients_overview.png)
2. Click on the "Create" button
-3. Set a Client ID and specify this in `saml.issuer` property of the CodiMD configuration or `CMD_SAML_ISSUER` environment variable
+3. Set a Client ID and specify this in `saml.issuer` property of the HedgeDoc configuration or `CMD_SAML_ISSUER` environment variable
4. Select `SAML` as Client Protocol
-5. Set Client SAML Endpoint to `https://codimd.example.com/auth/saml` (replace `https://codimd.example.com` with the base URL of your CodiMD installation)
+5. Set Client SAML Endpoint to `https://hedgedoc.example.com/auth/saml` (replace `https://hedgedoc.example.com` with the base URL of your HedgeDoc installation)
![keycloak_add_client](../../images/auth/keycloak_add_client.png)
6. Leave "Client Signature Required" enabled
-7. Set Root URL to `https://codimd.example.com` (replace it here also with the base URL of your CodiMD installation)
-8. Set Valid Redirect URIs to `https://codimd.example.com/auth/saml/callback` (you should also define all other domains of your CodiMD installtion with the suffix `/auth/saml/callback`)
+7. Set Root URL to `https://hedgedoc.example.com` (replace it here also with the base URL of your HedgeDoc installation)
+8. Set Valid Redirect URIs to `https://hedgedoc.example.com/auth/saml/callback` (you should also define all other domains of your HedgeDoc installtion with the suffix `/auth/saml/callback`)
9. Set Base URL to `/`
![keycloak_client_overview](../../images/auth/keycloak_client_overview.png)
10. _(optional)_ You can set which Name ID Format should be used
-## Configure CodiMD
+## Configure HedgeDoc
### Config file
You have to put the following block inside your `config.json`:
```json
"saml": {
- "issuer": "codimd", // Change to the "Client ID" specified in the Keycloak Client
+ "issuer": "hedgedoc", // Change to the "Client ID" specified in the Keycloak Client
"identifierFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified",
"idpSsoUrl": "https://keycloak.example.org/auth/realms/test/protocol/saml", // replace keycloak.example.org with the url of your keycloak server
"idpCert": "/path/to/the/cert.pem",
@@ -40,12 +40,12 @@ You have to put the following block inside your `config.json`:
- `CMD_SAML_IDPSSOURL`: `https://keycloak.example.org/auth/realms/test/protocol/saml` (replace keycloak.example.org with the url of your keycloak server)
- `CMD_SAML_IDPCERT`: `/path/to/the/cert.pem`
- *(optional, see below)* `CMD_SAML_CLIENTCERT`: `/path/to/the/key.pem`
-- `CMD_SAML_ISSUER`: `codimd` (Change to the "Client ID" specified in the Keycloak Client)
+- `CMD_SAML_ISSUER`: `hedgedoc` (Change to the "Client ID" specified in the Keycloak Client)
- `CMD_SAML_IDENTIFIERFORMAT`: `urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified`
## Client certificate *(optional)*
-If you want keycloak to be able to verify CodiMD, you hava to create a client certificate. There are two options for this:
+If you want keycloak to be able to verify HedgeDoc, you hava to create a client certificate. There are two options for this:
### Create Private Keys for Signing
1. Generate the private key and certificate with the following commands:
@@ -56,7 +56,7 @@ openssl req -new -x509 -key priv.pem -out cert.pem
*execute the following steps in keycloak*
2. Select "Client" in left sidebar
-3. Go to your CodiMD-Client
+3. Go to your HedgeDoc-Client
4. Select the "SAML Keys" tab
![keycloak_saml_import_cert](../../images/auth/keycloak_saml_import_cert.png)
5. Click on "Import"
@@ -64,14 +64,14 @@ openssl req -new -x509 -key priv.pem -out cert.pem
7. Now upload the generated cert.pem (in this case named `cert.pem`)
![keycloak_saml_import_cert_details](../../images/auth/keycloak_saml_import_cert_details.png)
8. Click on "Import"
-9. Move or copy this key (in this case named `key.pem`) and save it to the file specified in `saml.clientCert` property of the CodiMD configuration or in the enviroment-variable `CMD_SAML_CLIENTCERT`
+9. Move or copy this key (in this case named `key.pem`) and save it to the file specified in `saml.clientCert` property of the HedgeDoc configuration or in the enviroment-variable `CMD_SAML_CLIENTCERT`
### Convert Private Certificate generated by KeyCloak
Instead if generating you own certificate, you can also use the one generated by keycloak.
1. Select "Client" in left sidebar
-2. Go to your CodiMD-Client
+2. Go to your HedgeDoc-Client
3. Select the "SAML Keys" tab
![keycloak_saml_export_cert](../../images/auth/keycloak_saml_export_cert.png)
@@ -83,14 +83,14 @@ Instead if generating you own certificate, you can also use the one generated by
```shell
openssl pkcs12 -in keystore.p12 -out key.pem -nocerts -nodes
```
-8. Move or copy this key (in this case named `key.pem`) and save it to the file specified in `saml.idpCert` property of the CodiMD configuration or in the enviroment-variable `CMD_SAML_CLIENTCERT`
+8. Move or copy this key (in this case named `key.pem`) and save it to the file specified in `saml.idpCert` property of the HedgeDoc configuration or in the enviroment-variable `CMD_SAML_CLIENTCERT`
## Use Persistent Identifiers
-Instead of using the username as the owner-key in the CodiMD database, you can also use a persistent identifier. This allows to change the username, without them loosing access to their notes.
+Instead of using the username as the owner-key in the HedgeDoc database, you can also use a persistent identifier. This allows to change the username, without them loosing access to their notes.
-1. Go to the CodiMD-Client in keycloak. Now enable the option "Force Name ID Format" and select "persistent" as the "Name ID Format".
+1. Go to the HedgeDoc-Client in keycloak. Now enable the option "Force Name ID Format" and select "persistent" as the "Name ID Format".
![keycloak_force_idformat](../../images/auth/keycloak_force_idformat.png)
-2. For codimd to be able to use the username and email configured in keycloak, you have to create the following SAML protocol mappers:
+2. For HedgeDoc to be able to use the username and email configured in keycloak, you have to create the following SAML protocol mappers:
2.1. Create a mapper with the type `User Property`. Set the Name, Property and SAML Attribute Name to `username`. Now you can specify a friendly name (for example `Username`)
![keycloak_mapper_username](../../images/auth/keycloak_mapper_username.png)
2.2 Create a mapper with the type `User Property`. Set the Name, Property and SAML Attribute Name to `email`. Now you can specify a friendly name (for example `E-Mail`)
@@ -106,7 +106,7 @@ The configured mappers should look like this:
"email": "email",
}
```
-It you configure CodiMD with enviroment variables, these are the ones you have to set:
+It you configure HedgeDoc with enviroment variables, these are the ones you have to set:
```bash
CMD_SAML_ATTRIBUTE_USERNAME=username
CMD_SAML_ATTRIBUTE_EMAIL=email
diff --git a/docs/guides/auth/saml-onelogin.md b/docs/guides/auth/saml-onelogin.md
index 46134e60..8b897c82 100644
--- a/docs/guides/auth/saml-onelogin.md
+++ b/docs/guides/auth/saml-onelogin.md
@@ -1,6 +1,6 @@
# Authentication guide - SAML (OneLogin)
-**Note:** *This guide was written before the renaming. Just replace `HackMD` with `CodiMD` in your mind :smile: thanks!*
+**Note:** *This guide was written before the renaming. Just replace `HackMD` with `HedgeDoc` in your mind :smile: thanks!*
1. Sign-in or sign-up for an OneLogin account. (available free trial for 2 weeks)
@@ -16,9 +16,9 @@
![onelogin-edit-app-name](../../images/auth/onelogin-edit-app-name.png)
6. After that other tabs will appear, click the **Configuration**, and fill out the below items, and click **SAVE**.
- - RelayState: The base URL of your CodiMD, which is issuer. (last slash is not needed)
+ - RelayState: The base URL of your HedgeDoc, which is issuer. (last slash is not needed)
- - ACS (Consumer) URL Validator: The callback URL of your CodiMD. (serverurl + /auth/saml/callback)
+ - ACS (Consumer) URL Validator: The callback URL of your HedgeDoc. (serverurl + /auth/saml/callback)
- ACS (Consumer) URL: same as above.
@@ -31,7 +31,7 @@
- SAML 2.0 Endpoint (HTTP): Copy the URL ....(B)
![onelogin-copy-idp-metadata](../../images/auth/onelogin-copy-idp-metadata.png)
-8. In your CodiMD server, create IdP certificate file from (A)
+8. In your HedgeDoc server, create IdP certificate file from (A)
9. Add the IdP URL (B) and the Idp certificate file path to your config.json file or pass them as environment variables.
- `config.json`:
```javascript
@@ -51,5 +51,5 @@
CMD_SAML_IDPCERT=/path/to/idp_cert.pem
```
-10. Try sign-in with SAML from your CodiMD sign-in button or OneLogin dashboard (like the screenshot below).
+10. Try sign-in with SAML from your HedgeDoc sign-in button or OneLogin dashboard (like the screenshot below).
![onelogin-use-dashboard](../../images/auth/onelogin-use-dashboard.png)
diff --git a/docs/guides/auth/saml.md b/docs/guides/auth/saml.md
index 3b8291b7..58a2ae45 100644
--- a/docs/guides/auth/saml.md
+++ b/docs/guides/auth/saml.md
@@ -1,6 +1,6 @@
# Authentication guide - SAML
-*Note:* This guide was written before the renaming. Just replace `HackMD` with `CodiMD` in your mind :smile: thanks!
+*Note:* This guide was written before the renaming. Just replace `HackMD` with `HedgeDoc` in your mind :smile: thanks!
The basic procedure is the same as the case of OneLogin which is mentioned in [OneLogin-Guide](./saml-onelogin.md). If you want to match your IdP, you can use more configurations as below.
@@ -9,7 +9,7 @@ The basic procedure is the same as the case of OneLogin which is mentioned in [O
- *Note:* If not accessible from IdP, download to local once and upload to IdP.
- Change the value of `issuer`, `identifierFormat` to match your IdP.
- - `issuer`: A unique id to identify the application to the IdP, which is the base URL of your CodiMD as default
+ - `issuer`: A unique id to identify the application to the IdP, which is the base URL of your HedgeDoc as default
- `identifierFormat`: A format of unique id to identify the user of IdP, which is the format based on email address as default. It is recommend that you use as below.
- urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress (default)
@@ -21,7 +21,7 @@ The basic procedure is the same as the case of OneLogin which is mentioned in [O
"production": {
"saml": {
/* omitted */
- "issuer": "mycodimd"
+ "issuer": "myhedgedoc"
"identifierFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"
}
}
@@ -30,16 +30,16 @@ The basic procedure is the same as the case of OneLogin which is mentioned in [O
- environment variables
```env
- CMD_SAML_ISSUER=mycodimd
+ CMD_SAML_ISSUER=myhedgedoc
CMD_SAML_IDENTIFIERFORMAT=urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified
```
- Change mapping of attribute names to customize the displaying user name and email address to match your IdP.
- `attribute`: A dictionary to map attribute names
- - `attribute.id`: A primary key of user table for your CodiMD
+ - `attribute.id`: A primary key of user table for your HedgeDoc
- - `attribute.username`: Attribute name of displaying user name on CodiMD
+ - `attribute.username`: Attribute name of displaying user name on HedgeDoc
- `attribute.email`: Attribute name of email address, which will be also used for Gravatar
- *Note:* Default value of all attributes is NameID of SAML response, which is email address if `identifierFormat` is default.
@@ -70,9 +70,9 @@ The basic procedure is the same as the case of OneLogin which is mentioned in [O
- If you want to control permission by group membership, add group attribute name and required group (allowed) or external group (not allowed).
- `groupAttribute`: An attribute name of group membership
- - `requiredGroups`: Group names array for allowed access to CodiMD. Use vertical bar to separate for environment variables.
+ - `requiredGroups`: Group names array for allowed access to HedgeDoc. Use vertical bar to separate for environment variables.
- - `externalGroups`: Group names array for not allowed access to CodiMD. Use vertical bar to separate for environment variables.
+ - `externalGroups`: Group names array for not allowed access to HedgeDoc. Use vertical bar to separate for environment variables.
- *Note:* Evaluates `externalGroups` first
- `config.json`:
@@ -82,7 +82,7 @@ The basic procedure is the same as the case of OneLogin which is mentioned in [O
"saml": {
/* omitted */
"groupAttribute": "memberOf",
- "requiredGroups": [ "codimd-users", "board-members" ],
+ "requiredGroups": [ "hedgedoc-users", "board-members" ],
"externalGroups": [ "temporary-staff" ]
}
}
@@ -92,6 +92,6 @@ The basic procedure is the same as the case of OneLogin which is mentioned in [O
- environment variables
```sh
CMD_SAML_GROUPATTRIBUTE=memberOf
- CMD_SAML_REQUIREDGROUPS=codimd-users|board-members
+ CMD_SAML_REQUIREDGROUPS=hedgedoc-users|board-members
CMD_SAML_EXTERNALGROUPS=temporary-staff
```
diff --git a/docs/guides/auth/twitter.md b/docs/guides/auth/twitter.md
index 5e709bb4..cbb8c865 100644
--- a/docs/guides/auth/twitter.md
+++ b/docs/guides/auth/twitter.md
@@ -1,6 +1,6 @@
# Authentication guide - Twitter
-*Note:* This guide was written before the renaming. Just replace `HackMD` with `CodiMD` in your mind :smile: thanks!
+*Note:* This guide was written before the renaming. Just replace `HackMD` with `HedgeDoc` in your mind :smile: thanks!
1. Sign-in or sign-up for a Twitter account
diff --git a/docs/guides/migrate-etherpad.md b/docs/guides/migrate-etherpad.md
index b501d9ac..00a48d2f 100644
--- a/docs/guides/migrate-etherpad.md
+++ b/docs/guides/migrate-etherpad.md
@@ -1,11 +1,11 @@
# Pad migration guide from etherpad-lite
The goal of this migration is to do a "dumb" import from all the pads in Etherpad, to notes in
-CodiMD. In particular, the url locations of the pads in Etherpad will be lost. Furthermore, any
+HedgeDoc. In particular, the url locations of the pads in Etherpad will be lost. Furthermore, any
metadata in Etherpad, such as revisions, author data and also formatted text will not be migrated
-to CodiMD (only the plain text contents).
+to HedgeDoc (only the plain text contents).
-Note that this guide is not really meant as a support guide. I migrated my own Etherpad to CodiMD,
+Note that this guide is not really meant as a support guide. I migrated my own Etherpad to HedgeDoc,
and it turned out to be quite easy in my opinion. In this guide I share my experience. Stuff may
require some creativity to work properly in your case. When I wrote this guide, I was using
[etherpad 1.7.0][] and [codimd 1.2.1][]. Good luck!
@@ -14,8 +14,8 @@ require some creativity to work properly in your case. When I wrote this guide,
- `curl`
- running Etherpad server
-- running CodiMD server
-- [codimd-cli][]
+- running HedgeDoc server
+- [hedgedoc-cli][]
## 1. Retrieve the list of pads
@@ -36,26 +36,26 @@ weddingchecklist
## 2. Run the migration
-Download [codimd-cli][] and put the script in the same directory as the file containing the pad names.
+Download [hedgedoc-cli][] and put the script in the same directory as the file containing the pad names.
Add to this directory the file listed below, I called it `migrate-etherpad.sh`. Modify at least the
-configuration settings `ETHERPAD_SERVER` and `CODIMD_SERVER`.
+configuration settings `ETHERPAD_SERVER` and `HEDGEDOC_SERVER`.
```shell
#!/bin/sh
# migrate-etherpad.sh
#
-# Description: Migrate pads from etherpad to codimd
+# Description: Migrate pads from etherpad to HedgeDoc
# Author: Daan Sprenkels <hello@dsprenkels.com>
-# This script uses the codimd command line script[1] to import a list of pads from
-# [1]: https://github.com/codimd/cli/blob/master/bin/codimd
+# This script uses the HedgeDoc command line script[1] to import a list of pads from
+# [1]: https://github.com/hedgedoc/cli/blob/master/bin/hedgedoc
# The base url to where etherpad is hosted
ETHERPAD_SERVER="https://etherpad.example.com"
-# The base url where codimd is hosted
-CODIMD_SERVER="https://codimd.example.com"
+# The base url where HedgeDoc is hosted
+HEDGEDOC_SERVER="https://hedgedoc.example.com"
# Write a list of pads and the urls which they were migrated to
REDIRECTS_FILE="redirects.txt"
@@ -73,8 +73,8 @@ for PAD_NAME in $1; do
PAD_FILE="$(mktemp)"
curl "$ETHERPAD_SERVER/p/$PAD_NAME/export/txt" >"$PAD_FILE"
- # Import the pad into codimd
- OUTPUT="$(./codimd import "$PAD_FILE")"
+ # Import the pad into HedgeDoc
+ OUTPUT="$(./hedgedoc import "$PAD_FILE")"
echo "$PAD_NAME -> $OUTPUT" >>"$REDIRECTS_FILE"
done
```
@@ -85,7 +85,7 @@ Call this file like this:
./migrate-etherpad.sh pad_names.txt
```
-This will download all the pads in `pad_names.txt` and put them on CodiMD. They will get assigned
+This will download all the pads in `pad_names.txt` and put them on HedgeDoc. They will get assigned
random ids, so you won't be able to find them. The script will save the mappings to a file though
(in my case `redirects.txt`). You can use this file to redirect your users when they visit your
etherpad using a `301 Permanent Redirect` status code (see the next section).
@@ -95,10 +95,10 @@ etherpad using a `301 Permanent Redirect` status code (see the next section).
I got a `redirects.txt` file that looked a bit like this:
```log
-date-ideas -> Found. Redirecting to https://codimd.example.com/mPt0KfiKSBOTQ3mNcdfn
-groceries -> Found. Redirecting to https://codimd.example.com/UukqgwLfhYyUUtARlcJ2_y
-london -> Found. Redirecting to https://codimd.example.com/_d3wa-BE8t4Swv5w7O2_9R
-weddingchecklist -> Found. Redirecting to https://codimd.example.com/XcQGqlBjl0u40wfT0N8TzQ
+date-ideas -> Found. Redirecting to https://hedgedoc.example.com/mPt0KfiKSBOTQ3mNcdfn
+groceries -> Found. Redirecting to https://hedgedoc.example.com/UukqgwLfhYyUUtARlcJ2_y
+london -> Found. Redirecting to https://hedgedoc.example.com/_d3wa-BE8t4Swv5w7O2_9R
+weddingchecklist -> Found. Redirecting to https://hedgedoc.example.com/XcQGqlBjl0u40wfT0N8TzQ
(...)
```
@@ -106,16 +106,16 @@ Using some `sed` magic, I changed it to an nginx config snippet:
```nginx
location = /p/date-ideas {
- return 301 https://codimd.example.com/mPt0M1KfiKSBOTQ3mNcdfn;
+ return 301 https://hedgedoc.example.com/mPt0M1KfiKSBOTQ3mNcdfn;
}
location = /p/groceries {
- return 301 https://codimd.example.com/UukqgwLfhYyUUtARlcJ2_y;
+ return 301 https://hedgedoc.example.com/UukqgwLfhYyUUtARlcJ2_y;
}
location = /p/london {
- return 301 https://codimd.example.com/_d3wa-BE8t4Swv5w7O2_9R;
+ return 301 https://hedgedoc.example.com/_d3wa-BE8t4Swv5w7O2_9R;
}
location = /p/weddingchecklist {
- return 301 https://codimd.example.com/XcQGqlBjl0u40wfT0N8TzQ;
+ return 301 https://hedgedoc.example.com/XcQGqlBjl0u40wfT0N8TzQ;
}
```
@@ -123,6 +123,6 @@ I put this file into my `etherpad.example.com` nginx config, such that all the u
redirected accordingly.
[etherpad 1.7.0]: https://github.com/ether/etherpad-lite/tree/1.7.0
-[codimd 1.2.1]: https://github.com/codimd/server/tree/1.2.1
-[codimd-cli]: https://github.com/codimd/cli/blob/master/bin/codimd
+[codimd 1.2.1]: https://github.com/hedgedoc/server/tree/1.2.1
+[hedgedoc-cli]: https://github.com/hedgedoc/cli/blob/master/bin/hedgedoc
[howtolistallpads]: https://github.com/ether/etherpad-lite/wiki/How-to-list-all-pads/49701ecdcbe07aea7ad27ffa23aed0d99c2e17db
diff --git a/docs/guides/migrations-and-breaking-changes.md b/docs/guides/migrations-and-breaking-changes.md
index 593af446..20fa40f5 100644
--- a/docs/guides/migrations-and-breaking-changes.md
+++ b/docs/guides/migrations-and-breaking-changes.md
@@ -9,20 +9,20 @@ We dropped support for node 6 with this version. If you have any trouble running
This is not a breaking change, but to stay up to date with the community
repository, you may need to update a few urls. This is not a breaking change.
-See more at [issue #10](https://github.com/codimd/server/issues/10)
+See more at [issue #10](https://github.com/hedgedoc/server/issues/10)
### Native setup using git
-Change the upstream remote using `git remote set-url origin https://github.com/codimd/server.git`.
+Change the upstream remote using `git remote set-url origin https://github.com/hedgedoc/server.git`.
### Docker
-When you use our [container repository](https://github.com/codimd/container)
-(which was previously `codimd-container`) all you can simply run `git pull` and
+When you use our [container repository](https://github.com/hedgedoc/container)
+(which was previously `hedgedoc-container`) all you can simply run `git pull` and
your `docker-compose.yml` will be updated.
When you setup things yourself, make sure you use the new image:
-[`quay.io/codimd/server`](https://quay.io/repository/codimd/server?tab=tags).
+[`quay.io/hedgedoc/server`](https://quay.io/repository/hedgedoc/server?tab=tags).
### Heroku
diff --git a/docs/guides/minio-image-upload.md b/docs/guides/minio-image-upload.md
index 78ddd6ec..41d9b14e 100644
--- a/docs/guides/minio-image-upload.md
+++ b/docs/guides/minio-image-upload.md
@@ -1,6 +1,6 @@
-# Minio Guide for CodiMD
+# Minio Guide for HedgeDoc
-*Note:* This guide was written before the renaming. Just replace `HackMD` with `CodiMD` in your mind :smile: thanks!
+*Note:* This guide was written before the renaming. Just replace `HackMD` with `HedgeDoc` in your mind :smile: thanks!
1. First of all you need to setup Minio itself.
@@ -27,7 +27,7 @@
![minio default view](../images/minio-image-upload/default-view.png)
-4. Create a bucket for CodiMD
+4. Create a bucket for HedgeDoc
![minio create bucket](../images/minio-image-upload/create-bucket.png)
@@ -39,7 +39,7 @@
![minio policy adding](../images/minio-image-upload/create-policy.png)
*Add policy for uploads*
-6. Set credentials and configs for Minio in CodiMD's `config.json`
+6. Set credentials and configs for Minio in HedgeDoc's `config.json`
```JSON
"minio": {
@@ -57,7 +57,7 @@
7. Set bucket name
```JSON
- "s3bucket": "codimd"
+ "s3bucket": "hedgedoc"
```
8. Set upload type.
@@ -78,7 +78,7 @@
"port": 9000,
"secure": false
},
- "s3bucket": "codimd",
+ "s3bucket": "hedgedoc",
"imageuploadtype": "minio"
}
```
diff --git a/docs/guides/providing-terms.md b/docs/guides/providing-terms.md
index c9330735..54a792f6 100644
--- a/docs/guides/providing-terms.md
+++ b/docs/guides/providing-terms.md
@@ -4,7 +4,7 @@
To setup your terms of use, you need to provide a document called `terms-of-use.md` which contains them. Of course written in Markdown.
-It has to be provided under `./public/docs/` and will be automatically turned into a CodiMD document. It will also automatically updated as soon as you change the document on disk.
+It has to be provided under `./public/docs/` and will be automatically turned into a HedgeDoc document. It will also automatically updated as soon as you change the document on disk.
As soon as the file exists a link will show up in the bottom part along with the release notes and link to them.
@@ -20,6 +20,6 @@ As with the terms of use, a link to the privacy notices will show up in the area
To add an imprint you can use the same technique as for the terms of use. The main difference is that the document is called `imprint.md`.
-It has to be provided under `./public/docs/` and will be automatically turned into a CodiMD document. It will also automatically updated as soon as you change the document on disk.
+It has to be provided under `./public/docs/` and will be automatically turned into a HedgeDoc document. It will also automatically updated as soon as you change the document on disk.
As with the terms of use, a link to the imprint will show up in the area where the release notes are provided on the index page.
diff --git a/docs/guides/s3-image-upload.md b/docs/guides/s3-image-upload.md
index cb3ae79f..740dec53 100644
--- a/docs/guides/s3-image-upload.md
+++ b/docs/guides/s3-image-upload.md
@@ -1,6 +1,6 @@
-# Guide - Setup CodiMD S3 image upload
+# Guide - Setup HedgeDoc S3 image upload
-**Note:** *This guide was written before the renaming. Just replace `HackMD` with `CodiMD` in your mind :smile: thanks!*
+**Note:** *This guide was written before the renaming. Just replace `HackMD` with `HedgeDoc` in your mind :smile: thanks!*
1. Go to [AWS S3 console](https://console.aws.amazon.com/s3/home) and create a new bucket.
![create-bucket](../images/s3-image-upload/create-bucket.png)
diff --git a/docs/history.md b/docs/history.md
index 7c77987c..47792e3b 100644
--- a/docs/history.md
+++ b/docs/history.md
@@ -1,4 +1,4 @@
-# History of CodiMD
+# History of HedgeDoc
## It started with HackMD
@@ -34,4 +34,8 @@ move the repository, so we simply forked it. We still welcome the HackMD team
as part of our community, especially since a large portion of this code base
originated with them.
-*For the debate that lead to this step, please refer to the [governance debate](https://github.com/hackmdio/hackmd/issues/1170) and [the announcement of the new repository](https://github.com/codimd/server/issues/10).*
+*For the debate that lead to this step, please refer to the [governance debate](https://github.com/hackmdio/hackmd/issues/1170) and [the announcement of the new repository](https://github.com/hedgedoc/server/issues/10).*
+
+## CodiMD became HedgeDoc
+
+<to be filled>
diff --git a/docs/setup/cloudron.md b/docs/setup/cloudron.md
index f2ba8b97..3085e6bd 100644
--- a/docs/setup/cloudron.md
+++ b/docs/setup/cloudron.md
@@ -1,10 +1,10 @@
# Cloudron
-CodiMD is available as a 1-click install on [Cloudron](https://cloudron.io). Cloudron makes it easy to run apps like CodiMD on your server and keep them up-to-date and secure.
+HedgeDoc is available as a 1-click install on [Cloudron](https://cloudron.io). Cloudron makes it easy to run apps like HedgeDoc on your server and keep them up-to-date and secure.
[![Install](https://cloudron.io/img/button.svg)](https://cloudron.io/button.html?app=io.hackmd.cloudronapp)
The source code for the package can be found [here](https://git.cloudron.io/cloudron/codimd-app).
There is a [demo instance](https://my.demo.cloudron.io) (username: cloudron password: cloudron) where
-you can experiment with running CodiMD.
+you can experiment with running HedgeDoc.
diff --git a/docs/setup/docker-linuxserver.md b/docs/setup/docker-linuxserver.md
index 344bcfab..58d5c8da 100644
--- a/docs/setup/docker-linuxserver.md
+++ b/docs/setup/docker-linuxserver.md
@@ -1,12 +1,12 @@
-# LinuxServer.io CodiMD Image
+# LinuxServer.io HedgeDoc Image
[![LinuxServer.io Discord](https://img.shields.io/discord/354974912613449730.svg?logo=discord&label=LSIO%20Discord&style=flat-square)](https://discord.gg/YWrKVTn)[![container version badge](https://images.microbadger.com/badges/version/linuxserver/codimd.svg)](https://microbadger.com/images/linuxserver/codimd "Get your own version badge on microbadger.com")[![container image size badge](https://images.microbadger.com/badges/image/linuxserver/codimd.svg)](https://microbadger.com/images/linuxserver/codimd "Get your own version badge on microbadger.com")![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/codimd.svg)![Docker Stars](https://img.shields.io/docker/stars/linuxserver/codimd.svg)[![Build Status](https://ci.linuxserver.io/buildStatus/icon?job=Docker-Pipeline-Builders/docker-codimd/master)](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-codimd/job/master/)[![LinuxServer.io CI summary](https://lsio-ci.ams3.digitaloceanspaces.com/linuxserver/codimd/latest/badge.svg)](https://lsio-ci.ams3.digitaloceanspaces.com/linuxserver/codimd/latest/index.html)
[LinuxServer.io](https://linuxserver.io) have created an Ubuntu-based multi-arch container image for x86-64, arm64 and armhf which supports PDF export from all architectures using [PhantomJS](https://phantomjs.org/).
- It supports all the environment variables detailed in the [configuration documentation](../configuration-env-vars.md) to modify it according to your needs.
-- It gets rebuilt on new releases from CodiMD and also weekly if necessary to update any other package changes in the underlying container, making it easy to keep your CodiMD instance up to date.
-- It also details how to easily [utilize Docker networking to reverse proxy](https://github.com/linuxserver/docker-codimd/#application-setup) CodiMD using their [LetsEncrypt docker image](https://github.com/linuxserver/docker-letsencrypt)
+- It gets rebuilt on new releases from HedgeDoc and also weekly if necessary to update any other package changes in the underlying container, making it easy to keep your HedgeDoc instance up to date.
+- It also details how to easily [utilize Docker networking to reverse proxy](https://github.com/linuxserver/docker-codimd/#application-setup) HedgeDoc using their [LetsEncrypt docker image](https://github.com/linuxserver/docker-letsencrypt)
-In order to contribute check the LinuxServer.io [GitHub repository](https://github.com/linuxserver/docker-codimd/) for CodiMD.
+In order to contribute check the LinuxServer.io [GitHub repository](https://github.com/linuxserver/docker-codimd/) for HedgeDoc.
And to find all tags and versions of the image, check the [Docker Hub repository](https://hub.docker.com/r/linuxserver/codimd).
diff --git a/docs/setup/docker.md b/docs/setup/docker.md
index a9a8b240..894dcd4c 100644
--- a/docs/setup/docker.md
+++ b/docs/setup/docker.md
@@ -1,20 +1,20 @@
-# CodiMD Docker Image
+# HedgeDoc Docker Image
-[![Try in PWD](https://cdn.rawgit.com/play-with-docker/stacks/cff22438/assets/images/button.png)](http://play-with-docker.com?stack=https://github.com/codimd/container/raw/master/docker-compose.yml&stack_name=codimd)
+[![Try in PWD](https://cdn.rawgit.com/play-with-docker/stacks/cff22438/assets/images/button.png)](http://play-with-docker.com?stack=https://github.com/hedgedoc/container/raw/master/docker-compose.yml&stack_name=hedgedoc)
## Debian-based version
-[![Docker Repository on Quay](https://quay.io/repository/codimd/server/status "Docker Repository on Quay")](https://quay.io/repository/codimd/server)
+[![Docker Repository on Quay](https://quay.io/repository/hedgedoc/server/status "Docker Repository on Quay")](https://quay.io/repository/hedgedoc/server)
## Alpine-based version
-[![Docker Repository on Quay](https://quay.io/repository/codimd/server/status "Docker Repository on Quay")](https://quay.io/repository/codimd/server)
+[![Docker Repository on Quay](https://quay.io/repository/hedgedoc/server/status "Docker Repository on Quay")](https://quay.io/repository/hedgedoc/server)
-The easiest way to setup CodiMD using docker are using the following three commands:
+The easiest way to setup HedgeDoc using docker are using the following three commands:
```sh
-git clone https://github.com/codimd/container.git codimd-container
-cd codimd-container
+git clone https://github.com/hedgedoc/container.git hedgedoc-container
+cd hedgedoc-container
docker-compose up
```
-Read more about it in the [container repository](https://github.com/codimd/container).
+Read more about it in the [container repository](https://github.com/hedgedoc/container).
diff --git a/docs/setup/heroku.md b/docs/setup/heroku.md
index 9f62e58c..ea1356d1 100644
--- a/docs/setup/heroku.md
+++ b/docs/setup/heroku.md
@@ -1,6 +1,6 @@
# Heroku Deployment
-You can quickly setup a sample Heroku CodiMD application by clicking the button
+You can quickly setup a sample Heroku HedgeDoc application by clicking the button
below.
-[![Deploy on Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/codimd/server/tree/master)
+[![Deploy on Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/hedgedoc/server/tree/master)
diff --git a/docs/setup/kubernetes.md b/docs/setup/kubernetes.md
index 91c57188..6706b911 100644
--- a/docs/setup/kubernetes.md
+++ b/docs/setup/kubernetes.md
@@ -2,4 +2,4 @@
To install use `helm install stable/hackmd`.
-For all further details, please check out the offical CodiMD [K8s helm chart](https://github.com/kubernetes/charts/tree/master/stable/hackmd).
+For all further details, please check out the offical HedgeDoc [K8s helm chart](https://github.com/kubernetes/charts/tree/master/stable/hackmd).
diff --git a/docs/setup/yunohost.md b/docs/setup/yunohost.md
index a7666df9..9ec9d45b 100644
--- a/docs/setup/yunohost.md
+++ b/docs/setup/yunohost.md
@@ -1,8 +1,8 @@
YunoHost
===
-CodiMD is available as a 1-click install on [YunoHost](https://yunohost.org/). YunoHost is a Debian GNU/Linux based distribution packaged with free software that automates the installation of a personal web server.
+HedgeDoc is available as a 1-click install on [YunoHost](https://yunohost.org/). YunoHost is a Debian GNU/Linux based distribution packaged with free software that automates the installation of a personal web server.
-[![Install CodiMD with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=codimd)
+[![Install HedgeDoc with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=codimd)
-The source code for the package can be found [here](https://github.com/YunoHost-Apps/codimd_ynh). \ No newline at end of file
+The source code for the package can be found [here](https://github.com/YunoHost-Apps/codimd_ynh).
diff --git a/docs/slide-options.md b/docs/slide-options.md
index ec68f717..3cf0f682 100644
--- a/docs/slide-options.md
+++ b/docs/slide-options.md
@@ -4,7 +4,7 @@ If you're getting started with reveal.js slides, there are a few things you need
There are two types of slides, those that transition horizontally and those that transition vertically (subslides).
-The following separators are used for each in the CodiMD syntax:
+The following separators are used for each in the HedgeDoc syntax:
```markdown
# First Slide
diff --git a/docs/url-scheme.md b/docs/url-scheme.md
index e2f2709e..35c12fde 100644
--- a/docs/url-scheme.md
+++ b/docs/url-scheme.md
@@ -1,6 +1,6 @@
# URL scheme
-CodiMD has three different modes for viewing a stored note. Each mode has a slightly different URL for accessing it. This document gives an overview about these URLs.
+HedgeDoc has three different modes for viewing a stored note. Each mode has a slightly different URL for accessing it. This document gives an overview about these URLs.
We assume that you replace `pad.example.com` with the domain of your instance.
## Default (random)
diff --git a/lib/config/default.js b/lib/config/default.js
index 38bb164b..00fa9eae 100644
--- a/lib/config/default.js
+++ b/lib/config/default.js
@@ -164,7 +164,7 @@ module.exports = {
openID: false,
// linkifyHeaderStyle - How is a header text converted into a link id.
// Header Example: "3.1. Good Morning my Friend! - Do you have 5$?"
- // * 'keep-case' is the legacy CodiMD value.
+ // * 'keep-case' is the legacy HedgeDoc value.
// Generated id: "31-Good-Morning-my-Friend---Do-you-have-5"
// * 'lower-case' is the same like legacy (see above), but converted to lower-case.
// Generated id: "#31-good-morning-my-friend---do-you-have-5"
diff --git a/lib/config/index.js b/lib/config/index.js
index b5461a8d..495b5485 100644
--- a/lib/config/index.js
+++ b/lib/config/index.js
@@ -157,7 +157,7 @@ for (let i = keys.length; i--;) {
// Notify users about the prefix change and inform them they use legacy prefix for environment variables
if (Object.keys(process.env).toString().indexOf('HMD_') !== -1) {
- logger.warn('Using legacy HMD prefix for environment variables. Please change your variables in future. For details see: https://github.com/codimd/server#environment-variables-will-overwrite-other-server-configs')
+ logger.warn('Using legacy HMD prefix for environment variables. Please change your variables in future. For details see: https://github.com/hedgedoc/server#environment-variables-will-overwrite-other-server-configs')
}
// Generate session secret if it stays on default values
diff --git a/lib/models/note.js b/lib/models/note.js
index edc79639..9fe02359 100644
--- a/lib/models/note.js
+++ b/lib/models/note.js
@@ -350,7 +350,7 @@ module.exports = function (sequelize, DataTypes) {
return title || 'Untitled'
}
Note.generateWebTitle = function (title) {
- title = !title || title === 'Untitled' ? 'CodiMD - Collaborative markdown notes' : title + ' - CodiMD'
+ title = !title || title === 'Untitled' ? 'HedgeDoc - Collaborative markdown notes' : title + ' - HedgeDoc'
return title
}
Note.extractNoteTags = function (meta, $) {
diff --git a/lib/response.js b/lib/response.js
index 2e944e32..a56273a2 100644
--- a/lib/response.js
+++ b/lib/response.js
@@ -97,7 +97,7 @@ function githubActionGist (req, res, note) {
request({
url: gistUrl,
headers: {
- 'User-Agent': 'CodiMD',
+ 'User-Agent': 'HedgeDoc',
'Authorization': 'token ' + accessToken
},
method: 'POST',
diff --git a/lib/web/middleware/codiMDVersion.js b/lib/web/middleware/hedgeDocVersion.js
index e7775876..c34e375b 100644
--- a/lib/web/middleware/codiMDVersion.js
+++ b/lib/web/middleware/hedgeDocVersion.js
@@ -4,7 +4,7 @@ const config = require('../../config')
module.exports = function (req, res, next) {
res.set({
- 'CodiMD-Version': config.version
+ 'HedgeDoc-Version': config.version
})
return next()
}
diff --git a/lib/web/note/controller.js b/lib/web/note/controller.js
index e537fe08..f79574df 100644
--- a/lib/web/note/controller.js
+++ b/lib/web/note/controller.js
@@ -74,7 +74,7 @@ exports.showNote = function (req, res, next) {
'Cache-Control': 'private', // only cache by client
'X-Robots-Tag': 'noindex, nofollow' // prevent crawling
})
- return res.render('codimd.ejs', {
+ return res.render('hedgedoc.ejs', {
title: title,
opengraph: opengraph
})
diff --git a/package.json b/package.json
index 1f0f2ce3..cb3bac3b 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,5 @@
{
- "name": "CodiMD",
+ "name": "HedgeDoc",
"version": "1.6.0",
"description": "Realtime collaborative markdown notes on all platforms.",
"main": "app.js",
@@ -58,7 +58,7 @@
"jquery-mousewheel": "^3.1.13",
"jquery-ui": "^1.12.1",
"js-cookie": "^2.1.3",
- "js-sequence-diagrams": "git+https://github.com/codimd/js-sequence-diagrams.git",
+ "js-sequence-diagrams": "git+https://github.com/hedgedoc/js-sequence-diagrams.git",
"js-yaml": "^3.13.1",
"jsdom-nogyp": "^0.8.3",
"keymaster": "^1.6.2",
@@ -84,7 +84,7 @@
"mathjax": "^2.7.6",
"mattermost": "^3.4.0",
"mermaid": "^8.5.1",
- "meta-marked": "git+https://github.com/codimd/meta-marked",
+ "meta-marked": "git+https://github.com/hedgedoc/meta-marked",
"method-override": "^2.3.7",
"minimist": "^1.2.0",
"minio": "^6.0.0",
@@ -145,13 +145,13 @@
"engines": {
"node": ">=10.13"
},
- "bugs": "https://github.com/codimd/server/issues",
+ "bugs": "https://github.com/hedgedoc/hedgedoc/issues",
"keywords": [
"Collaborative",
"Markdown",
"Notes"
],
- "homepage": "https://codimd.org",
+ "homepage": "https://hedgedoc.org",
"maintainers": [
{
"name": "Claudius Coenen",
@@ -165,7 +165,7 @@
],
"repository": {
"type": "git",
- "url": "https://github.com/codimd/server.git"
+ "url": "https://github.com/hedgedoc/hedgedoc.git"
},
"devDependencies": {
"babel-cli": "^6.26.0",
diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png
deleted file mode 100644
index 6978e262..00000000
--- a/public/apple-touch-icon.png
+++ /dev/null
Binary files 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 @@
+<svg clip-rule="evenodd" fill-rule="evenodd" height="430.07892" stroke-linejoin="round" stroke-miterlimit="2" viewBox="0 0 1660.2405 430.07892" width="1660.2405" xmlns="http://www.w3.org/2000/svg"><g fill-rule="nonzero" transform="translate(10.242436 10.242452)"><path d="m0-124.766-6.399 6.398-7.662-4.814-4.812 7.662-8.541-2.989-2.988 8.54-8.993-1.013-1.011 8.991-8.992 1.013 1.012 8.991-8.541 2.989 2.988 8.54-7.661 4.815 4.815 7.662-6.399 6.399 6.398 6.398-4.814 7.661 7.661 4.814-2.988 8.541 8.541 2.988-1.012 8.985 8.992 1.011 1.011 8.985 8.993-1.015 2.988 8.54 8.541-2.988 4.812 7.662 7.662-4.813h12.796l7.661 4.813 4.814-7.66 8.541 2.988 2.988-8.54 8.992 1.014 1.014-8.985 8.99-1.012-1.012-8.985 8.54-2.988-2.988-8.541 7.662-4.815-4.815-7.66 6.398-6.398-6.398-6.399 4.815-7.66-7.662-4.814 2.988-8.542-8.54-2.988 1.014-8.991-8.992-1.015-1.013-8.991-8.991 1.013-2.989-8.54-8.54 2.989-4.814-7.663-7.663 4.815z" fill="#333" transform="matrix(3.2849556 0 0 3.2849556 207.55664 409.85076)"/><path d="m0-30.513c0-12.366-10.025-22.393-22.392-22.393-6.143 0-11.707 2.476-15.752 6.481l-.003-.002-5.705 5.706-4.665-4.665c-4.104-4.683-10.125-7.642-16.839-7.642-12.367 0-22.392 10.025-22.392 22.391 0 6.463 2.74 12.281 7.118 16.368l36.799 36.784 35.987-36.014c4.496-4.232 7.844-10.203 7.844-17.014" fill="#fefefe" transform="matrix(3.2849556 0 0 3.2849556 351.53527 341.0132)"/><path d="m-4.558-8.253c1.645 1.64 2.662 3.904 2.662 6.406 0 2.5-1.017 4.766-2.662 6.405-3.514-.026-6.357-2.883-6.357-6.405s2.843-6.38 6.357-6.406" transform="matrix(0 -3.2849556 -3.2849556 0 201.44397 379.04995)"/><path d="m-4.896-4.894c-2.704 0-4.895 2.191-4.895 4.894 0 2.704 2.191 4.896 4.895 4.896s4.896-2.192 4.896-4.896c0-2.703-2.192-4.894-4.896-4.894" transform="matrix(0 -3.2849556 -3.2849556 0 166.86087 250.80164)"/><path d="m-1.356-1.355c-.751 0-1.356.607-1.356 1.356 0 .748.605 1.355 1.356 1.355.749 0 1.357-.607 1.357-1.355 0-.749-.608-1.356-1.357-1.356" fill="#fff" transform="matrix(0 -3.2849556 -3.2849556 0 172.96926 261.80315)"/><path d="m-4.896-4.894c-2.704 0-4.895 2.191-4.895 4.896 0 2.703 2.191 4.894 4.895 4.894s4.896-2.191 4.896-4.894c0-2.705-2.192-4.896-4.896-4.896" transform="matrix(0 -3.2849556 -3.2849556 0 248.40602 250.80164)"/><path d="m-1.357-1.356c-.751 0-1.356.608-1.356 1.358 0 .748.605 1.355 1.356 1.355.749 0 1.357-.607 1.357-1.355 0-.75-.608-1.358-1.357-1.358" fill="#fff" transform="matrix(0 -3.2849556 -3.2849556 0 254.51398 261.79888)"/><path d="m914.05273 122.625v70.36133c-4.97999-5.27564-10.96602-9.39883-17.95312-12.375-6.99039-2.97289-14.57179-4.46094-22.74805-4.46094-10.77794 0-20.42618 2.50598-28.9375 7.52539s-15.20529 11.89616-20.07031 20.63086c-4.87159 8.73798-7.30664 18.67703-7.30664 29.82617 0 11.15571 2.43505 21.10062 7.30664 29.83203 4.86502 8.7347 11.55899 15.6095 20.07031 20.62891s18.15956 7.5293 28.9375 7.5293c8.39963 0 16.16843-1.58011 23.30664-4.74024 7.13493-3.16012 13.19251-7.48988 18.17578-12.99219l1.00586 15.50196h16.61133v-167.26758zm-393.29492.002v167.26563h19.51563v-73.5957h95.33984v73.5957h19.51172v-167.26568h-19.51172v75.82813h-95.33984v-75.82813zm724.69919.22071v167.26757h45.4961c32.8594 0 58.0977-7.32308 75.7149-21.9707 17.6172-14.64105 26.4277-35.27334 26.4277-61.88476 0-26.53916-8.8105-47.07674-26.4277-61.60938s-42.8555-21.80273-75.7149-21.80273zm19.5157 17.8457h25.9804c26.4636 0 46.7614 5.70463 60.8867 17.11328 14.1221 11.41522 21.1856 27.56409 21.1856 48.45313 0 20.9613-7.0635 37.20817-21.1856 48.72851-14.1253 11.52363-34.4231 17.28711-60.8867 17.28711h-25.9804zm-248.3301 35.45508c-10.778 0-20.42425 2.50988-28.93557 7.52929-8.51132 5.01942-15.20725 11.89421-20.07226 20.62891-4.87159 8.7347-7.30469 18.6757-7.30469 29.82813 0 11.15242 2.4331 21.09538 7.30469 29.83007 4.86501 8.7347 11.56094 15.61145 20.07226 20.63086 8.51132 5.01942 18.15757 7.52539 28.93557 7.52539 8.1762 0 15.7596-1.48805 22.75-4.46093 6.9871-2.97289 12.9712-7.09608 17.9512-12.375v5.79492c0 15.16664-3.81 27.30097-11.4278 36.41015-7.6244 9.10262-19.3481 13.65625-35.1816 13.65625-6.2447 0-12.04336-1.02121-17.39456-3.06445-5.35447-2.04653-10.11335-4.88956-14.27539-8.5293l-9.14257 15.38672c5.49901 4.08977 11.66853 7.2633 18.50781 9.53321 6.83928 2.2699 14.16041 3.40039 21.96871 3.40039 14.1976 0 26.1478-2.88015 35.8516-8.63867 9.7005-5.76182 17.0402-13.8114 22.0234-24.14258 4.98-10.33447 7.4688-22.37675 7.4688-36.13086v-100.58208h-16.6152l-1.004 15.50195c-4.9799-5.5023-11.0375-9.83206-18.1757-12.99219-7.135-3.16013-14.9051-4.74023-23.3047-4.74023zm591.7656.002c-11.1524 0-21.0973 2.50989-29.832 7.5293-8.7347 5.01612-15.6095 11.89092-20.6289 20.6289-5.0162 8.7347-7.5254 18.67375-7.5254 29.82618 0 11.15242 2.5092 21.09671 7.5254 29.82812 5.0194 8.73798 11.8942 15.61278 20.6289 20.62891 8.7347 5.01941 18.6796 7.52929 29.832 7.52929 8.3996 0 16.1288-1.44899 23.1914-4.34961 7.0627-2.90061 13.1951-6.95092 18.3984-12.15429l-12.8242-12.71094c-3.4952 3.86639-7.6932 6.91014-12.5976 9.14063-4.9078 2.23048-10.2978 3.34765-16.168 3.34765-7.5094 0-14.2007-1.78277-20.0742-5.35351-5.8735-3.56747-10.5026-8.47539-13.8828-14.7168-3.3835-6.2447-5.0723-13.30885-5.0723-21.18945 0-7.95288 1.6888-15.03363 5.0723-21.24219 3.3802-6.20528 8.0093-11.09465 13.8828-14.66211 5.8735-3.57075 12.5648-5.35352 20.0742-5.35352 5.8702 0 11.2602 1.09605 16.168 3.28711 4.9044 2.19435 9.1024 5.25923 12.5976 9.20117l12.8242-12.82421c-5.2033-5.12782-11.3357-9.14236-18.3984-12.04297-7.0626-2.90062-14.7918-4.34766-23.1914-4.34766zm-867.86718.002c-11.00132 0-20.85027 2.494-29.54883 7.47071-8.69856 4.98327-15.53759 11.8057-20.51758 20.46484s-7.47266 18.49149-7.47266 29.49609c0 11.30025 2.65627 21.37042 7.97461 30.2168 5.31178 8.84639 12.65475 15.77942 22.02344 20.79883 9.36541 5.01613 32.11328 7.52539 32.11328 7.52539 7.50941 0 15.29543-1.26551 23.36328-3.79492 8.06457-2.52613 16.14797-7.17049 24.25196-13.9375l-10.81641-13.82617c-5.5023 5.20337-11.59699 8.97814-18.28516 11.32031-6.69474 2.33889-13.04765 3.51172-19.07226 3.51172-10.8535 0-20.12695-3.1801-27.82031-9.53321-7.69337-6.35967-12.46885-14.48142-14.32813-24.36914h94.56055v-7.46875c0-11.22469-2.41783-21.18948-7.25-29.88476-4.83217-8.69856-11.48576-15.53626-19.96094-20.51953-8.47519-4.97671-18.21024-7.47071-29.21484-7.47071zm420.61328 0c-11.0013 0-20.8483 2.494-29.5469 7.47071-8.6985 4.98327-15.5395 11.8057-20.5195 20.46484s-7.4727 18.49149-7.4727 29.49609c0 11.30025 2.6583 21.37042 7.9766 30.2168 5.3118 8.84639 12.6561 15.77942 22.0215 20.79883 9.3654 5.01613 20.0706 7.52539 32.1133 7.52539 7.5094 0 15.2954-1.26551 23.3632-3.79492 8.0646-2.52613 16.15-7.17049 24.254-13.9375l-10.8184-13.82617c-5.5023 5.20337-11.595 8.97814-18.2832 11.32031-6.6915 2.33889-13.0496 3.51172-19.0742 3.51172-10.8535 0-20.125-3.1801-27.8184-9.53321-7.6934-6.35967-12.4708-14.48142-14.3301-24.36914h94.5606v-7.46875c0-11.22469-2.4179-21.18948-7.25-29.88476-4.8322-8.69856-11.4838-15.53626-19.959-20.51953-8.4752-4.97671-18.2122-7.47071-29.2168-7.47071zm311.2109 0c-11.1524 0-21.0914 2.50598-29.8261 7.52539-8.738 5.01942-15.6134 11.89617-20.6329 20.63086-5.0161 8.7347-7.5273 18.67704-7.5273 29.82618 0 11.15242 2.5112 21.09733 7.5273 29.83203 5.0195 8.73469 11.8949 15.60949 20.6329 20.6289 8.7347 5.01942 18.6737 7.52539 29.8261 7.52539 11.1492 0 21.0935-2.50597 29.8282-7.52539 8.7347-5.01941 15.6095-11.89421 20.6289-20.6289 5.0194-8.7347 7.5254-18.67961 7.5254-29.83203 0-11.14914-2.506-21.09148-7.5254-29.82618-5.0194-8.73469-11.8942-15.61144-20.6289-20.63086-8.7347-5.01941-18.679-7.52539-29.8282-7.52539zm-454.0488 16.72251c7.5061 0 14.2001 1.78472 20.0703 5.35547 5.8735 3.56746 10.5026 8.45816 13.8828 14.66015 3.3835 6.20857 5.0743 13.29127 5.0743 21.24415 0 7.8806-1.6908 14.9428-5.0743 21.1875-3.3802 6.2447-8.0093 11.14995-13.8828 14.7207-5.8702 3.56746-12.5642 5.35156-20.0703 5.35156-7.5094 0-14.202-1.7841-20.07226-5.35156-5.8735-3.57075-10.50259-8.476-13.88281-14.7207-3.38679-6.2447-5.07422-13.3069-5.07422-21.1875 0-7.95288 1.68743-15.03558 5.07422-21.24415 3.38022-6.20199 8.00931-11.09269 13.88281-14.66015 5.87026-3.57075 12.56286-5.35547 20.07226-5.35547zm-143.29296.002c7.50941 0 14.20009 1.7841 20.07031 5.35157 5.8735 3.57074 10.50321 8.45878 13.88672 14.66406 3.38022 6.20856 5.07226 13.29064 5.07226 21.24023 0 7.88061-1.69204 14.94476-5.07226 21.18946-3.38351 6.2447-8.01322 11.15128-13.88672 14.71875-5.87022 3.57074-12.5609 5.35546-20.07031 5.35546s-14.2001-1.78472-20.07032-5.35546c-5.8735-3.56747-10.50259-8.47405-13.88281-14.71875-3.3835-6.2447-5.07617-13.30885-5.07617-21.18946 0-7.94959 1.69267-15.03167 5.07617-21.24023 3.38022-6.20528 8.00931-11.09332 13.88281-14.66406 5.87022-3.56747 12.56091-5.35157 20.07032-5.35157zm-134.5918.002c9.73661 0 17.98823 3.06487 24.75195 9.20117 6.76373 6.13301 10.96566 14.06675 12.60157 23.80664h-75.60352c1.63591-9.58879 5.94845-17.4887 12.93555-23.69727 6.9871-6.20528 15.42673-9.31054 25.31445-9.31054zm420.61526 0c9.7366 0 17.9882 3.06487 24.7519 9.20117 6.7638 6.13301 10.9657 14.06675 12.6016 23.80664h-75.6035c1.6359-9.58879 5.9484-17.4887 12.9355-23.69727 6.9871-6.20528 15.4268-9.31054 25.3145-9.31054zm311.3183 0c7.5062 0 14.2021 1.78081 20.0723 5.35156 5.8735 3.57075 10.5013 8.45878 13.8848 14.66406 3.3802 6.20528 5.0722 13.28736 5.0722 21.24024 0 7.8806-1.692 14.94475-5.0722 21.18945-3.3835 6.2447-8.0113 11.148-13.8848 14.71875-5.8702 3.56746-12.5661 5.35156-20.0723 5.35156-7.5094 0-14.2001-1.7841-20.0703-5.35156-5.8735-3.57075-10.5026-8.47405-13.8828-14.71875-3.3868-6.2447-5.0742-13.30885-5.0742-21.18945 0-7.95288 1.6874-15.03496 5.0742-21.24024 3.3802-6.20528 8.0093-11.09331 13.8828-14.66406 5.8702-3.57075 12.5609-5.35156 20.0703-5.35156z" fill="#333" stroke-width="3.28496"/></g></svg>
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 @@
+<svg clip-rule="evenodd" fill-rule="evenodd" height="430.07892" stroke-linejoin="round" stroke-miterlimit="2" viewBox="0 0 1660.2405 430.07892" width="1660.2405" xmlns="http://www.w3.org/2000/svg"><g fill-rule="nonzero" transform="translate(10.242436 10.242452)"><path d="m0-124.766-6.399 6.398-7.662-4.814-4.812 7.662-8.541-2.989-2.988 8.54-8.993-1.013-1.011 8.991-8.992 1.013 1.012 8.991-8.541 2.989 2.988 8.54-7.661 4.815 4.815 7.662-6.399 6.399 6.398 6.398-4.814 7.661 7.661 4.814-2.988 8.541 8.541 2.988-1.012 8.985 8.992 1.011 1.011 8.985 8.993-1.015 2.988 8.54 8.541-2.988 4.812 7.662 7.662-4.813h12.796l7.661 4.813 4.814-7.66 8.541 2.988 2.988-8.54 8.992 1.014 1.014-8.985 8.99-1.012-1.012-8.985 8.54-2.988-2.988-8.541 7.662-4.815-4.815-7.66 6.398-6.398-6.398-6.399 4.815-7.66-7.662-4.814 2.988-8.542-8.54-2.988 1.014-8.991-8.992-1.015-1.013-8.991-8.991 1.013-2.989-8.54-8.54 2.989-4.814-7.663-7.663 4.815z" fill="none" stroke="#fff" stroke-linejoin="miter" stroke-miterlimit="2" stroke-width="4.4095" transform="matrix(3.2849556 0 0 3.2849556 207.55664 409.85076)"/><path d="m0-30.513c0-12.366-10.025-22.393-22.392-22.393-6.143 0-11.707 2.476-15.752 6.481l-.003-.002-5.705 5.706-4.665-4.665c-4.104-4.683-10.125-7.642-16.839-7.642-12.367 0-22.392 10.025-22.392 22.391 0 6.463 2.74 12.281 7.118 16.368l36.799 36.784 35.987-36.014c4.496-4.232 7.844-10.203 7.844-17.014" fill="#fefefe" transform="matrix(3.2849556 0 0 3.2849556 351.53527 341.0132)"/><path d="m-4.558-8.253c1.645 1.64 2.662 3.904 2.662 6.406 0 2.5-1.017 4.766-2.662 6.405-3.514-.026-6.357-2.883-6.357-6.405s2.843-6.38 6.357-6.406" transform="matrix(0 -3.2849556 -3.2849556 0 201.44397 379.04995)"/><path d="m-4.896-4.894c-2.704 0-4.895 2.191-4.895 4.894 0 2.704 2.191 4.896 4.895 4.896s4.896-2.192 4.896-4.896c0-2.703-2.192-4.894-4.896-4.894" transform="matrix(0 -3.2849556 -3.2849556 0 166.86087 250.80164)"/><path d="m-1.356-1.355c-.751 0-1.356.607-1.356 1.356 0 .748.605 1.355 1.356 1.355.749 0 1.357-.607 1.357-1.355 0-.749-.608-1.356-1.357-1.356" fill="#fff" transform="matrix(0 -3.2849556 -3.2849556 0 172.96926 261.80315)"/><path d="m-4.896-4.894c-2.704 0-4.895 2.191-4.895 4.896 0 2.703 2.191 4.894 4.895 4.894s4.896-2.191 4.896-4.894c0-2.705-2.192-4.896-4.896-4.896" transform="matrix(0 -3.2849556 -3.2849556 0 248.40602 250.80164)"/><g fill="#fff"><path d="m-1.357-1.356c-.751 0-1.356.608-1.356 1.358 0 .748.605 1.355 1.356 1.355.749 0 1.357-.607 1.357-1.355 0-.75-.608-1.358-1.357-1.358" transform="matrix(0 -3.2849556 -3.2849556 0 254.51398 261.79888)"/><path d="m914.05273 122.625v70.36133c-4.97999-5.27564-10.96602-9.39883-17.95312-12.375-6.99039-2.97289-14.57179-4.46094-22.74805-4.46094-10.77794 0-20.42618 2.50598-28.9375 7.52539s-15.20529 11.89616-20.07031 20.63086c-4.87159 8.73798-7.30664 18.67703-7.30664 29.82617 0 11.15571 2.43505 21.10062 7.30664 29.83203 4.86502 8.7347 11.55899 15.6095 20.07031 20.62891s18.15956 7.5293 28.9375 7.5293c8.39963 0 16.16843-1.58011 23.30664-4.74024 7.13493-3.16012 13.19251-7.48988 18.17578-12.99219l1.00586 15.50196h16.61133v-167.26758zm-393.29492.002v167.26563h19.51563v-73.5957h95.33984v73.5957h19.51172v-167.26568h-19.51172v75.82813h-95.33984v-75.82813zm724.69919.22071v167.26757h45.4961c32.8594 0 58.0977-7.32308 75.7149-21.9707 17.6172-14.64105 26.4277-35.27334 26.4277-61.88476 0-26.53916-8.8105-47.07674-26.4277-61.60938s-42.8555-21.80273-75.7149-21.80273zm19.5157 17.8457h25.9804c26.4636 0 46.7614 5.70463 60.8867 17.11328 14.1221 11.41522 21.1856 27.56409 21.1856 48.45313 0 20.9613-7.0635 37.20817-21.1856 48.72851-14.1253 11.52363-34.4231 17.28711-60.8867 17.28711h-25.9804zm-248.3301 35.45508c-10.778 0-20.42425 2.50988-28.93557 7.52929-8.51132 5.01942-15.20725 11.89421-20.07226 20.62891-4.87159 8.7347-7.30469 18.6757-7.30469 29.82813 0 11.15242 2.4331 21.09538 7.30469 29.83007 4.86501 8.7347 11.56094 15.61145 20.07226 20.63086 8.51132 5.01942 18.15757 7.52539 28.93557 7.52539 8.1762 0 15.7596-1.48805 22.75-4.46093 6.9871-2.97289 12.9712-7.09608 17.9512-12.375v5.79492c0 15.16664-3.81 27.30097-11.4278 36.41015-7.6244 9.10262-19.3481 13.65625-35.1816 13.65625-6.2447 0-12.04336-1.02121-17.39456-3.06445-5.35447-2.04653-10.11335-4.88956-14.27539-8.5293l-9.14257 15.38672c5.49901 4.08977 11.66853 7.2633 18.50781 9.53321 6.83928 2.2699 14.16041 3.40039 21.96871 3.40039 14.1976 0 26.1478-2.88015 35.8516-8.63867 9.7005-5.76182 17.0402-13.8114 22.0234-24.14258 4.98-10.33447 7.4688-22.37675 7.4688-36.13086v-100.58208h-16.6152l-1.004 15.50195c-4.9799-5.5023-11.0375-9.83206-18.1757-12.99219-7.135-3.16013-14.9051-4.74023-23.3047-4.74023zm591.7656.002c-11.1524 0-21.0973 2.50989-29.832 7.5293-8.7347 5.01612-15.6095 11.89092-20.6289 20.6289-5.0162 8.7347-7.5254 18.67375-7.5254 29.82618 0 11.15242 2.5092 21.09671 7.5254 29.82812 5.0194 8.73798 11.8942 15.61278 20.6289 20.62891 8.7347 5.01941 18.6796 7.52929 29.832 7.52929 8.3996 0 16.1288-1.44899 23.1914-4.34961 7.0627-2.90061 13.1951-6.95092 18.3984-12.15429l-12.8242-12.71094c-3.4952 3.86639-7.6932 6.91014-12.5976 9.14063-4.9078 2.23048-10.2978 3.34765-16.168 3.34765-7.5094 0-14.2007-1.78277-20.0742-5.35351-5.8735-3.56747-10.5026-8.47539-13.8828-14.7168-3.3835-6.2447-5.0723-13.30885-5.0723-21.18945 0-7.95288 1.6888-15.03363 5.0723-21.24219 3.3802-6.20528 8.0093-11.09465 13.8828-14.66211 5.8735-3.57075 12.5648-5.35352 20.0742-5.35352 5.8702 0 11.2602 1.09605 16.168 3.28711 4.9044 2.19435 9.1024 5.25923 12.5976 9.20117l12.8242-12.82421c-5.2033-5.12782-11.3357-9.14236-18.3984-12.04297-7.0626-2.90062-14.7918-4.34766-23.1914-4.34766zm-867.86718.002c-11.00132 0-20.85027 2.494-29.54883 7.47071-8.69856 4.98327-15.53759 11.8057-20.51758 20.46484s-7.47266 18.49149-7.47266 29.49609c0 11.30025 2.65627 21.37042 7.97461 30.2168 5.31178 8.84639 12.65475 15.77942 22.02344 20.79883 9.36541 5.01613 32.11328 7.52539 32.11328 7.52539 7.50941 0 15.29543-1.26551 23.36328-3.79492 8.06457-2.52613 16.14797-7.17049 24.25196-13.9375l-10.81641-13.82617c-5.5023 5.20337-11.59699 8.97814-18.28516 11.32031-6.69474 2.33889-13.04765 3.51172-19.07226 3.51172-10.8535 0-20.12695-3.1801-27.82031-9.53321-7.69337-6.35967-12.46885-14.48142-14.32813-24.36914h94.56055v-7.46875c0-11.22469-2.41783-21.18948-7.25-29.88476-4.83217-8.69856-11.48576-15.53626-19.96094-20.51953-8.47519-4.97671-18.21024-7.47071-29.21484-7.47071zm420.61328 0c-11.0013 0-20.8483 2.494-29.5469 7.47071-8.6985 4.98327-15.5395 11.8057-20.5195 20.46484s-7.4727 18.49149-7.4727 29.49609c0 11.30025 2.6583 21.37042 7.9766 30.2168 5.3118 8.84639 12.6561 15.77942 22.0215 20.79883 9.3654 5.01613 20.0706 7.52539 32.1133 7.52539 7.5094 0 15.2954-1.26551 23.3632-3.79492 8.0646-2.52613 16.15-7.17049 24.254-13.9375l-10.8184-13.82617c-5.5023 5.20337-11.595 8.97814-18.2832 11.32031-6.6915 2.33889-13.0496 3.51172-19.0742 3.51172-10.8535 0-20.125-3.1801-27.8184-9.53321-7.6934-6.35967-12.4708-14.48142-14.3301-24.36914h94.5606v-7.46875c0-11.22469-2.4179-21.18948-7.25-29.88476-4.8322-8.69856-11.4838-15.53626-19.959-20.51953-8.4752-4.97671-18.2122-7.47071-29.2168-7.47071zm311.2109 0c-11.1524 0-21.0914 2.50598-29.8261 7.52539-8.738 5.01942-15.6134 11.89617-20.6329 20.63086-5.0161 8.7347-7.5273 18.67704-7.5273 29.82618 0 11.15242 2.5112 21.09733 7.5273 29.83203 5.0195 8.73469 11.8949 15.60949 20.6329 20.6289 8.7347 5.01942 18.6737 7.52539 29.8261 7.52539 11.1492 0 21.0935-2.50597 29.8282-7.52539 8.7347-5.01941 15.6095-11.89421 20.6289-20.6289 5.0194-8.7347 7.5254-18.67961 7.5254-29.83203 0-11.14914-2.506-21.09148-7.5254-29.82618-5.0194-8.73469-11.8942-15.61144-20.6289-20.63086-8.7347-5.01941-18.679-7.52539-29.8282-7.52539zm-454.0488 16.72251c7.5061 0 14.2001 1.78472 20.0703 5.35547 5.8735 3.56746 10.5026 8.45816 13.8828 14.66015 3.3835 6.20857 5.0743 13.29127 5.0743 21.24415 0 7.8806-1.6908 14.9428-5.0743 21.1875-3.3802 6.2447-8.0093 11.14995-13.8828 14.7207-5.8702 3.56746-12.5642 5.35156-20.0703 5.35156-7.5094 0-14.202-1.7841-20.07226-5.35156-5.8735-3.57075-10.50259-8.476-13.88281-14.7207-3.38679-6.2447-5.07422-13.3069-5.07422-21.1875 0-7.95288 1.68743-15.03558 5.07422-21.24415 3.38022-6.20199 8.00931-11.09269 13.88281-14.66015 5.87026-3.57075 12.56286-5.35547 20.07226-5.35547zm-143.29296.002c7.50941 0 14.20009 1.7841 20.07031 5.35157 5.8735 3.57074 10.50321 8.45878 13.88672 14.66406 3.38022 6.20856 5.07226 13.29064 5.07226 21.24023 0 7.88061-1.69204 14.94476-5.07226 21.18946-3.38351 6.2447-8.01322 11.15128-13.88672 14.71875-5.87022 3.57074-12.5609 5.35546-20.07031 5.35546s-14.2001-1.78472-20.07032-5.35546c-5.8735-3.56747-10.50259-8.47405-13.88281-14.71875-3.3835-6.2447-5.07617-13.30885-5.07617-21.18946 0-7.94959 1.69267-15.03167 5.07617-21.24023 3.38022-6.20528 8.00931-11.09332 13.88281-14.66406 5.87022-3.56747 12.56091-5.35157 20.07032-5.35157zm-134.5918.002c9.73661 0 17.98823 3.06487 24.75195 9.20117 6.76373 6.13301 10.96566 14.06675 12.60157 23.80664h-75.60352c1.63591-9.58879 5.94845-17.4887 12.93555-23.69727 6.9871-6.20528 15.42673-9.31054 25.31445-9.31054zm420.61526 0c9.7366 0 17.9882 3.06487 24.7519 9.20117 6.7638 6.13301 10.9657 14.06675 12.6016 23.80664h-75.6035c1.6359-9.58879 5.9484-17.4887 12.9355-23.69727 6.9871-6.20528 15.4268-9.31054 25.3145-9.31054zm311.3183 0c7.5062 0 14.2021 1.78081 20.0723 5.35156 5.8735 3.57075 10.5013 8.45878 13.8848 14.66406 3.3802 6.20528 5.0722 13.28736 5.0722 21.24024 0 7.8806-1.692 14.94475-5.0722 21.18945-3.3835 6.2447-8.0113 11.148-13.8848 14.71875-5.8702 3.56746-12.5661 5.35156-20.0723 5.35156-7.5094 0-14.2001-1.7841-20.0703-5.35156-5.8735-3.57075-10.5026-8.47405-13.8828-14.71875-3.3868-6.2447-5.0742-13.30885-5.0742-21.18945 0-7.95288 1.6874-15.03496 5.0742-21.24024 3.3802-6.20528 8.0093-11.09331 13.8828-14.66406 5.8702-3.57075 12.5609-5.35156 20.0703-5.35156z" stroke-width="3.28496"/></g></g></svg>
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 @@
+<svg clip-rule="evenodd" fill-rule="evenodd" height="1000" stroke-linejoin="round" stroke-miterlimit="2" viewBox="0 0 1510 1000" width="1510" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientTransform="matrix(200 -420 420 200 660 1340)" gradientUnits="userSpaceOnUse" x1="0" x2="1" y1="0" y2="0"><stop offset="0" stop-color="#fdd49a"/><stop offset="1" stop-color="#dca055"/></linearGradient><g fill-rule="nonzero"><path d="m526.55078 695.48438v94.20312c-6.66549-7.06493-14.67792-12.58654-24.03125-16.56836-9.35749-3.98182-19.51014-5.97461-30.45703-5.97461-14.43358 0-27.34789 3.35659-38.74414 10.07617-11.39625 6.71959-20.35539 15.92332-26.87109 27.61914-6.51987 11.69583-9.77735 25.00684-9.77735 39.93555 0 14.93287 3.25748 28.24389 9.77735 39.93555 6.5157 11.69582 15.47484 20.90346 26.87109 27.62304 11.39625 6.71543 24.31056 10.07227 38.74414 10.07227 11.24646 0 21.64813-2.11449 31.20117-6.3418 9.55305-4.23146 17.66212-10.02587 24.33594-17.39453l1.34375 20.75391h22.24414v-223.93945zm-526.55078.00195v223.93945h26.128906v-98.53125h127.642574v98.53125h26.1211v-223.93945h-26.1211v101.52148h-127.642574v-101.52148zm970.24609.29687v223.93946h60.91011c43.9915 0 77.78-9.80258 101.3672-29.41211 23.5872-19.60538 35.3828-47.2249 35.3828-82.85743 0-35.5285-11.7956-63.02267-35.3828-82.48242-23.5872-19.45559-57.3757-29.1875-101.3672-29.1875zm26.125 23.88672h34.78511c35.4287 0 62.6012 7.63976 81.5118 22.91797 18.9063 15.27821 28.3652 36.90095 28.3652 64.86523 0 28.06831-9.4589 49.8164-28.3652 65.24024-18.9106 15.428-46.0831 23.14258-81.5118 23.14258h-34.78511zm-702.11718 47.47656c-14.73316 0-27.91466 3.33256-39.56055 9.99805-11.64589 6.67382-20.80521 15.80664-27.4707 27.39844-6.66966 11.59596-10.00586 24.75512-10.00586 39.48828 0 15.12843 3.56092 28.61363 10.67578 40.45508 7.11485 11.84977 16.94808 21.12416 29.48437 27.84375 12.54045 6.71958 26.87325 10.07812 42.9961 10.07812 10.05233 0 20.47608-1.69349 31.27734-5.07617 10.7971-3.38268 21.62172-9.60419 32.46875-18.66211l-14.47852-18.50976c-7.36865 6.96506-15.52852 12.01515-24.48242 15.15234-8.95806 3.13303-17.46554 4.70117-25.5332 4.70117-14.52928 0-26.94633-4.25497-37.24414-12.76367-10.30198-8.5087-16.69548-19.3858-19.18359-32.62109h126.59765v-10.00196c0-15.02857-3.23709-28.36803-9.70703-40.00976-6.46578-11.6459-15.37438-20.79884-26.7207-27.47266-11.34632-6.66549-24.38013-9.99805-39.11328-9.99805zm369.64843 0c-14.43358 0-27.34789 3.35685-38.74414 10.07227-11.39625 6.71958-20.35538 15.92723-26.87109 27.62305-6.51987 11.69582-9.77734 25.00293-9.77734 39.93164 0 14.93287 3.25747 28.24779 9.77734 39.93945 6.51571 11.69582 15.47484 20.8976 26.87109 27.61719 11.39625 6.71958 24.31056 10.07812 38.74414 10.07812 10.94273 0 21.09955-1.99304 30.45704-5.9707 9.34916-3.98182 17.36575-9.50318 24.03124-16.57227v7.76368c0 20.30021-5.10087 36.54903-15.29882 48.74414-10.20628 12.18679-25.90458 18.28515-47.10352 18.28515-8.35891 0-16.12233-1.3677-23.28711-4.10547-7.16478-2.73776-13.53985-6.54575-19.11523-11.41796l-12.23633 20.59961c7.36034 5.47552 15.62347 9.72828 24.78125 12.76562 9.15361 3.03734 18.96035 4.55273 29.41211 4.55273 19.00623 0 35.00407-3.85826 47.99805-11.57226 12.98564-7.70984 22.81276-18.48613 29.48242-32.31641 6.66549-13.8386 10.0039-29.96154 10.0039-48.37695v-134.6582h-22.24414l-1.34765 20.7539c-6.66966-7.36866-14.77899-13.16086-24.33203-17.39648-9.55305-4.22731-19.95887-6.33985-31.20118-6.33985zm193.48047 0c-14.72899 0-27.91465 3.33256-39.56054 9.99805-11.6459 6.67382-20.80326 15.80664-27.46875 27.39844-6.66966 11.59596-10.00586 24.75512-10.00586 39.48828 0 15.12843 3.56092 28.61363 10.67578 40.45508 7.11485 11.84977 16.94587 21.12416 29.48633 27.84375 12.54045 6.71958 26.87129 10.07812 42.99414 10.07812 10.05649 0 20.47803-1.69349 31.27929-5.07617 10.79295-3.38268 21.61977-9.60419 32.4668-18.66211l-14.47852-18.50976c-7.36865 6.96506-15.52436 12.01515-24.48242 15.15234-8.95806 3.13303-17.46775 4.70117-25.53125 4.70117-14.52928 0-26.94412-4.25497-37.24609-12.76367-10.30198-8.5087-16.69743-19.3858-19.18555-32.62109h126.59961v-10.00196c0-15.02857-3.23709-28.36803-9.70703-40.00976-6.46578-11.6459-15.37438-20.79884-26.7207-27.47266-11.34632-6.66549-24.38208-9.99805-39.11524-9.99805zm413.53909 0c-14.9329 0-28.2437 3.35659-39.9395 10.07618-11.6958 6.71958-20.8995 15.92332-27.6191 27.61914-6.7154 11.69582-10.0781 25.00683-10.0781 39.93554 0 14.93288 3.3627 28.24194 10.0781 39.9336 6.7196 11.69582 15.9233 20.90346 27.6191 27.62304 11.6958 6.71959 25.0066 10.07813 39.9395 10.07813 14.9287 0 28.238-3.35854 39.9297-10.07813 11.6958-6.71958 20.9034-15.92722 27.623-27.62304 6.7196-11.69166 10.0781-25.00072 10.0781-39.9336 0-14.92871-3.3585-28.23972-10.0781-39.93554s-15.9272-20.89956-27.623-27.61914c-11.6917-6.71959-25.001-10.07618-39.9297-10.07618zm182.1347.002c-14.9328 0-28.2438 3.35854-39.9355 10.07812-11.6958 6.71959-20.9035 15.92332-27.6231 27.61914-6.7154 11.69582-10.0761 25.00489-10.0761 39.9336s3.3607 28.24388 10.0761 39.93554c6.7196 11.69583 15.9273 20.89956 27.6231 27.61914 11.6917 6.71959 25.0027 10.07813 39.9355 10.07813 11.2465 0 21.5935-1.9403 31.0508-5.82227 9.4532-3.88196 17.6678-9.30641 24.6328-16.27148l-17.1679-17.02148c-4.6809 5.18011-10.3016 9.25698-16.8672 12.24023-6.574 2.98741-13.7888 4.48047-21.6485 4.48047-10.0565 0-19.0153-2.38754-26.875-7.16406-7.8637-4.78069-14.059-11.34591-18.5859-19.70899-4.531-8.35891-6.793-17.81777-6.793-28.36523 0-10.64732 2.262-20.12852 6.793-28.4375 4.5269-8.30899 10.7222-14.85409 18.5859-19.63477 7.8597-4.77652 16.8185-7.16406 26.875-7.16406 7.8597 0 15.0745 1.46903 21.6485 4.40234 6.5656 2.93748 12.1863 7.04255 16.8672 12.31836l17.1679-17.16992c-6.965-6.86521-15.1796-12.24108-24.6328-16.12305-9.4573-3.88196-19.8043-5.82226-31.0508-5.82226zm-978.75582 22.38867c10.05233 0 19.00952 2.38924 26.86914 7.16992 7.86379 4.77652 14.06076 11.31992 18.5918 19.62891 4.52688 8.30898 6.78906 17.79213 6.78906 28.43945 0 10.55162-2.26218 20.00437-6.78906 28.36328-4.53104 8.36308-10.72801 14.9283-18.5918 19.70899-7.85962 4.77652-16.81681 7.16601-26.86914 7.16601s-19.00951-2.38949-26.86914-7.16601c-7.86795-4.78069-14.06322-11.34591-18.58594-19.70899-4.5352-8.35891-6.79882-17.81166-6.79882-28.36328 0-10.64732 2.26362-20.13047 6.79882-28.43945 4.52272-8.30899 10.71799-14.85239 18.58594-19.62891 7.85963-4.78068 16.81681-7.16992 26.86914-7.16992zm-180.19336.002c13.03558 0 24.08271 4.10312 33.14063 12.31641 9.05375 8.21329 14.67864 18.83551 16.86718 31.87109h-101.21875c2.18855-12.83586 7.96478-23.41367 17.32227-31.72265 9.35333-8.30899 20.64922-12.46485 33.88867-12.46485zm372.0332 0c10.05234 0 19.00952 2.3895 26.86915 7.16602 7.86378 4.78068 14.06075 11.32408 18.59179 19.6289 4.52688 8.31315 6.78906 17.7963 6.78906 28.43946 0 10.55162-2.26218 20.00827-6.78906 28.36718-4.53104 8.35892-10.72801 14.92856-18.59179 19.70508-7.85963 4.78069-16.81681 7.16992-26.86915 7.16992-10.05233 0-19.01121-2.38923-26.875-7.16992-7.86378-4.77652-14.05931-11.34616-18.58203-19.70508-4.5352-8.35891-6.79687-17.81556-6.79687-28.36718 0-10.64316 2.26167-20.12631 6.79687-28.43946 4.52272-8.30482 10.71825-14.84822 18.58203-19.6289 7.86379-4.77652 16.82267-7.16602 26.875-7.16602zm191.09766 0c13.03558 0 24.08076 4.10312 33.13867 12.31641 9.05376 8.21329 14.6806 18.83551 16.86914 31.87109h-101.21875c2.18855-12.83586 7.96283-23.41367 17.32032-31.72265 9.35333-8.30899 20.65117-12.46485 33.89062-12.46485zm413.68362 0c10.0481 0 19.0095 2.38729 26.8691 7.16797 7.8638 4.77652 14.0591 11.32188 18.586 19.63086 4.531 8.30899 6.7949 17.79214 6.7949 28.43945 0 10.55162-2.2639 20.00412-6.7949 28.36719-4.5269 8.35891-10.7222 14.9244-18.586 19.70508-7.8596 4.78068-16.821 7.16601-26.8691 7.16601-10.0565 0-19.0154-2.38533-26.875-7.16601-7.8638-4.78068-14.0591-11.34617-18.586-19.70508-4.531-8.36307-6.7949-17.81557-6.7949-28.36719 0-10.64731 2.2639-20.13046 6.7949-28.43945 4.5269-8.30898 10.7222-14.85434 18.586-19.63086 7.8596-4.78068 16.8185-7.16797 26.875-7.16797z" fill="#fff" stroke-width="4.16073"/><g transform="matrix(.41332019 0 0 .41332019 390.39426 -59.003113)"><path d="m1553.66 961.083 75.25-75.258-75.25-75.246 56.61-90.096-90.1-56.616 35.15-100.446-100.44-35.142 11.91-105.746-105.74-11.912-11.92-105.75-105.74 11.912-35.15-100.445-100.43 35.145-56.63-90.1-90.107 56.617-75.242-75.246-75.242 75.25-90.104-56.612-56.612 90.096-100.442-35.15-35.142 100.441-105.75-11.916-11.912 105.741-105.742 11.913 11.917 105.741-100.454 35.15 35.145 100.438-90.1 56.612 56.621 90.117-75.258 75.25 75.25 75.258-56.613 90.107 90.1 56.61-35.145 100.44 100.45 35.15-11.913 105.73 105.742 11.92 11.912 105.74 105.75-11.91 35.142 100.43 100.437-35.13 56.617 90.1 90.096-56.62 75.25 74.55 75.25-74.53 90.099 56.61 56.61-90.11 100.45 35.15 35.14-100.44 105.75 11.91 11.91-105.75 105.75-11.91-11.92-105.74 100.45-35.15-35.15-100.45 90.1-56.61z" fill="#b51f08"/><path d="m1401.3 1004.78c0-145.437-117.9-263.341-263.34-263.341-72.24 0-137.68 29.112-185.252 76.225l-.033-.034-67.096 67.1-54.862-54.862c-48.267-55.067-119.071-89.879-198.042-89.879-145.442 0-263.342 117.904-263.342 263.341 0 76 32.23 144.43 83.721 192.49l432.779 432.55 423.217-423.49c52.88-49.77 92.25-120 92.25-200.1" fill="#fdd49a"/><path d="m885.579 884.73-54.862-54.862c-48.267-55.067-119.071-89.879-198.042-89.879-145.442 0-263.342 117.904-263.342 263.341 0 76 32.23 144.43 83.721 192.49l432.779 432.55" fill="url(#a)"/></g></g><g transform="matrix(.41332019 0 0 .41332019 390.394261 -59.003113)"><path d="m885.833 1628.37-.254-743.64" fill="none"/><g fill-rule="nonzero"><path d="m961.011 1553.59c-19.279-19.35-45.917-31.31-75.325-31.31-29.417 0-56.046 11.96-75.329 31.31.308 41.34 33.908 74.76 75.325 74.76 41.416 0 75.02-33.43 75.329-74.76" fill="#010007"/><path d="m797.707 1098.22c0 31.8-25.767 57.57-57.571 57.57-31.787 0-57.558-25.77-57.558-57.57s25.771-57.57 57.558-57.57c31.804 0 57.571 25.77 57.571 57.57" fill="#010007"/><path d="m777.962 1089.59c0 8.82-7.146 15.94-15.95 15.94-8.808 0-15.958-7.12-15.958-15.94 0-8.81 7.15-15.96 15.958-15.96 8.804 0 15.95 7.15 15.95 15.96" fill="#fffffa"/><path d="m1089.65 1098.22c0 31.8-25.77 57.57-57.57 57.57-31.79 0-57.567-25.77-57.567-57.57s25.777-57.57 57.567-57.57c31.8 0 57.57 25.77 57.57 57.57" fill="#010007"/><path d="m1069.9 1089.59c0 8.82-7.15 15.94-15.95 15.94-8.81 0-15.96-7.12-15.96-15.94 0-8.81 7.15-15.96 15.96-15.96 8.8 0 15.95 7.15 15.95 15.96" fill="#fffffa"/></g></g></svg>
diff --git a/public/codimd-icon-1024.png b/public/codimd-icon-1024.png
deleted file mode 100644
index eebdcf78..00000000
--- a/public/codimd-icon-1024.png
+++ /dev/null
Binary files 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
-<i class="fa fa-file-text"></i> **CodiMD** is a real-time, multi-platform collaborative markdown note editor.
+<i class="fa fa-file-text"></i> **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 <i class="fa fa-moon-o"></i> 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 <i class="fa fa-moon-o"></i> 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<i class="fa fa-sun-o fa-fw"></i>.
@@ -73,7 +73,7 @@ There are four possible options:
Notes can be embedded as follows:
```xml
-<iframe width="100%" height="500" src="https://demo.codimd.io/features" frameborder="0"></iframe>
+<iframe width="100%" height="500" src="https://demo.hedgedoc.org/features" frameborder="0"></iframe>
```
### [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 <https://github.com/nodeca/pica>
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
--- a/public/favicon.png
+++ /dev/null
Binary files differ
diff --git a/public/icons/android-chrome-192x192.png b/public/icons/android-chrome-192x192.png
new file mode 100644
index 00000000..1b42c8b7
--- /dev/null
+++ b/public/icons/android-chrome-192x192.png
Binary files differ
diff --git a/public/icons/android-chrome-512x512.png b/public/icons/android-chrome-512x512.png
new file mode 100644
index 00000000..1eedb77a
--- /dev/null
+++ b/public/icons/android-chrome-512x512.png
Binary files differ
diff --git a/public/icons/apple-touch-icon.png b/public/icons/apple-touch-icon.png
new file mode 100644
index 00000000..54deb68d
--- /dev/null
+++ b/public/icons/apple-touch-icon.png
Binary files 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 @@
+<?xml version="1.0" encoding="utf-8"?>
+<browserconfig>
+ <msapplication>
+ <tile>
+ <square150x150logo src="/icons/mstile-150x150.png"/>
+ <TileColor>#b51f08</TileColor>
+ </tile>
+ </msapplication>
+</browserconfig>
diff --git a/public/icons/favicon-16x16.png b/public/icons/favicon-16x16.png
new file mode 100644
index 00000000..695b8aaa
--- /dev/null
+++ b/public/icons/favicon-16x16.png
Binary files differ
diff --git a/public/icons/favicon-32x32.png b/public/icons/favicon-32x32.png
new file mode 100644
index 00000000..80afec65
--- /dev/null
+++ b/public/icons/favicon-32x32.png
Binary files differ
diff --git a/public/icons/favicon.ico b/public/icons/favicon.ico
new file mode 100644
index 00000000..7188efc4
--- /dev/null
+++ b/public/icons/favicon.ico
Binary files differ
diff --git a/public/views/codimd/footer.ejs b/public/icons/html_code.html
index e69de29b..e69de29b 100644
--- a/public/views/codimd/footer.ejs
+++ b/public/icons/html_code.html
diff --git a/public/icons/mstile-144x144.png b/public/icons/mstile-144x144.png
new file mode 100644
index 00000000..fa2152ab
--- /dev/null
+++ b/public/icons/mstile-144x144.png
Binary files differ
diff --git a/public/icons/mstile-150x150.png b/public/icons/mstile-150x150.png
new file mode 100644
index 00000000..5b277a2c
--- /dev/null
+++ b/public/icons/mstile-150x150.png
Binary files differ
diff --git a/public/icons/mstile-310x150.png b/public/icons/mstile-310x150.png
new file mode 100644
index 00000000..ab952960
--- /dev/null
+++ b/public/icons/mstile-310x150.png
Binary files differ
diff --git a/public/icons/mstile-310x310.png b/public/icons/mstile-310x310.png
new file mode 100644
index 00000000..a43ae7cc
--- /dev/null
+++ b/public/icons/mstile-310x310.png
Binary files differ
diff --git a/public/icons/mstile-70x70.png b/public/icons/mstile-70x70.png
new file mode 100644
index 00000000..ce4b9fa9
--- /dev/null
+++ b/public/icons/mstile-70x70.png
Binary files 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 @@
+<svg version="1" xmlns="http://www.w3.org/2000/svg" width="933.333" height="933.333" viewBox="0 0 700.000000 700.000000"><path d="M334 16c-8.5 8.7-16.5 16.6-17.8 17.5-2.5 1.8-.4 2.8-23.7-12-15.4-9.8-19.8-12.4-20.5-12-.4.3-6.3 9.4-13 20.2-6.8 10.9-12.6 20.2-13 20.6-.6.7-30.6-9.2-44.3-14.5-1.6-.6-3.1-.7-3.6-.2-.8.9-10.2 27.3-14.3 40.2l-2 6.2-4.4-.5c-7.5-.9-12.7-1.5-17.9-2.1-2.7-.3-6.6-.7-8.5-.9-1.9-.3-6.6-.8-10.5-1.1-3.8-.3-7.3-.8-7.7-1-.8-.5-1.5 3.1-2.3 11.1-.6 6-1.3 12.5-2 18-.2 1.6-.7 5.7-1 9-.9 8.2-1.3 10.6-2 11.3-.7.7-.9.7-10.5 1.6-4.1.4-8.8.9-10.5 1.2-1.6.2-4.8.6-7 .8-6.4.6-17.9 1.8-19.5 2.1-.8.2-1.4.7-1.4 1.1.1.5.5 4.5.8 8.9.4 4.4.9 8.7 1.1 9.5.2.8.6 4.4 1 7.9.3 3.6.8 7.9 1 9.5.2 1.7.7 5.2 1 7.9l.6 4.7-3.8 1.6c-2 .9-12.5 4.6-23.3 8.4-16.4 5.6-19.5 7-19.4 8.6.1 1 3.4 11.1 7.4 22.4 4 11.3 7.4 21.2 7.6 22 .4 1.1-5.7 5.3-20.1 14.4-11.3 7.1-20.7 13.2-21 13.5-.2.4 5.3 9.7 12.2 20.7 6.9 10.9 12.7 20.4 13 21.1.3.6-7.4 9.1-17.1 18.7L0 350l17.6 17.6c9.6 9.7 17.3 18.1 17.1 18.8-.3.6-6.2 10.1-13.1 21.1-9.7 15.4-12.3 20.2-11.3 21.1.6.6 10.1 6.6 21 13.4 14.4 9 19.7 12.8 19.4 13.9-.3.9-3.8 10.8-7.7 22.1-4 11.3-7.4 21.2-7.7 22.1-.5 1.7-.2 1.9 13.7 6.7 4.7 1.7 14 4.9 20.8 7.3l12.2 4.3-.5 4.6c-.3 2.5-.8 5.8-1 7.5-.2 1.6-.7 6.1-1 10-.3 3.8-.7 7.9-1 9-.3 1.6-1.7 14.6-1.7 16.5-.1 2.1.7 2.6 4 2.8 4.2.2 21.4 2.1 25.2 2.7 4 .7 17.4 1.9 18.3 1.7 1.2-.3 2.4 3.8 3.1 10.8.5 6.1.8 8.6 2.1 19.2.3 2.4.8 7.4 1.1 11.3.6 6.6 1.8 10 3.3 9.1.3-.2 3.3-.7 6.6-1 3.3-.4 7.6-.8 9.5-1.1 4.7-.6 11.2-1.3 18.5-2 3.3-.3 7.6-.8 9.6-1.1l3.6-.5 2.3 6.8c4.3 12.7 13.9 39.5 14.4 40 .2.2 10.7-3.2 23.2-7.6 12.5-4.5 23.1-8.1 23.5-8.1.4 0 2.1 2.4 3.8 5.2 8.3 14 23 36.3 23.9 36.1.5-.1 10-5.9 21-12.8s20.3-12.5 20.7-12.5c.4 0 8.4 7.5 17.7 16.7 9.3 9.3 17.3 16.8 17.8 16.8s8.6-7.6 17.9-16.9c9.5-9.3 17.7-16.6 18.3-16.3.7.3 10.3 6.1 21.3 13 15.3 9.6 20.3 12.3 21.1 11.4.6-.7 6.6-10.1 13.4-21 10.7-17.1 12.7-19.6 14.4-19.1 2.6.7 21.8 7.4 34.8 12 9.4 3.4 11.8 3.6 11.8 1.2 0-.6 3.5-10.9 7.7-22.9l7.7-21.9 4.6.5c2.5.3 6.1.8 8 1 1.9.3 6 .7 9 1 3 .3 7.3.8 9.5 1 2.2.3 6.9.8 10.5 1.1 3.6.3 6.9.7 7.4.7.8.2 1.1-1.2 2-10.3 1.3-13 1.7-16.7 2.1-18.8.2-1.3.7-5.3 1.1-9 .3-3.7.8-7.4.9-8.2.2-.8.4-1.8.4-2.2.1-.8 3.6-1.5 10.6-2.3 12.2-1.3 15.2-1.6 17.5-2 1.4-.2 5.2-.6 8.5-.9 9.2-.9 13.5-1.7 13.1-2.4-.2-.4-.7-4.3-1.1-8.7-.4-4.4-.8-8.2-1-8.5-.2-.3-.6-3.9-.9-8-.3-4.1-.8-8.6-1-10-.2-1.4-.7-5-1.1-8.1l-.6-5.6 10.8-3.7c5.9-2.1 16-5.6 22.3-7.8 6.3-2.2 12.1-4.2 12.9-4.4 1.6-.5 2 .9-6.9-24.4-4-11.3-7.4-21.2-7.7-22.1-.3-1.2 3.1-3.8 12.9-9.9 7.3-4.6 16.8-10.5 21-13.3l7.8-5-2.2-3.6c-1.2-2-7-11.3-13-20.7-5.9-9.5-10.8-17.5-10.8-17.8 0-.4 7.9-8.5 17.4-18.2l17.5-17.5-17.5-17.4c-9.5-9.6-17.4-17.7-17.4-18 0-.7 5-8.8 18-29.5 4.3-6.8 7.7-12.7 7.5-13.1-.3-.3-9.3-6.2-20.2-13-10.8-6.8-20.1-12.7-20.6-13-.5-.3 1.5-7.3 4.3-15.5 2.9-8.2 6.5-18.7 8.1-23.3 1.6-4.6 2.6-8.8 2.2-9.1-.7-.7-15.3-5.8-38.6-13.8l-7.7-2.6.4-3.5c.3-2 1-8.3 1.6-14.1.6-5.8 1.3-12.1 1.6-14 .4-2.7 1.4-13.1 1.6-16 .1-2.1-.8-2.7-4.9-2.9-2.6-.1-4.9-.4-5.2-.5-.3-.2-4.4-.7-9.1-1.1-4.7-.4-9.3-.9-10.4-1.1-1-.2-4.4-.6-7.5-.9-11.2-1.1-12.7-1.5-12.7-3.3-.1-2.8-1.6-17-2.9-26.7-.2-2.2-.8-6.9-1.1-10.5-.4-3.6-.8-7.2-1-8-.1-.8-.3-1.9-.3-2.3-.1-.5-.4-.6-.8-.4-.5.3-4.2.8-8.3 1.1-7.6.7-14.1 1.4-19.5 2.1-1.6.2-5.1.6-7.7.9-2.7.4-6.7.8-9.1 1.1l-4.3.5-1.8-5.2c-1-2.9-2.1-6.2-2.6-7.3-1.9-4.5-11-31.4-11-32.3 0-2.4-2.6-2.2-11.3.8-5.1 1.8-10.1 3.6-11.2 4-2.7 1.1-21.5 7.7-24.1 8.4-1.8.5-3.7-2.1-14.9-19.9-7.1-11.3-13.1-20.8-13.5-21-.4-.2-3.8 1.6-7.6 4-3.8 2.5-7.8 4.9-8.9 5.5-1.1.5-6.9 4.2-13 8.1-6 3.9-11.5 7.3-12.2 7.6-.6.2-9.1-7.4-18.7-17.1C357.9 7.9 349.9 0 349.8.1c-.2 0-7.3 7.2-15.8 15.9zm32.3 34.9l15.9 15.9 4.9-3.4c4.1-2.7 15.8-10.1 30-18.8 1.6-1 3.1-1.7 3.3-1.5.2.2 5.6 8.8 12 19.1l11.7 18.7 16.7-5.9c9.2-3.2 18.7-6.6 21.1-7.4 2.4-.9 4.5-1.5 4.7-1.3.3.3 10.9 30.3 13.6 38.3.8 2.6 1.9 4 2.8 3.9 1.9-.3 11-1.3 18-2 3-.3 6.4-.7 7.5-1 4.9-1 17.3-1.6 17.8-.9.2.5.8 4 1.2 7.9.3 3.8.8 7.9 1 9 .2 1.1.7 4.7 1 8 1.9 19.9 1.7 19.1 6.3 19.3 2.2.2 4.8.4 5.8.6 1.1.2 4.8.7 8.4 1 3.6.4 8.3 1 10.5 1.3 5.8.8 8.6 1.1 12.4 1.2l3.4.1-.7 7.2c-.3 4-.8 8.4-1 9.8-.2 1.4-.7 5.2-1.1 8.5-.3 3.3-.9 8-1.2 10.5-1.2 9.7-1.7 9 7.7 12.3 13.1 4.5 33.5 11.9 33.7 12.1.1.1-1.1 4-2.8 8.7-1.7 4.6-4.8 13.3-6.9 19.4-2.1 6-4.1 11.7-4.4 12.6-.5 1.1.8 2.6 4.8 5.2 3.1 2 5.8 3.7 6 3.7.3 0 25.1 15.6 26.5 16.6.1.1-1.3 2.9-3.4 6.1-2 3.2-4.2 6.7-4.8 7.7-.7 1-4.4 7-8.4 13.3l-7.1 11.3 16 15.9 16.1 16-16.1 16-16 16 9 14.3c5 7.9 10.3 16.3 11.9 18.7 1.6 2.5 2.9 4.7 2.9 5 0 .3-2.8 2.3-6.3 4.4-3.4 2.1-7.1 4.3-8.2 5-1 .7-5.2 3.3-9.3 5.9-4 2.7-7.7 4.8-8 4.8-1.6.1-6.4 4.9-5.8 5.8.6 1 10.9 29.9 13 36.8l1.3 4.1-21.1 7.5c-18 6.3-21.1 7.7-21 9.4.2 1.8 2.1 19.2 2.9 25.9.2 1.6.6 6.2 1 10l.7 7-15.8 1.8c-8.8 1-18.4 2-21.4 2.3-3 .3-6 1.1-6.7 1.7-.6.7-1.5 4.3-1.9 8.2-.3 3.8-.8 8.1-.9 9.5-.2 1.4-.7 5.6-1.1 9.5-.4 3.8-.8 7.7-1 8.5-.1.8-.3 3-.3 4.8l-.1 3.4-7.2-.7c-10-1-11.5-1.2-17.8-1.9-19.1-2.3-19.8-2.3-21-.2-.5 1.2-1.4 3.4-1.9 5.1-1.5 4.9-12.1 34.8-12.5 35.3-.3.2-1.9-.3-3.8-1.1-1.8-.8-5.3-2.2-7.8-3-6.3-2.1-27.2-9.4-29.1-10.2-1.3-.5-4.2 3.5-13.5 18.2-6.5 10.3-11.9 19-12 19.2-.4.4-27.3-16.2-27.3-16.9-.1-.3 35.3-36.1 78.7-79.5 43.3-43.5 80.6-81.5 83-84.6 12.6-16.7 21.8-37.7 24.8-56.9 2.3-15.1.2-37.2-5.1-53.2-11.5-34.8-40.4-63.4-75.5-74.7-8.1-2.6-9.3-2.9-20.3-4.5-20.4-2.9-42.7 0-61.7 8.1-17.9 7.7-25.3 13.2-49.2 37.1L350 349.4l-20.2-20c-24.4-24-32.9-30.1-52.6-37.3-7.3-2.7-18-5.4-26.7-6.6-4.6-.7-23.7-.7-27.5-.1-1.4.3-5.4 1-9 1.6-21.3 3.7-43.4 15.5-60 31.9-22.6 22.4-34.4 50.2-34.9 82-.4 21.2 5.1 42.6 15.3 59.9 1.7 2.9 3.6 6.1 4.1 7.1 3.6 6.3 20.1 23.3 89.9 93.1 61.8 61.6 78.3 78.7 77.4 79.6-.7.6-6.9 4.7-13.7 8.9-9.4 5.8-12.6 7.4-13.2 6.4-.4-.8-5.7-9.3-11.8-18.9-8.4-13.4-11.4-17.4-12.8-17.2-1.6.3-35 11.9-39.4 13.7-1.1.4-1.8 0-2.2-1.2-.3-1-1.7-5.2-3.2-9.3-1.5-4.1-2.8-8.1-3.1-8.8-.2-.7-.4-1.4-.5-1.7-2.2-7-8-21-8.6-20.8-.5.1-4.2.4-8.3.7-6.8.5-12.8 1.2-18.7 2.1-1.2.2-5.5.6-9.6 1-5.8.5-7.4.4-7.4-.7 0-.7-.3-3.3-.6-5.8-.4-2.5-.9-7-1.2-10-.3-3-.8-6.9-1-8.5-.2-1.7-.7-6.5-1.1-10.8-.3-4.2-.9-7.9-1.3-8.1-.3-.2-3.3-.7-6.6-1-12-1.2-17-1.7-19.3-2.1-4.5-.8-16.7-1.9-17.6-1.7-.7.3 0-15.3.9-16.8.1-.3.6-3.9.9-8 .9-10.4 1.8-17.4 2.2-18 .9-1.7-3.1-3.6-21.6-10-11.2-3.9-20.5-7.2-20.7-7.3-.1-.2 1.4-4.8 3.3-10.2 2-5.5 5.3-15.1 7.4-21.3l3.8-11.3-2.1-1.3c-1.2-.8-4.2-2.7-6.7-4.2-2.5-1.6-5-3.1-5.6-3.4-.8-.4-21.8-13.6-23.3-14.7-.2-.1 5-8.8 11.6-19.3l12-19.1-16-16-16-16.1 16.1-16 16-15.9-12-19c-6.7-10.4-11.9-19.1-11.7-19.3.2-.2 6.2-4 13.4-8.4 7.2-4.5 13.5-8.5 14-8.9.6-.5 3.2-2.1 5.8-3.7 3.7-2.1 4.7-3.2 4.2-4.4-.4-1-3.3-9.1-6.5-18.2s-6.3-17.8-6.9-19.4c-.6-1.6-1-3-.8-3.2.2-.2 9.3-3.5 20.3-7.4 10.9-3.9 20.4-7.2 20.9-7.4.7-.3.3-7-1.2-20.2-1.2-11-2.2-21.1-2.3-22.5 0-2.9-1-2.6 18-4.5 3-.3 6.6-.7 8-1 1.4-.2 6-.7 10.3-1 6.8-.6 7.8-.9 8.2-2.8.4-2.1 1.4-10.6 2.1-17.6.1-1.9.5-5.3.8-7.5.7-4.8 1.9-15.5 1.9-17.2 0-.7.3-1.1.6-.9.3.2 4 .7 8.1 1.1 4.1.3 8.2.8 9 1 .8.2 4.9.7 9 1 4.1.4 9.8 1.1 12.5 1.5 2.8.5 5.3.5 5.7.2.3-.4 2.9-7.2 5.6-15.2 4.9-14.2 9.2-26.2 9.7-26.8.1-.2 2 .4 4.1 1.2 2.2.8 10.9 4 19.4 7 8.5 3 16.2 5.7 17.1 6.1 1.3.5 4.2-3.4 13.4-18.2 6.5-10.3 11.9-19 12.1-19.2.4-.5 11.6 6.3 24.7 15 3.2 2.2 6.1 3.9 6.5 3.9.4 0 1.8.9 3.2 2 1.4 1.1 3 2 3.6 2 .6 0 8.1-7 16.5-15.5C342.6 42 349.7 35 350 35c.3 0 7.6 7.2 16.3 15.9zm-70.4 371c19.1 9.8 19.3 36.3.2 46.1-20.6 10.4-43.3-10.4-35.1-32.3 5.1-13.5 22.1-20.3 34.9-13.8zm126.9-1.4c10.8 3.2 18.6 14 18.1 25.3-.3 6.9-2.2 11.5-6.9 16.5-11.4 12.4-30.3 10.9-39.7-3.2-4.4-6.5-5.2-11.2-3.7-20.5 1.2-7.4 8-14.8 16.1-17.5 6.6-2.2 9.9-2.4 16.1-.6zm-61.4 216c7.6 2 10.9 3.6 17.1 8.3 4.8 3.6 5 4 4.7 8.1-.7 9.8-9.2 21.5-18.9 26.1-16.2 7.6-36.3.7-44.5-15.4-2-3.9-2.2-4.6-3.2-10.8-.6-3.7.8-5.5 8-10.5 9.7-6.7 24.4-9 36.8-5.8z"/><path d="M290.1 435.7c-5 4.3-2.1 12.3 4.4 12.3 4.3 0 7.8-4 6.9-7.9-.8-3.3-3.9-6.1-6.9-6.1-1.3 0-3.2.8-4.4 1.7zM420.5 436.5c-2.8 2.7-3 4.2-1.3 8 3.4 7.5 15.3 2.1 12.6-5.7-1.8-5-7.5-6.2-11.3-2.3z"/></svg>
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 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
- <%- include codimd/head %>
-</head>
-
-<body>
- <%- include codimd/header %>
- <%- include codimd/body %>
- <%- include codimd/footer %>
- <%- include codimd/foot %>
-</body>
-
-</html>
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 @@
<html lang="en">
<head>
- <%- include codimd/head %>
+ <%- include hedgedoc/head %>
<link rel="stylesheet" href="<%- serverURL %>/css/center.css">
</head>
<body>
- <%- include codimd/header %>
+ <%- include hedgedoc/header %>
<div class="container-fluid text-center">
<div class="vertical-center-row">
<h1><%- code %> <%- detail %> <small><%- msg %></small></h1>
</div>
</div>
- <%- include codimd/footer %>
+ <%- include hedgedoc/footer %>
</body>
</html>
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 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <%- include hedgedoc/head %>
+</head>
+
+<body>
+ <%- include hedgedoc/header %>
+ <%- include hedgedoc/body %>
+ <%- include hedgedoc/footer %>
+ <%- include hedgedoc/foot %>
+</body>
+
+</html>
diff --git a/public/views/codimd/body.ejs b/public/views/hedgedoc/body.ejs
index 96cb8f95..96cb8f95 100644
--- a/public/views/codimd/body.ejs
+++ b/public/views/hedgedoc/body.ejs
diff --git a/public/views/codimd/foot.ejs b/public/views/hedgedoc/foot.ejs
index 9d620e29..9d620e29 100644
--- a/public/views/codimd/foot.ejs
+++ b/public/views/hedgedoc/foot.ejs
diff --git a/public/views/hedgedoc/footer.ejs b/public/views/hedgedoc/footer.ejs
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/public/views/hedgedoc/footer.ejs
diff --git a/public/views/codimd/head.ejs b/public/views/hedgedoc/head.ejs
index 71e261fb..e7b13e8a 100644
--- a/public/views/codimd/head.ejs
+++ b/public/views/hedgedoc/head.ejs
@@ -4,12 +4,13 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="mobile-web-app-capable" content="yes">
+<%- include ../includes/favicon %>
<% for (var og in opengraph) { %>
<% if (opengraph.hasOwnProperty(og) && opengraph[og].trim() !== '') { %>
<meta property="og:<%- og %>" content="<%- opengraph[og] %>">
<% }} if (!opengraph.hasOwnProperty('image')) { %>
-<meta property="og:image" content="<%- serverURL %>/codimd-icon-1024.png">
-<meta property="og:image:alt" content="CodiMD logo">
+<meta property="og:image" content="<%- serverURL %>/icons/android-chrome-512x512">
+<meta property="og:image:alt" content="HedgeDoc logo">
<meta property="og:image:type" content="image/png">
<% } %>
<base href="<%- serverURL %>/">
diff --git a/public/views/codimd/header.ejs b/public/views/hedgedoc/header.ejs
index 6bf37804..f700cd5b 100644
--- a/public/views/codimd/header.ejs
+++ b/public/views/hedgedoc/header.ejs
@@ -13,7 +13,10 @@
<ul class="dropdown-menu list" role="menu" aria-labelledby="menu">
</ul>
</div>
- <a class="navbar-brand pull-left" href="<%- serverURL %>/"><i class="fa fa-file-text"></i> CodiMD</a>
+ <a class="navbar-brand pull-left header-brand" href="<%- serverURL %>/" title="HedgeDoc (formerly CodiMD)">
+ <img src="<%- serverURL %>/banner/banner_h_bw.svg" alt="HedgeDoc" class="h-100 no-night">
+ <img src="<%- serverURL %>/banner/banner_h_wb.svg" alt="HedgeDoc" class="h-100 night">
+ </a>
<div class="nav-mobile pull-right visible-xs">
<a data-toggle="dropdown" class="btn btn-link">
<i class="fa fa-caret-down"></i>
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 @@
+<link rel="apple-touch-icon" sizes="180x180" href="<%- serverURL %>/icons/apple-touch-icon.png">
+<link rel="icon" type="image/png" sizes="32x32" href="<%- serverURL %>/icons/favicon-32x32.png">
+<link rel="icon" type="image/png" sizes="16x16" href="<%- serverURL %>/icons/favicon-16x16.png">
+<link rel="manifest" href="<%- serverURL %>/icons/site.webmanifest">
+<link rel="mask-icon" href="<%- serverURL %>/icons/safari-pinned-tab.svg" color="#b51f08">
+<link rel="shortcut icon" href="<%- serverURL %>/icons/favicon.ico">
+<meta name="apple-mobile-web-app-title" content="HedgeDoc - <%= __('Collaborative markdown notes') %>">
+<meta name="application-name" content="HedgeDoc - <%= __('Collaborative markdown notes') %>">
+<meta name="msapplication-TileColor" content="#b51f08">
+<meta name="msapplication-config" content="<%- serverURL %>/icons/browserconfig.xml">
+<meta name="theme-color" content="#303030">
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 @@
<div id="home" class="section"<% if(signin) { %> style="display:none;"<% } %>>
<div class="inner cover">
- <h1 class="cover-heading"><i class="fa fa-file-text"></i> CodiMD</h1>
+ <h1 class="cover-heading"><img src="<%- serverURL %>/banner/banner_vertical_color.svg" width="400" alt="HedgeDoc logo"></h1>
<p class="lead">
<%= __('Best way to write and share your knowledge in markdown.') %>
</p>
+ <span class="alert alert-info" style="display: inline-block;">
+ CodiMD was renamed to HedgeDoc. <a href="INSERT_LINK" rel="noopener noreferrer" target="_blank" class="text-danger">Read more</a>
+ </span>
<% if (infoMessage && infoMessage.length > 0) { %>
<div class="alert alert-info" style="max-width: 400px; margin: 0 auto;"><%= infoMessage %></div>
<% } %>
@@ -156,10 +159,10 @@
<option value="ml">മലയാളം</option>
</select>
<p>
- <%- __('Powered by %s', '<a href="https://codimd.org">CodiMD</a>') %> | <a href="<%- serverURL %>/s/release-notes" target="_blank" rel="noopener"><%= __('Releases') %></a> | <a href="<%- sourceURL %>" target="_blank" rel="noopener"><%= __('Source Code') %></a><% if(imprint) { %> | <a href="<%- serverURL %>/s/imprint" target="_blank" rel="noopener"><%= __('Imprint') %></a><% } %><% if(privacyStatement) { %> | <a href="<%- serverURL %>/s/privacy" target="_blank" rel="noopener"><%= __('Privacy') %></a><% } %><% if(termsOfUse) { %> | <a href="<%- serverURL %>/s/terms-of-use" target="_blank" rel="noopener"><%= __('Terms of Use') %></a><% } %>
+ <%- __('Powered by %s', '<a href="https://hedgedoc.org">HedgeDoc</a>') %> | <a href="<%- serverURL %>/s/release-notes" target="_blank" rel="noopener"><%= __('Releases') %></a> | <a href="<%- sourceURL %>" target="_blank" rel="noopener"><%= __('Source Code') %></a><% if(imprint) { %> | <a href="<%- serverURL %>/s/imprint" target="_blank" rel="noopener"><%= __('Imprint') %></a><% } %><% if(privacyStatement) { %> | <a href="<%- serverURL %>/s/privacy" target="_blank" rel="noopener"><%= __('Privacy') %></a><% } %><% if(termsOfUse) { %> | <a href="<%- serverURL %>/s/terms-of-use" target="_blank" rel="noopener"><%= __('Terms of Use') %></a><% } %>
</p>
<h6 class="social-foot">
- <%- __('Follow us on %s and %s.', '<a href="https://github.com/codimd/server" target="_blank" rel="noopener"><i class="fa fa-github"></i> GitHub</a>, <a href="https://community.codimd.org" target="_blank" rel="noopener"><i class="fa fa-users" aria-hidden="true"></i> Discourse</a>, <a href="https://matrix.to/#/#hedgedoc:matrix.org" target="_blank" rel="noopener"><i class="fa fa-comments"></i> Matrix</a>, <a href="https://social.codimd.org/mastodon" target="_blank" rel="noopener"><i class="fa fa-mastodon"></i> Mastodon</a>', '<a href="https://translate.codimd.org" target="_blank" rel="noopener"><i class="fa fa-globe"></i> POEditor</a>') %>
+ <%- __('Follow us on %s and %s.', '<a href="https://github.com/hedgedoc/server" target="_blank" rel="noopener"><i class="fa fa-github"></i> GitHub</a>, <a href="https://community.hedgedoc.org" target="_blank" rel="noopener"><i class="fa fa-users" aria-hidden="true"></i> Discourse</a>, <a href="https://matrix.to/#/#hedgedoc:matrix.org" target="_blank" rel="noopener"><i class="fa fa-comments"></i> Matrix</a>, <a href="https://social.hedgedoc.org/mastodon" target="_blank" rel="noopener"><i class="fa fa-mastodon"></i> Mastodon</a>', '<a href="https://translate.hedgedoc.org" target="_blank" rel="noopener"><i class="fa fa-globe"></i> POEditor</a>') %>
</h6>
</div>
</div>
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 @@
<meta name="mobile-web-app-capable" content="yes">
<meta name="description" content="<%= __('Best way to write and share your knowledge in markdown.') %>">
<meta name="keywords" content="Collaborative, Markdown, Notes">
-<meta property="og:title" content="CodiMD - <%= __('Collaborative markdown notes') %>">
+<%- include ../includes/favicon %>
+<meta property="og:title" content="HedgeDoc - <%= __('Collaborative markdown notes') %>">
<meta property="og:description" content="<%= __('Best way to write and share your knowledge in markdown.') %>">
<meta property="og:type" content="website">
<meta property="og:url" content="<%- serverURL %>">
-<meta property="og:image" content="<%- serverURL %>/codimd-icon-1024.png">
-<meta property="og:image:alt" content="CodiMD logo">
+<meta property="og:image" content="<%- serverURL %>/icons/android-chrome-512x512">
+<meta property="og:image:alt" content="HedgeDoc logo">
<meta property="og:image:type" content="image/png">
<base href="<%- serverURL %>/">
-<title>CodiMD - <%= __('Collaborative markdown notes') %></title>
-<link rel="icon" type="image/png" href="<%- serverURL %>/favicon.png">
-<link rel="apple-touch-icon" href="<%- serverURL %>/apple-touch-icon.png">
+<title>HedgeDoc - <%= __('Collaborative markdown notes') %></title>
<% if(useCDN) { %>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.0/css/bootstrap.min.css" integrity="sha256-H0KfTigpUV+0/5tn2HXC0CPwhhDhWgSawJdnFd0CGCo=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fork-awesome/1.1.3/css/fork-awesome.min.css" integrity="sha256-ZhApazu+kejqTYhMF+1DzNKjIzP7KXu6AzyXcC1gMus=" crossorigin="anonymous" />
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() !== '') { %>
<meta property="og:<%= og %>" content="<%= opengraph[og] %>">
<% }} if (!opengraph.hasOwnProperty('image')) { %>
- <meta property="og:image" content="<%- serverURL %>/codimd-icon-1024.png">
- <meta property="og:image:alt" content="CodiMD logo">
+ <meta property="og:image" content="<%- serverURL %>/icons/android-chrome-512x512">
+ <meta property="og:image:alt" content="HedgeDoc logo">
<meta property="og:image:type" content="image/png">
<% } %>
<base href="<%- serverURL %>/">
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 @@
<h3 class="panel-title"><%= __('Contacts') %></h3>
</div>
<div class="panel-body">
- <a href="https://community.codimd.org" target="_blank"><i class="fa fa-users fa-fw"></i> <%= __('Join the community') %></a>
+ <a href="https://community.hedgedoc.org" target="_blank"><i class="fa fa-users fa-fw"></i> <%= __('Join the community') %></a>
<br>
<a href="https://matrix.to/#/#hedgedoc:matrix.org" target="_blank"><i class="fa fa-hashtag fa-fw"></i> <%= __('Meet us on %s', 'Matrix') %></a>
<br>
- <a href="https://github.com/codimd/server/issues" target="_blank"><i class="fa fa-tag fa-fw"></i> <%= __('Report an issue') %></a>
+ <a href="https://github.com/hedgedoc/server/issues" target="_blank"><i class="fa fa-tag fa-fw"></i> <%= __('Report an issue') %></a>
<br>
- <a href="https://translate.codimd.org" target="_blank"><i class="fa fa-language fa-fw"></i> <%= __('Help us translating') %></a>
+ <a href="https://translate.hedgedoc.org" target="_blank"><i class="fa fa-language fa-fw"></i> <%= __('Help us translating') %></a>
</div>
</div>
<div class="panel panel-default">