permissions_helper.php

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

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

INS-1

  1. … 255 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 #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. #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. … 29 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 design for "save warning" message during category editing.

2. #13454 - Admin: Remove Option to Simple Search for NON-text Fields

3. #27369 - Admin: Grids + Catalog -> Remove Double Sorting

4. Double sorting arrow was shown event with UseDoubleSorting option disabled

5. When defined in unit config, then double sorting is applied, but no dobule sorting icon is shown in admin

6. Fixed permission checking during category relation edit template popup size query

7. Fixed missing closing DefineElement tag

  1. … 5 more files in changeset.

1. check for non-existing tab (when prefix is given) added in catalog

2. now theme default2007, then theme default2009 will be preselected during install (when available)

3. added new constant DBG_IGNORE_FATAL_ERRORS, that should be used in methods, that define their own error handlers and don't want kApplication to interfear (like sending 500 HTTP Responce code on fatal errors).

4. new edit button design for template editor on Front-End.

5. new method CategoriesTagProcessor::_transformContentBlockData added for applying custom processing to st_ContentBlock tag

6. new tag st_EditingScripts with all admin javascript includes from admin added. In case, when it's now used all such javascript are still added in st_EditPage tag.

  1. … 80 more files in changeset.

1. export in new catalog fixed

2. openSelector fixed, now it really uses given url as form.action during submit

3. added ability to specify onAfterOpenPopup callback for open_popup function

4. new unit config option: PassPriority, used to sort prefixes in "env" variable in links

5. new tag abstract tag ModifyUnitConfig, used as addition to OnAfterConfigRead, but is called only when combined_header is used

6. fixed problem, when events from GET were not passed, when empty event names were presetnt in POST

7. SelectParam helper method changed, now it can be used as tag: selects 1st parameter, that has value from given parameter names

8. category sorting by priority is only applied in admin (now it's not forced) and in CachedMenu tag

9. tag c_HomeCategory added to return home category, because not it's Content (id > 0), not 0, as before.

10. fixed "SaveWarning" tag for categories. now it is displayed during category editing.

11. Virtual fields shown in grid are now skipped from search, when they doesn't have corresponding calculated fields

12. Missing email events (found in language pack, but not found in db) are now skipped without rising sql error.

13. new parameters perm_prefix and perm_event added to combined_header block. They as used during permission checking.

14. new parameter pagination_prefix added to combined_header block. It's used (when passed) as prefix for drawing upper pagination bar (usually in subitem lists).

  1. … 181 more files in changeset.

#25727 - Mailing Manager

  1. … 26 more files in changeset.

permission fix during upload for subitem of category items

  1. … 1 more file in changeset.

User own password chaning - tempalte permission check fix, Expired session in popup fix - now tries to close all the popups and display login in main window

  1. … 4 more files in changeset.
  • More
  • 9841
  • changed 3 files

modrewrite-category fix

  1. … 2 more files in changeset.
  • More
  • 8929
  • changed 4046 files

This commit was manufactured by cvs2svn to create branch 'RC'.

  1. … 4045 more files in changeset.