Mark Story
a0f5d0fc02
Renaming menu template file.
...
Refactoring logic from CakeTestMenu into the Reporters.
2010-01-06 23:02:37 -05:00
Mark Story
4c0d90c502
Adding paintDocumentFooter and paintDocumentHeader to CakeBaseReporter and CakeHtmlReporter.
...
Refactoring case list and group lists to use reporter methods.
2010-01-06 22:52:04 -05:00
Mark Story
c01276a470
Moving header and menu display into CakeHtmlReporter.
...
Updating header.php with new variable.
2010-01-06 22:42:35 -05:00
tPl0ch
5ae0164574
Added Validation::uuid(). Updated test cases.
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-06 21:29:55 -05:00
Mark Story
dd2cbc2cb5
Updating file header.
2010-01-06 21:27:56 -05:00
Mark Story
8110aed1b1
Updating doc blocks for App and Configure.
2010-01-06 21:27:14 -05:00
Mark Story
65a12ed902
Adding tests for previous commit.
2010-01-06 21:26:52 -05:00
dogmatic
467ae1f4fd
Removing check that prevents bootstrapping paths that do not contain the
...
type of object contained. Example plugins would not be found in the
following path /var/www/common/ as it does not contain 'plugins'
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-06 21:17:38 -05:00
Mark Story
683be26bcb
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-06 21:14:25 -05:00
predominant
e2a2770d9f
Fixing validation errors for wrong case checking on Validation::ip.
...
Adding IPv6 validation for Validation::url().
Added tests for ports in urls.
Fixed port length allowance on Validation.
2010-01-07 11:02:05 +11:00
Mark Story
be7ce6e923
Fixing issues where chained jQuery engine requests wouldn't eval() script elements, making ajax pagination much harder.
2010-01-06 11:59:15 -05:00
Mark Story
b6e22704ed
Refactoring and updating footer element to use param based basePath.
...
Moving footer inclusion to CakeHtmlReporter.
2010-01-06 09:50:39 -05:00
Mark Story
6b3e9583bf
Moving more direct GET access to params.
2010-01-06 09:46:48 -05:00
Mark Story
98cf758a98
Continuing refactoring of CakeTestMenu.
2010-01-05 23:16:12 -05:00
Mark Story
21afcef7cf
Updating CakeTestSuiteDispatcher to get base url and base dir. Refactoring xdebug and simpletest error pages. Starting to phase out CakeTestMenu.
2010-01-05 23:12:28 -05:00
Mark Story
44cacf6dad
Adding stub methods for upcoming refactoring of menu generation.
2010-01-05 22:52:25 -05:00
Mark Story
1e5923c75a
Moving templates to templates dir.
2010-01-05 22:51:39 -05:00
Mark Story
3c57dbee04
Refactoring methods from CakeTestMenu into CakeHtmlReporter.
...
Updating CakeTestSuiteDispatcher to reflect removed methods.
2010-01-05 22:20:32 -05:00
Mark Story
f228990c58
Updating doc blocks.
2010-01-05 20:56:25 -05:00
Mark Story
faafe5a0dc
Removing use of Set::filter(). Coupling the test suite to Set is not a good idea.
2010-01-05 20:52:22 -05:00
Mark Story
1d63d52d3c
Updating @link properties and spacing.
2010-01-05 20:44:15 -05:00
Mark Story
84c2bbdfe2
Making CakeTextReporter use CakeBaseReporter as its base class, moving methods from TextReporter.
2010-01-05 20:44:01 -05:00
Mark Story
0d7875f4ad
Extracting methods and features out into CakeBaseReporter.
2010-01-05 20:29:08 -05:00
Mark Story
5bd9734f96
Moving reporters to a directory and updating CakeTestSuiteDispatcher.
2010-01-05 20:10:41 -05:00
predominant
485570de24
Remote getInstance() from validation protected methods.
2010-01-06 09:34:07 +11:00
predominant
1302fba632
Fix validation of IPv6 on IPv4 checks.
...
Separate IPv4 and IPv6 validation to allow strict checking.
2010-01-06 00:53:48 +11:00
predominant
71dbd9bd32
Merge remote branch 'origin/1.3' into 1.3
2010-01-05 23:24:12 +11:00
predominant
804fba1a22
Adding block comments for Postgres Datasource quotes.
2010-01-05 23:23:23 +11:00
predominant
2d85ffe05f
Fixing inflector caching, adding new _cache() method to handle common caching.
2010-01-05 22:05:02 +11:00
Mark Story
34ffa43119
Refactoring hardcoded extensions to use properties.
2010-01-05 00:13:03 -05:00
Mark Story
104086b928
Converting static calls to TestManager to use Manager instance in the TestSuiteDispatcher.
...
Converting static methods to instance methods.
2010-01-05 00:09:07 -05:00
Mark Story
e60d742c04
Whitespace updates.
2010-01-05 00:03:30 -05:00
Mark Story
48e1c4d08a
Removing duplicate method calls, and doing some refactoring of Reporter retrieval. Adding Manager instance var to help make subclassing more flexible in regards to TestManagers.
2010-01-04 23:58:09 -05:00
Mark Story
cf697535b7
Merge branch '1.3-misc' of github.com:cakephp/cakephp1x into 1.3-misc
2010-01-04 23:30:18 -05:00
Mark Story
9a62fd52b3
Fixing occurances of CakeTestsGetReporter and fixing issues loading reporters.
2010-01-04 23:28:04 -05:00
Mark Story
dd5a886f3a
Removing CakeTestsGetReporter global function.
...
Starting to move Reporter/Manager decision making to CakeTestSuiteDispatcher, also affording the ability to use custom reporters/managers for generating test suite output.
2010-01-04 23:28:04 -05:00
Mark Story
33cb8eebfe
Renaming CakeHtmlReporter's file.
2010-01-04 23:28:03 -05:00
Mark Story
effc03ca3a
Adding CakeTestSuiteDispatcher to handle dispatching of the test suite.
2010-01-04 23:28:03 -05:00
Mark Story
183abfa4a9
Adding Docblocks to TextTestManager
2010-01-04 23:28:03 -05:00
Mark Story
8181acbb0b
Adding doc blocks to TestManager.
2010-01-04 23:28:03 -05:00
Mark Story
da19e31188
Refactoring duplicate switch logic to a single method.
2010-01-04 23:28:03 -05:00
Mark Story
a3b0805347
Fixing formatting.
2010-01-04 23:28:03 -05:00
Mark Story
397bdaf3e1
Removing global functions moved to CakeTestMenu
2010-01-04 23:28:03 -05:00
Mark Story
4d74dc6bda
Adding CakeTestMenu to clear up some global methods.
2010-01-04 23:28:02 -05:00
Mark Story
3d608d6fd7
Adding doc blocks to CakeHtmlReporter
2010-01-04 23:28:02 -05:00
Mark Story
2aee4b6e43
Adding sql dump back into test suite. Fixes #157
2010-01-04 23:25:23 -05:00
ADmad
9d5015882f
Updating deep email validation to check and use 'getmxrr' or 'checkdnsrr' if either function exists
2010-01-05 03:04:46 +05:30
Mark Story
2ace6bb0b1
Updating Controllers used to test full page caching to reflect changes in CacheHelper's functionality.
2010-01-03 23:51:31 -05:00
Mark Story
95135d18cc
Merge branch '1.3' into 1.3-misc
2010-01-03 23:36:32 -05:00
Mark Story
32113a4c88
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-03 23:35:48 -05:00
Mark Story
a726f82f18
Fixing failing test caused by changes in Configure/App api's and merged code from 1.2
2010-01-03 23:35:17 -05:00
Mark Story
5046382e7d
Merge branch '1.3-misc' of github.com:cakephp/cakephp1x into 1.3-misc
2010-01-02 00:07:51 -05:00
Mark Story
7dcf66dd95
Removing dynamic calling of setTablePrefix(). tableprefix should be with the tablePrefix property, and any other custom construction behavior should be done in an overridden Model::__construct.
2010-01-02 00:07:31 -05:00
Mark Story
eab706e772
Correcting and improving doc block for Model::__construct.
2010-01-01 23:59:36 -05:00
Mark Story
026eeb645b
Correcting and improving doc block for Model::__construct.
2010-01-01 23:58:07 -05:00
Mark Story
3c88d81735
Adding tests for model method validation with multiple parameters and addition of original validation rule to method params. Closes #149
2010-01-01 23:34:11 -05:00
predominant
e4fa475998
Test cases for model bake updates, refs #147
2010-01-01 20:19:15 +11:00
predominant
47fc47ff59
Refs #147 . Adding more verbose baked validations for models.
2010-01-01 17:28:05 +11:00
ADmad
5f987a4996
Controller data is now set to an array instead of Xml object if request content type is 'application/xml'
2009-12-31 17:36:58 +05:30
Mark Story
41e6fdf346
Merge remote branch 'fahad/1.3-l10n' into 1.3-misc
2009-12-29 23:39:08 -05:00
Mark Story
a9a8c0b0e4
Adding access tags and additional param/return docs.
2009-12-29 22:50:43 -05:00
Mark Story
fdd8cf0138
Making FixtureTask always refresh schema for models.
2009-12-29 22:39:49 -05:00
Mark Story
31fff5e390
Making ViewTask always refresh model schema so baked views reflect current schema.
2009-12-29 22:23:52 -05:00
Mark Story
ec88bd9c8c
Forcing ModelTask to always reload schema for models when baking. Also setting the dbo's cacheSources = false so table listings are always fresh as well.
2009-12-29 22:23:03 -05:00
Mark Story
49e9550482
Merge branch '1.3' into 1.3-misc
2009-12-29 22:07:23 -05:00
Mark Story
32683d3d64
Fixing issues in PrototypeEngineHelper where parameters would end up wrapped in a function() {} when marked as a dataExpression. This prevented the sending of form data.
...
Tests added.
Fixes #142
2009-12-29 21:52:59 -05:00
Ali Farhadi
f86a80ac9e
Fixing failing tests caused by changes in L10n class, and removal of duplicate test.
2009-12-30 00:24:05 +03:30
Ali Farhadi
0e8f83e103
Adding direction var and __l10nCatalog key to L10n class, fixes #4
2009-12-30 00:23:35 +03:30
Mark Story
93ced3be46
Casting return of Validation::ip to always be a boolean when filter_var is used. It used to return the input string which could cause issue with identity checks.
2009-12-29 11:04:58 -05:00
Mark Story
b0a50e10b7
Updating bake templates and default css file.
2009-12-28 23:13:04 -05:00
Mark Story
1216884a30
Starting work on bake template redesign.
2009-12-28 23:13:04 -05:00
Mark Story
b377905741
Fixing whitespacing and formatting of doc blocks.
2009-12-28 23:00:38 -05:00
Mark Story
a9e1d0d7ff
Optimizing Sanitize::html() to use str_replace instead of preg_replace.
2009-12-28 22:56:21 -05:00
Mark Story
b68d2a32bf
Merge branch '1.3' into 1.3-misc
2009-12-28 22:15:52 -05:00
Mark Story
3ad4dd63bf
Removing unused variables from CacheHelper::cache()
...
Removing non-existant variable output from generated cache files.
2009-12-28 22:15:07 -05:00
Mark Story
2db479dc90
Making CacheHelper create $this->Html style helper references.
2009-12-28 21:58:56 -05:00
Mark Story
6749e1166b
Making cacheAction array settings use action names instead of url paths. This removes the ability to set different durations for specific passed arguments. However, makes passed args, named params, and querystring params all behave the same in regard to cacheAction. Test cases updated.
2009-12-28 21:26:51 -05:00
Mark Story
b89280a916
Fixing test failures caused by changes in Cache::__loadEngine().
...
Adding tests for Cache::config().
2009-12-28 13:52:50 -05:00
Mark Story
45a3eb250f
Starting refactoring of cachehelper to use Router::reverse to generate check/match strings. Removing dead code as well.
2009-12-28 13:38:36 -05:00
Mark Story
df8914b2e4
Router::reverse now removes models and paging keys that controllers can insert into params arrays.
2009-12-28 13:34:05 -05:00
Mark Story
1183846390
Removing $cakeDebug from skel layout.
2009-12-28 10:20:11 -05:00
Mark Story
5b78a662e8
Adding tests for querystring reversal.
2009-12-27 23:10:29 -05:00
Mark Story
886cd9e719
Adding Router::reverse and basic test case.
2009-12-27 23:09:26 -05:00
tPl0ch
1eff024e7e
Removed unnessecary connect keys from all Dbo's _baseConfig. Updated connect methods where needed. Fixes #132
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-12-27 12:47:52 -05:00
Mark Story
8b93235847
Fixing auto merge issues.
2009-12-27 12:45:34 -05:00
Mark Story
7a620b62b0
Merge branch '1.3-misc' into mergers
...
Conflicts:
cake/libs/model/datasources/dbo_source.php
cake/libs/view/helpers/js.php
2009-12-27 12:45:12 -05:00
Mark Story
6b2154d961
Merge branch '1.2' into mergers
...
Conflicts:
cake/libs/inflector.php
cake/tests/cases/libs/model/model_validation.test.php
2009-12-27 12:34:27 -05:00
predominant
19924501d1
Updating Inflector to employ internal caching.
...
Refs #23
2009-12-25 18:53:38 +11:00
Joël Perras
173b4e7b5d
Merge branch '1.3-misc' of github.com:cakephp/cakephp1x into 1.3-misc
2009-12-22 23:53:01 -05:00
Joël Perras
8eb9f9e8fd
Implenting IPv6 validation using filter_var(), with a regex-based fallback if the aforementioned function does not exist (PHP < 5.2). Fixes #38 .
2009-12-22 23:52:06 -05:00
Mark Story
20c02e39d6
Adding doc block for options on NumberHelper::currency()
2009-12-22 19:17:23 -05:00
Mark Story
0b558c6eb0
Adding code to make tests from previous commit pass.
2009-12-22 19:12:11 -05:00
Mark Story
e7a5143aa9
Adding tests for after = false in currency(). Refs #34
2009-12-22 19:11:52 -05:00
Mark Story
1a387e6b8a
Fixing url parameters set with options() or beforeRender not being merged on next() / prev().
...
Tests added. Fixes #129
This reverses the change made in efa36abdf0
which broke this behavior.
2009-12-22 19:05:06 -05:00
Mark Story
425dcf2df5
Applying patch from 'tPl0ch', connect key is set to 'mysql_connect' when not using persistent connections. Fixes #132
2009-12-22 13:23:55 -05:00
Mark Story
c00cebb0c3
Removing doc for param that no longer exists.
2009-12-21 09:54:35 -05:00
ceeram
6d8fa76bed
edit of docblock
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-12-21 09:52:33 -05:00
Mark Story
5274dce9f1
Making set vars with Js->set go to the top of the buffered scripts array. Tests added.
...
Updating doc blocks for JsHelper and JsBaseEngineHelper.
Fixes #131
2009-12-21 09:41:36 -05:00
Mark Story
42fa6ff04a
Fixing JsHelper::writeBuffer when inline is set to false. Scripts are now enclosed in a script tag. Fixes #130
2009-12-21 09:29:28 -05:00
Mark Story
850b95900b
Adding fix for Cache causing App to do an directory scan when importing a core cache engine. Since these operations occurred before the core configurations had be set, a directory scan was done on every request. This change also makes in not possible to override the core cache engines with app versions.
2009-12-20 18:11:18 -05:00
Mark Story
6065f286f8
Adding deprecation notices to functions in basics.php. Deprecated functions will not be be remove in 1.3, but will be removed in 2.0.
2009-12-20 18:08:59 -05:00
Mark Story
2e96bfe833
Merge branch '1.3-misc' of git@github.com:cakephp/cakephp1x into 1.3-misc
2009-12-20 16:50:48 -05:00
Mark Story
34410de7c8
Adding property definition for Model::$virtualFields
2009-12-20 16:26:12 -05:00
ADmad
01c31596c8
Cleaning up commented code
2009-12-21 02:50:39 +05:30
ADmad
d561405daa
Renaming RequestHandler::getReferrer to RequestHandler::getReferer for (mis)spelling consistency and deprecating the former
2009-12-20 23:06:28 +05:30
ADmad
f36e5eff5f
Merge branch '1.3-misc' of github.com:cakephp/cakephp1x into 1.3-misc
2009-12-20 13:22:43 +05:30
Mark Story
55f8668016
Updating lib group with omitted classes.
2009-12-19 20:32:34 -05:00
Mark Story
3cdf22d860
Correcting tests affected by changes in Router.
2009-12-19 20:22:16 -05:00
Mark Story
79cd856e19
Updating ExtractTask test case to reflect changes made in df8895a266
. Domain strings are no longer default merged into default.pot.
2009-12-19 20:18:18 -05:00
Mark Story
e95186d5cc
Fixing failing test in ApiShell test.
2009-12-19 20:08:31 -05:00
Mark Story
3edb84d77c
Adding skip for BakeShell test, if a User class exists bake all cannot be tested.
2009-12-19 20:01:59 -05:00
Mark Story
c669f8c998
Fixing failing tests in AuthComponent because of required parameter.
2009-12-19 19:58:55 -05:00
Mark Story
22cf13b6b6
Updating DboSource test to remove protected access and use methods instead.
2009-12-19 19:54:49 -05:00
Mark Story
3f7405c8d6
Removing cakeDebug from test_app layout.
...
Adding skips for tests that can cause failures when cache dirs are not writable.
2009-12-19 19:47:20 -05:00
Mark Story
7467224455
Moving test case and adding doc block.
2009-12-19 19:41:25 -05:00
Mark Story
4ac0a55aff
Merge branch 'virtual-fields' into 1.3-misc
...
Conflicts:
cake/tests/cases/libs/controller/controller.test.php
2009-12-19 19:40:12 -05:00
ADmad
cea102c357
Updating doc block to reflect that url can be string or array and removing 'escapeTitle' param. Use key 'escape' in options instead
2009-12-20 00:46:47 +05:30
Mark Story
071c6f0e8b
Merge branch 'sql-dump' into 1.3-misc
2009-12-19 13:32:01 -05:00
Mark Story
42e13edd85
Adding file header to sql dump element.
2009-12-19 13:24:00 -05:00
Mark Story
13ffcbc0ba
Updating doc blocks in Datasource. Adding missing reference operators.
2009-12-19 13:23:46 -05:00
Mark Story
7387cfdf6b
Adding @access tags and expanding doc blocks.
2009-12-19 13:06:32 -05:00
Mark Story
7fd9b5ae3b
Removing auto dump of sql log.
2009-12-19 12:40:32 -05:00
Mark Story
6efe61d9b2
Removing controller dump and debug = 3 support from View. Controller dumps often cause memory overflow errors, and are generally not useful.
2009-12-19 12:30:31 -05:00
Mark Story
a89fcba243
Updating DboSource::getLog() and showLog() to use a View element.
...
Updating tests to reflect changes in getLog()
2009-12-19 12:09:01 -05:00
Mark Story
cbb29dcc5d
Extracting sql dump generation into a view element.
...
Changing the behavior of DboSource::getLog().
Adding sql dump element to layout.
2009-12-19 12:09:01 -05:00
Mark Story
3eaff3e021
Correcting FormHelper::minute() to fix issues with extracting values from array formatted data. Fixes #107
2009-12-19 11:55:35 -05:00
Mark Story
18c878b3f5
More whitespace fixes.
2009-12-18 19:18:23 -05:00
Mark Story
ab21855efd
Fixing whitespacing.
2009-12-18 19:16:10 -05:00
Mark Story
959befb6e1
Merge commit 'josezap/virtual-fields' into virtual-fields
2009-12-18 19:11:50 -05:00
Mark Story
6356c6ed87
Fixing issue where forms generated with requestAction would be missing the _Token fields that Security component creates. Test cases added to ensure that token key does not change when requestAction is used.
...
Fixes #68
2009-12-18 19:05:33 -05:00
José Lorenzo Rodríguez
98e7575c5a
Adding documentation on tests
2009-12-17 14:50:36 -04:30
José Lorenzo Rodríguez
8f29f59c1a
Enclosing virtual fields in parentheses to avoid SQL errors
...
Added new tests to improve code coverage on virtual fields
2009-12-17 14:42:46 -04:30
Mark Story
1e7e650133
Fixing issue where _restructureParams would move controller key to the plugin key causing issues switching controllers. Tests added. Fixes #115
2009-12-17 10:16:47 -05:00
Mark Story
264cdb78c0
Removing unnecessary key.
2009-12-17 10:13:05 -05:00
Mark Story
b190e462b8
Fixing whitespacing.
2009-12-17 00:15:42 -05:00
Mark Story
e8f0ea951a
Updating tests and doc blocks for JsHelper::writeBuffer() to return null if no scripts have been buffered. Fixes #108
2009-12-16 23:48:29 -05:00
kleingeist
2d9b13fe88
Prevent JsHelper::writeBuffer() to return empty lines (or empty onDomReady events)
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-12-16 23:36:40 -05:00
Mark Story
0bc1126114
Merge branch 'component-settings' into 1.3-misc
2009-12-16 23:08:16 -05:00
Mark Story
8960a01649
Merge branch '1.3-misc' of git@github.com:cakephp/cakephp1x into 1.3-misc
2009-12-16 23:08:00 -05:00
Mark Story
9230bb93af
Merge branch '1.3' into 1.3-misc
2009-12-16 23:07:44 -05:00
Mark Story
ff74a599c6
Adding ability to set configuration from initialize() for RequestHandler.
...
Tests added.
2009-12-16 23:06:16 -05:00
Mark Story
5760f41124
Adding tests for component config setting from initialize()
2009-12-16 23:06:16 -05:00
Mark Story
e45fcf4337
Adding ability set component configuration from component settings for SecurityComponent.
2009-12-16 23:06:16 -05:00
Mark Story
3a6b29d042
Updating security component test case to use startTest and endTest
2009-12-16 23:06:16 -05:00
Mark Story
dffff314e1
Implementing setting of auth configuration through component settings arrays.
...
Adding test case from Ceeram.
2009-12-16 23:06:16 -05:00
Mark Story
9a4e78af82
Adding file missed in previous commit.
2009-12-16 22:16:59 -05:00
Mark Story
bbc72c3703
Updating use of deprecated split() to use preg_split().
2009-12-16 21:08:15 -05:00
Mark Story
c8297ff283
Minor optimization on Inflector::variable
2009-12-16 19:23:29 -05:00
Mark Story
aa3a197b26
Reformatting test case. Fixes #104
2009-12-16 18:40:45 -05:00
real34
bdfb50e6bb
Fixed a bug in Set::extract. Wrong key returned when two arrays are at the extraction level.
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-12-16 18:33:23 -05:00
burzum
07870bacfb
Merge branch '1.3' of git://github.com/cakephp/cakephp1x into 1.3
2009-12-17 00:32:37 +01:00
burzum
7aca8dfea4
Refactoring Dispatchter::cached() and moving asset related code from this method into separate methodes
2009-12-17 00:32:20 +01:00
Mark Story
5c6d59ea13
Adding tests for dispatching plugin shortcut urls.
...
Refactoring Dispatcher::__getController, Dispatcher::_restructureParams to fix compatiblity between router and Dispatcher.
2009-12-16 16:33:08 -05:00
Mark Story
7ceb50b696
Removing controller key as a default when Routes are connected. Was causing issues when using regex qualifiers on controller keys.
...
Tests added.
2009-12-16 15:04:59 -05:00
Mark Story
09966a7f63
Adding support for .ttf, .otf, .eot to MediaView. These are common font assets used with @font-face techniques.
2009-12-16 12:48:34 -05:00
Mark Story
780e85a031
Refactoring ModelTask::_confirmAssociations() so it doesn't fail with $i counter.
2009-12-15 23:14:03 -05:00
Mark Story
4ac29963a8
Refactoring Model::__validateWithModels. Should be slightly faster as loops are smaller.
2009-12-15 22:55:34 -05:00
Mark Story
a490e249fa
Adding test for validation of with models canceling a save.
...
Adding initial implementation of Model::__validateWithModel().
Correcting error in previous commit. Adding tests for saveAll and validating habtm with models.
2009-12-15 22:55:22 -05:00
ADmad
33038c75ac
Removing redundant 'isset' check from DboMysql::connect
2009-12-15 20:41:44 +05:30
ceeram
64045e1e18
Apply new Helper syntax to remaining files
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-12-14 18:52:13 -05:00
Mark Story
ecc38f0aed
Adding additional tests for CakeRoute::persistParams(). Ensures that url params can overwrite persisted values.
...
Tests added.
2009-12-14 18:43:29 -05:00
Joël Perras
86cba7dc50
Fixing wrong header message text for ErrorHandler::error500() header sent. Refs #70.""
2009-12-14 16:21:30 -05:00
Mark Story
4f985e465b
Applying patch from 'kleingeist'. JsHelper::set() now generates a variable that is assigned to window.$var instead of creating a local variable by default.
...
Tests updated.
Fixes #96
2009-12-13 23:53:20 -05:00
predominant
aaddd0d394
Moving certain datasources to the Datasources Plugin ( http://github.com/cakephp/datasources )
2009-12-13 23:53:20 -05:00
predominant
d550a5e82c
Code formatting cleanup. Fixes #92 .
2009-12-13 23:53:20 -05:00
renan.saddam
b273981915
Checking for french error on dbo_mssql. Fixes #77 .
2009-12-13 23:53:19 -05:00
Joël Perras
7b1ccfff57
Changing error handler to send a HTTP/1.1 500 error when missingTable, missingDatabase or missingConnection is encountered. Increased test coverage of libs/error.php to 100%. Fixes #70 .
2009-12-13 23:53:19 -05:00
Joël Perras
96c245c6a7
Moving list of http codes out of Controller::redirect() and into a new method, Controller::httpCodes() for better reusability. See doc blocks for usage details.
2009-12-13 18:04:55 -05:00
Mark Story
02330b2d9c
Making DboSource::fields() accept an expression object. Fixes issues with sql parsing over quoting special SQL syntax.
...
Tests added
Fixes #66
2009-12-13 15:52:07 -05:00
Joël Perras
25ec51d3ae
Merge branch '1.3' into 1.3-misc
2009-12-13 15:42:13 -05:00
Mark Story
47a9401d43
Adding test case for cached view files, and fatal errors caused by the view instance not being registered. View instances are now registered when rendering view caches, and unregistered if the cached view fails. This fixes issues rendering flash messages with custom layouts and fixes FormHelper methods inside nocache blocks.
...
Fixes #60
2009-12-13 12:39:39 -05:00
predominant
6be2fd05e4
Changing default Security.level to medium.
2009-12-13 11:59:14 +11:00
Mark Story
904b9f5f1c
Adding test and fix to ensure the debug = 0, log = false leaves error_reporting set to 0.
...
Fixes #89
2009-12-11 00:46:13 -05:00
Mark Story
6615094350
Merge branch '1.3' into 1.3-misc
2009-12-10 23:42:55 -05:00
Mark Story
f26d5efd0c
Applying patch from 'kleingeist'. JsHelper::set() now generates a variable that is assigned to window.$var instead of creating a local variable by default.
...
Tests updated.
Fixes #96
2009-12-10 23:37:55 -05:00
José Lorenzo Rodríguez
c65e2f3f18
Quoting virtual fields in automatically
...
Updating test cases
2009-12-10 20:46:55 -04:30
José Lorenzo Rodríguez
8c4cad86c2
Fixing erroris due to bad rebase
2009-12-10 20:35:24 -04:30
José Lorenzo Rodríguez
4b9e03c9f7
Creating accesor methods for virtual fields and replacing direct access from DboSource with new methods
2009-12-10 20:08:14 -04:30
José Lorenzo Rodríguez
e7ee5e9eda
Fixing faling test case
2009-12-10 20:08:14 -04:30
José Lorenzo Rodríguez
7a7d0de988
Adding support for virtual fields in DboSourse::calculate
2009-12-10 20:08:14 -04:30
José Lorenzo Rodríguez
d06ff5d10a
Adding support for virtual fields in conditions array
2009-12-10 20:08:14 -04:30
José Lorenzo Rodríguez
cf359a38b3
Re-adding ability to order by virtual fields in DboSource::order
...
Adding support for paginating virtual model fields in controller
2009-12-10 20:08:14 -04:30
José Lorenzo Rodríguez
051d352eab
Reimplementing DboSource::order() to avoid recursion so it can be more easily manipulated to add virtual fields (and hopefully to make it a little bit faster)
2009-12-10 20:08:14 -04:30
José Lorenzo Rodríguez
5a58813031
Making DboSource order by virtual fields
2009-12-10 20:08:13 -04:30
José Lorenzo Rodríguez
7efafc685e
Fixing virtual fields fetching for Model::field() calls
...
Adding doc blocks
2009-12-10 20:08:13 -04:30
José Lorenzo Rodríguez
22e36cb057
Fixing bug where sometimes key($data[0]) returned empty string instead of first key in array
2009-12-10 20:08:12 -04:30
José Lorenzo Rodríguez
a81edb6080
Extending virtual fields implementation to work on queries with field list
2009-12-10 20:07:46 -04:30
José Lorenzo Rodríguez
53765312df
Initial implementation of model virtual fields
2009-12-10 20:07:07 -04:30
José Lorenzo Rodríguez
285329e7a4
Fake commit
2009-12-10 20:05:11 -04:30
José Lorenzo Rodríguez
2503632327
Working on virtual fields on order clause.
2009-12-10 20:05:10 -04:30
José Lorenzo Rodríguez
0ab2078284
Changing Model::hasField() api to accept second parameter for checking existance of virtual field
2009-12-10 20:05:10 -04:30
José Lorenzo Rodríguez
ec672e99e8
Fixing virtual fields fetching for Model::field() calls
...
Adding doc blocks
2009-12-10 20:05:10 -04:30
José Lorenzo Rodríguez
4685daf299
Fixing bug where sometimes key($data[0]) returned empty string instead of first key in array
2009-12-10 20:05:10 -04:30
José Lorenzo Rodríguez
f7a113d2b0
Convertig old-style find call to new api
2009-12-10 20:01:58 -04:30
José Lorenzo Rodríguez
00c0bb4d62
Extending virtual fields implementation to work on queries with field list
2009-12-10 20:01:58 -04:30
José Lorenzo Rodríguez
19c91f1f70
Initial implementation of model virtual fields
2009-12-10 20:01:58 -04:30
predominant
df151395c5
Moving certain datasources to the Datasources Plugin ( http://github.com/cakephp/datasources )
2009-12-11 01:07:23 +11:00
predominant
8df7e34965
Code formatting cleanup. Fixes #92 .
2009-12-10 13:04:11 +11:00
renan.saddam
c3bf6bc0e8
Checking for french error on dbo_mssql. Fixes #77 .
2009-12-09 21:20:55 -02:00
renan.saddam
931606f7f5
Checking for french error on dbo_mssql. Fixes #77 .
2009-12-09 21:10:37 -02:00