phpnut
549d86ac23
Refactoring dispatcher.
...
Added test for changes to Dispatcher.
Updating Model::_ _saveMulti(), moved the insert statement to DboSource::insertMulti() this will allow database that do not support multiple inserts in one statement to save data.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5460 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 04:38:28 +00:00
nate
7b4264b68c
Adding header detection to Router, and implementing prototype REST routes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5454 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 13:50:50 +00:00
nate
5ab89f495f
Refactoring Router and improving route generation efficiency
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5450 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-22 04:07:06 +00:00
nate
2664ed2ee4
Fixing trailing slash in URL when extension is used (Ticket #2934 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5439 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-17 13:45:20 +00:00
phpnut
03ea2b8287
Adding fix for Router::url() when static call is made outside of an object instance
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5329 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 01:25:35 +00:00
phpnut
85492fba92
Adding fix for Ticket #2750 , fixes rendering of links when requestAction() is used.
...
Router::url() replaced $_this with $this which is an instance of the class from which the method is called, in the case of this ticket it was an instance of the HtmlHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5319 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 06:47:57 +00:00
phpnut
23dfd90b29
Correcting code structure to standards
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5313 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:15:35 +00:00
phpnut
02508cfb02
Adding fix for #2640 , fixes nested array issues with Router::stripEscape()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5257 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-07 19:27:42 +00:00
gwoo
3acebbcecb
adding pass to the default set of router params
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5227 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-01 17:27:10 +00:00
mariano.iglesias
61a3d09dbc
Adding comments for Router
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5193 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 06:26:06 +00:00
phpnut
641a77563f
Adding fix for #2637 , fixes issue with Router::stripEscape() corrupting boolean values
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5182 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-25 03:33:12 +00:00
phpnut
646d1ad868
changing param check in Router::stripEscape()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5163 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 04:20:53 +00:00
phpnut
f706d050a4
Merging changes from [5157] into DboSource.
...
Adding better check in Router::stripEscape()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5160 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 20:00:16 +00:00
phpnut
056c4cc054
Adding fix for #2613 , fixes afterFind callback not called on models in depth search > 1 (recursive).
...
Changed the regex pattern matching in Router::stripEscape()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5140 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 03:54:42 +00:00
phpnut
df5c02aa8f
Adding fix for #2612 , Fixes AuthComponent::identify SQL injection, and also removes ability to pass the -! in the posted data
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5139 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 03:29:49 +00:00
nate
540b1052d8
Fixing string-based URL generation inside plugins (Ticket #2588 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5123 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 01:40:34 +00:00
nate
8fb9acc981
Adding admin route matching fix (Ticket #2541 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5069 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 02:00:24 +00:00
phpnut
137fea94c6
Cleaning up line endings
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4994 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-03 04:35:25 +00:00
phpnut
6a5f623240
Adding fix for failing ajax tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4946 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-30 11:12:11 +00:00
phpnut
d861587960
Adding fix for #2452 (patch from #2476 ).
...
Added tests for ticket #2452
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4927 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 11:10:11 +00:00
phpnut
0ddac86f58
Adding fix for #2466 fixes missed Router::__mapped reinit in Router::url()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4909 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 03:46:58 +00:00
nate
3ba273b16d
Adding URL fragment (hash) support in Router::url() (Ticket #2432 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4869 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 07:51:01 +00:00
nate
e5b0f2e3fa
Moving Router::__filter() to Set::filter()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4867 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 07:00:26 +00:00
phpnut
a2ba6d7715
Adding fix for Ticket #2392
...
Added tests for this fix.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4848 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-12 07:17:39 +00:00
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