core

Checkout Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

1. Fixes #0000093: Tag <inp2:c_Field ../> returns incorrect info.

2. Fixed in other way: now category is always returned, but when "page" or "-virtual" special is used, then cms page is returned.

INP-79

When list of category items (links, articles, etc.) or categories is displayed in Front-End and parameter "parent_cat_id='0'" was used, then 0 is now replaced with "Content" category ID.

1. Fixes #0000089: Session expiration doesn't happen in admin.

2. Width of overlay div shown during ajax requests is now also updated, when window is resized.

3. Function maximizeElement (javascript) now also updates maximized control size on window resize.

4. "Tools -> Query Database" section now uses correct class for column header (class was missing before this fix).

5. Fixed warning about missing 'login_template' parameter for m_RequireLogin tag (in kPermissionHelper::getPermissionTemplate method).

INP-75

    • binary
    ./admin_templates/tools/sql_query.tpl
    • -3
    • +1
    ./kernel/processors/main_processor.php
    • -3
    • +20
    ./units/users/users_event_handler.php

Fixes #0000017: Session Expiration check for Ajax requests

INP-10

    • -0
    • +1
    ./admin_templates/reviews/reviews_tab.tpl

1. Fixes #0000079: Improvements to Image uploads on Add / Edit Item.

2. Added way to add any count of virtual fields associated with uploaded image.

INP-67

    • -1
    • +18
    ./units/general/helpers/file_helper.php
    • -2
    • +41
    ./units/general/helpers/image_helper.php
    • -32
    • +24
    ./units/general/cat_event_handler.php

Fixes #0000037: Simplify code of kSearchHelper::getSearchClause method

INP-27

    • -5
    • +5
    ./units/general/helpers/search_helper.php

Fixes #0000078: Make Custom Fields Searchable

INP-66

    • -1
    • +1
    ./admin_templates/config/config_search.tpl
    • -23
    • +41
    ./units/general/cat_event_handler.php

1. Fixes #0000083: Ability to enter sql queries and phrases as custom field options.

2. htmlspecialchars function (in javascript) wasn't applied on options added in MInput control (inp_edit_minput block).

3. Commented-out code removed from kModRewriteHelper class, because was proven, that code if uncommented doesn't provide any upgrade to current url parsing functionality. In other words - all works without it in all cases.

INP-71

1. Fixes #0000084: Duplicate records in SearchConfig table for custom fields.

2. When custom field was created, then in related record in SearchConfig table in SimpleSearch column was always 1 (means can use in simple search). Value for this column should be 0, when "simple search checkbox" is not visible in "Search Settings" section.

INP-72

1. Fixes #0000070: FCKEditor integration fixes

2. Optimized "inp_fckconfig.js" - it now only contains changed lines, not a copy of "fckconfig.js" as before.

3. FCKEditor upgraded from 2.6.3 to 2.6.4

INP-58

    • -0
    • +220
    ./editor/editor/filemanager/connectors/php/util.php
    • -1
    • +1
    ./editor/editor/dtd/fck_xhtml10transitional.js
    • -6
    • +6
    ./editor/editor/dialog/fck_select.html
    • -0
    • +273
    ./editor/editor/filemanager/connectors/php/commands.php
    • -1
    • +1
    ./editor/editor/css/fck_editorarea.css
    • -25
    • +25
    ./editor/editor/js/fckeditorcode_ie.js
    • -1
    • +1
    ./editor/editor/skins/office2003/fck_editor.css
  1. … 129 more files in changeset.

Bug #0000069: Issues with "MoreLink" tag and "Data_Exists" param

INP-57

Fixes #0000067: Last visited section lost, when language is changed

INP-55

1. Fixes #0000060: Folder ".svn" is added as new theme, but it should not.

2. Skip ".svn" from FCK file browser.

INP-50

    • -35
    • +35
    ./units/general/helpers/fck_helper.php
    • -1
    • +4
    ./units/general/helpers/themes_helper.php

1. Fixes #0000053: Mod-rewrite partially broken.

2. Section and item detail templates were present in links on page, even if they could be automatically determined by category fields.

INP-43

    • -173
    • +222
    ./units/general/helpers/mod_rewrite_helper.php
    • -1
    • +1
    ./units/general/main_event_handler.php

1. Fixes #0000062: Remove depricated mod-rewrite parts

2. When default category item template is used (in category properties) and we are on this template on front-end, then all links to this template still contain it's name (in mod-rewrite mode only). In such case template name should be omitted from resulting url.

3. Fixed warning message in "kCategoryHelper::getCategoryModule". Message was shown, because array_intersect function was used inside array_shift function directly (temporary variable was not used).

INP-51

    • -71
    • +76
    ./units/general/helpers/mod_rewrite_helper.php

Fixes #0000036: Duplicate category shown at the bottom in tree frame.

Problem was in exact place I've supposed. It was related to concurrent attempts of reloading contents of same tree folder.

INP-26

Theme id was not set, when attempt was made to show 404 page when incorrect url was used and mod-rewrite was on.

    • -1
    • +7
    ./units/general/helpers/themes_helper.php

Fixes #0000041: User IP in UserSession table have value "0.0.0.0" sometimes.

Problem happened, because extra fields (like IP address) were stored in Session object, and not in database. In "Session::SaveData" method additional fields were assumed as "non-changed" and were not written to database at all.

INP-31

Fixes #0000005: Issue with Copy/Paste into FCK in Edit Blocks (in IE8 only)

INP-1

1. Fixes #0000035: Minor Adjustments to Catalog Grids.

2. Fixed JS error on category edit -> permissions tab (data was loaded, but loading indicator was not hidden).

3. Pass through variables were passed (but they should not be passed), when item was edited from "Comments" (former "Reviews") section or from "User Edit -> Items" tab. This resulted in js error in case, when category item selector was used on that item editing template.

4. New category item permission checking scheme was normally working only in administrative console, that's why for front-end old permission checking scheme restored.

5. New "View in Browse Mode" icon added/used.

INP-25

    • -0
    • +40
    ./units/general/cat_tag_processor.php
    • binary
    ./admin_templates/img/ic_browse_mode.gif
    • -15
    • +13
    ./admin_templates/categories/ci_blocks.tpl
    • -81
    • +86
    ./units/general/helpers/permissions_helper.php

Fixes #0000033: "Loading..." element while Edit Item form is loading

INP-23

    • binary
    ./admin_templates/img/ajax_iframe_progress.gif

1. Method "kDBEventHandler::StoreSelectedIDs" wasn't returning IDs, given using $direct_ids parameter.

2. Fixes #0000025: Non-root user can't use copy/cut/paste buttons in catalog.

3. Fixed "category status propagate" feature. Now it copies category StatusField value to all it's children. Before it was coping "Status" field value to all it's children, not "StatusField" field value, specified in unit config.

INP-17

    • -4
    • +30
    ./units/general/cat_event_handler.php

1. Fixes 0000031: Convert FCK "Internal Link Pointers" to Real URLs.

2. Fixes 0000032: SQL Error when using FCKEditor to edit textarea data.

3. In edit templates, where HTML isn't allowed, but multi line input is required 'allow_html="0"' added to inp_edit_textarea blocks.

4. Module root categories during installation were incorrectly sorted: "Products, Topics, News, Links" instead of "Links, News, Topics, Products".

5. Fixed "Preview" button in FCKEditor, when editing content blocks:

  • problems with non-latin character encoding in javascript
  • "Preview" button were not visible during content block editing, but was visible during category description editing, where it shouldn't.

    6. Method "CategoriesTagProcessor::_replacePageIds" moved to "CategoryHelper::replacePageIds" and can be used in any place, where required.

    7. Add new field option: "using_fck". When specified, then all "@@ID@@" occurences are replaced with actual structure page urls.

INP-21

INP-22

    • -4
    • +4
    ./units/categories/categories_config.php
    • -1
    • +1
    ./units/translator/translator_config.php
    • -48
    • +43
    ./units/content/content_config.php
    • -0
    • +23
    ./units/content/content_eh.php
  1. … 10 more files in changeset.

Method "kDBEventHandler:getPassedID" failed to return correct ID, when "special" was used and method "kDBEventHandler::StoreSelectedIDs" was not called before it (like in OnEdit event).

1. Additional parameters to PrintList2 tag:

  • "limit" (input) - tells, how many of queried from database records should be actually displayed.
  • "num" (output) - record number (relative to queried record count).
  • "last_row" (output) - tells, that current record is located in last row (when printing records in table)

    2. "no_next_page_render_as" parameter added to PrintPages tag.

    3. GridInfo tag fixed, so it doesn't report, that pagination is required, when pagination is not used (per_page="-1" in InitList/PrintList tag).

Bug #0000009: Admin: Duplicate Link Checker.

1. Allows to use base64_encode function result as ID in grids.

2. Deprecated "adm_SaveReturnScript" tag removed.

3. When grid with special was used and event raised from grid (like OnPreCreate or OnNew) performed redirect, when first selected item ID was not passed in redirect link.

4. Private method "kCatDBEventHandler::_getMassPermissionEvents" added. Method allows category item event handlers to add own events to permission checking.

MINL-1

    • -16
    • +0
    ./units/admin/admin_tag_processor.php
    • -1
    • +1
    ./admin_templates/incs/grid_blocks.tpl
    • -5
    • +14
    ./units/general/cat_event_handler.php

Fixes #0000006: Left Tree with Sections Fails to Update.

1. Tree also was not refreshed automatically, when "Approve" & "Decline" (changed show in menu status), "Move Up" & "Move Down" (changed priority) toolbar buttons were used.

INP-2

    • -0
    • +14
    ./admin_templates/categories/ci_blocks.tpl

Fixes #0000008: Limiting "Form Creator" to DBG Mode.

1. Added new configuration variable "DebugOnlyFormConfigurator" (in "Configuration -> Website Settings -> Advanced" section).

INP-4

bug #0000007 fixed - Switching between Catalog / Show All grids

INP-3

    • -1
    • +1
    ./admin_templates/categories/categories_edit_permissions.tpl

Tag "kDBTagProcessor::SelectParam" now also skips parameter value, when it's equals to "0" (zero).