In-Portal

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

Updated to JQuery v1.3.2

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

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

    • binary
    /branches/RC/core/admin_templates/img/ic_browse_mode.gif
    • -1
    • +1
    /branches/RC/core/kernel/db/db_event_handler.php

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

INP-23

    • -7
    • +26
    /branches/RC/core/admin_templates/blank.html
    • binary
    /branches/RC/core/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

    • -1
    • +1
    /branches/RC/core/kernel/db/db_event_handler.php

Releasing version 'tags/5.0.0' (copy from 'branches/RC')

    • -0
    • +123
    /tags/5.0.0/admin/help/credits.php
    • -0
    • +4
    /tags/5.0.0/admin/help/legal_warning.txt
    • -0
    • +155
    /tags/5.0.0/core/kernel/startup.php
  1. … 2122 more files in changeset.

Deleting version 'tags/5.0.0'

    • -123
    • +0
    /tags/5.0.0/admin/help/credits.php
    • -4
    • +0
    /tags/5.0.0/admin/help/legal_warning.txt
    • -155
    • +0
    /tags/5.0.0/core/kernel/startup.php
  1. … 2122 more files in changeset.

Releasing version 'tags/5.0.0' (copy from 'branches/RC')

    • -0
    • +123
    /tags/5.0.0/admin/help/credits.php
    • -0
    • +4
    /tags/5.0.0/admin/help/legal_warning.txt
    • -0
    • +155
    /tags/5.0.0/core/kernel/startup.php
  1. … 2122 more files in changeset.

Deleting version 'tags/5.0.0'

Releasing version 'tags/5.0.0' (copy from 'branches/RC')

Removing "default" and "inlink2" themes, because they are not compatible with 4.2.x and future releases.

    • binary
    /branches/RC/themes/default/img/bgr_loggedin.jpg
    • binary
    /branches/RC/themes/default/img/ic_category.gif
  1. … 522 more files in changeset.

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

    • -1
    • +1
    /branches/RC/core/units/forms/forms_config.php
    • -1
    • +8
    /branches/RC/core/install/install_toolkit.php
    • -0
    • +23
    /branches/RC/core/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
    • +1
    /branches/RC/core/kernel/db/db_event_handler.php

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).

    • -1
    • +3
    /branches/RC/core/kernel/db/db_event_handler.php
    • -2
    • +11
    /branches/RC/core/kernel/db/db_tag_processor.php

Ignore "tools/internal" folder.

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

    • -1
    • +2
    /branches/RC/core/kernel/db/db_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

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

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

INP-4

    • -0
    • +3
    /branches/RC/core/install/upgrades.sql
    • -0
    • +1
    /branches/RC/core/install/english.lang
    • -0
    • +2
    /branches/RC/core/install/install_data.sql
    • -0
    • +10
    /branches/RC/core/admin_templates/tree.tpl

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

INP-3

    • -4
    • +10
    /branches/RC/core/admin_templates/tree.tpl

svn mailing testing

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

1. Method "kDBEventHandler::UseTempTables" wasn't getting actual main item's special when temp handler were deleting subitems.

2. Fixed bug in previous fix of JSONHelper class: strings were enclosed with single quotes, but single quotes were not escaped in string content.

    • -6
    • +18
    /branches/RC/core/kernel/db/db_event_handler.php

1. When item ID was 0 (new main item creation) method "kDBEventHandler::getPassedID" wasn't returning it. Though such ID was returned by "kDBEventHandler::StoreSelectedIDs", that was called later from "kDBEventHandler::getPassedID" method.

2. Foreign key value for subitem WITH SPECIAL wasn't set in kDBEventHandler::OnNew event and 2 warnings were shown.

3. Temp mode mark (<prefix_special>_mode variable) in method "kDBEventHandler::setTempWindowID" was not passed to item editing/creation window, when in both grid and item edit template special was used.

4. Fixed bug in "kDBTagProcessor::FieldVisible" resulting 2 warnings where VerifyPassword field visibility was checked. This is only virtual field, that doesn't exist in unit config and is created on the fly by kPasswordFormatter class.

5. Specials used in "events" request variable were stripped, before adding to "passed" request variable in method "kEventManager::ProcessRequest". Because of such behavior data associated with stripped specials (like temp mode mark and item's ID) were not available in "m_Link" tag used with 'pass="all"' parameter. Fixed by removing such stripping in administrative console only.

6. Prefix data passed in POST wasn't able to overwrite prefix data passed in GET in case, when special was used. This caused problems during item editing when special was used in grid and item edit template.

7. Missing "noimage.gif" image added.

    • binary
    /branches/RC/system/images/noimage.gif
    • -7
    • +21
    /branches/RC/core/kernel/db/db_event_handler.php
    • -3
    • +12
    /branches/RC/core/kernel/event_manager.php
    • -0
    • +32
    /branches/RC/core/kernel/utility/http_query.php
    • -0
    • +5
    /branches/RC/core/kernel/db/db_tag_processor.php

Debug code removed.

1. #27493 - Admin: Add Item on Advanced View

2. OnCancel event was called on "categories/categories_edit" template instead of "OnCancelEdit" resulting no temporary table was deleted.

3. Method kApplication::ConfigValue fixed. Now if variable value is present, but it has NULL as value, then such variable is not threated as missing and duplicate queries are performed.

TODO: replace all NULL values in ConfigurationValues table with default values based on variable type (0 for checkbox, empty string for text and so on)

4. Now kDBEventHandler::StoreSelectedIDs could also get IDs from new "ids" $event parameter, rather, then from request. Useful, when IDs are changed on kDBEventHandler::CheckPermission method (before actual event call).

5. Method CategoryHelper::getStructureTreeAsOptions added. Method provides ability to get all category structure as options for any dbitem field (like ParentId for categories and CategoryId for category items).

6. Method CustomFieldsEventHandler::_getHiddenFiels fixed. Now it doesn't given warning when editing category item, with no custom fields to show on general tab.

7. Fixed method kCatDBItem::MoveToCat. Now, when category item is in temp mode, then category manipulations are also made in temp tables.

8. Permission checking logic for categories and category items in temp table is changed. Now everything in temp tables for them is allowed. Permissions are checked only when Save button is pressed during main item (not subitem) editing. When user selected 5 items, but he can edit only 2 of them, then other 3 are automatically excluded from item edit form. When all of selected items are excluded, then user gets "no permission" screen. Same with "move up/down", "approve/decline" toolbar buttons.

9. Method CategoriesEventHandler::printChildren && CategoriesEventHandler::getChildren moved to CategoryHelper and now are used by new CategoryHelper::getStructureTreeAsOptions method. Some documentation added for other CategoryHelper methods.

10. Permission debugging information was not available in some of permission checking methods. That's why method kPermissionHelper::finalizePermissionCheck added. Method should be used in any place, when $event status should change to erPERM_FAIL.

11. Column filters on Category Edit -> Custom tab's grid were not working, because of incorrect grid name used (Default instead of SeparateTab).

12. Fixed title preset name in "products/products_access" template (was "pr", but should be "access").

13. Fixed incorrect pagination prefix in some templates.

14. Formatter added for OnSale field in Products table.

15. No permission template fixed, now it doesn't break catalog.

16. sections_list template fixed to use new blocks.

  1. … 15 more files in changeset.

1. #27504 - Admin: Left Tree -> Add 2px Padding-Right to Elements

2. Skin name made requred.

    • -1
    • +1
    /branches/RC/core/units/skins/skins_config.php
    • -1
    • +1
    /branches/RC/core/install/install_data.sql

1. Special "primary" added for "skin" prefix for easy primary skin accessing.

2. Fixed some issues with uploaded/resized image path building, when WriteableBase was "\system" on Windows.

    • -1
    • +2
    /branches/RC/core/kernel/db/db_event_handler.php
    • -0
    • +25
    /branches/RC/core/units/skins/skin_eh.php

This commit was manufactured by cvs2svn to create tag 'release_5_0_0'.