Commit graph

3960 commits

Author SHA1 Message Date
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
mark_story
8f59f18877 Added fallback view file for scaffolded admin routes. Closes #4862. Added tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7143 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-09 02:56:36 +00:00