summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/guides/migrations-and-breaking-changes.md4
-rw-r--r--package.json2
-rw-r--r--public/css/extra.css12
-rw-r--r--public/css/slide-preview.css61
-rw-r--r--public/docs/release-notes.md75
-rw-r--r--public/js/index.js2
6 files changed, 153 insertions, 3 deletions
diff --git a/docs/guides/migrations-and-breaking-changes.md b/docs/guides/migrations-and-breaking-changes.md
index 776055b6..ef65db1c 100644
--- a/docs/guides/migrations-and-breaking-changes.md
+++ b/docs/guides/migrations-and-breaking-changes.md
@@ -1,6 +1,10 @@
Migrations and Notable Changes
===
+## Migrating to 1.4.0
+
+We dropped support for node 6 with this version. If you have any trouble running this version, please double check that you are running at least node 8!
+
## Migrating to 1.3.2
This is not a breaking change, but to stay up to date with the community
diff --git a/package.json b/package.json
index 1518abff..bb516a2e 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "CodiMD",
- "version": "1.3.2",
+ "version": "1.4.0",
"description": "Realtime collaborative markdown notes on all platforms.",
"main": "app.js",
"license": "AGPL-3.0",
diff --git a/public/css/extra.css b/public/css/extra.css
index b36a69fe..d5945ba9 100644
--- a/public/css/extra.css
+++ b/public/css/extra.css
@@ -384,7 +384,17 @@ small .dropdown a:focus, small .dropdown a:hover {
color: #eee;
}
-*[id]:before {
+
+/* Prevent linked heading from being hidden underneath navbar.
+ * Example: http://localhost:3000/features#Editor-Modes would open and
+ * hide the headline "Editor Modes" underneath the navbar without this CSS rule.
+ */
+.markdown-body h1[id]:before,
+.markdown-body h2[id]:before,
+.markdown-body h3[id]:before,
+.markdown-body h4[id]:before,
+.markdown-body h5[id]:before,
+.markdown-body h6[id]:before {
display: block;
content: " ";
margin-top: -55px;
diff --git a/public/css/slide-preview.css b/public/css/slide-preview.css
index 1f8288c7..963ee340 100644
--- a/public/css/slide-preview.css
+++ b/public/css/slide-preview.css
@@ -56,3 +56,64 @@
height: 1.5em;
border: 3px solid #777;
}
+
+.markdown-body.slides aside.notes {
+ display: none;
+}
+
+.markdown-body.slides ul, .markdown-body.slides ol {
+ display: inline-block;
+ text-align: left;
+ margin: 0 0 0 1em;
+ padding: 0;
+}
+
+.markdown-body.slides table {
+ width: 50%;
+ margin: 0 auto;
+ border-collapse: collapse;
+ border-spacing: 0;
+ display: table;
+}
+
+.markdown-body.slides table th, .markdown-body.slides table td {
+ text-align: left;
+ padding: 0.2em 0.5em 0.2em 0.5em;
+ border:none;
+ border-bottom: 1px solid;
+}
+
+.markdown-body.slides table tr {
+ border-top: 0;
+ background-color: #fff;
+}
+
+.markdown-body.slides table tr:nth-child(2n) {
+ background-color: inherit;
+}
+
+.markdown-body.slides table tbody tr:last-child th, .markdown-body.slides table tbody tr:last-child td {
+ border-bottom: none;
+}
+
+.markdown-body.slides h1, .markdown-body.slides h2 {
+ border-bottom: 0;
+}
+
+.night .markdown-body.slides h1,
+.night .markdown-body.slides h2,
+.night .markdown-body.slides h3,
+.night .markdown-body.slides h4,
+.night .markdown-body.slides h5,
+.night .markdown-body.slides h6 {
+ color: black;
+}
+
+.markdown-body section > section:last-child {
+ margin-bottom: 1.5em !important;
+}
+
+/* slides previews get a black background, controlled by js */
+.ui-view-area.black {
+ background-color: black !important;;
+}
diff --git a/public/docs/release-notes.md b/public/docs/release-notes.md
index 5eb2802d..f7e2a015 100644
--- a/public/docs/release-notes.md
+++ b/public/docs/release-notes.md
@@ -1,6 +1,79 @@
Release Notes
===
+<i class="fa fa-tag"></i> 1.4.0 <i class="fa fa-clock-o"></i> 2019-05-31 00:00
+---
+
+### Announcements
+* CodiMD now has a [Mastodon account](https://social.codimd.org/mastodon)
+* CodiMD now has a [community forum](https://community.codimd.org)
+* With CodiMD 1.4.0 we're dropping node 6 support. That version of node.js is discontinued and no longer receives any security updates. We would like to encourage you to upgrade node 8 or later. Node 8 will continue to be supported at least until its end-of-life in January 2020.
+
+### Enhancements
+* Use libravatar instead of Gravatar
+* Fix language description capitalization
+* Move upload button into the toolbar
+* Clean up Heroku configurations
+* Add new screenshot to README and index page
+* Add link to community call to README
+* Update languages (pl, sr, zh-CN, fr, it, ja, zh-TW, de, sv, es)
+* Change edit link to `both` view
+* Hide minio default ports
+* Add missing passport-saml configuration
+* Add lutim support
+* Update dependencies
+* Add documentation for keycloak
+* Add tests for user model
+* Add Mastodon link
+* Add config for toobusy middleware
+* Add vietnamese language
+
+### Fixes
+* Fix missing space in footer
+* Fix various possible security vulnerabilities in dependencies
+* Fix broken dependency js-sequence-diagrams
+* Fix XSS in graphviz error message rendering
+* Fix toolbar night mode
+* Fix hidden header on scroll
+* Fix missing pictures for OpenID
+* Fix statusbar hiding text in edit view
+
+### Refactors
+* Refactor README and documentation
+* Integrate the old wiki into documentation section
+* Refactor headers on Features page
+* Replace js-url with wurl
+* Refactor scrypt integration
+
+### Removals
+* Remove sass-loader
+
+### Contributors
+* [Amolith](https://github.com/Amolith)
+* CasperS (translator)
+* Cedric.couralet (translator)
+* [Claudius Coenen (ccoenen)](https://github.com/ccoenen)
+* Daniel (translator)
+* Deluxghost (translator)
+* [Dylan Dervaux (Dylanderv)](https://github.com/Dylanderv)
+* [Emmanuel Ormancey (nopap)](https://github.com/nopap)
+* Grzegorz (translator)
+* [Henrik Hüttemann (HerHde)](https://github.com/HerHde)
+* Hồng (translator)
+* [Mauricio Robayo (archemiro)](https://github.com/archemiro)
+* [Max Wu (jackycute)](https://github.com/jackycute)
+* [naimo](https://github.com/naimo)
+* [Pedro Ferreira (pferreir)](https://github.com/pferreir)
+* [Simon Fish (boardfish)](https://github.com/boardfish)
+* [Stéphane Guillou (stragu)](https://github.com/stragu)
+* Sylke Vicious (translator)
+* [Thor77](https://github.com/Thor77)
+* veracosta (translator)
+* Vladan (translator)
+* War (translator)
+* Zhai233 (translator)
+
+
<i class="fa fa-tag"></i> 1.3.2 <i class="fa fa-clock-o"></i> 2019-03-28 00:00
---
@@ -101,7 +174,7 @@ Release Notes
* Refactor handling of template variables
* Refactor linting to use eslint
-### Removes
+### Removals
* Remove no longer working Octicons
* Remove links to our old Gitter channel
* Remove unused library node-uuid
diff --git a/public/js/index.js b/public/js/index.js
index bae24fe5..6ba174a5 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -2744,6 +2744,7 @@ function updateViewInner () {
delete md.metaError
var rendered = md.render(value)
if (md.meta.type && md.meta.type === 'slide') {
+ ui.area.view.addClass('black')
var slideOptions = {
separator: '^(\r\n?|\n)---(\r\n?|\n)$',
verticalSeparator: '^(\r\n?|\n)----(\r\n?|\n)$'
@@ -2760,6 +2761,7 @@ function updateViewInner () {
if (lastMeta.type && lastMeta.type === 'slide') {
refreshView()
ui.area.markdown.removeClass('slides')
+ ui.area.view.removeClass('black')
appState.syncscroll = true
checkSyncToggle()
}