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. Added submenu item in "Catalog -> Tools" menu for rebuilding priorities cache in current category 2. "View in Browse Mode" link is now hidden from catalog item selector. 3. Added missing js_escape parameter to phrases used in javascript in combined_header block. 4. Fixed bad automatic thickbox window positioning, when firebug or bookmark panel was opened (iframe was moving outside it's window). 5. New parameter $onAfterOpenPopup added for js functions: std_precreate_item, std_new_item, std_edit_temp_item. 6. inp_edit_box_ml block was used on non-multilanguage field (for prefix "skin", "test"). 7. Improvements in installator & unit config reader for windows (DIRECTORY_SEPARATOR was used insead of "/" that was hardcoded). Iproved file scanning operation performance. 8. Installation on linux failed on 2nd step, when config.php file was missing and attempt was made to check it's write permissions. 9. kDBConnection::doInsert method iproved, so it now can perform multiple record insert into same table using only one INSERT statement no matter what actual records will be inserted. 10. Removed unused code from kDBTagProcessor::PredefinedSearchOptions tag 11. Now grid filters are not affected by DefaultSettingUsedId configuration variable. 12. Fixed Debugger::netMatch method. Now it doesn't raise warnings every time, when compare 2 given ip addresses (not subnet masks as earlier). 13. Improved config file search engine, now it takes 1 second to scan all config file for all in-portal modules. 14. preg_match in kUnitConfigReader::configAllowed replaced with substr, that improved config file checking speed. 15. Fixed bug in "Content" removal in each category path (was not removed, when only Content was present in category path). 16. Fixed bug in ExportHelper, that asked item for ExportColumns field even, when such field was not available. 17. When installed on local domain (tested on windows), then paid modules were not available at all, but they should be available for installing.