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

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.

    • -6
    • +17
    ./core/units/admin/admin_tag_processor.php
    • -2
    • +17
    ./core/admin_templates/catalog/advanced_view.tpl
    • -0
    • +175
    ./core/units/general/helpers/category_helper.php
    • -14
    • +29
    ./core/admin_templates/no_permission.tpl
    • -18
    • +5
    ./core/admin_templates/sections_list.tpl
    • -7
    • +2
    ./core/admin_templates/catalog_tab.tpl
  1. … 15 more files in changeset.

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

2. Skin name made requred.

    • -1
    • +1
    ./core/admin_templates/incs/style_template.css

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.

    • -2
    • +2
    ./core/units/admin/admin_tag_processor.php

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.

    • -1
    • +1
    ./core/units/general/cat_tag_processor.php
    • -524
    • +0
    ./core/units/languages/import_xml.php
    • -0
    • +583
    ./core/units/general/helpers/language_import_helper.php
    • -3
    • +1
    ./core/admin_templates/skins/skin_edit.tpl
    • -2
    • +2
    ./core/admin_templates/incs/form_blocks.tpl
    • -0
    • +11
    ./core/admin_templates/catalog/catalog.tpl
  1. … 21 more files in changeset.
      • empty log message ***
    • -0
    • +2
    ./core/admin_templates/skins/skin_edit.tpl

Fixed problem in JSONHelper, when string with only numbers inside beginning with leading zeros was encoded as number and leading zeros were lost as a result.

    • -13
    • +10
    ./core/units/general/helpers/json_helper.php

1. #27081 - Admin: Editor in Site Views fix

2. kDateFormatter doesn't create *_formatted virtual fields anymore.

    • -1
    • +1
    ./core/units/admin/admin_tag_processor.php
    • -9
    • +11
    ./core/units/general/cat_dbitem.php
    • -4
    • +0
    ./core/admin_templates/incs/grid_blocks.tpl
    • -1
    • +3
    ./core/admin_templates/js/template_manager.js

1. Fixed bug, when catalog grid filter raised fatal error when using category selector.

#27465 - Admin: All Grids -> Broken Size for Field with Checkboxes

    • -6
    • +6
    ./core/admin_templates/incs/grid_blocks.tpl

#27462 - License Check for Modules

    • -7
    • +30
    ./core/units/general/helpers/modules.php
    • -1
    • +0
    ./core/units/users/users_event_handler.php

FieldVisible tag added to all local copies of blocks (copied from form_blocks and then changed)

    • -16
    • +18
    ./core/admin_templates/regional/languages_edit.tpl
    • -1
    • +1
    ./core/admin_templates/emails/send_complete.tpl
    • -182
    • +182
    ./core/admin_templates/skins/skin_edit.tpl
    • -1
    • +1
    ./core/admin_templates/incs/custom_blocks.tpl

1. Fixed category edit template layout in IE -> hidden fields moved outside table to look normal.

2. Fixed ajax overlay zIndex, so new windows will open over it, not under it as before.

3. Content category stripped from exported data.

4. Use is redirected exactly to import target category (not just in home category as before) after import is made.

5. #27456 - Admin: Import -> Multiple Fixes

    • -2
    • +20
    ./core/units/admin/admin_tag_processor.php
    • -1
    • +0
    ./core/admin_templates/sections_list.tpl
    • -1
    • +12
    ./core/admin_templates/tools/import1.tpl
    • -2
    • +13
    ./core/admin_templates/tools/import2.tpl
    • -1
    • +19
    ./core/units/general/cat_dbitem_export.php
    • -18
    • +43
    ./core/units/general/cat_event_handler.php
    • -0
    • +9
    ./core/admin_templates/catalog/catalog.tpl

#27460 - Admin: Hide Fields & Sections marked in Site Configs (virtual hidden fields fix)

    • -2
    • +16
    ./core/kernel/db/db_tag_processor.php

#27081 - Admin: Editor in Site Views

    • -0
    • +10
    ./core/admin_templates/incs/cms.css
    • -0
    • +24
    ./core/admin_templates/themes/extra_toolbar.tpl
    • -2
    • +43
    ./core/admin_templates/js/template_manager.js
    • -0
    • +5
    ./core/admin_templates/incs/style_template.css

1. Final ajustments to categories_edit template to work with site config field hiding engine.

2. Custom field options list made smaller.

3. no_special parameter added to inp_label block.

4. Some debug code removed from kApplication class.

5. Added tags FieldVisible and FieldsVisible to show/hide fields based on data from site configs.

6. Global template compiler (from system tools section) now works only with enabled themes.

7. Fixed some warning on import/export screen.

8. #27460 - Admin: Hide Fields & Sections marked in Site Configs

    • -1
    • +2
    ./core/units/sections/sections_config.php
    • -15
    • +17
    ./core/admin_templates/categories/categories_edit.tpl
    • -1
    • +1
    ./core/admin_templates/incs/custom_blocks.tpl
    • -9
    • +36
    ./core/units/sections/site_config_eh.php
    • -0
    • +1
    ./core/units/phrases/phrases_config.php
    • -6
    • +26
    ./core/units/general/cat_dbitem_export.php
    • -585
    • +643
    ./core/admin_templates/incs/form_blocks.tpl
    • -0
    • +46
    ./core/kernel/db/db_tag_processor.php

Single quotes used in block definitions to prevent syntax highlighting problems in Zend.

    • -124
    • +124
    ./core/admin_templates/incs/form_blocks.tpl

1. Fixed bug, when "extra_toolbar" (in head frame) stays from "catalog" section and was not replaced by Front-End "extra_toolbar" when using "View in browse mode" functionality from category item grid (like links).

2. Opening form tag was missing on tree template in admin.

3. #27461 - Admin: Browse Modes -> Section Properties for Items

4. Now c_CategoryLink tag builds link to category using it's path as template, not actual design template as before (as result was have identical links in menu and in category listing).

5. New method kEventManager::openerStackChange for changing last element of current window's opener stack.

6. Don't autocreate missing system pages, when user browses to them, like design pages (because they could intensionally not created in structure via .smsignore file).

7. Correct category id is now passed, when going to 404 not found and no permission tempalates.

8. Incorrect element template was used for article in category displaying.

1. Parameter title_render_as removed from combined_header block, because it only makes harder to use block.

2. During window scroll thickbox window stays on screen center.

3. "no_editing" parameter now works even if used in block declaration.

4. Fixed incorrect element naming for block RenderElement tags resulting in incorrect "Edit" button template when dealing with nested block level RenderElement tags.

    • -6
    • +2
    ./core/admin_templates/incs/form_blocks.tpl

1. Missing title preset added for "Translations" section (former Phrases)

2. Templates for displaying sparate email message list moved to more logical place for them.

3. #27459 - Admin: Email Templates -> Show Enabled Only

    • -3
    • +3
    ./core/admin_templates/incs/blocks.tpl
    • -0
    • +58
    ./core/admin_templates/languages/email_message_edit.tpl
    • -0
    • +40
    ./core/admin_templates/languages/email_message_list.tpl
    • -40
    • +0
    ./core/admin_templates/config/email_events.tpl

Session log was initialized only for root.

    • -0
    • +2
    ./core/units/users/users_event_handler.php

Calendar icon will be disabled for read-only fields too. Before it was disabled for disabled fields only.

1. [[EventHandler:OnSynchronizeLanguages|]] event added + button on language toolbar in admin. Functionality copies missing phrases across the languages.

Tags in block "grid_priority_td" optimized.

    • -1
    • +1
    ./core/admin_templates/incs/grid_blocks.tpl

Now fallback logo is shown in case if login logo is missing. In that case styles fixed to match ones in head frame in admin.

    • -86
    • +91
    ./core/admin_templates/login.tpl

#27080 - Admin: Modal Windows (Improvements)

1. Simplified version of duplicate links grid. At least it looks like grid

2. Draggable elements in theme - js part is now done by jquery.ui sortable plugin.

1. #27332 - Admin: Add Item button is Missing on "Showing All" Grid

2. Fixed priority problem, when adding category from advanced view screen.

    • -0
    • +3
    ./core/admin_templates/catalog_tab.tpl
    • -4
    • +12
    ./core/units/general/helpers/priority_helper.php

#27370 - Admin: Catalog-> White Space on Categories and Links tabs.

1. Fixed by using $(...).html() instead of ...innerHTML = ;

2. Fixed problem, when clicking on symlinked category in tree, then content of original (but not symlinked) category was shown in catalog.

Fixed bug in EditPickerHelper class with filter adding, when ambiguous column error was raised by mysql.

#27329 - Admin: Adding Relations to Category Item (ie. Product)

Fixed both places with relation adding and order item adding

    • -0
    • +22
    ./core/units/admin/admin_tag_processor.php
    • -8
    • +20
    ./core/admin_templates/incs/close_popup.tpl