mark_story
b94a85e938
Altering Helper::url() to enforce escaped query strings for generated urls.
...
Tests added to Html::link(). Fixes #5982
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7991 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 22:41:47 +00:00
TommyO
de1d1ae3bd
Fixed asset.timestamp inconsistency for css files.
...
Added tests to confirm css linking.
Closes #5990 . Fixes #5991
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7990 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 22:19:11 +00:00
mark_story
287968934f
Fixing next()/prev() when paginating multiple models. Added tests from 'hummer'. Fixes #5970
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7989 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 22:08:11 +00:00
gwoo
c53c28760f
closes #5968 , refs #5798 , reverts [7893], when dependent is true, conditions are not respected on HABTM associations when deleting parent record. [7893] would result in orphaned records. If more fine grained control is needed, create a model for the join table and handle it on an application/applicaiton basis.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7988 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 22:01:01 +00:00
mark_story
7c87d36d74
Updating Router::queryString() and Router::url() to allow additional parameters to force escaping of & used in query strings. Tests added. Refs #5982
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7987 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 21:38:11 +00:00
mark_story
ba42eb05c1
Fixing broken tests refs #5687
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7986 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 20:37:31 +00:00
gwoo
c0f767a3aa
fixes #5976 , Xcache::clear()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7985 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 19:33:30 +00:00
gwoo
6026e75009
fixing preg error in Router::normalize cause by last commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7984 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 18:27:14 +00:00
mark_story
6c243e1106
Fixing pirate spelling in model.test.php. Thanks to 'teknoid' for the patch. Fixes #6002
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7983 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 18:04:31 +00:00
mark_story
c4fe08415b
Removing ob_start() calls from cake_reporter. Significantly reduces memory usage of test suite. Fixes #5972
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7982 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 18:00:18 +00:00
gwoo
52318f9d17
fixes #5978 , Router::normalize url generation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7981 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 17:55:48 +00:00
gwoo
ff340d33ce
fixes #5926 , table prefix on acl tables when overriding constructor
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7980 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 17:43:46 +00:00
gwoo
e496fc9434
updating auth component and test with additional checks for missing data
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7979 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 05:21:26 +00:00
mark_story
4a636b93a8
Fixing showQuery() when there is $error = false. Tests from 'zackenbarsch' added. Fixes #5983
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7978 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 04:12:46 +00:00
mark_story
628a79aba6
Making direction flag in Set::sort() case insensitive. Test updated. Fixes #5992
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7977 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 04:06:01 +00:00
phpnut
a6250ad648
Adding fix when a invalid session is destroyed in CakeSession::_checkValid(); and session data wrote after the session is destroyed no longer being available because the session data was wrote using the old session id
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7976 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-14 03:52:37 +00:00
mark_story
7b12272253
Fixing issues with am times and form test.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7975 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-13 18:42:08 +00:00
mark_story
cc88680d17
Adding array cast to $check. Fixes issues when non arrays are validated with Validation::multiple. Tests added. Fixes #5986
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7974 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-13 18:41:04 +00:00
mark_story
b0e23ddc7d
Adding additional tests to requestAction() for requests with named parameters.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7973 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-07 20:16:52 +00:00
mark_story
6c258c0f93
Fixing Auth's handling of params when loginAction is an array. Tests updated. Fixes #5961
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7972 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-06 03:20:11 +00:00
the_undefined
186a87b514
Improved doc comment for greater clarity regarding attribute matching
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7971 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-05 16:15:10 +00:00
gwoo
0751251181
updating email tests to match previous change.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7970 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-02 22:50:28 +00:00
gwoo
4f0256f9cd
fixes #5904 , changing email component to use initialize instead of startup, so it can be used in other components more easily
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7969 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-01-02 22:47:38 +00:00
mark_story
7421729159
Removing DB2 specific documentation. Docs updated in cookbook.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7968 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-31 15:30:11 +00:00
mark_story
79c791548f
Fixing formHelper::hour when specifying a strtotime compatible string for the selected value. Tests added Fixes #5941
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7967 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-30 16:20:38 +00:00
mark_story
94b9bcae89
Fixing habtm with uuid join tables with an auto model. Tests & model classes added. model test runs slightly more smoothly on postgres as well. Fixes #5940
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7966 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-30 16:09:25 +00:00
phishy
afe9970157
Fixes #5939
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7965 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-29 21:37:01 +00:00
mark_story
af799e179a
Adding missed model classes fixes #5940
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7963 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-29 03:20:05 +00:00
gwoo
18353519ed
tagging version 1.2.0.7962
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7962 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-25 23:30:33 +00:00
gwoo
fafc429a8f
merging changes to trunk and updating version number
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7961 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-25 23:21:36 +00:00
nate
963da7411b
Adding missing models to Model test case.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7960 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-25 22:51:10 +00:00
nate
ad208ff8c3
Refactoring previous fix to revert markup changes in HtmlHelper, updating FormHelper tests to comply with coding standard, correcting bad assertions, fixing issue with field types being mis-identified if duplicate names are used, fixes #5919
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7959 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-25 22:13:06 +00:00
nate
1deae7a586
Updating Validation::url() with $strict parameter to require URL scheme, fixes #5536
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7958 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-25 22:11:06 +00:00
nate
b2b46c3fa4
Implementing $safe mode for RequestHandlerComponent::getClientIP(), which ignores HTTP_X_FORWARDED_FOR, fixes #5842
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7957 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-25 22:02:36 +00:00
gwoo
c60e624403
closes #5271 , removing root docs directory. adding README
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7956 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-25 18:05:56 +00:00
gwoo
4f799a7141
closes #5121 , updating home.ctp
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7955 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-25 18:02:06 +00:00
nate
d5b157ed94
Fixing undefined variable in first if block branch, fixes #5921
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7954 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-24 05:40:05 +00:00
mark_story
b063f22f31
Fixing habtm joins for tables with two uuid fields, no primary key and a defined join model. Adding fixtures.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7953 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-23 23:28:08 +00:00
mark_story
0c29a7e1b1
Updating Schema shell so before() and after() are properly triggered. Fixes #5918
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7952 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-23 20:30:20 +00:00
nate
61850b1be1
Cleaning up test code formatting, adding fix for POST hash validation of checkbox lists, fixes #5903 , test cases added.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7951 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-23 08:13:00 +00:00
TommyO
f7a62bc80d
Fixed bug where filename did not match between cache engine and dispatcher in some cases.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7950 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-22 19:01:17 +00:00
mark_story
60e3c6caa4
Removing unecessary Mock object creation.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7949 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-22 04:31:21 +00:00
mark_story
943bb53dda
Correcting callback firing of helpers in view. Tests added fixes #5906
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7948 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-21 22:14:48 +00:00
gwoo
3eb9f65e99
fixes #5909 , return for __() for translate behavior errors
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7947 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-21 17:32:30 +00:00
mark_story
a88aeef826
Applying patch from 'rafaelbandeira3'. Removes redundant DS in path. Fixes #5902
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7946 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-19 23:30:13 +00:00
gwoo
0e458ff30b
merge fixes to trunk and updating version number
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7945 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-19 02:16:01 +00:00
nate
e2c087f34b
Fixing failing tests in JavascriptHelper.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7944 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-19 01:30:02 +00:00
mark_story
a12fd86c54
Applied patch from 'jperras' fixes error in Auth.test.php. Fixes #5899
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7943 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-18 21:04:05 +00:00
nate
a5b7276696
Correcting DboSource::order() identifier quoting, correcting bad DboSource tests, fixes #5900
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7942 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-18 20:49:25 +00:00
mark_story
ac87db981a
Fixing typos in doc blocks. Fixes #5898
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7941 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-18 14:31:53 +00:00
phpnut
eb653b8cba
Closes #5792 , Inflector optimization by returning replaced values instead of assining before returning
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7940 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-18 01:35:27 +00:00
phpnut
d5b86bc4bf
Closes #5733 , Avoid delegation overhead in Folder::correctSlashFor();
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7939 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-18 00:27:10 +00:00
phpnut
7f30d75739
Closes #5735 , Replace preg_match in Folder::isSlashTerm
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7938 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-18 00:22:57 +00:00
phpnut
3daa7c9e1f
Closes #5734 , Call static methods in Folder statically
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7937 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-18 00:17:19 +00:00
phpnut
e102144d42
Closes #5820 , Duplicate value in result of Configure::corePaths();
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7936 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-18 00:12:27 +00:00
gwoo
4dbd8e6791
updating to Set::extract() to fix containable test fails, added set cases to match usage in containable.test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7934 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-17 21:33:11 +00:00
john
a1046de895
Couple of syntax fixes - missing semicolon and usage of empty() inside a conditional.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7933 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-17 18:09:32 +00:00
nate
855741c2f4
Resetting Router state before running Dispatcher test, fixes #5895
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7932 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-17 16:11:44 +00:00
nate
870c4e87ca
Fixing code formatting in JavascriptHelper to wrap at 100 characters, small return-home-early refactoring.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7931 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-17 16:08:31 +00:00
nate
3129d5411f
Correcting return value for Auth::redirect(), fixes #5893
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7930 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-17 07:30:55 +00:00
nate
e9bd7aea6a
Removing accidental debug code.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7929 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-17 04:28:47 +00:00
mark_story
99a2fa439c
Fixing errors in Configure test.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7928 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-17 04:14:34 +00:00
nate
8eade1adb3
Fixing code formatting to wrap at 100 characters, adding fix for ticket #5596 , counterCache now decrements properly when foreign key value changes.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7927 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-17 04:13:45 +00:00
mark_story
ea414c8574
Fixing schema test compatibility issues with postgres
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7926 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-17 03:36:27 +00:00
gwoo
3e7f7ff9f1
correcting schema test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7925 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-17 03:32:45 +00:00
mark_story
9071d8165f
Correcting generation of id attributes for radio buttons. Tests added, fixes #5891
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7924 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-17 01:49:58 +00:00
mark_story
ea9c080b1c
Adding alterSchema() to dbo_postgres. Also handles index alters. Tests added for field and index alter sql.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7923 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-16 04:38:48 +00:00
mark_story
48c65c4092
Adding index() to dbo_postgres. Tests added for index introspection. Also fixes object to string conversions when working with database expressions. Fixes #5867
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7922 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-15 02:25:55 +00:00
TommyO
a601129d46
Brings odbc driver mostly up-to-date. Fixes #5730
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7921 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-14 18:36:40 +00:00
mark_story
211bb2bb81
Changing styles of test suite and adding icon for error messages. Moving code coverage css into test suite.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7920 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-13 23:40:36 +00:00
mark_story
d7f70ea5b9
Fixing broken tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7919 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-13 00:20:11 +00:00
phpnut
0d3ea7a5f2
Adding fix when join table does not have a primary key 'id' defined
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7918 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-12 17:19:27 +00:00
gwoo
24cc66b43e
adding model test, closes #5819
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7917 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-12 16:10:11 +00:00
mark_story
3682c9c6ae
Fixing missing table errors on model imports. Fixed broken test. Fixes #5877
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7916 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-11 19:16:02 +00:00
mark_story
43af288eca
Adding index(), alterSchema(), dropSchema() support to MySQLi driver. Refactored MySQL & MySQLi drivers. Updated and fixed tests.
...
Fixes #5824
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7915 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-11 00:13:11 +00:00
nate
2c64c449bc
Correcting Flash detection in RequestHandler, adding tests. Fixes #5838 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7914 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-10 13:55:58 +00:00
mark_story
569b9dd48a
Adding index() to dbo_sqlite. Tests added.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7913 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-10 03:38:10 +00:00
phishy
caa063590d
Fixed #5800 . Fixed INSERTs broken by refactoring of DboSource::renderStatement()
...
Also added slightly more support for CakeSchema with DboOracle
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7912 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-10 01:30:36 +00:00
mark_story
8c51d72ed8
Adding tests to disprove #5855 . Closes #5855
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7911 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-09 18:49:00 +00:00
mark_story
d405d1d1c3
Adding indexes to alterSchema() and CakeSchema::compare(). Thanks for the test case and patch 'bamyers99'. Fixes #5862
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7910 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-09 04:54:58 +00:00
mariano.iglesias
2d9f2c5ac8
Fixing issue where test would pass on InnoDB but would fail on MyISAM
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7909 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-08 20:05:12 +00:00
mark_story
930a2d954f
Fixing infinite loop in AdoDB when trying to get result sets with more than on result. Fixes #5846
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7908 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-08 03:13:45 +00:00
mark_story
48119947b8
Adding App::import() to fix broken tests when running behavior test individually.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7907 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-08 00:49:08 +00:00
mark_story
cf3a194807
Modifying getInstance() to allow subclasses to work properly. Tests added. Changed __output() to protected.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7906 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-07 20:44:00 +00:00
mark_story
8a0fb1904a
Applying patch from teemow, fixes schema file generation so files with trailing characters do not match. Fixes #5854
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7905 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-05 17:01:20 +00:00
mark_story
b2b4c4be47
Adding App::import() to app_helper files. Fixes issues with Missing Helper Class, and allows you to use helpers in shell classes. Fixes #5458
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7904 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-05 16:49:43 +00:00
mark_story
6f51f9ea2b
Fixing test and fixture generation. removing use of start() and replacing with startTest(). Changing length of lorem text for text field type as well.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7903 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-03 20:24:24 +00:00
gwoo
4dd105d415
fixes #5829 , form helper using proper method reference for parseAttributes. A patch would have been nice, but some ticket submitters prefer not to make much effort.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7902 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-12-01 19:39:40 +00:00
mark_story
c49f213fcf
Adding spaces before self close of meta link elements. W3C recommends a space before />. Fixes #5821
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7899 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-30 05:25:37 +00:00
mark_story
090028403b
Fixing FormHelper dateTime creation when using custom empty strings and null values. Tests added. Fixes #5769
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7898 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-29 00:28:31 +00:00
phpnut
4cdbd4edd9
Removing unreachable code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7896 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-27 04:52:45 +00:00
gwoo
9d2f59529c
fixes #5684 , Set::extract() without index 0
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7895 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-26 22:33:21 +00:00
phpnut
92e04703b7
Adding ability to turn off Camel Casing of nodes in Xml::toArray();
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7894 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-26 18:21:21 +00:00
mariano.iglesias
da39ce77b9
Fixing order of associated results on test that was making a test to fail. Fixing issue where HABTM conditions were not being taken into account when deleting links. Adding tests, fixes #5798
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7893 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-26 14:15:51 +00:00
renan.saddam
aa1abdda9a
Applying previous patch to _checkValid method. Fixes #5450 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7892 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-25 16:35:20 +00:00
mariano.iglesias
f9557c7611
Fixing issue where radio elements would produce wrong hash when Security component enabled in FormHelper, fixes #5791
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7891 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-25 16:32:54 +00:00
mariano.iglesias
acaaa7ee64
Resetting error on Validation (patch from francky06l), fixes #5797
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7890 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-25 13:05:57 +00:00
phpnut
69f883a89f
Adding $data['attrib'] back to RssHelper::channel(); after more research use cases for this were found.
...
Related test case added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7889 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-25 05:54:31 +00:00
phpnut
2444b29cd5
Fixes #5778 , Order of L10n map array (esp. fre, fra)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7888 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-25 04:23:53 +00:00
mark_story
cfa2229689
Fixing incorrect implementation of RssHelper::channel(). Test cases added.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7887 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-24 23:10:29 +00:00
mark_story
acb9e72355
Minor refactor to helper callback triggering. Moving repeated loops to _triggerHelpers(). Allows View subclasses to add additional callbacks.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7886 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-24 05:36:06 +00:00
mark_story
ace8ef4b5a
Applying patch from 'tyler'. Updates Ajax helper to reflect updated scriptaculous API. See http://github.com/madrobby/scriptaculous/wikis/ajax-inplaceeditor . Fixes #5790
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7885 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-24 05:23:31 +00:00
mariano.iglesias
04d06bccf8
Adding tests for PaginatorHelper::prev(), disproves and closes #5793
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7884 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-23 16:38:35 +00:00
mark_story
063345e89e
Fixing Cache-control headers in css.php to reflect proper HTTP 1.1 spec and agree with Expires header value. Fixes #5777 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7883 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-21 04:29:22 +00:00
AD7six
d80e527e5b
fixes #5776
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7882 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-20 16:53:45 +00:00
AD7six
2391071597
cleaning up from last commit, removing commented calls to (now removed) setparent,
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7881 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-20 14:03:41 +00:00
AD7six
2f51ccca04
fixes #5772 .
...
Sql errors when using reserved words for a field name with the tree behavior.
Test Case restructured to allow thorough testing of the various permutations inwhich the tree behavior can be used
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7880 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-20 13:57:44 +00:00
mariano.iglesias
ffab7024f0
Fixing issue where when multiple Memcache servers were being specified, only first would make it. Adding tests. Fixes #5767
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7879 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-19 21:19:23 +00:00
mark_story
8759f4ae28
Fixing reset of Model::__exists when create() is called. Test added.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7878 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-19 15:53:41 +00:00
mark_story
f3fc8dd742
Fixing RssHelper test. Timezone in tests did not reflect the DST change.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7877 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-16 05:06:36 +00:00
mark_story
6c2d6dbc0e
Fixing greedy Sanitize::stripTags(). Fixes #5758 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7876 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-16 05:00:41 +00:00
mark_story
6806b895cb
Fixing merging of actsAs and _findMethods from PluginAppModel classes. Adding test cases and necessary test classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7875 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-14 20:24:27 +00:00
AD7six
b43128c809
Ensuring that the auth component never redirects to an external link.
...
Tests updated to match code changes and tests added for external referer examples
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7874 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-14 09:07:22 +00:00
nate
f06401c563
Correcting regex that parses default values from schema in DboMssql, fixes #5748 . Thanks Pixilation for the patch and test case.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7873 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-14 02:00:02 +00:00
mark_story
9478b9a19f
Adding test to prove bug, uncommented additional failing test. Refs #5684
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7872 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-13 01:11:26 +00:00
renan.saddam
64c3d1ef95
Fixing issue when Dispatcher is getting plugin shell. Fixes #5740 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7871 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-13 00:33:53 +00:00
mariano.iglesias
a194f6a25e
Simplifying parameter parsing when importing structure / records from a fixture. Flushing registry after processing import so related models DB config remain unchanged
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7870 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-12 23:04:05 +00:00
renan.saddam
400fadd091
Fixing TranslateBehavior bug when $query['recursive'] is set. Fixes #5593 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7869 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-12 19:45:30 +00:00
mariano.iglesias
f8b69b10e2
Adding tests for r7867
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7868 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-12 17:00:00 +00:00
mariano.iglesias
910be6e368
Fixing issue where model structure imports on fixture was looking for structure on test_suite connection
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7867 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-12 15:25:07 +00:00
TommyO
11f0817341
Improved strip method for performance and clarity.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7866 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-11 19:54:15 +00:00
TommyO
5f0858e1ad
Fixed errors in usage of SimpleTest for EmailComponent tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7865 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-11 19:52:41 +00:00
gwoo
a99ca57762
fixes #5687 , adding Controller::methods to hold available methods for called controller, refactored auth and dispatcher to use this property
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7864 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-11 16:34:05 +00:00
mark_story
42fa305fca
Fixing error in previous commit.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7863 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-11 00:19:24 +00:00
mark_story
eccfea3429
Fixing ModelBehavior::detach() when non 0 index behaviors are detatched. Tests Added.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7862 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-11 00:17:37 +00:00
mark_story
6285f0cb6d
Moving __outputMessage to _outputMessage. Changing method from private to protected. Closes #5729
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7861 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-11 00:14:38 +00:00
gwoo
d5b21b68a5
reverting changes to model from [7857], start/endQuote added to datasource
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7860 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-10 19:53:04 +00:00
nate
1a6a0d1788
Fixing test for DboSource::expression(), moving $startQuote and $endQuote from DboSource to DataSource.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7859 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-10 18:57:50 +00:00
mariano.iglesias
dde4906195
Adding patch by dardosordi. Making all calls to header in SecurityComponent go through Controller. Fixing issue where invalid basic auth credentials would not trigger another login request. Added tests, fixes #5732
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7858 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-10 17:18:00 +00:00
gwoo
aed9872ce2
removing startQuote/endQuote from Model::getColumnType() closes #5719
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7857 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-10 16:16:36 +00:00
mark_story
9f7e3a3060
Adding optimization to ModelBehavior from davidpersson. Closes #5665
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7856 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-10 04:58:15 +00:00
TommyO
6dc11420ee
Field type improperly and unnecessarily checked for HABTM inserts. Fixes #5718
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7855 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-09 20:55:51 +00:00
nate
fde0d21053
Cleaning up and finishing code formatting changes in View class.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7854 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-09 03:37:24 +00:00
nate
16eebce7f7
Adding support for DboSource::expression(), plus test in Model case. Fixing code formatting in model test and View class -- wrapping lines at 100 characters.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7853 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-09 03:20:14 +00:00
nate
ab152bd291
Updating AjaxHelper docblocks and fixing code formatting -- lines wrap at 100 characters. Fixes #5701 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7852 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 22:15:43 +00:00
mariano.iglesias
e9953e3f93
Fixing issue where JavascriptHelper::link was generating wrong URLs when webroot is defined and appending timestapping. Fixing issue in previous commit. Fixes #5723 , fixes #5045
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7851 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 12:45:00 +00:00
mariano.iglesias
81e2f4a044
Fixing commit in r7843 so real files are accounted for
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7850 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 12:34:51 +00:00
renan.saddam
3223ba55cc
Changing tests in order to works in both Linux and Windows.
...
Using correcly syntax of javascript->block.
Commenting no:cache test, it must be fixed in 1.2+.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7849 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 03:47:09 +00:00
renan.saddam
111b886570
Removed trailing whitespaces from tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7848 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 02:58:37 +00:00
renan.saddam
6319f8ea69
Removed trailing whitespaces from core.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7847 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 02:54:07 +00:00
renan.saddam
edfbe5be33
Proving missingAction broken when using AuthComponent. Refs #5687 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7846 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 01:00:05 +00:00
TommyO
e40ea525f0
Added tests for validation for slightly better coverage.
...
Minor refactoring of Validation class inspired by a number of recent bug reports. Mostly for consistency and clarity.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7845 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 00:55:36 +00:00
mariano.iglesias
83faf59d0c
Adding email validation test, disproves and closes #5720
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7844 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 00:33:59 +00:00
mariano.iglesias
8777b8ef96
Fixing issue where double call to webroot on HtmlHelper::css was generating wrong URLs when forcing asset timestamp, fixes #5723
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7843 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 00:24:51 +00:00
mariano.iglesias
8da2a5208f
Adding multibyte support to TextHelper::truncate, fixes #5610
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7842 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-08 00:07:17 +00:00
DarkAngelBGE
5bd8dbb3ca
adding test manager test to testsuite test group; small refactorings
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7841 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-07 16:17:18 +00:00
DarkAngelBGE
be6c24503d
adding test method for testing the running of a testcase (doh!) to the test manager test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7840 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-07 11:47:59 +00:00
DarkAngelBGE
e882d990d7
adding test manager test case, some whitespace changes throughout the testsuite and the schema model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7839 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-07 11:33:13 +00:00
DarkAngelBGE
df4a8bcd32
moving shell.test.php to correct place in order to make code coverage possible for it; changing some whitespaces in shell.test.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7838 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-07 10:41:52 +00:00
mark_story
b478cde990
Removing 'update' check from firebird driver. Closes #5554
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7837 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-07 02:48:14 +00:00
renan.saddam
aab80c3526
Bringing coverage to 90%, also removing unused $files variable.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7836 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-07 01:08:18 +00:00
renan.saddam
41fc22a770
Showing App & Plugins tests first and sorting the files. Closes #5692 , #5693 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7835 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-06 23:35:08 +00:00
renan.saddam
50752a840a
Added support to multiline plural message string. Fixes #5663 .
...
Converting "\r\n" (Windows) to "\n" (Non-Windows) when extracting and when translating the message.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7834 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-06 22:57:50 +00:00
renan.saddam
9f090d0772
Applying patches from 'davidpersson'. Fixes #5688 , #5689 .
...
Skipping permission test if SO is Windows.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7833 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-06 18:00:56 +00:00
AD7six
b7587d2d55
fixes #5696 incorrect timestamp definition generated by Posgres schema
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7832 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-06 13:22:57 +00:00
renan.saddam
f4e2b3e24b
Handling numeric columns unsigned. Fixes #5695 .
...
Also added some tests to MySQL and MySQLi.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7831 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-06 02:15:12 +00:00
AD7six
0ed0eea73b
modifying cache file engine, to match file class changes.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7830 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-05 19:32:45 +00:00
AD7six
22143dbbed
Optimizing File class
...
adding a public path property
Changing references to File::pwd() to refer to the path variable
Reducing execution time inbetween testing a file exists and attempting to delete it to a minimum
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7829 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-05 19:21:49 +00:00
AD7six
b12a5739a2
updating documentation for url validation, making the regex easier to edit. Ref #5685
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7828 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-05 16:29:10 +00:00
AD7six
2a9b8643db
Correcting index detection to not include the fields from a previous index, where several mult-field indexes
...
exist
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7827 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-05 13:44:05 +00:00
mark_story
ea30a48c5a
Fixing validation of URLs with round brackets. Patch from 'dho' added.
...
Closes #5685
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7826 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-05 03:49:55 +00:00
mark_story
7822a69b7f
Fixing test broken by [7748]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7825 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-05 02:30:51 +00:00
gwoo
dfca7b08b1
closes #5703 . optimization for folder::read(), thanks davidpersson.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7824 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-05 02:18:49 +00:00
gwoo
e2a5f38b36
updating translate recursive handling, fixes #5593
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7823 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-04 01:41:27 +00:00
renan.saddam
f2823e85d7
Fluxing the objects after each test.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7822 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-04 01:35:09 +00:00
renan.saddam
171fa62b94
Added tests to cover bug with recursive = -1. Refs #5593 .
...
Did a refactoring to TranslateBehavior and moved all tests from translate.test.php to models.test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7821 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-03 23:58:44 +00:00
renan.saddam
cd3aaf141d
Removing unused tests route according to [7524]. Closes #5694 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7820 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-03 18:27:56 +00:00
renan.saddam
2d40c78c63
Updating docblock of File::size. Fixes #5697 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7819 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-03 18:20:57 +00:00
mariano.iglesias
0ec977a02b
Small performance optimization to previous commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7818 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-01 14:16:06 +00:00
mariano.iglesias
dc35135dd9
Fixing issue where empty encoding would trigger a warning in Multibyte
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7817 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-11-01 14:04:08 +00:00
john
5a0ab7b220
Updating docblocks and adding @link tags.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7816 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-31 20:49:23 +00:00
john
0fd3badee4
Updating docblocks and adding @link tags.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7815 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-31 20:17:26 +00:00
john
72bd7ba04b
Adding @link tag to class definition.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7814 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-31 19:47:43 +00:00
john
d17cbbc7ca
Adding @link tag to class definition.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7813 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-31 19:47:01 +00:00
john
0d86c4f7b5
Updating docblocks and including new @link tags.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7812 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-31 19:44:23 +00:00
john
989f9f0cbc
Removing method no longer in use.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7811 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-31 19:06:05 +00:00
john
89bf77ae01
Updating docblock wording and @link ties.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7810 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-31 19:05:30 +00:00
john
44781d2ef9
Updating Component docblocks with @link and editing docblock text.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7809 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 19:39:18 +00:00
john
863adabe12
Updating Controller docblocks with @link and updating docblock content and grammar.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7808 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 19:30:17 +00:00
AD7six
3f2fa6929b
changing tabs for spaces in comment block indentation
...
Removing address and replacing with cakefoundation url
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7805 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 17:30:26 +00:00
TommyO
2d5773be6b
Fix warning when FULL_BASE_URL is unknown. fixes #5683
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7804 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 15:05:46 +00:00
renan.saddam
25ec40600c
Reverting previous commit - pg_escape_string($connection, $data) is PHP5-only.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7803 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 11:54:43 +00:00
nate
40bf675589
Refactoring DboSource to remove use of str_split, adding $read (false to calls to) DboSource::value() inside DboSource::create(), cleaning up code formatting, fixes #5598 , fixes #5682
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7802 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 05:03:01 +00:00
renan.saddam
f8ead3efac
Handling non-expected locale and removing duplicated code block. Fixes #5671 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7801 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 03:10:40 +00:00
gwoo
53296d975c
adding patch for model text committed in [7799]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7800 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 00:11:32 +00:00
mark_story
588f92ca31
Adding test for model saving with habtm.
...
Refactoring tests for ajax helper to use assertTags()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7799 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-30 00:05:59 +00:00
gwoo
1a3e2df8bb
updating handling of shell in the registry, fixes #5680
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7798 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-29 19:25:49 +00:00
phpnut
add332fb85
Please review the models used in this test case to see why the results are correct.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7797 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-29 07:44:05 +00:00
phpnut
a90ade78a9
Removing unused code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7796 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-29 07:35:48 +00:00
gwoo
6624d41ecd
updating habtm save handling, fixes #5579
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7795 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-29 07:19:26 +00:00
nate
318c2b4952
Correcting SecurityComponent form hash generation when handling arrays, fixes #5588 . Fixing code formatting in FormHelper test.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7794 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-29 06:55:42 +00:00
phpnut
8ede5d21d3
Removing unreachable code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7793 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-29 06:44:15 +00:00
renan.saddam
41d82920f5
Fixing issue with rounded values in NumberHelper::toReadableSize. Fixes #5676 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7790 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-29 01:15:59 +00:00
mark_story
ee8ff1d5ac
Fixing HABTM saving with saveAll(). Tests added. Fixes #4389
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7789 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-29 00:22:52 +00:00
john
b5a77bc0a9
Space-aligning header.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7788 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-28 17:29:28 +00:00
john
a9a3bbcc6b
Updating docblock wording; adding @link tags where applicable.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7787 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-28 17:08:14 +00:00
renan.saddam
3ab9854300
Added test to disprove non-supported multiline plural message. Fixes #5663 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7786 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-28 01:51:18 +00:00
mark_story
97cd2c5aef
Committing patch from 'fernyb' to add support for with key in AjaxHelper::autoComplete()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7785 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-26 23:47:00 +00:00
gwoo
ea5be23d3c
closes #5664 and closes #5206 . FileEngine warnings
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7784 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-26 22:34:09 +00:00
mark_story
5a2db7a5b4
Fixing interaction between Model::_clearCache() and CacheHelper. Cached view files for camelCased controller or underscored URL's were not being cleared. Fixes #5611
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7783 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-26 18:51:38 +00:00
mark_story
b3a6a06f80
Applying patch from 'BrendonCoz'. Model::deconstruct() now allows null for time column types. Closes #5659
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7782 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-26 15:02:01 +00:00
mark_story
2d1483e1e5
Updating formHelper::dateTime() to work correctly with string timestamp values. Closes #5621
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7781 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-26 14:53:06 +00:00
renan.saddam
1c9b1d0d78
Removing unnecessary str_replace call.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7780 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-24 11:25:19 +00:00
AD7six
d8ad330bca
correcting quotes which cause "undefined constant cache assumed 'cache'.." error
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7779 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-24 08:03:36 +00:00
renan.saddam
a04af731ab
Allowing custom mime types and adding more default mime types. Fixes #4517 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7778 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-24 01:12:09 +00:00
AD7six
ce0a71aef7
fixes #5603 Duplicate first parameter from the paginator with existing url args
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7777 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 22:20:03 +00:00
phpnut
f4baaf60cb
Adding fixtures missed in [7775]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7776 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 13:31:23 +00:00
phpnut
d3896854f5
Adding fix for join table using UUID's as the primary key.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7775 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 13:29:32 +00:00
nate
16e2579f01
Correcting Security component to treat POST data arrays as a single field for validation purposes, fixes #5588
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7774 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 03:18:08 +00:00
mark_story
3a7ccff571
Minor refactor to earlier code.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7773 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 02:05:34 +00:00
mark_story
1b456f2cf1
Applying patch from 'davidpersson' fixing code spacing. Closes #5643
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7772 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-23 00:10:44 +00:00
renan.saddam
6da2040b45
Aplying changes to localePaths made in [7754]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7771 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-22 19:07:43 +00:00
mark_story
8cf8ee93ea
Fixing requestAction parameter merging. Url params were being incorrectly set to empty array for both string urls and array urls. Tests added. Fixes #5628
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7770 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-22 17:12:30 +00:00
mark_story
c2fee87b63
Added patch from 'shirsch' to fix Model::deleteAll() not returning a boolean value when callbacks = true. Updated test. Closes #5546
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7769 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-22 02:37:05 +00:00
AD7six
f32e557e9c
converting ini_get statements to use strict comparisons where loose comparisons were used
...
correcting zlib comparison to expect ini_get to return a string, rather than a boolean.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7768 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-21 12:15:28 +00:00
mark_story
a629da67b7
Adding tests to requestAction() for POST/$this->data passing in requestAction(). Closes #5628
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7767 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-21 02:04:42 +00:00
TommyO
f5a8ce4612
Fixed bug where bcc was visible to all recipients when using smtp
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7766 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-20 17:09:42 +00:00
mark_story
2350000be0
Adding tests for formHelper::select() to test secured fields generation. Refs #5588
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7765 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-20 03:01:01 +00:00
mark_story
5f0fd5241e
Fixing String::insert() to allow '.' in parameters, added tests to show usage of String::cleanInsert(). Closes #5627
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7764 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-18 23:56:41 +00:00
gwoo
f9f1c4df50
adding umask to file so cache files will be created without throwing an error when transitioning from shell to browser
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7763 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-18 20:11:41 +00:00
gwoo
f861d685d5
refactoring shell paths, also closes #5451 , shell to return exit values
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7762 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-18 19:54:56 +00:00
mark_story
66cfeee8c7
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7761 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-18 01:23:33 +00:00
mark_story
f875c0098b
Updating test_suite header to improve readability of connection names.
...
Adding test for using CakeTestCase::testAction() with fixturize parameter.
Updating TestsAppPostsController and adding Post Model to test suite.
Refs #5620
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7760 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-17 16:39:39 +00:00
mark_story
f554d321b2
Fixing schema file regexp, to ignore .sql files. Fixes #5616
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7759 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-17 03:51:03 +00:00
renan.saddam
e3fb56f6be
Fixing bug when primaryKey is not id. Fixes #5615 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7757 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-17 00:01:36 +00:00
renan.saddam
24949e30e0
Added tests to PagesController and removed twice call to count().
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7756 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-16 23:52:54 +00:00
phpnut
4311ba8000
Close #5534 , Rename pages_controller.php to pages_controller.test.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7755 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-16 06:51:10 +00:00
phpnut
760f79f4ec
Closes #1855 , Separate translation files per plugin. This is now supported using !__d() and !__dn().
...
Example singular usage: !__d('plugin_name', $string, true); returns translated singular string from pluginsPath/plugin_name/locale/"language"/LC_MESSAGE/plugin_name.(po/mo).
Example plural usage: sprintf(!__dn('plugin_name', '%d = 1', '%d = 0 or > 1', $number, true), $number ); returns translated plural strings from pluginsPath/plugin_name/locale/"language"/LC_MESSAGE/plugin_name.(po/mo).
Closes #5007 , Support for multiple additional locale paths. Configure::write('localePaths', $paths); accepts an array of $paths. $localePaths = array(); can also be used in bootstrap.php
Added Configure::$shellPaths; additional paths can be set in bootstrap.php $shellPaths = array();
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7754 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-16 05:16:00 +00:00
renan.saddam
6a33ca5b5b
Adding tests to __* functions and doing a little refactoring to reduce overload.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7753 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-16 01:11:09 +00:00
phpnut
f281f8814a
Adding changes to tests to correct expected results when using hasAndBelongsToMany associations
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7752 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-16 00:38:38 +00:00
nate
a239ccc74a
Adding correct skip test method for Oracle DB test, cleaning up code formatting, fixes #4671
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7751 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 23:07:19 +00:00
mark_story
342f701e70
Updating CakeTestCase test to fix issue with broken tests if app/models/post.php exists.
...
Reverting and correcting earlier change on cake_test_fixture, where models and relations that are imported connected to the wrong connection.
Closes #5578
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7750 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 19:14:11 +00:00
gwoo
0a8274332a
fixing issue with plugins in primary components introduced in [7745]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7749 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 17:37:19 +00:00
phpnut
f51ae718e6
Closes #5607 , Configure::store can no longer be uses statically.
...
Corrected test cases to call Configure statically.
Added fixes for tests added in [7741]
Closes #5594 , Related models should be built when $useTable = false;
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7748 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 17:30:08 +00:00
mark_story
1aa0fc069a
Updating baked model tests to reflect newer style of test that uses ClassRegistry::init() instead of a TestModel class. Refs #5549
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7747 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 17:00:53 +00:00
mark_story
cdc12d9eb8
Changing cake_test_fixture::init() to not alter ClassRegistry::config() settings. Instead model is built with ds parameter. Closes #5578 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7746 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 16:50:10 +00:00
nate
19975a2cf6
Fixing issue where startup() / shutdown() etc. were being called on components not directly attached to the controller. Only initialize() should be called on sub-components.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7745 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 13:07:46 +00:00
nate
6a06194292
Fixing locking for file-based cache, fixes #5541
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7744 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 12:42:03 +00:00
nate
1b9357f5e8
Correcting behavior of layering allow/deny calls in AuthComponent, fixes #5595 , formatting fixes for RequestHandler
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7743 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 02:52:19 +00:00
renan.saddam
ccb83c341e
Added test to cover Cache::write with optional duration time. Refs #5601 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7742 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-15 00:55:20 +00:00
renan.saddam
bbd6089aec
Added tests to prove non-initializing associated models when useTable is equal to false. Refs #5594 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7741 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-14 23:28:22 +00:00
phpnut
4c2a3ee02f
Closes #5591 .
...
Modified models in models.php setting the with key since these models are not used unless the with key is defined in the association.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7740 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-13 01:17:34 +00:00
phpnut
f139b0312f
Fixes #5591 Dynamic With Models broken after changeset [7732]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7739 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 22:21:55 +00:00
phpnut
a170464d3c
Reverting changing Router::compile(); to private method. Since this method is called using an instance of the Router we can still remove code that called Router::getInstance();
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7738 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 14:23:16 +00:00
phpnut
404e4ed2c6
Fixing @access tag
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7737 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 04:00:48 +00:00
phpnut
47f78d13a0
Adding more optimizations for the static classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7736 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 03:52:24 +00:00
phpnut
3c50e54213
Closes #5542 Duplicate cookies
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7735 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 03:29:10 +00:00
phpnut
aa248a126f
Closes #5560 Class Registry::_duplicate call for getObject returns false it will cause an error
...
Added additional optimizations.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7734 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 02:36:39 +00:00
phpnut
2f85fefa29
Closes #5557 model.php and App::__settings try to import inexistent class Behavior
...
Removed loading of ModelBehavior in App::__settings(); this it not needed since the behavior is loaded in the model.
Added additional optimizations.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7733 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 02:33:12 +00:00
phpnut
93a54735d6
Fix loading of dynamic 'with' model, each dynamic 'with' would attempt to find and load the file 5 times, fixed so no it longer attempts loading a file if the 'with' key is not defined in the association.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7732 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-12 02:16:43 +00:00
phpnut
26a503ee33
Refactoring I18n for performance.
...
Added changes needed for tests added in [7724]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7731 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-11 03:22:41 +00:00
mark_story
439116fd03
Adding test to paginator test. Disproves #5582
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7730 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 20:20:44 +00:00
mark_story
c128505a2c
Adding read() into CookieComponent::del() so that values will always be populated. Reversing change from [7725]. Fixes #5563
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7729 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 17:24:10 +00:00
AD7six
26c7262acc
correcting message as to how to override core error message for missing_connection
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7728 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 16:12:15 +00:00
AD7six
51503d45c8
updating the console to use Configure::read('vendorPaths'). This will allow otherwise hidden shell tasks to be listed in the main console index.
...
Inaccessible (overriden) shells are not listed.
minor format changes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7727 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 15:47:06 +00:00
mark_story
f94bc3e4bc
Adding Test case for Shell
...
Adding Comment Model to test_app
Fixing Plugin model loading in Shells, fixes #5566
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7726 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 02:14:57 +00:00
mark_story
aa217716b9
Applying patch from 'halogenandtoast' Fixes issues with deleting cookie values before read() is used. Closes #5563
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7725 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 01:16:04 +00:00
renan.saddam
67abae6307
Adding remaining tests to I18n (rule 11-14).
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7724 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-10 00:39:01 +00:00
gwoo
88e5d14c3c
small fix to the Cache::read() use of Cache::set() when using default configuration
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7723 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 23:24:28 +00:00
gwoo
9a22018e40
removing some unneeded code from scaffold
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7722 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 22:26:33 +00:00
AD7six
488f1f41ee
correcting test to use DS rather than / seperator
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7721 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 17:42:10 +00:00
AD7six
ad059df35d
changing simpleTest test to use app import
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7720 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 17:23:17 +00:00
renan.saddam
42241b2b27
Removing if block missed from an older refactoring.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7719 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 17:16:39 +00:00
gwoo
62d1f367db
adding test cases to show #5553 is invalid, $uses is not merged when == null.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7718 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 17:03:44 +00:00
mark_story
fb4277a852
Updating css.php to use App::import(). Closes #4613
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7717 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 03:43:42 +00:00
mark_story
136f9c4b6d
Removing getAco(), getAro(), setAco(), and getAco() from AclComponent. These methods were deprecated and not removed. Refs #5561
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7716 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 03:35:17 +00:00
mark_story
17e2b4c054
Applying patch from 'Pixelation' fixes cross platform issues in cookie test. Closes #5559
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7715 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-09 02:35:33 +00:00
TommyO
d5dbb7ba32
Fixed problem where already-authorized user was failing.
...
Added return of respond code found on success, allowing for more fine-grained post-query activity.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7714 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-08 17:53:48 +00:00
mark_story
5c962accc1
Fixing timehelper::fromString when input time is invalid.
...
Tests added and renamed for better consistentancy with other tests.
Closes #5556
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7713 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-08 17:19:07 +00:00
renan.saddam
e184838451
Adding tests to L10n and refactoring to be more readable.
...
Removing duplicated entry of es-mx. Fixes #5087 .
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7712 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-08 14:01:50 +00:00
mark_story
acce4fa54e
Adding interval to minute() attributes when timeformat = 24.
...
Tests added.
Closes #5428 , refs #4641
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7711 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-07 16:57:22 +00:00
mark_story
11a29679e4
Fixing issue in CakeTestFixture, where $import'ing models required connection to be specified, default connection should be automatic.
...
Caused by changes in ClassRegistry::init().
Closes #5519
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7710 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-07 03:58:04 +00:00
phishy
091325bcd1
Fixes #5539 - $config prototype was not being set correctly
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7709 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-07 00:55:51 +00:00
mark_story
06955ad42f
Removing stray comment from last commit.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7708 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-06 23:58:35 +00:00
mark_story
5ca239870d
Adding tests to disprove #5540 . Closes #5540
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7707 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-06 23:57:27 +00:00
the_undefined
38bc438fc7
Applying patch by rnowotniak, fixes #5523
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7706 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-06 10:43:57 +00:00
mark_story
b5473a5f9b
Refactoring variable names, more readable variable names.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7705 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-06 02:44:05 +00:00
mark_story
a5feed0284
Updating method names and doc blocks in model.test. Closes #5516
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7704 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-05 22:26:40 +00:00
AD7six
3ddc5e6be2
adding failing testcase for identical <cake:nocache> content confussion.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7703 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-05 18:27:02 +00:00
phpnut
385ebbce1f
Closes #5509 Executable flag set on sequencial_nocache.ctp
...
Closes #3817 Some non-executable files in source tree have executable permissions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7702 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-05 00:19:25 +00:00
nate
ae8a6b958a
Disabling query caching in DboMssql::listSources(), fixes #5514
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7701 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-04 22:06:56 +00:00
nate
34c5f74300
Changing handling of numeric node values in Xml class, fixes #5520
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7700 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-04 19:50:38 +00:00
mark_story
9c734f32a2
Adding test to disprove #5521
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7699 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-04 18:01:48 +00:00
mark_story
08866a90ca
Updating tests in cake_test_case test, so they run in group test.
...
Fixing issue in cakeTestCase when running tests with fixtures. Fixture tables were not being created if $test DB config and $default DB were using the same database. Closes #5519
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7698 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-04 16:35:53 +00:00
nate
b29f805632
Allowing $attributes param of FormHelper::select() to be null, fixes #5518
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7697 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-03 21:55:41 +00:00
mark_story
b2bda3d1bd
Changing spelling of neighbours to neighbors. Closes #4948 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7696 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-03 21:23:13 +00:00
mark_story
2a115d0fa3
Updating doc block for Model::find() adding references for missing find types. Closes #4948
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7695 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-03 18:06:15 +00:00
john
f3de3ce9af
Adding svg and svgz mime types to the media view, both as 'image/svg+xml'.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7694 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 16:25:35 +00:00
nate
0c64ddfa49
Copying changes from app/webroot/js/vendors.php to cake/console/libs/templates/skel/webroot/js/vendors.php, fixes #5508
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7693 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 14:32:54 +00:00
nate
faa8e8af60
Updating 1.1 and 1.2 verison numbers
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7692 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 05:06:48 +00:00
gwoo
443491e7fa
reverting changes from 7668
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7689 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 02:16:09 +00:00
nate
300dbc5e91
Correcting how parameters and default values are merged in Controller::paginate(), fixes #5503
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7688 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 00:46:26 +00:00
mark_story
915a1e119d
Adding test to Auth.test to cover logged in user being denied on an action when there is no HTTP_REFERER set. Refs #5507 .
...
Fixed tests that break when Routing.admin is not set.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7687 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 00:18:47 +00:00
nate
62184023d5
Allowing custom salt values in Security::hash(), thanks Jippi
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7686 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-02 00:03:52 +00:00
TommyO
3da0451907
Added basic mb_encode_mimeheader() to Multibyte class.
...
Modified EmailComponent to take advantage of multibyte support. fixes #5448
Modified EmailComponent to fix newline issues in long subject lines when using mail send method. fixes #5049
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7685 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-01 18:36:38 +00:00
nate
2bfd5a4b3e
Refactoring schema test and fixing formatting, refactoring Model::_findCount() to use DboSource::calculate() in all cases, closes #4501
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7684 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-01 15:27:29 +00:00
mark_story
1a0299d257
Adding tests to basics.test.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7683 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-10-01 00:09:00 +00:00
nate
8758f36915
Correcting table index formatting for schema generation in DboPostgres, fixes #5471 , docblock formatting fixes in ClassRegistry.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7682 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-30 18:59:17 +00:00
mark_story
1ae8cda6c2
Adding documentation to beforeValidate(). Closes #5498
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7681 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-30 00:13:15 +00:00
nate
4b8acf4647
Adding 'type' key to both sets of query calls in Controller::paginate(), fixes #5441
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7680 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-09-29 21:19:37 +00:00