Commit graph

6565 commits

Author SHA1 Message Date
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
034d016a4f Altering test.php to use CakeTestMenu instead of global functions. 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
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
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
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