db_tag_processor.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 #0000117: Extra SQLs for Locale Selection

INP-97

1. Fixes #0000090: Sitemap Template is Broken.

2. PrintList2 tag wasn't passing parameters to MoreLink tag.

3. Block "more_link_elem" content was incorrect and this leaded to fatal error, when it was used.

4. Sitemap template was renamed from "site_map.tpl" to "sitemap.tpl", but references to it's old name in other templates were not.

INP-76

  1. … 3 more files in changeset.

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

INS-1

  1. … 255 more files in changeset.

Bug #0000069: Issues with "MoreLink" tag and "Data_Exists" param

INP-57

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. 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. … 1 more file in changeset.

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.

  1. … 10 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. 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. … 35 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.

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

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. … 16 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. Show All/Show Structure links remembered last visited category.

2. Empty line between grid and toolbar in IE.

3. New replacement #section_label#, that will be replaced with label, from given section.

4. Unused old tab design styles removed from css file.

5. Completely rewrited "Loading ..." overlay logic during ajax requests in catalog and other ajax-related places.

6. search_keydown function fixed and don't raise php fatal error when enter is pressed in simple search input near search buttons in toolbar.

7. Categories tab removed from reviews section (was accidentally added during new catalog implementation).

8. Priority dropdown in categories list in admin is now filled with positive values.

9. Fixed proj-cms templates (because they will be moved to core later).

  1. … 15 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.

Merging "st" and "c" prefixes. Theme selector.

1. Theme selector for catalog/advanced_view

2. Catalog is now derived from "Content" category as Proj-CMS

3. Search box for category permission editor

4. yellow/red folder (small/super small) icons moved to core (from proj-cms)

5. getFrame hang up fix in all getFrame copies

6. Fixed 2 popups from System Tools section

7. added QuickCategoryPermissionRebuild configuration variable

8. missing OnResetSorting event permission mapping added

9. kDBBase::PrepareFieldOptions is now called only once per field

10. usage of undefined configuration variable "UseFileCache" in "cache.php"

11. cache variable cms_menu is now deleted together with StructureTree (in adm:OnResetCMSMenuCache event)

12. Fixed spelling error on $add_collation variable in kPermCacheUpdater::initData method (bug by Dima)

13. "menu" type added for category lists (<inp2:c_InitList types="menu" except="menu"/>) for showing/excluding menu items from category lists

14. During theme file rebuild files from disabled theme are not added to ThemeFiles table

15. Templates with .des.tpl and .elm.tpl extensions are skipped on structure creation step; also ".svn" directory is skipped

16. New parameter "additional_blue_bar_render_as" for block "combined_header" allows to specify block to render at right corner of blue bar.

  1. … 35 more files in changeset.

1. #26327 - Admin: Modal Windows

2. some blocks redesigned to match platform requirements

3. fixed some error reporting in javascript (in try-catch statements in 2 places)

4. jQuery upgraded to 1.3.2, added draggable and resizeable ui elements

5. fixed set_hidden_field problem on category images template (admin) when starting to add new image

6. search/search_reset buttons are now always visible even with toolbar button visibility restritions in effect

7. blocks grid_options_td and grid_date_td copied and adapted to proj-base/grid_blocks template

8. fixed duplicate wid recursiva addition to window name

  1. … 35 more files in changeset.

#26671 - Admin: Standardized Grids & Catalog

  1. … 19 more files in changeset.

1. "bgcolor" parameter value was ignored in st_ContentBlock tag resulting white background in fckeditor in all cases

2. missing section in "fck" prefix unit config resulted in no permission error in fck file browser.

  1. … 1 more file in changeset.

1. #26626 - Admin: Toolbars in "head" frame

2. Missing popup size on custom field editing

3. edit_insides mark transformed into standalone EDITING_MODE_INSIDES mode

4. #26567 - Admin Catalog II (default sorting)

  1. … 12 more files in changeset.

=== ++++ ===

  • Возможность передавать все параметры из блока в шаблон (через pass_params параметр).
  • К классу String (в JavaScript) добавлены методы toNumeric и trim.
  • Добавлен класс JSONHelper из проекта BegonijaASU.
  • Возможность убирания кнопок с панели инструментов шаблонов при помощи конфигурационного файла.

=== *** ===

  • В кеше секций теперь присудствует путь к шаблону, который ранее по ошибке стирался при его построении.
  • Метод Validate в классах kCatDBItem и CategoriesItem вызывался 2 раза, причём при первом его вызове изменения в OnBeforeItemCreate и OnBeforeItemUpdate событиях игнорировались.
  1. … 46 more files in changeset.

#25727 - Mailing Manager

  1. … 26 more files in changeset.

requery parameter fix for item

#24714 - In-portal CMS (merging In-portal & Platform); paths

  1. … 18 more files in changeset.

1. fixed 4 warnings on fckeditor template

2. nparser changes to provide additional info about any tag on template during compilation

  1. … 4 more files in changeset.

New FCK Editor, small session expiration fix

  1. … 4 more files in changeset.

New FCK Editor

  1. … 407 more files in changeset.

minor interface changes

  1. … 4 more files in changeset.

grid new features

  1. … 20 more files in changeset.