diff --git a/codeception.dist.yml b/codeception.dist.yml index 66396a311..2662bb523 100644 --- a/codeception.dist.yml +++ b/codeception.dist.yml @@ -1,7 +1,7 @@ actor: Tester paths: tests: tests - log: tests/_output + output: tests/_output data: tests/_data helpers: tests/_support bootstrap: _bootstrap.php diff --git a/common/css/rhymix.scss b/common/css/rhymix.scss index a9b32fc53..d116b5b92 100644 --- a/common/css/rhymix.scss +++ b/common/css/rhymix.scss @@ -28,6 +28,7 @@ a img { } @else { word-break: $default_word_break; word-wrap: break-word; + overflow-wrap: anywhere; } p { margin: 0 0 $default_paragraph_spacing 0; diff --git a/common/defaults/blacklist.php b/common/defaults/blacklist.php index cc0736e91..ad780a673 100644 --- a/common/defaults/blacklist.php +++ b/common/defaults/blacklist.php @@ -30,6 +30,7 @@ return array( 'homepage' => true, 'multidomain' => true, 'seo' => true, + 'syndication' => true, 'trackback' => true, ), diff --git a/common/framework/Formatter.php b/common/framework/Formatter.php index e06bd85a0..3d68eb3c9 100644 --- a/common/framework/Formatter.php +++ b/common/framework/Formatter.php @@ -453,8 +453,8 @@ class Formatter } if ($import_type === 'scss') { - $import_content = preg_replace('!//.*?\n!s', '', $import_content); - $import_content = preg_replace('![\r\n]+!', ' ', $import_content); + $import_content = preg_replace('@(? {!! $content !!} - + +@if (isset($iframe_sequence) && preg_match('/^\w+$/', $iframe_sequence)) + + +@else + +@endif diff --git a/modules/board/board.view.php b/modules/board/board.view.php index 5bf138204..101fc2c05 100644 --- a/modules/board/board.view.php +++ b/modules/board/board.view.php @@ -914,6 +914,7 @@ class BoardView extends Board $oDocument->setDocument($document_srl); $savedDoc = ($oDocument->get('module_srl') == $oDocument->get('member_srl')); + $oDocument->add('origin_module_srl', $oDocument->get('module_srl')); $oDocument->add('module_srl', $this->module_srl); if($oDocument->isExists()) diff --git a/modules/comment/tpl/declare_comment.html b/modules/comment/tpl/declare_comment.html index 1660a63a8..a44b7baf0 100644 --- a/modules/comment/tpl/declare_comment.html +++ b/modules/comment/tpl/declare_comment.html @@ -12,8 +12,9 @@

{$lang->improper_comment_declare} {$lang->cmd_cancel}

+ ×
-
+

{$lang->replies}

@@ -32,11 +33,11 @@
- + +

{$component_info->title}

+ ×
@@ -89,12 +90,12 @@
{$lang->poll_title}
- +
{$lang->poll_item} 1
- +
{$lang->poll_item} 2
diff --git a/modules/editor/editor.view.php b/modules/editor/editor.view.php index 2acfb5220..6021a1870 100644 --- a/modules/editor/editor.view.php +++ b/modules/editor/editor.view.php @@ -55,12 +55,23 @@ class EditorView extends Editor { // add a css file Context::loadFile($this->module_path."tpl/css/editor.css", true); + // List variables $editor_sequence = Context::get('editor_sequence'); - $component = Context::get('component'); + $iframe_sequence = Context::get('iframe_sequence'); + if (empty($editor_sequence) || !ctype_alnum($editor_sequence)) + { + return new BaseObject(-1, 'msg_invalid_request'); + } + if (isset($iframe_sequence) && !ctype_alnum($iframe_sequence)) + { + return new BaseObject(-1, 'msg_invalid_request'); + } + $component = Context::get('component'); $site_module_info = Context::get('site_module_info'); $site_srl = (int)$site_module_info->site_srl; + // Get compoenet object $oComponent = EditorModel::getComponentObject($component, $editor_sequence, $site_srl); if(!$oComponent->toBool()) diff --git a/modules/editor/skins/ckeditor/js/editor.js b/modules/editor/skins/ckeditor/js/editor.js index ba888ee8a..261299067 100644 --- a/modules/editor/skins/ckeditor/js/editor.js +++ b/modules/editor/skins/ckeditor/js/editor.js @@ -87,7 +87,6 @@ $(function() { // Patch for iOS: https://github.com/rhymix/rhymix/issues/932 if (config.ios_patch) { - settings.loadXeComponent = false; $('head').append('