mark_story
6acf024a2b
Fixing incorrect keying for ext routing parameter. It was
...
nested under params[url][ext]. This makes it unlike
all other routing parameters. Having the nested value
also makes reversing requests harder, and generating urls more
difficult.
Adding a test for Router::reverse() and extensions.
Fixes #1923 , fixes #1928
2011-08-22 22:26:02 -04:00
Mark Story
68b2d67b0a
Adding support for callback style error formatters.
...
This will allow other classes to inject custom error formatting
code into debugger. Hopefully making it possible to remove the getInstance() workarounds.
2011-08-22 20:44:33 -04:00
Mark Story
48c6b78660
Adding tests for Debugger::addFormat()
2011-08-22 20:44:32 -04:00
Mark Story
73f4b8c8bf
Adding additional test cases for assertTags.
2011-08-22 20:44:32 -04:00
Mark Story
daf1251473
Adding tests for Debugger::outputAs()
...
Adding exceptions for invalid state checking.
2011-08-22 20:44:32 -04:00
Mark Story
7276f3357d
Fixing issues where ControllerTestCase couldn't properly hit plugin
...
controllers.
Fixing some formatting.
Fixes #1918
2011-08-20 09:58:35 -04:00
Mark Story
70f47378f9
Fixing options[data] always writing its data into $_POST['data'].
...
It now just overwrites $_POST.
Fixes #1917
2011-08-20 09:46:01 -04:00
Mark Story
0091fac5b9
Adding prefix based cache clearning to Wincache.
...
This matches APC and Memcache.
Fixes #1911
2011-08-20 09:27:33 -04:00
Mark Story
ef921fa56f
Making ApcEngine::clear() only clear keys with a matching
...
prefix. Refs #1911
2011-08-20 09:27:33 -04:00
Juan Basso
3dd86ebfd4
Fixed the Memcache::clear() to not flush all the server, just the variables associated with the prefix. Refs #1911
2011-08-19 22:12:37 -04:00
Mark Story
46c07add3f
Fixing issues with HTML5 number inputs and float columns.
...
For float columns, the default step value is 'any'
Fixes #1907
2011-08-18 22:31:00 -04:00
Mark Story
0e21093268
Removing XmlHelper references in layouts.
...
Fixes #1916
2011-08-18 22:11:42 -04:00
ADmad
c3884f407f
Implemented feature to allow multiple counter caches per associated model.
2011-08-17 18:10:32 +05:30
Mark Story
54e1de9070
Adding visibility keywords to code that came from
...
a 1.3 merge.
2011-08-16 22:40:38 -04:00
mark_story
182b13fdbd
Fixing failing test. In 2.0, absolute paths are not altered.
2011-08-14 14:49:56 -04:00
mark_story
d93c8cb200
Merge branch '1.3' into merger
...
Conflicts:
cake/libs/controller/components/security.php
cake/libs/view/pages/home.ctp
cake/libs/view/view.php
lib/Cake/Cache/Engine/FileEngine.php
lib/Cake/Config/config.php
lib/Cake/Model/Datasource/Database/Postgres.php
lib/Cake/Test/Case/Utility/SanitizeTest.php
lib/Cake/Test/Case/Utility/SetTest.php
lib/Cake/Test/Case/View/Helper/CacheHelperTest.php
lib/Cake/Test/Case/View/Helper/FormHelperTest.php
lib/Cake/VERSION.txt
lib/Cake/View/Helper/CacheHelper.php
2011-08-14 14:39:49 -04:00
ADmad
ef4826eb70
Making Model::find('count') behave nicely when 'group' key is specified in options. Closes #1677
2011-08-14 07:37:23 +05:30
ADmad
5d79299362
For paging links the 'class' attribute is now always applied to the wrapping tag for consistency. Closes #1759
2011-08-14 05:09:57 +05:30
ADmad
b781762903
Fixing regression in Set::extract(). Refs #1895 , #1816 , #1692 .
2011-08-14 03:11:55 +05:30
ADmad
7983b4109b
Data returned by Model::save() not contains primary key too when new record is created. Closes #1869
2011-08-14 02:56:08 +05:30
mark_story
fdacc9de16
Fixing issues with request stack not being used correctly
...
when there are requestAction requests being performed.
Adding Router::popRequest() to allow manipulation of request stack
so nested requestAction or serial requestAction calls work correctly.
Fixes #1906
2011-08-12 21:21:05 -04:00
mark_story
3014d3fb84
Fixing issues with CSRF token failure and requestAction.
...
Fixes #1900
2011-08-12 20:38:24 -04:00
Jose Lorenzo Rodriguez
1726bad396
Adding ability to Set class to iterate on ArrayObjects, or any object implementing ArrayAccess and Traversable
2011-08-11 13:26:06 -04:30
Mark Story
6026aa4019
Adding tests for FormHelper::postButton() and SecurityComponent.
2011-08-10 22:00:02 -04:00
Mark Story
2ce2d06de2
Fixing issue where postLink() would fail when used with SecurityComponent.
2011-08-10 21:53:33 -04:00
Mark Story
e9382d0897
Fixing failing tests.
2011-08-10 21:40:53 -04:00
Maggion Emmanuel
27734507e4
Adding test case
2011-08-09 20:47:25 +03:00
Mark Story
5d3c470871
Fixing issues where option values started with '-'.
2011-08-06 15:43:41 -04:00
Mark Story
b7391274fb
Adding an exception when a short option is longer than one
...
character. Having long short options breaks parsing, and
doesn't make sense with how short options are used.
2011-08-06 15:21:42 -04:00
Mark Story
fb756c5aee
Fixing incorrectly inflected shell names in help.
2011-08-06 09:52:07 -04:00
Mark Story
5f84b4846c
Making long options & arguments replaced with short forms.
...
Fixes #1882
2011-08-06 09:50:41 -04:00
Mark Story
b362afee06
Changing assertPattern to assertRegExp.
2011-08-03 20:06:47 -04:00
Mark Story
cdcabc79b6
Doing some refactoring in the project task.
...
Adding tests for constants staying commented out when CakePHP is on the include_path.
2011-08-03 20:06:47 -04:00
Mark Story
4da671c952
Merge pull request #157 from ProLoser/patch-2
...
Added `'integer' => 'number'` for HTML5
2011-08-01 18:07:40 -07:00
ADmad
9577fb0ca2
Fixed TreeBehavior::childCount(). Closes #1833
2011-07-31 12:39:52 +05:30
Jose Lorenzo Rodriguez
eaa01634b1
Making ControllerTestCase abstract, that way PHP won't complain about empty test cases, closes #1868
2011-07-30 22:05:17 -04:30
ADmad
b15c77ecc3
Enhancing validation messages to have placeholders. Closes #1855
2011-07-31 06:33:56 +05:30
mark_story
f9373ff504
Fixing double output issues with Scaffold.
2011-07-28 18:09:19 -04:00
Majna
29e4cad99e
Fix for lowercased schema folder when baking plugin skel
2011-07-28 18:57:10 +02:00
Dean Sofer
804e88b092
Added test for HTML5 FormHelper::input()
integer to number in $map
2011-07-26 02:19:41 -07:00
Jose Lorenzo Rodriguez
cfd2d9e00b
Updating all @package annotations in doc blocks
2011-07-26 01:46:14 -04:30
Jose Lorenzo Rodriguez
21ff9caac7
Solving scope problem after clearing up variables in the default routes file
2011-07-25 23:58:08 -04:30
Jose Lorenzo Rodriguez
959a9689b3
Merge remote-tracking branch 'origin/2.0-paginator-count' into 2.0
2011-07-25 23:29:04 -04:30
Jose Lorenzo Rodriguez
165dcf11b1
Merge remote-tracking branch 'origin/2.0-saveall' into 2.0
2011-07-25 19:22:17 -04:30
Jose Lorenzo Rodriguez
febf28f34b
Merge remote-tracking branch 'origin/1.3' into 2.0
...
Conflicts:
cake/console/templates/default/views/home.ctp
cake/libs/controller/controller.php
cake/libs/model/datasources/dbo/dbo_mysqli.php
cake/libs/view/pages/home.ctp
cake/tests/cases/libs/view/media.test.php
cake/tests/lib/cake_test_case.php
cake/tests/lib/code_coverage_manager.php
cake/tests/test_app/views/pages/home.ctp
lib/Cake/Cache/Engine/ApcEngine.php
lib/Cake/Model/Datasource/Database/Mysql.php
lib/Cake/View/Helper/FormHelper.php
2011-07-25 14:44:23 -04:30
Ceeram
b8daa99cac
Splitting saveAll into separate save and validation methods for many rows and associated rows. Closes ticket #1157
2011-07-25 09:39:03 +02:00
Juan Basso
b8c00d5f56
Changed the paginator to do a count after the find.
2011-07-23 21:09:55 -04:00
mark_story
6fb3c72d49
Fixing issue where plugin models in $uses, would create
...
incorrect forms when create() is called with no arguments.
Fixes #1841
2011-07-23 14:49:39 -04:00
mark_story
3589a17321
Merge branch 'request-response' into 2.0
2011-07-23 14:23:06 -04:00
mark_story
63ea4ef99a
Fixing missing fixture causing test failure.
2011-07-22 20:45:33 -04:00