helpers

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

Creating "In-Portal" module for versions before 5.0.0.

  1. … 5841 more files in changeset.

1. Fixes #0000015: Saving "Movable Blocks" in Layout Mode.

2. JavaScript error (on left frame width save attempt) fixed, when F5 was pressed in administrative console.

INP-8

  1. … 7 more files in changeset.

1. Fixes #0000134: Add "Wiki" Url to Language pack Export/Import parameters

2. Text, shown in title preset was not html escaped, fixed too.

INP-112

  1. … 3 more files in changeset.

1. optimized code, when "fill", "crop" and "wm" formats could be used simultaneously.

2. added code, that uses target size (width/height), when appropriate maximal possible size (width/height) is not specified in format string.

3. Bug #0000131: Ability to fill margins left after image resize with given color.

4. Bug #0000028: Add crop ability to ImageHelper class.

INP-20

INP-111

  1. … 1 more file in changeset.

Bug #0000131: Ability to fill margins left after image resize with given color

INP-111

Fixes #0000131: Ability to fill margins left after image resize with given color

INP-111

  1. … 1 more file in changeset.

Fixes #0000130: Ability to work with BMP image files

INP-110

  1. … 1 more file in changeset.

Bug #0000124: Improve database interaction code

INP-104

Fixes #0000028: Add crop ability to ImageHelper class

INP-20

  1. … 1 more file in changeset.

Fixes #0000108: Add "multiple" option to possible field options, when kOptionsFormatter is used (helps in search queries)

INP-89

  1. … 2 more files in changeset.

Fixes #0000103: Applying License to In-Portal and Modules

INS-1

  1. … 241 more files in changeset.

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

  1. … 7 more files in changeset.

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. … 2 more files in changeset.

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

INP-27

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. … 4 more files in changeset.

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

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

INP-50

  1. … 1 more file in changeset.

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

  1. … 2 more files in changeset.

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

  1. … 2 more files in changeset.

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

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

  1. … 9 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. … 24 more files in changeset.

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.

  1. … 1 more file in changeset.

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. … 28 more files in changeset.

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. … 4 more files in changeset.

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.

    • -0
    • +583
    ./language_import_helper.php
  1. … 31 more files in changeset.

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.

#27462 - License Check for Modules

  1. … 2 more files in changeset.

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

  1. … 15 more files in changeset.

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. … 10 more files in changeset.

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

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

  1. … 5 more files in changeset.