Commit graph

3784 commits

Author SHA1 Message Date
phishy
c60b232ab4 fixed quoting bug in name()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7259 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 21:11:23 +00:00
gwoo
f2fd386217 fixes #4892 different users on oracle, fixes #4894 escaping field
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7258 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 20:30:51 +00:00
nate
3ce765358d Fixing boolean handling in DboPostgres, closes #4878
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7257 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 04:55:59 +00:00
gwoo
3552ebea58 converting spaces to tabs in dbo_postgres.test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7256 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 04:12:39 +00:00
renan.saddam
64486027db moving models to models.php
fixing translating issue

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7254 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 03:16:28 +00:00
gwoo
38bbfb66ce fixes #4976, escape chars in attributes of xml tags
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7253 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 01:38:40 +00:00
gwoo
013e9889e5 updating file engine and test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7252 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-24 01:09:54 +00:00
gwoo
330992a8a3 fixes #4968, double quoted strings in cache
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7251 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 23:13:28 +00:00
gwoo
ef92581451 updating comments in core.php, closes #4979
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7250 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 22:58:06 +00:00
renan.saddam
bc82967dd1 * fixing "Nesting level too deep" in PHP 5.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7249 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 21:12:17 +00:00
gwoo
73eab59ada closes #4000, added test case to show ext functionality is working as expected
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7248 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 20:09:24 +00:00
gwoo
91d86b91a4 fixes #4832, lastinsert in postgres. test added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7247 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 15:59:27 +00:00
mariano.iglesias
6eb4aba543 Changing test for Containable to reflect #4790
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7246 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 06:33:31 +00:00
gwoo
ca38b035b5 fixes #4790, restoring associations in Containable. Thanks to maular for the patch
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7245 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 04:41:15 +00:00
gwoo
9661a54a13 reformatting and fixing doc comment in inflector
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7244 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 03:08:35 +00:00
gwoo
352b121220 fixes #4916, i18n quoted strings. fixes #4968, quoted strings in cache
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7243 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 00:27:33 +00:00
gwoo
67f55ba53e fixes #3869, required css for validation fields
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7242 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-23 00:07:33 +00:00
gwoo
72620bec84 fixes #4967, schema printing error messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7241 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 19:53:30 +00:00
gwoo
4759a4506b better fix for #3869
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7240 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 19:31:44 +00:00
gwoo
d29883993e fixes #3869, form 'required' CSS when not actually required
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7239 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 19:16:34 +00:00
gwoo
1ff02bde7a fixes #4861, find all recursive 2 with habtm
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7238 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 17:34:05 +00:00
DarkAngelBGE
8b9aa057dd adding test for #4861
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7237 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 15:18:30 +00:00
DarkAngelBGE
ca0fa7b796 adding a return value to the fixture::truncate() method,
fixing some doc comments in the fixture class

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7236 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 15:15:28 +00:00
DarkAngelBGE
a0ff55926c small formatting issues
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7235 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 14:28:45 +00:00
the_undefined
95522fa3a9 Applied patch by floob, fixes #4876
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7234 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 12:27:54 +00:00
mariano.iglesias
f7c447aa32 Adding test to containable, disproves and closes #4790
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7233 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-22 00:02:30 +00:00
mariano.iglesias
689c0d9762 Fixing matches from previous tests added to Containable
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7232 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 23:55:03 +00:00
mariano.iglesias
8d8fb99e37 Adding one more test case to Containable, refs #4872
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7231 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 23:54:00 +00:00
mariano.iglesias
9746c713fa Adding test cases to Containable, disproves and closes #4872
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7230 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 23:52:38 +00:00
mariano.iglesias
64d49c8afc Adding test cases to Containable, disproves and closes #4934
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7229 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 23:41:54 +00:00
gwoo
605bfa5bc5 closes #4842, clean up logic in ErrorHandler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7228 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 15:35:17 +00:00
gwoo
42db64bbb3 fixes #4778, rss helper addNs, closes #4949 xml helper serialize with test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7227 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 15:23:58 +00:00
nate
ebe635a827 Correcting syntax error in DboAdodb, fixes #4965
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7226 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 13:03:25 +00:00
nate
7b6ee7386b Correcting issue where TranslateBehavior hijacks find() calls from Model::exists(), fixes #4765
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7225 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-21 02:33:04 +00:00
nate
df75a06756 Fixing coding standards violations in core, and adding misc tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7222 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 20:17:23 +00:00
renan.saddam
66ea6be098 fixes #4958, Windows directory separator issue
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7221 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 19:30:29 +00:00
nate
f7a4858503 Correcting coding standards violations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7220 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 11:57:56 +00:00
gwoo
c9eff14ca4 adding import for ConnectionManger to modelTask
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7219 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 00:42:08 +00:00
gwoo
c75cad26d5 updating model test for new find syntax
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7217 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 17:06:50 +00:00
gwoo
a0c4d2783a removing redundant $not from previous commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7216 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 16:15:49 +00:00
gwoo
7d06612b35 closes #4935, NOT usage requires ()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7215 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 16:12:57 +00:00
gwoo
dd909280e5 closes #4837, updated usage of ini_set in index.php and test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7214 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 14:45:54 +00:00
nate
63217b7e10 Fixing failing tests in core helper group, closes #4946
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7213 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 14:31:00 +00:00
gwoo
8b493b2923 fixes #4947, debugger using LOG_DEBUG
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7212 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 14:23:29 +00:00
gwoo
21e23ba0bd fixes #4945, shell initialize loading models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7211 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-19 14:20:05 +00:00
gwoo
ce4cbba4f5 fixes #4944, documentation of setDataSource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7210 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-18 17:46:56 +00:00
gwoo
2b699435f0 initial commit for dbo hasResult. should lead to further refactoring
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7209 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-18 17:28:17 +00:00
gwoo
73d9fec80d closes #3691, fix re added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7208 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-18 17:23:48 +00:00
gwoo
5257c95316 #fixes 4940, use default config
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7207 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-18 17:18:26 +00:00
gwoo
82f4a03385 fixes #4923, argSeparator in Router::connectNamed()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7206 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 15:46:49 +00:00
gwoo
193959ebf3 closes #3901 unnecessary setting of path in App::__settings, closes #4115 DboSource::fetchAll() does not need resultSet for every row
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7205 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 15:43:08 +00:00
gwoo
b5c4681a11 fixes #4893, open_basedir errors messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7204 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 05:47:11 +00:00
gwoo
9bc88e5e40 update to test_manager to make sure dispatcher is loaded
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7203 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 05:11:57 +00:00
gwoo
8ff4ae273c proper fix for #4931
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7202 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 05:06:05 +00:00
gwoo
ccddcec642 fixes #4931, array_intersect_key() error in cake.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7201 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 04:30:38 +00:00
gwoo
52b9f7a889 closes #4903, closes #4669 allows serving images from vendors and plugin vendors
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7200 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-17 04:24:55 +00:00
phpnut
886183fcd4 Closes #4202
Adding patches
Added fixture files

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7198 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-16 03:11:32 +00:00
gwoo
01bf6526c4 fixes #4911, scripts for layout on cache refresh
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7197 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 19:48:15 +00:00
gwoo
eb67aa879e fixes #4841, TreeBehavior ambiguous columns
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7196 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 17:51:25 +00:00
AD7six
9d87ce5a06 minor syntax correction, changing a string condition to be an array for consistency
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7195 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 13:08:36 +00:00
DarkAngelBGE
16fa9effb0 closes #4918, allowing multiple calls to testAction() in the same test run with supplied get data without interfering with the get data needed for the testsuite to work and also ignoring the get data used for the previous call to testAction
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7194 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 10:24:52 +00:00
DarkAngelBGE
ed6caf5d33 closes #4875, fixing uninitialized model group key for fixtures
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7193 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 09:17:23 +00:00
DarkAngelBGE
a83d373f51 allowing the passing group statements to Model::find() in array notation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7192 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 09:08:50 +00:00
gwoo
4e36492440 fixes #4919, updating model to use $this->__exists throughout
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7191 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-15 02:58:23 +00:00
gwoo
552af82e7b closes #4857, data validation in translate behavior, if field in model data is passed as an array. Either the data with current mode local or the first value in the array of data is used for validation purposes.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7190 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 23:21:09 +00:00
gwoo
9d950c7698 closes #4726, test cases added to show special characters in select options
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7189 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 21:48:57 +00:00
gwoo
8707c6861a fixes #4912, correct label "for" in time input
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7188 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 21:40:01 +00:00
gwoo
2d3480a9ae closes #4917, adding test cases to show that 0 is properly handled in conditions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7187 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 21:26:01 +00:00
gwoo
df2be46b00 fixes #4874, duplicate base when url is empty
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7186 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 21:12:56 +00:00
gwoo
069fb0011c fixes #4839, assets served from vendors must provide proper extension to ensure accurate content type header is set
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7185 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 21:05:06 +00:00
gwoo
e57a7cc88c fixes #4888, closes #4864 Model::set when saving multi dimensional arrays, tests added from patch, thanks renan
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7184 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 20:39:27 +00:00
gwoo
21072ae707 fixes #4889, or conditions and parentheses. Also removes unneeded parentheses which hopefully makes for cleaner looking query strings. Tests updated to match the new output.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7183 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-14 19:45:26 +00:00
gwoo
2756634b73 removing deprecated methods from HtmlHelper, File, and Folder
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7182 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-13 18:53:06 +00:00
gwoo
7cd2cd3ae2 fixes #4898, Config.language in l10n
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7181 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-13 18:08:54 +00:00
gwoo
2999b7f15d fixes #4902, email smtp headers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7180 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-13 18:03:47 +00:00
gwoo
e9daddddf3 fixes #4910, aclnode loading
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7179 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-13 16:40:45 +00:00
mark_story
dada609521 Fixed issue where setting debug did not properly set error reporting level, test case added. Closes #4903
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7178 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-13 14:04:28 +00:00
gwoo
97a57a0f05 fixing bug in error handler when callbacks were moved to construct classes, moved callbacks back to dispatcher for now until we find a better place in the controller, fixed caching for the "home" page by adding check for "/', original test case was incorrect.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7177 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-12 18:36:08 +00:00
gwoo
75e157a167 updating error test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7175 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 16:01:11 +00:00
gwoo
2233c9f4b4 removing debug code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7174 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 15:51:32 +00:00
gwoo
0cc669d08e removing whitespace added in last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7173 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 15:47:47 +00:00
gwoo
1e231e9511 some cleanup, wrapping uses() in class exists
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7172 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 15:46:31 +00:00
mark_story
273dff46f1 reverting paginator helper back to parent::url. Closes #4887
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7171 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 12:18:54 +00:00
phpnut
04343b8bc0 Adding changes to error.test.php that did not merge properly in last commit
Fixes #4883 for real this time

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7170 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 09:02:54 +00:00
phpnut
8a30290862 Fixes #4883 Duplicated component name
Removed bad test since AppController::beforeFilter() is now run when Controller::constructClasses() is called.
Fixed bug with App::import() not caching properly.
More performance changes

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7169 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 08:54:27 +00:00
DarkAngelBGE
763800bf11 fixing component name in error.test to remove Fatal Error when running the all group
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7167 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 07:56:51 +00:00
mark_story
0ce344d852 Minor changes to PaginatorHelper. $this->url() instead of parent::url()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7165 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 02:47:50 +00:00
mark_story
44159ec303 Removed all references to Router::url in all helpers. Closes #4880. Fixed failing test in RssHelper, added more tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7164 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 02:10:32 +00:00
mark_story
68af2bb1ed Fixing compatibility with Helper::beforeLayout, Helper::afterLayout and PHP4. Closes #4880
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7163 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-11 00:20:01 +00:00
phpnut
6807d4c333 Starting initial refactoring of current code base.
Made changes to test suite to allow running test without headers already sent errors.
Moved Component::initialize(), Controller::beforeFilter(); and Component::startup(); from Dipatcher::start() to Controller::constructClasses();
Removed Dispatcher::start();
Fixing model instances not being created
Adding additional test to CookieComponent to increase coverage to 95%
Optimizing Set::diff();
Fixing SessionComponent test and RequestHandlerComponent test
Fixing CakeSession tests, removed deprecated code from CakeSession

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7162 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 22:38:05 +00:00
DarkAngelBGE
70aa290f5b fixing find('list') calls with a fields array that doesn't contain the model alias, closes #4851
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7158 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 17:27:12 +00:00
DarkAngelBGE
e221e9fb61 forcing the db layer to make an WHERE field IS NULL when find statements are called with empty arrays, closes #4845
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7155 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 16:17:44 +00:00
DarkAngelBGE
3c518c182f fixing wrong NOT IS in dbo_source, closes #4844
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7154 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 15:45:54 +00:00
DarkAngelBGE
0031c3c71e adding code coverage support to the skel test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7153 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 14:03:40 +00:00
mark_story
ebe6e31ef3 Changed Scaffold views to allow Type, Alias, Detail, Data, and Field as Model names. Closes #4136, #4859. Updated tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7152 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 02:12:32 +00:00
phpnut
cbebf3e6b3 Adding fix for new line endings when sending email via php mail();
Fixed typo __headers should have been __header

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7149 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 23:35:38 +00:00
gwoo
ebe4b5824f fixes #4870, component now using references on callbacks instead of copies. thanks for the patch
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7148 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 23:32:54 +00:00
mark_story
8c32547351 Adding test to formHelper. Testing checkbox in response to #4869
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7146 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 12:34:30 +00:00
the_undefined
2d8e63ae7b Refactored and updated postConditions to new operator syntax, fixes #4860
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7145 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 08:29:56 +00:00
the_undefined
2f761ccba1 Set correct permissions for dbo_oracle.test.php, fixes #4843
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7144 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 07:31:00 +00:00