From 252446e3e3792bdba46e24e407b888eff1ccef36 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 6 Jul 2018 17:51:39 +0200 Subject: [PATCH] version 1.2.1 Improved Editor and fixes --- cache/lastCache.txt | 2 +- composer.lock | 18 +++++++++--------- content/5_info/01-release-notes.md | 20 ++++++++++++++++++++ content/5_info/15_markdown-test.md | 2 +- media/markdown.png | Bin 2180 -> 1272 bytes system/Settings.php | 2 +- system/author/layouts/layoutContent.twig | 6 +++--- themes/typemill/typemill.yaml | 2 +- 8 files changed, 36 insertions(+), 16 deletions(-) diff --git a/cache/lastCache.txt b/cache/lastCache.txt index cea0087..1a53266 100644 --- a/cache/lastCache.txt +++ b/cache/lastCache.txt @@ -1 +1 @@ -1530865190 \ No newline at end of file +1530867542 \ No newline at end of file diff --git a/composer.lock b/composer.lock index 57dcf2a..361946c 100644 --- a/composer.lock +++ b/composer.lock @@ -235,16 +235,16 @@ }, { "name": "paragonie/random_compat", - "version": "v2.0.15", + "version": "v2.0.17", "source": { "type": "git", "url": "https://github.com/paragonie/random_compat.git", - "reference": "10bcb46e8f3d365170f6de9d05245aa066b81f09" + "reference": "29af24f25bab834fcbb38ad2a69fa93b867e070d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/10bcb46e8f3d365170f6de9d05245aa066b81f09", - "reference": "10bcb46e8f3d365170f6de9d05245aa066b81f09", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/29af24f25bab834fcbb38ad2a69fa93b867e070d", + "reference": "29af24f25bab834fcbb38ad2a69fa93b867e070d", "shasum": "" }, "require": { @@ -280,7 +280,7 @@ "pseudorandom", "random" ], - "time": "2018-06-08T15:26:40+00:00" + "time": "2018-07-04T16:31:37+00:00" }, { "name": "pimple/pimple", @@ -890,12 +890,12 @@ "source": { "type": "git", "url": "https://github.com/vlucas/valitron.git", - "reference": "3c5463315bfa23b17f8949b100a960d035234e43" + "reference": "3511ad84af98c1d47cc671ef0e52b1fab594c406" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/valitron/zipball/3c5463315bfa23b17f8949b100a960d035234e43", - "reference": "3c5463315bfa23b17f8949b100a960d035234e43", + "url": "https://api.github.com/repos/vlucas/valitron/zipball/3511ad84af98c1d47cc671ef0e52b1fab594c406", + "reference": "3511ad84af98c1d47cc671ef0e52b1fab594c406", "shasum": "" }, "require": { @@ -931,7 +931,7 @@ "validation", "validator" ], - "time": "2018-05-06T10:45:26+00:00" + "time": "2018-06-27T07:23:19+00:00" } ], "packages-dev": [], diff --git a/content/5_info/01-release-notes.md b/content/5_info/01-release-notes.md index fd0471f..375c89e 100644 --- a/content/5_info/01-release-notes.md +++ b/content/5_info/01-release-notes.md @@ -2,6 +2,26 @@ This is the version history with some release notes. +## Version 1.2.1: Improved editor and fixes + +_Release date: 06.07.2018_ + +** Version 1.2.1 has an important security-update, so please switch to version 1.2.1 asap. Follow the instruction for simple updates** in the [documentation](/gettings-started/update), so update the `system` folder and please also update the theme `typemill`. + +The changes are: + +* Fixed soft linebreaks in markdown. Now you can add two spaces at the end of a line and you will get a soft linebreak with `
`. +* Fixed navigation-error. The navigation will work now if the content starts with multiple nested folders. +* Links on startpage are now displayed correctly. +* You can now position your images with three classes `.left`, `.right`, `.middle`. Check the markdown test in the documentation for more info and examples. +* Added markdown example for linked image in documentation. +* Maximum lenght of title in editor is now 100 characters instead of 40. +* All redirects to the author panel go to content now instead of settings. +* Added error message, if file is not writable. +* Added csrf-check and more security to the content-api. +* Massively improved vue-code for the editor. Now it is vue.js logic and not vanilla script. +* Massivley reduced and cleaned up custom code for parsedown-extension. + ## Version 1.2.0: Introducing a Basic Content Editor _Release date: 25.06.2018_ diff --git a/content/5_info/15_markdown-test.md b/content/5_info/15_markdown-test.md index 0030278..0cc86e6 100644 --- a/content/5_info/15_markdown-test.md +++ b/content/5_info/15_markdown-test.md @@ -176,7 +176,7 @@ You can link an image with a nested syntax like this: You can link an image with a nested syntax like this: -[![alt-text](/media/markdown.png)](https://typemill.net) +[![alt-text](/media/markdown.png){.imgClass}](https://typemill.net) ## Image Position diff --git a/media/markdown.png b/media/markdown.png index 93e729bc77ca37a36b97509e4cd552e1033973f9..31e1d083532dc32b0b086844ec8c944b4d076f77 100644 GIT binary patch literal 1272 zcmVPx#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D02y>eSaefwW^{L9 za%BK;VQFr3E^cLXAT%y8E;2FkAZe8V00d}BL_t(|UhUjVs8v-Q$MKVurDkdgB4JS@ zdnhO&MTrw3d=La72$ANXB5M$2MH7jzX%j)HK|zQ}BS{cNs(~0m4{~Bf+Jg*HD^p1= zHNU?@C)Qo}zt4WHeeN3kfAAT&-Dh3hKknIkul?vnxfL(tQ=G=XF1aiC4Ikrq+=Owt z29M%bScACk{D9>clSgn4)(2eo&f;P8a|?cfwW1rHA2AKRm;PH2x`dx`*d_N3jzRm9 zc)P!d-oapjsEpS!6Q1jdxaNGZZF$?4?s6|h=(KbGX zaNFxQX3PTl5}wiIB;xHqZh;pvx_BX(#S6(SUPxx~LNZIzLRR6`3Us`kB2%H+QR`=f zo%@$anFXM&Or2UDGn65)n9!J%kc+3lFKpT4B#AR zgwbtC-@#hHDleo39YGDwG>R8eLgyMUM9b>>0F&W`3`w0rbUow!U|Ai9 zpz{+YMIoBXf1|_>SYyZDh4uN+6DZ1r6{5_*=dji(q8rKX!yqXNxgEN(+4^j1N1>lr zlnE_Fxf@lVLAii62$Sk7Yd(&{`g|%H{~ip>gcqW$hK`u5bq92AqS@Z~vnlr>y72Wo ztTEcsxEjAKSrnqF_1B=g?5*`hQz$xnkCS?*uAO)42bDD5xF@0tl0_kkHug?fQzd$S zVz3jBle!T7+tx#0kJeaqoyS^KO*VxndPd@FgzIVs_+Atxbs>s=V_(5Pu*R!OQ$HI~ z^#8SzRUwLwpay61I(gKEsbT4&5aoL4qM1%Wtuf2!>vuEi-dU4fA&Q>gA(_Q2B%W^e*E5YKx^`l|o=LAP4Hs&jW)?i%M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ZsxW}1eZKD-a_G zBF7ze){N?3Hl+mm>0)){4D%{1oTXPnaSEa(MUgXqnTs6JD&A;X7-0p&3b zTyyPGyO}!gaytCE(LYMpSXr-~5CY`_WJmr<$HVsl1IhJM3_j5_RbTH?+!sPh7ml>q z_f)wiTRH2-PKn=R$0^L8@3IOzaNB7JYS965^17O&NfDrG;hPv0`kK3sVSvM!g>IL# zihy#FTo|?@w6VmR6{(_{9Hud4omqvB691u{3OzzgPnVT2qXgP0j`Xlb?7i7Z<*~~W zvV}fIpmA^{_iLNcbN<{eUE^ z&}U^G8;+L%=m6x--fhz~VUtnK@2uGsJ9%{8-hkkt7G3QtF>2{~K{ucQ2 zoI6vwN`gZ# zKMW;V<~MuSy6m~FJT&>>Y0$tit47L`8RomPY+Pl%{Qa=!pJkY0bPOxQ%wd4)#8@WZ zpK0IIX;_J$X3oI6E)e$l!yk9t!(QQh3j((zbGSW7u-de3;TBTxpAw02RWW#WF@b|}A1v5Hkbm`Ii v0@|%qBtaQNUf$8&Gpzv{H;#JK<}AKdSfrDxI5YBZ1;mx&?tE`&z`1_|&HV@> diff --git a/system/Settings.php b/system/Settings.php index e479d96..e6452fc 100644 --- a/system/Settings.php +++ b/system/Settings.php @@ -43,7 +43,7 @@ class Settings 'contentFolder' => 'content', 'cache' => true, 'cachePath' => $rootPath . 'cache', - 'version' => '1.2.0', + 'version' => '1.2.1', 'setup' => true, 'welcome' => true ]; diff --git a/system/author/layouts/layoutContent.twig b/system/author/layouts/layoutContent.twig index 65e2a0b..b30fde5 100644 --- a/system/author/layouts/layoutContent.twig +++ b/system/author/layouts/layoutContent.twig @@ -17,7 +17,7 @@ - + @@ -35,7 +35,7 @@
- - + + \ No newline at end of file diff --git a/themes/typemill/typemill.yaml b/themes/typemill/typemill.yaml index 202bfaf..613283f 100644 --- a/themes/typemill/typemill.yaml +++ b/themes/typemill/typemill.yaml @@ -1,5 +1,5 @@ name: Typemill Theme -version: 1.0.8 +version: 1.0.9 description: The standard theme for Typemill. Responsive, minimal and without any dependencies. It uses the system fonts Calibri and Helvetica. No JavaScript is used. author: Sebastian Schürmanns homepage: http://typemill.net