Commit graph

71 commits

Author SHA1 Message Date
gwoo
923303b462 fixing router when affected by requestAction #2319, adding check in magic methods for a value otherwise it will return false
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4740 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-02 19:20:50 +00:00
nate
823dac8166 Additional URL-parsing fixes for IIS
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4701 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 16:42:11 +00:00
nate
f48b908ac6 Disabling ORDER BY clause for Model::findCount (Ticket #2227) and updating test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4677 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 18:17:15 +00:00
nate
8fc055bfa6 Fixing undefined variable in Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4649 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-22 18:52:45 +00:00
nate
6b7d4f37d4 Fixing undefined variable in Router, updating Socket test, and fixing FormHelper::label() for dot notation (Ticket #2277)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4648 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-22 18:47:38 +00:00
gwoo
9b7787d039 adding fix for router urls without the *
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4607 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-12 01:52:40 +00:00
gwoo
3b2264f56f fixing latest bug in router reverse mapping
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4598 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-07 07:53:43 +00:00
gwoo
ac89620c88 refactoring cleanUpFields even though its going to be removed, uncommenting the ajax and abre routes in router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4596 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-06 23:48:25 +00:00
phpnut
dea1dc77fb Adding fix for Ticket #2130, Ticket #2168, Ticket #2178
Adding beforeRender() callback for helpers.
Adding fix for Set::diff();

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4575 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 09:12:09 +00:00
nate
7aea4e5a18 Temporarily disabling Ajax/bare routes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4559 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-26 16:51:51 +00:00
nate
9b904515f3 Fixing reverse route matching in Router::url() and updating Router tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4556 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-26 02:11:30 +00:00
nate
e8cfab14a0 Refactoring Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4554 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-23 00:14:51 +00:00
phpnut
4a9110828d Adding fix for #2137
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4537 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-18 15:25:56 +00:00
nate
d25aa2a4cb Fixing undefined index 'action' notice in Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4456 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-05 23:45:26 +00:00
nate
ed2b697999 Fixing default extension parsing behavior for Router::parseExtensions()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4432 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 23:10:03 +00:00
nate
c98de6fe7f Updating Router::parseExtensions() so that parameters do not need to be wrapped in an array
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4429 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 21:47:38 +00:00
phpnut
0c9c0e44b4 Adding fix for #1989
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4423 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 02:32:42 +00:00
phpnut
944e1d98bb Adding fix for #2018
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4422 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 01:03:33 +00:00
phpnut
8916bd6a49 Adding changes to Router to pass tests cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4419 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 23:55:47 +00:00
phpnut
a8a91e35be Correcting all headers in the files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4407 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 10:39:45 +00:00
nate
06f83ea86d Moving normalizeList() (basics) to Set::normalize()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4307 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 20:50:57 +00:00
nate
d2967c3f92 Adding Paginator methods for links and sorting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4234 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-31 08:27:02 +00:00
gwoo
ed28c3187b adding router fix for array params, ticket #1824, removing ternary operator from HtmlHelper::link();
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4228 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-29 04:16:53 +00:00
gwoo
fc66c8aa6a fixing router args in urls, ticket #1811
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4212 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-26 18:06:42 +00:00
phpnut
c3e2c6b3d7 Merging changes from 1.1.x.x CakeSession
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4210 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-26 13:46:22 +00:00
phpnut
43f2afa6eb Fixes for:
Ticket #1394 setFlash with layout fails because of missing params to View
Ticket #1480 Incorrect urls with Plugins
Ticket #1670 HtmlHelper::selectTag: problem when is_array($selected)
Ticket #1685 Router::url can cause incorrect links
Ticket #1774 Route::url() don't find the right route
Ticket #1776 Postgres - after each insert atempting to retrieve last inserted id from seq.
Ticket #1765 Dispatcher, route and plugins

Adding doc comments to EmailComponent
Removed ) in I10n::__l10nCatalog['lv'] 

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4199 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-25 10:51:08 +00:00
nate
5a3feda301 Adding Router fixes for #anchors and admin/pagination routes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4175 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-24 04:32:22 +00:00
nate
6ae8f7e37c Refactoring FormHelper::create(), and stripping empty array elements in Router::url()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4115 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-21 06:10:35 +00:00
nate
deea24b153 Fixing undefined index error in Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4104 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-15 16:10:57 +00:00
nate
a7d07aea20 Fixing undefined index notice with admin routes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4081 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-07 22:41:20 +00:00
nate
7fd83394ca Fixing admin paths for string URLs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4080 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-07 18:59:58 +00:00
nate
8d1a23e008 Fixing reverse-route URL generator for admin routes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4077 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-07 05:58:08 +00:00
nate
94a57a89a4 Adding fixes for reverse routing engine
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4076 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-06 20:38:28 +00:00
nate
b11e215827 Refactoring Router to eliminate usage of NeatArray
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3894 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 16:33:50 +00:00
nate
91b9b3be6c Fixing Notice on "Missing Model" page
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3886 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-21 22:03:52 +00:00
nate
85ee09fb19 Purging the "evil" from comments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3862 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-14 16:20:52 +00:00
nate
6ba7032e68 Moving strip_plugin() to Router::stripPlugin(), and enabling reverse routes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3854 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-10 17:08:31 +00:00
nate
199eac5a35 moving strip_plugin() to Router::stripPlugin()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3838 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-08 02:07:11 +00:00
nate
cf6aef3059 Enabling full base URL to be used with array-based URLs in Router::url() (Ticket #1444)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3818 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-03 19:38:54 +00:00
nate
b90109059c Removing references to $this (Ticket #1587)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3743 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-26 16:29:10 +00:00
gwoo
8b680a0107 1.2: router fix for plugins in url()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3731 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-20 21:58:43 +00:00
nate
2993a8d412 Adding Router path fixes for error pages (Ticket #1566), fixing code formatting (Dispatcher), and adding API enhancements for model behaviors
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3727 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-20 17:24:37 +00:00
nate
9c8d4d83dd Adding Router fix for # URLs (Ticket #1552)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3715 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-18 21:15:54 +00:00
nate
1609ea337a Refactoring Router and transitioning URL generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3586 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 20:29:52 +00:00
nate
091a127c33 Moving URL generator code to Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3570 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-22 16:39:15 +00:00
phpnut
2e581426be Missed regex in Router::parse() in [3502]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3503 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-16 02:16:27 +00:00
phpnut
af2da53de2 Added fix for #1342
Corrected issue with ; in a URL

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3502 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-16 02:10:02 +00:00
nate
725a2700aa Updating Router method name, and adding magic route variables
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3460 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-10 17:25:44 +00:00
nate
fe903b2531 Adding regex limiter for route $requirements
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3453 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-06 12:57:17 +00:00
nate
f9b45b4114 Adding $requirements parameter to Router::connect(), to enable custom named expressions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3452 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-06 03:41:38 +00:00