From 076d117d727224c0c0140371466cd309d8fb61a8 Mon Sep 17 00:00:00 2001 From: dmi3yy Date: Mon, 10 Jul 2017 15:07:24 +0300 Subject: [PATCH] 1.2.2-d10 --- assets/docs/changelog.txt | 232 ++++++++++++++++++ .../managermanager/modx.ddtools.class.php | 2 +- manager/includes/version.inc.php | 2 +- .../style/MODxRE2_DropdownMenu/js/modx.js | 4 +- 4 files changed, 236 insertions(+), 4 deletions(-) diff --git a/assets/docs/changelog.txt b/assets/docs/changelog.txt index ddc40b58..5d2c85d3 100644 --- a/assets/docs/changelog.txt +++ b/assets/docs/changelog.txt @@ -1,6 +1,238 @@ This file shows the changes in recent releases of MODX. The most current release is usually the development release, and is only shown to give an idea of what's currently in the pipeline. +MODX Evolution 1.2.2(Jul 10, 2017) +* [GitHub:#99d1b62cd] - [F] fix properties for instal snippet,modules,plugins (dmi3yy) +* [GitHub:#e18d5d373] - [F] mm multiplefields for php 7 (dmi3yy) +* [GitHub:#9a0da748c] - [F] params for richtext (dmi3yy) +* [GitHub:#1a6ad1faf] - [I] for composer (dmi3yy) +* [GitHub:#a7c01f6e0] - [F] update Plugins version (dmi3yy) +* [GitHub:#e9000c2f4] - [I] update DocLister (dmi3yy) +* [GitHub:#32c33198c] - [F] doc parser (dmi3yy) +* [GitHub:#7854a1933] - [F] send mail via smtp (dmi3yy) +* [GitHub:#c937e4e04] - [I] add one-dark theme in codemirror (dmi3yy) +* [GitHub:#73e221004] - [F] &else in snippet if (dmi3yy) +* [GitHub:#d033a2337] - [F] update ru lang (dmi3yy) +* [GitHub:#33898ec08] - [I] update modxre2_dropdown theme (dmi3yy) +* [GitHub:#5e7636e4e] - [F] Days allowed to manager access #568 (dmi3yy) +* [GitHub:#726606744] - [F] tynyMCE (dmi3yy) +* [GitHub:#879cacc5f] - [R] update FormLister to 1.7.2 (dmi3yy) +* [GitHub:#4c7d864b5] - [I] first step for composer (dmi3yy) +* [GitHub:#862d2986d] - [F] #1343 Init Quicksearch after Tree-Reload for all tabs (Deesen) +* [GitHub:#13e4be667] - [F] when modx installed in folder, request of home page with parameters causes endless redirect (sunhaim) +* [GitHub:#ed84bbe94] - [F] thumb generation fixed on some php7 systems (sunhaim) +* [GitHub:#565e25b61] - [F] #1377 $modx->getDocumentChildrenTVars() (yamamoto) +* [GitHub:#949d090ea] - [F] update phpmailer to 5.2.23 (dmi3yy) +* [GitHub:#d867fc2f6] - [R] action buttons (dmi3yy) +* [GitHub:#b48f80064] - [F] style for action buttons in new theme (dmi3yy) +* [GitHub:#25afbced6] - [F] permission in new theme (dmi3yy) +* [GitHub:#11b63feb1] - [F] in OnManagerMenuPrepender (dmi3yy) +* [GitHub:#89e31b0af] - [F] fix in OnManagerNodePrepender (dmi3yy) +* [GitHub:#d0b4f6957] - [F] update login page in new theme (dmi3yy) +* [GitHub:#2d4202ce2] - [F] php7.2 error (dmi3yy) +* [GitHub:#0dca7be96] - [F] php7 notices (dmi3yy) +* [GitHub:#f27eee4b4] - [F] php7 notices (dmi3yy) +* [GitHub:#1ae4c4ec6] - [F] default config max size images (dmi3yy) +* [GitHub:#91b54bf03] - [F] php7 notice (dmi3yy) +* [GitHub:#e044e9d4d] - [F] no need bootstrap css in catecogy manager (dmi3yy) +* [GitHub:#09f9d25eb] - [R] FormLister 1.6.2 (dmi3yy) +* [GitHub:#461b7abc5] - [F] snippet if fix php7 notice (dmi3yy) +* [GitHub:#c8843b02b] - [F] fix image position in backend tinmymce4 (dmi3yy) +* [GitHub:#6776e42ed] - [F] need only for settings (dmi3yy) +* [GitHub:#1293a05d6] - [I] fast work in manager after save document (dmi3yy) +* [GitHub:#b4293cda6] - [F] in modxre_dropdownmenu (dmi3yy) +* [GitHub:#e13199af0] - [F] check for 'register_globals' fixed #1370 (sunhaim) +* [GitHub:#7fbb6999e] - [F] sql fix (dmi3yy) +* [GitHub:#71b33897c] - [R] update dropdown theme (dmi3yy) +* [GitHub:#826937e0a] - [I] add sample tv for head and SEO tab (dmi3yy) +* [GitHub:#30e63a1dc] - [I] add sample head scripts (dmi3yy) +* [GitHub:#9e87bdbc6] - [I] update dropdown theme (dmi3yy) +* [GitHub:#53e8ab9fa] - [I] - set name from Request use with new mechanism create elements from codemmiror (dmi3yy) +* [GitHub:#1e94cac0b] - [I] Module Extras/Store parse chunk version (Mr B) +* [GitHub:#465d1da73] - [I] update theme dropdown and extend codemirror (dmi3yy) +* [GitHub:#625838cea] - [F] #907 Quick Manager+ : Vertical align text (Mr B) +* [GitHub:#6cbfec34d] - [F] Remove img tag so Font Awesome icons display for locked resource in tree (Mr B) +* [GitHub:#b3293567b] - [I] Update plugin.tinymce.php (Mr B) +* [GitHub:#21438b28e] - [F] Update TinyMCE version numbers to match (Mr B) +* [GitHub:#63e7d61c1] - [F] Edit a role - check boxes were inline instead of block (Mr B) +* [GitHub:#eaddeec48] - [R] Manager Polish translation update (Piotr Matysiak) +* [GitHub:#fa82430d5] - [I] #1332 Highlight actual viewed or edited file (Deesen) +* [GitHub:#fc764b953] - [F] #1346 Allow users with permission "Allow root" to create doc in root (Deesen) +* [GitHub:#9025ac120] - [C] Replaced short-tag recent documents>uses template (yamamoto) +* [GitHub:#bce17e1c6] - [F] dropdown items white icons on hover (Nicola) +* [GitHub:#1ebd3a24c] - [F] #1227 (Pathologic) +* [GitHub:#b6f514514] - [I] Ditto + Cross references = not working (yamamoto) +* [GitHub:#cd9edc726] - [F] update theme with dropdown (dmi3yy) +* [GitHub:#e72c1633a] - [F] search static (dmi3yy) +* [GitHub:#bb613a516] - [F] style (dmi3yy) +* [GitHub:#9f55793a3] - [F] session keep alive (dmi3yy) +* [GitHub:#7127787b8] - [F] warning in mgrResources (dmi3yy) +* [GitHub:#f2d24c0f9] - [F] Update dropdown theme (dmi3yy) +* [GitHub:#1532ef67e] - [F] Update modxre_dropdonwmenu theme (dmi3yy) +* [GitHub:#a024c2f2d] - [F] Change gridster image to fa (dmi3yy) +* [GitHub:#b32c7f8a6] - [F] Fixed sidebar search buttons position (Piotr Matysiak) +* [GitHub:#aaecb8a69] - [F] fixed wrong path to jquery library (Sasha Beep) +* [GitHub:#4e48080a3] - [R] Add responsive buttons style to new theme (dmi3yy) +* [GitHub:#b4783a78b] - [F] fix new theme with dropdown (dmi3yy) +* [GitHub:#5ae71ba5c] - [F] Fix js (dmi3yy) +* [GitHub:#100cdb1e7] - [F] fix 2016 to 2017 (dmi3yy) +* [GitHub:#69455bd79] - [F] lost icon in search (dmi3yy) +* [GitHub:#ac59e8deb] - [F] mobile actionbuttons fix for roles (Nicola) +* [GitHub:#bf07b997e] - [F] Search mobile actionbutton (Nicola) +* [GitHub:#5392a64a3] - [F] Fix Manage Users mobile Action buttons (Nicola) +* [GitHub:#f1cc3cb87] - [F] https://github.com/modxcms/evolution/issues/1306 (Nicola) +* [GitHub:#be8f23bc6] - [R] Responsive Action Buttons (Nicola) +* [GitHub:#2750446a3] - [F] Fix vertical align (MrSwed) +* [GitHub:#e849197ea] - [I] MODxRE2_DropdownMenu -new theme (dmi3yy) +* [GitHub:#ae3a90da5] - [F] typo in setup.sql (dmi3yy) +* [GitHub:#38eb4f6af] - [F]. Https in site_url (dmi3yy) +* [GitHub:#66f7eef77] - [F] #1218 TVs/PHs will not be rendered if custom_meta_title is not assigned to template like [*custom_meta_title:ne:then=`[*custom_meta_title*]`:else=`[*pagetitle*]`*] (dmi3yy) +* [GitHub:#7e9766084] - add .json exclude to alias (dmi3yy) +* [GitHub:#10317fa75] - [F] Fix params from modules to plugins (dmi3yy) +* [GitHub:#bc4517afc] - [F] for aliaslistingfolder no need check for docAlias for search id (dmi3yy) +* [GitHub:#4e309dc84] - [F] staticSearch for ajaxSearch (dmi3yy) +* [GitHub:#aff734e19] - [F] hardcoded fix ElementsInTree (dmi3yy) +* [GitHub:#e3e0da8e8] - [F] DLBuildMenu lot of queries (dmi3yy) +* [GitHub:#11d6288c5] - [F] #1279 If container has no siblings, get default-template from parent (Deesen) +* [GitHub:#90f69323a] - [C] Remove old version (Digitalime) +* [GitHub:#899e630af] - [R] Allow HTML email for Websignup (Digitalime) +* [GitHub:#48f694e31] - [I] Get the q parameter from the request and store it in a property, as well as cleaning it up for future use. (MadHatter) +* [GitHub:#1b635fb78] - [F] fix OnLoadDocumentObject event dont work #1271 (dmi3yy) +* [GitHub:#94418b98b] - [I] Update docLister add (makePaginateUrl param) (dmi3yy) +* [GitHub:#ba98bc6fa] - [I] Make sure site tree context menu is also within frame horizontally (Mr B) +* [GitHub:#27c560230] - [F] - #1275. http://take.ms/wo4RF (dmi3yy) +* [GitHub:#829808440] - [F] #1273 Permission-check for setting "Allow root" (Deesen) +* [GitHub:#34ce1939c] - [F] !contains (not_contains) condition for [[if]] (webber12) +* [GitHub:#03c5eb9e9] - [F] Code cleanup (yamamoto) +* [GitHub:#0a244df39] - [R] - $modx->invokeEvent() (yamamoto) +* [GitHub:#00e806af0] - [I] #1248 Show ID in tooltip (Deesen) +* [GitHub:#0970d3f7b] - [I] Assigning category automatically when using contextmenu-button "create new" (Deesen) +* [GitHub:#74eb8c054] - Icon for first tab (Sasha Beep) +* [GitHub:#a587691a4] - [R] Fix and Refactor - $modx->getSettings() (yamamoto) +* [GitHub:#8ff87f09e] - [R] Update ditto.class.inc.php (Intersel) +* [GitHub:#676606d3b] - [F] fix css typo in manage elements (Nicola Lambathakis) +* [GitHub:#983bc4d1f] - [R] Allow Webuser Signup Email to contain HTML (Digitalime) +* [GitHub:#717bcaed0] - [I] styles for resource view options toggle (Nicola Lambathakis) +* [GitHub:#2326f1a11] - [I] restyled resource view options toggle (Nicola Lambathakis) +* [GitHub:#14c01835b] - [I] added toggle speed animation to resource view options (Nicola Lambathakis) +* [GitHub:#0aa16f8fc] - [F] Update config.inc.tpl (Mr B) +* [GitHub:#33b17cdc0] - [R] no BG colors and other (MrSwed) +* [GitHub:#71b1748ce] - [F] fix site_manager_url for capcha (MrSwed) +* [GitHub:#2951ad121] - [F] Function isn't a constructor, it's a static method (Matthew Simpson) +* [GitHub:#bcf1aa6a1] - [F] Typo (Deesen) +* [GitHub:#45a368b62] - [F] Flex-View in Chrome: Fix breaking lines / spreading elements into next column (Deesen) +* [GitHub:#638e8f458] - [F] Added padding-bottom:10px for open panels (Deesen) +* [GitHub:#d5c0584f5] - [F] Removed unnecessary spaces and corrected alignments (Deesen) +* [GitHub:#a786013db] - [F] Inline-View: Removed space between collapsed categories (Deesen) +* [GitHub:#f39f54b75] - [F] QM fix modal buttons styles for tvs (Nicola Lambathakis) +* [GitHub:#8fc895fa5] - [F] QM media query in sidebar view (Nicola Lambathakis) +* [GitHub:#e6a6ea8a0] - [F] #1177 #1239 Corrected $_lang['lang_code'] (Deesen) +* [GitHub:#7984bcc89] - [F] Fix javascript error in console: 404 http://localhost/manager/JS (Nicola Lambathakis) +* [GitHub:#f043190d2] - [F] #1222 Fix tinymce4 introtext width (Nicola Lambathakis) +* [GitHub:#9ed21706e] - [O] Improve language for minify php option (Mr B) +* [GitHub:#fe42ef07d] - [F] for getIdFromAlias (sunhaim) +* [GitHub:#1a4540566] - [R] Refactored and improved "Manage Elements" - added language-strings - load template-files only once - added "View Options"-paragraph to "Help" (Deesen) +* [GitHub:#670cc8777] - [F] Sorting in "Combined View" (Deesen) +* [GitHub:#e996a0ba7] - [R] Refactored and improved "Manage Elements" - adapted "Combined View" to new view-mechanismn (Deesen) +* [GitHub:#6e77f636d] - [I] Aligned form below action-buttons (Deesen) +* [GitHub:#2c13cd979] - [F] Remove unnecessary "-" (Deesen) +* [GitHub:#e225194ed] - [F] Display lock-icon nicely instead of element-icon (Deesen) +* [GitHub:#78febbe40] - [R] Refactored and improved "Manage Elements" - moved HTML-templates into external files - adapted quicksearch - cleaned up CSS-styles (Deesen) +* [GitHub:#03f34e2d8] - [R] Refactored and improved "Manage Elements" - added collapsible categories (+ remember via localStorage) - added nuContextMenu - adapted CSS to new features (Deesen) +* [GitHub:#875621086] - [R] Moved jq-plugin "nuContextMenu" to external file "manager/media/script/jquery.nucontextmenu.js" (Deesen) +* [GitHub:#1a48e736a] - [F] alias_visible fix2 (sunhaim) +* [GitHub:#98adbe4cd] - [F] alias_visible fix (sunhaim) +* [GitHub:#7a9cf8e53] - [R] Refactored and improved "Manage Elements" - added "View Options"-button to show/hide form - removed checkbox "small font" - instead added font-size option - added checkbox "all tabs" to change views of all tabs with same options - added button "reset" to reset to defaults, works with "all tabs"-checkbox (Deesen) +* [GitHub:#d2bc89616] - [R] Refactored and improved "Manage Elements" as per idea of Nicola1971 - different views like "list, inline, flex" - flex provides dynamic columns using CSS3 "columns-count" - localStorage to store view-settings per tab - new class "mgrResources" to provide array with all nessecary details (Deesen) +* [GitHub:#c68c36a30] - [F] version 1.2.2-beta2, because of changes in document.parser (Deesen) +* [GitHub:#921e1b995] - [F] #1226 Load user-specific language instead of manager default-language (Deesen) +* [GitHub:#8c0027a54] - [F] category row padding (Nicola Lambathakis) +* [GitHub:#806196e7a] - [F] #1225 Manage Categories button in Combined View (Nicola Lambathakis) +* [GitHub:#d8e568162] - [F] Manage Elements - minor css fix - smaller row height (Nicola Lambathakis) +* [GitHub:#af2e886bf] - [F] Manage Elements - minor css fix - smaller row height (Nicola Lambathakis) +* [GitHub:#c51d7a10f] - [I] #1134 Added "styleFormat_inline" and "styleFormat_block" to plugin-config to allow separated settings for inline- and block-styles in simple-format (Deesen) +* [GitHub:#12c67aad3] - [F] #1218 Parse TVs/placeholders & modifiers even if TV is not assigned to actual template like [*custom_meta_title:ne:then=`[*custom_meta_title*]`:else=`[*pagetitle*]`*] (Deesen) +* [GitHub:#a30163dbe] - [F] #1200 Provide using (nested) placeholders/modifiers in Wayfinder (PHX backward-compatibility) (Deesen) +* [GitHub:#47c60d97b] - [F] Checkbox-value fallback to "name" if no "value" is given http://modx.im/blog/news/4950.html#comment41140 (Deesen) +* [GitHub:#a11311870] - [F] recent commit (yamamoto) +* [GitHub:#8dcf976ef] - [O]: reorder security configuration (Mr B) +* [GitHub:#e8db62140] - [C] Replaced htmlspecialchars() by $modx->htmlspecialchars() (Deesen) +* [GitHub:#2031422a1] - [F] Do not show users who forgot pressing logout in "Online Users"-list after login (Deesen) +* [GitHub:#6230c969d] - [F] #1205 TinyMCE4 usersettings: Added new checkbox "Use the global setting" - to params "Custom Plugins", "Custom Buttons", "Block Formats" - small clean-up of modxRTEbridge (Deesen) +* [GitHub:#ea765448d] - [C] #1214 Removed confusion in creating $modx->config to rely only on $modx->getSettings() and $modx->getUserSettings() - splitted $modx->getSettings() into getSettings() and getUserSettings(), so usersettings can be queried after startCMSSession(); - added $modx->configGlobal to keep fallback-values of global settings overwritten by usersettings (req. for Tiny4 "Use global settings"-checkbox in usersettings) - removed unnecessary inclusion of settings.inc.php and user_settings.inc.php (Deesen) +* [GitHub:#377fc22e2] - [I] New buttons theme and design improvemets (Nicola Lambathakis) +* [GitHub:#193e6d793] - [R] Updated Colorbox to 1.6.4 (Nicola Lambathakis) +* [GitHub:#d6f752573] - [R] media query for mobile Buttons (Nicola Lambathakis) +* [GitHub:#dc73e54cb] - [R] welcome.static.php (yamamoto) +* [GitHub:#f334a44a5] - [R] Manager theme template (yamamoto) +* [GitHub:#c528150a1] - [R] $modx->getUserInfo() (yamamoto) +* [GitHub:#7d3eca38e] - [I] Link snippet name to arbitrary function (yamamoto) +* [GitHub:#2591d6c8f] - [I] New modifier - json_decode (yamamoto) +* [GitHub:#6b0a6b904] - [I] New modifier - json_encode (yamamoto) +* [GitHub:#06fe67b18] - [F] Remove calling nonexistent metod (yamamoto) +* [GitHub:#1ff46451e] - [F] Wayfinder - &hideSubMenus (yamamoto) +* [GitHub:#e5e4eabcf] - [R] QM less hidden closed toolbar -47px (Nicola Lambathakis) +* [GitHub:#8804e77e3] - [R] QM icon for custom buttons in sideba (Nicola Lambathakis) +* [GitHub:#81284dd36] - [R] new QM position: right, left, before (Nicola Lambathakis) +* [GitHub:#29af60343] - [R] added QM bottom tollbar option (Nicola Lambathakis) +* [GitHub:#0c1e747c1] - [F] removed modx logo from QM toolbar (Nicola Lambathakis) +* [GitHub:#6d859f710] - [F] Remove users who forgot pressing logout from "Online Users"-list (Deesen) +* [GitHub:#5d3dfbe89] - [F] fixed some bugs and better save button style (Nicola Lambathakis) +* [GitHub:#6ac3d951f] - [i] Quick Manager buttons restyle (MODxRE2 style) (Nicola Lambathakis) +* [GitHub:#596422400] - [C] Removing Notice: Undefined offset: 0 (kulmjens) +* [GitHub:#d8f97efd1] - [F] fix incorrect detect id if in url string start from numeric (dmi3yy) +* [GitHub:#5f59f2c2c] - [R] font awesome icons for View Children (document overview) (Nicola Lambathakis) +* [GitHub:#3de7826a3] - [R] View Children: new buttons+font awesome (Nicola Lambathakis) +* [GitHub:#48447fbcd] - [I] changing output filename for easier sorting (kulmjens) +* [GitHub:#65edfb661] - [F] Do not list "index.html" as category/tab (Deesen) +* [GitHub:#4ca716fd6] - [C] delete category button (Nicola Lambathakis) +* [GitHub:#7c09a42fc] - [F] updated resource.static with buttons for 1.2.1 (Nicola Lambathakis) +* [GitHub:#a9f036792] - [F] updated styles for latest 1.2.1 (Nicola) +* [GitHub:#d7e089265] - [F] Ensure login button is styled for iPad/iPhone (Mr B) +* [GitHub:#0d2316965] - [I] #775 Added .border-bottom for category-manager (Deesen) +* [GitHub:#5137199eb] - [F] del ?> (dmi3yy) +* [GitHub:#64bad31f2] - [F] fix warnings in module extras on php 7 (dmi3yy) +* [GitHub:#94938d29a] - [F] #1184 Added missing "static" to var $i (Deesen) + MODX Evolution 1.2.1(Jan 11, 2017) * [GitHub:#6f404c6] - [I] Debug information (yamamoto) diff --git a/assets/plugins/managermanager/modx.ddtools.class.php b/assets/plugins/managermanager/modx.ddtools.class.php index 48c3ae1c..907ac1de 100644 --- a/assets/plugins/managermanager/modx.ddtools.class.php +++ b/assets/plugins/managermanager/modx.ddtools.class.php @@ -437,7 +437,7 @@ public static function updateDocument($id = 0, $update = array(), $where = ''){ ); //Проверяем сколько строк нашлось при обновлении - preg_match('/Rows matched: (\d+)/', mysql_info(), $updatedRows); + preg_match('/Rows matched: (\d+)/', $modx->db->info(), $updatedRows); //Если ничего не обновилось (не нашлось) if ($updatedRows[1] == 0){ diff --git a/manager/includes/version.inc.php b/manager/includes/version.inc.php index 4161ad96..3958496b 100644 --- a/manager/includes/version.inc.php +++ b/manager/includes/version.inc.php @@ -1,6 +1,6 @@