Browse Source

version 1.2.1 Improved Editor and fixes

Sebastian 7 năm trước cách đây
mục cha
commit
252446e3e3

+ 1 - 1
cache/lastCache.txt

@@ -1 +1 @@
-1530865190
+1530867542

+ 9 - 9
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": [],

+ 20 - 0
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 `<br/>`.
+* 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_

+ 1 - 1
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
 

BIN
media/markdown.png


+ 1 - 1
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
 		];

+ 3 - 3
system/author/layouts/layoutContent.twig

@@ -17,7 +17,7 @@
 		
 		<link rel="stylesheet" href="{{ base_url }}/system/author/css/fontello/css/fontello.css" />
 		<link rel="stylesheet" href="{{ base_url }}/system/author/css/normalize.css" />
-		<link rel="stylesheet" href="{{ base_url }}/system/author/css/style.css" />
+		<link rel="stylesheet" href="{{ base_url }}/system/author/css/style.css?20180706" />
 		<link rel="stylesheet" href="{{ base_url }}/system/author/css/color-picker.min.css" />
 	</head>
 	<body>	
@@ -35,7 +35,7 @@
 			<footer></footer>		
 		</div>
 		<script src="{{ base_url }}/system/author/js/vue.min.js"></script>
-		<script src="{{ base_url }}/system/author/js/vue-editor.js"></script>		
-		<script src="{{ base_url }}/system/author/js/author.js"></script>
+		<script src="{{ base_url }}/system/author/js/vue-editor.js?20180706"></script>		
+		<script src="{{ base_url }}/system/author/js/author.js?20180706"></script>
 	</body>
 </html>

+ 1 - 1
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