the_undefined
ee94d5662c
Added persist feature to routing, allows namedArgs to be auto-populated for reverse routing based on current request
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6704 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-19 20:57:23 +00:00
the_undefined
e46425f759
Fixed bad test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6696 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 11:25:03 +00:00
nate
8756f0d471
Adding test case for generating full-base absolute URLs, disproves and closes #4470
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6694 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 06:58:14 +00:00
the_undefined
5c0b72db85
Added support for controlling namedArg behavior on routes level, fixes #4451
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6686 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 23:14:49 +00:00
the_undefined
4b19d4c38d
Added support for final characters in multi param route elements
...
Fixed issue with reverse routing and falsely escaped route regex
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6647 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 18:26:20 +00:00
mariano.iglesias
4b25239298
Adding router test case for URL generation with prefixes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6635 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-05 14:21:33 +00:00
the_undefined
7a769f68ca
Restricted named route element to contain no special chars other then '_'
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6559 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-11 15:19:46 +00:00
nate
24ea731e7f
Making parsed parameters always show up at the beginning of 'pass', closes #4299
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6517 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 16:14:51 +00:00
mariano.iglesias
33c0fec53a
Resetting route prior to test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6510 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-06 22:30:38 +00:00
mariano.iglesias
c689a95a43
Adding more tests for router regarding paging routes and named parameters
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6509 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-06 21:47:54 +00:00
nate
12466ebe43
Making sure default extension is always set when Router::parseExtensions() is used
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6507 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-03 23:56:18 +00:00
the_undefined
0b4e8e63ac
Added support for multiple route parameters per path element
...
Fixed bug with pass param order
Added / updated router tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6498 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 15:57:25 +00:00
the_undefined
394322f35d
Added pass feature to Router::connect
...
Implemented it for Router::mapResources
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6489 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-29 20:22:57 +00:00
nate
0d2c0c1c6c
Cleanup from last commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6457 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-12 14:16:13 +00:00
nate
766703f15f
Fixing default route mappings, refactoring route generation, fixes #4109
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6456 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-12 14:11:33 +00:00
nate
f3355bd74b
Removing all references to deprecated 'webservices' and 'bare' routes and route parameters, removing deprecated constants, updating core tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6453 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 06:18:41 +00:00
nate
ab1a245086
Adding option to remove application base path to Router::url()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6444 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 20:47:48 +00:00
nate
d9691a19c8
Refactoring Router::mapResources(), adding tests for REST routing and HTTP method overrides
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6409 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-26 08:50:06 +00:00
nate
b93e5c13ea
Adding tests for routes with UUID matches, closes #3973 (disproven)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6405 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-23 16:09:27 +00:00
phpnut
cb53dc61b0
"Closes #2897 , Built-in file validation.
...
Implemented Validation::extension(); and Vaidation::range();
Updated copyright notices in all files"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6296 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:18:17 +00:00
nate
1c9b87da4e
Fixing environment detection issues in Dispatcher, adding environment tests, adding tests for embedded route regular expressions, fixes #2666
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6284 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 22:33:48 +00:00
gwoo
48bf9e420d
updating router admin handling, closes #3697 test added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6281 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-30 19:53:21 +00:00
phpnut
394ee0c8fc
"Removing debug()"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6260 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 11:15:52 +00:00
phpnut
75b5623f33
"Closes #3587 , Multiple resource routes"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6257 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 10:25:42 +00:00
nate
570e71f62a
Adding fix for Router named arguments where arg value contains the separator key (Ticket #3752 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6172 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-19 01:49:25 +00:00
nate
481cbf521e
Adding fixes to Router::normalize() when called with empty parameter (Ticket #3734 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6152 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-14 15:09:05 +00:00
nate
9d58121205
Removing trailing slash from normalized URLs in AuthComponent, moving AuthComponent::_normalizeURL() to Router::normalize(), refactoring (Ticket #3042 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6145 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-13 07:03:59 +00:00
nate
4689258464
Adding REST route matching fixes (Ticket #3665 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6135 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 16:59:57 +00:00
gwoo
b1b8fcddd2
adding named to params so the proper args get passed to the action, updated tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5932 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-31 03:53:41 +00:00
nate
9b578c5bb1
Adding tests for incorrectly matched routes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5931 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-30 22:41:55 +00:00
nate
1ab95d703f
Adding test case to explain how route prefix matching functions (Ticket #3494 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5924 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-30 14:49:03 +00:00
nate
d913e88ef5
Adding required route matching for passed params in reverse routing, adding fix for matching on optional route parameters (Ticket #3355 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5923 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-29 21:33:20 +00:00
gwoo
acdeadde01
adding router test, closes #3425
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5835 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-21 21:51:40 +00:00
gwoo
1d46e068d3
adding test to router
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5723 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-04 23:29:57 +00:00
gwoo
ad6a0c12c5
refactor args generation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5694 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-26 09:49:01 +00:00
phpnut
643da0ab97
fixes #3260 , Router generating wrong url
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5684 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-21 02:29:36 +00:00
nate
55e8592e17
Fixing passed args support in Router, refactoring helper tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5653 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 18:32:02 +00:00
gwoo
7793b4f5c0
fix for router and edit links, added tests, closes #3108
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5592 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-28 21:16:24 +00:00
nate
1326d20792
Router fix for breaking out of plugins (Ticket #3106 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5577 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-24 13:11:31 +00:00
nate
73909d0617
Adding Router fix for breaking out of admin mode (Ticket #3119 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5576 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-24 12:50:21 +00:00
nate
2ff0e4f54f
Admin routing test for Ticket #3104
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5562 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-21 17:02:07 +00:00
nate
c4c3bf4ccd
Adding fixes for parameter matching in reverse routing (Ticket #3099 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5557 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 16:02:11 +00:00
nate
b4a8d513c3
Removing benchmarking code from Router test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5555 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 13:12:24 +00:00
nate
bd194b51e5
Routing fixes for invalid null value matching and named argument handling (Ticket #3083 , #3085 , #3086 , #3093 ). Thanks biesbjerg for all your help!
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5554 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 13:09:11 +00:00
nate
382235ffbf
Adding Router parsing test for Ticket #3074
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5538 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 18:50:25 +00:00
nate
90567a286a
Moving named argument handling into Router
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5535 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 16:31:50 +00:00
nate
3e7044d4b8
Implementing prefix-based routing, and transitioning configuration away from global constants
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5531 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 05:44:06 +00:00
nate
5c48a926e7
Adding model test fixture and additional Router test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5527 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 16:26:04 +00:00
nate
3b0099b877
More Router tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5526 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 14:38:28 +00:00
nate
32e61a8adf
Adding Router test case for Ticket #3028
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5524 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 14:28:53 +00:00
nate
ad75ecea81
Fixing and refactoring reverse routing, and adding URL generation fixes (Ticket #3034 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5523 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-15 14:18:39 +00:00
nate
214ad6346f
Refactoring Router and fixing route matching, adding tests (Ticket #3033 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5521 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-14 18:51:34 +00:00
nate
a98afd7e5c
Adding Router test case for Ticket #3055
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5514 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-12 22:52:15 +00:00
nate
cfd4e0f3d7
Fixing Router issue with named arguments being dropped from matched routes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5473 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-30 13:15:59 +00:00
gwoo
d6c4229d81
updating router test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5471 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-27 17:51:33 +00:00
nate
dee2ea4f68
Updating fix for empty parameter passing in Router; adding test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5470 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-27 13:32:26 +00:00
gwoo
fc9503e473
fixing bug with url parsing
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5468 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-27 02:46:30 +00:00
phpnut
c8dca3c666
Removing echo statement in router.test.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5456 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 14:40:34 +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
gwoo
16332140bf
updating most tests with fixes to coding standards
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5395 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 01:17:57 +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
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
phpnut
b5e3a55e03
Adding tests for #2520
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4989 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-02 18:37:28 +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
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
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
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
0748c69183
Updating Router test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4553 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-22 23:41:00 +00:00
phpnut
578073b91d
Updating test suite
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4445 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 09:06:44 +00:00
phpnut
4c25103751
Moving to include tests and test suite in the 1.2.x.x core releases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4430 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 22:20:13 +00:00