Anonymous | Login | Signup for a new account | 2023-12-06 15:56 CST | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Viewing Issue Simple Details [ Jump to Notes ] [ Wiki ] [ Related Changesets ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update | ||
0000098 | [In-Portal CMS] Optimization | feature request | always | 2009-06-19 16:09 | 2009-10-03 07:56 | ||
Reporter | Dmitry | View Status | public | Project Name | In-Portal CMS | ||
Assigned To | alex | Developer | |||||
Priority | normal | Resolution | fixed | Fixed in Version | 5.0.1 | ||
Status | closed | Product Version | Target Version | 5.0.1 | |||
Time Estimate | No estimate | ||||||
Summary | 0000098: Redo Mod-Rewrite for Better Flexibility | ||||||
Description |
There is a need to redo our Mod-Rewrite mechanism from the ground to add more flexibility. Currently URL parsing closely tied up to Module Root Categories so they can't be nested in each other. Additionally it can't easily accept and work with any other URL elements besides Catalog Items. All these leads to lack of flexibility in current setup. Proposing the following: 1. Each "Unit Config" file will have a new option - PassPriority (we already might have it). If option was specified then that particular Prefix instead of "env" variable (now) will be added to URL in a special way. There will be 2 types of values: "number" - order if which current Prefix will be processed in case if there are multiple similar prefixes exist in current URL. "true" - order is not important, no matter if there are multiple similar prefixes - we just going to process it differently (from reg. env. var). In case if URL contains Prefixes with both "numerical" and "non-numerical" (as described above) priorities - system will process "numerical first and then the rest. Also "numerical" can priority can be negative value. 2. In the process of building URLs each prefix will call for event (ie. OnPrepareRewriteUrl ) which will do the job. 3. During the step of building Unit Configs Cache for Application - all prefixes with PassPriority will be added in priority order into new property of kApplication class so it can be used when kModRewriteHelper will be parsing and breaking URL apart. 4. During URL parsing current kModRewriteHelper will be taking "language" and "theme" parts while passing through the rest of URL (in correct order) to registered Prefixes calling an event (ie. OnParseRewriteUrl ) for local parsing. |
||||||
Additional Information | |||||||
Tags | mod rewrite | ||||||
Reference | |||||||
Change Log Message | |||||||
Estimate Points | 0 | ||||||
Attached Files | |||||||
|
![]() |
|||||||||||||||||||||||||||||||
|
![]() |
|
![]() alex (manager) 2009-08-15 08:14 |
Fix committed to 5.0.x branch. Commit Message: 1. Fixes 0000098: Redo Mod-Rewrite for Better Flexibility. 2. Fixes "kDBItem::Clear" method, so it's now really sets $id given to it. |
![]() administrator (administrator) 2009-10-03 07:56 |
Closing issues from 5.0.1 version, because version was already released. |
![]() |
|||
Modules :: Custom: 1.0.x r12564 Timestamp: 2009-09-18 05:53:21 Author: alex [ Details ] [ Diff ] |
1. Bug 0000098: Redo Mod-Rewrite for Better Flexibility 2. Prefix "widget" was not available, when <inp2:m_Link template="..." pass="all"/> was used. |
||
mod - /custom/branches/1.0.x/custom/units/widgets/widget_eh.php | [ Diff ] [ File ] | ||
In-Portal CMS: 5.0.x r12357 Timestamp: 2009-08-22 05:20:42 Author: alex [ Details ] [ Diff ] |
1. Bug 0000098: Redo Mod-Rewrite for Better Flexibility. 2. Fixed incorrect url when switching between themes/languages. |
||
mod - /in-portal/branches/5.0.x/core/units/form_submissions/form_submissions_eh.php | [ Diff ] [ File ] | ||
mod - /in-portal/branches/5.0.x/core/units/helpers/mod_rewrite_helper.php | [ Diff ] [ File ] | ||
mod - /in-portal/branches/5.0.x/core/units/helpers/modules_helper.php | [ Diff ] [ File ] | ||
mod - /in-portal/branches/5.0.x/core/units/languages/languages_event_handler.php | [ Diff ] [ File ] | ||
mod - /in-portal/branches/5.0.x/core/units/themes/themes_eh.php | [ Diff ] [ File ] | ||
In-Portal CMS: 5.0.x r12295 Timestamp: 2009-08-15 08:21:38 Author: alex [ Details ] [ Diff ] |
1. Bug 0000098: Redo Mod-Rewrite for Better Flexibility. 2. kMainEventHandler class removed, because it became empty after given task was finished. |
||
mod - /in-portal/branches/5.0.x/core/units/general/general_config.php | [ Diff ] [ File ] | ||
rm - /in-portal/branches/5.0.x/core/units/general/main_event_handler.php | |||
In-Portal CMS: 5.0.x r12294 Timestamp: 2009-08-15 08:14:21 Author: alex [ Details ] [ Diff ] |
1. Fixes 0000098: Redo Mod-Rewrite for Better Flexibility. 2. Fixes "kDBItem::Clear" method, so it's now really sets $id given to it. |
||
mod - /in-portal/branches/5.0.x/core/kernel/application.php | [ Diff ] [ File ] | ||
mod - /in-portal/branches/5.0.x/core/kernel/constants.php | [ Diff ] [ File ] | ||
mod - /in-portal/branches/5.0.x/core/kernel/db/dbitem.php | [ Diff ] [ File ] | ||
mod - /in-portal/branches/5.0.x/core/kernel/db/dblist.php | [ Diff ] [ File ] | ||
mod - /in-portal/branches/5.0.x/core/kernel/event_handler.php | [ Diff ] [ File ] | ||
mod - /in-portal/branches/5.0.x/core/kernel/event_manager.php | [ Diff ] [ File ] | ||
mod - /in-portal/branches/5.0.x/core/kernel/utility/unit_config_reader.php | [ Diff ] [ File ] | ||
mod - /in-portal/branches/5.0.x/core/units/general/general_config.php | [ Diff ] [ File ] | ||
mod - /in-portal/branches/5.0.x/core/units/general/helpers/mod_rewrite_helper.php | [ Diff ] [ File ] | ||
mod - /in-portal/branches/5.0.x/core/units/general/main_event_handler.php | [ Diff ] [ File ] | ||
Modules :: In-News: 5.0.x r12293 Timestamp: 2009-08-15 08:05:32 Author: alex [ Details ] [ Diff ] |
Bug 0000098: Redo Mod-Rewrite for Better Flexibility | ||
mod - /in-news/branches/5.0.x/in-news/units/articles/articles_config.php | [ Diff ] [ File ] | ||
Modules :: In-Link: 5.0.x r12292 Timestamp: 2009-08-15 08:05:13 Author: alex [ Details ] [ Diff ] |
Bug 0000098: Redo Mod-Rewrite for Better Flexibility | ||
mod - /in-link/branches/5.0.x/in-link/units/links/links_config.php | [ Diff ] [ File ] | ||
Modules :: In-Commerce: 5.0.x r12291 Timestamp: 2009-08-15 08:04:33 Author: alex [ Details ] [ Diff ] |
Bug 0000098: Redo Mod-Rewrite for Better Flexibility | ||
mod - /in-commerce/branches/5.0.x/in-commerce/units/products/products_config.php | [ Diff ] [ File ] | ||
Modules :: In-Bulletin: 5.0.x r12290 Timestamp: 2009-08-15 08:04:00 Author: alex [ Details ] [ Diff ] |
1. Bug 0000098: Redo Mod-Rewrite for Better Flexibility. 2. Fixed warning in "poll:HasVoted" tag. |
||
mod - /in-bulletin/branches/5.0.x/in-bulletin/units/polls/poll_tp.php | [ Diff ] [ File ] | ||
mod - /in-bulletin/branches/5.0.x/in-bulletin/units/topics/topics_config.php | [ Diff ] [ File ] | ||
mod - /in-bulletin/branches/5.0.x/in-bulletin/units/topics/topics_event_handler.php | [ Diff ] [ File ] | ||
Modules :: Custom: 1.0.x r12289 Timestamp: 2009-08-15 08:02:39 Author: alex [ Details ] [ Diff ] |
1. Bug 0000098: Redo Mod-Rewrite for Better Flexibility. 2. Example of how to use new rewrite listener functionality. |
||
mod - /custom/branches/1.0.x/custom/units/sections/sections_config.php | [ Diff ] [ File ] | ||
mod - /custom/branches/1.0.x/custom/units/widgets/widget_eh.php | [ Diff ] [ File ] | ||
mod - /custom/branches/1.0.x/custom/units/widgets/widgets_config.php | [ Diff ] [ File ] | ||
![]() |
|||
Date Modified | Username | Field | Change |
2012-05-17 04:44 | alex | Relationship added | parent of 0001288 |
2011-03-14 02:10 | alex | Relationship added | parent of 0001026 |
2011-03-14 02:10 | alex | Relationship added | parent of 0000539 |
2011-03-14 02:10 | alex | Relationship added | parent of 0000365 |
2011-03-14 02:10 | alex | Relationship added | parent of 0000445 |
2011-03-14 02:10 | alex | Relationship added | parent of 0000459 |
2009-10-03 07:56 | administrator | Note Added: 0000735 | |
2009-10-03 07:56 | administrator | Status | resolved => closed |
2009-09-18 05:54 | alex | Tag Attached: mod rewrite | |
2009-09-18 05:53 | alex | Changeset attached | 1.0.x r12564 |
2009-08-22 05:20 | alex | Changeset attached | 5.0.x r12357 |
2009-08-15 08:22 | alex | Fixed in Version | => 5.0.1 |
2009-08-15 08:22 | alex | Target Version | 5.1.0 => 5.0.1 |
2009-08-15 08:21 | alex | Changeset attached | 5.0.x r12295 |
2009-08-15 08:14 | alex | Note Added: 0000319 | |
2009-08-15 08:14 | alex | Status | reviewed and tested => resolved |
2009-08-15 08:14 | alex | Resolution | open => fixed |
2009-08-15 08:14 | alex | Changeset attached | 5.0.x r12294 |
2009-08-15 08:05 | alex | Changeset attached | 5.0.x r12293 |
2009-08-15 08:05 | alex | Changeset attached | 5.0.x r12292 |
2009-08-15 08:04 | alex | Changeset attached | 5.0.x r12291 |
2009-08-15 08:04 | alex | Changeset attached | 5.0.x r12290 |
2009-08-15 08:02 | alex | Changeset attached | 1.0.x r12289 |
2009-08-14 00:42 | Dmitry | Assigned To | => alex |
2009-08-14 00:42 | Dmitry | Status | active => reviewed and tested |
2009-08-14 00:42 | Dmitry | Target Version | Icebox => 5.1.0 |
2009-06-19 16:20 | Dmitry | Description Updated | View Revisions |
2009-06-19 16:19 | Dmitry | Description Updated | View Revisions |
2009-06-19 16:19 | Dmitry | Description Updated | View Revisions |
2009-06-19 16:18 | Dmitry | Description Updated | View Revisions |
2009-06-19 16:18 | Dmitry | Additional Information Updated | View Revisions |
2009-06-19 16:18 | Dmitry | Additional Information Updated | View Revisions |
2009-06-19 16:17 | Dmitry | Additional Information Updated | View Revisions |
2009-06-19 16:17 | Dmitry | Additional Information Updated | View Revisions |
2009-06-19 16:17 | Dmitry | Additional Information Updated | View Revisions |
2009-06-19 16:15 | Dmitry | Additional Information Updated | View Revisions |
2009-06-19 16:09 | Dmitry | New Issue |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |