mariano.iglesias
660d5bb804
Allowing CakeTestCase::assertTags() to receive strings as expectation.
...
Removing default value in AjaxHelper::options() and AjaxHelper::__optionsForAjax() since it always require a parameter.
Using Object::stop() instead of exit() in AjaxHelper::afterRender().
Bringing AjaxTest coverage to 88%
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6928 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 19:51:30 +00:00
DarkAngelBGE
032990a364
bringing the validator to 93% coverage,
...
adding default regexes for Validator::phone(), Validator::postal() and Validator::ssn() if no default regex is supplied, but also no country
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6927 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 15:47:35 +00:00
DarkAngelBGE
45ed8ffeff
bringing the file class to almost 90% coverage
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6926 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 14:48:48 +00:00
DarkAngelBGE
010a083d1c
bringing the folder class to 84% coverage
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6924 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 11:26:00 +00:00
DarkAngelBGE
f26d9b388e
adding numerical test case refs #4589 ,
...
adding tests for DbSource->length,
fixes #4150 ,
adding tests for DbSource->buildIndex(),
adding tests for DbSource->buildColumn(),
adding test for requestAction using a plugin,
adding DboSource->introspectType fixes #4224 , refs #4589 ,
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6923 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 09:22:42 +00:00
nate
6bed503b56
Refactoring schema handling for SQLite and Postgres drivers. Non-primary key indexes are now created properly. Fixed testing bugs in db drivers.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6922 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 06:42:36 +00:00
the_undefined
e1fc6ad5fd
Refactored parts of String::insert into String::cleanInsert
...
Added a html clean method and test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6921 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 06:11:51 +00:00
the_undefined
550b85fdbb
Improved Inflector::slug, closes #4678
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6920 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 05:03:12 +00:00
nate
8313fef72d
Changing recursive setting in Auth user lookup query, allows $userScope to use joins, fixes #4665
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6919 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 04:49:54 +00:00
mariano.iglesias
a33cfd0b98
Added Containable behavior, a mix of the original Containable and Bindable behavior.
...
Allows find operations to define restrictions on what models to get based on the 'contain' parameter, including ability to override binding settings on the fly. Go through the test cases to get a crash course about some of the available functionality.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6918 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 04:36:09 +00:00
mark_story
f011839cfe
Update dbo_adodb.php. Passes 452 tests in model.test
...
fixes #4133
Added test for dbo_adodb as well
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6917 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-18 00:20:24 +00:00
the_undefined
d9e6ee6494
Fixed a problem in Configure causing the File engines default path to be ignored , closes #4673
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6916 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 21:47:06 +00:00
the_undefined
7e4224a1f9
Fixed a problem in App::__overload causing issues in PHP4
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6915 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 21:45:25 +00:00
joelmoss
64e68c9b7c
Text helper highlight method now handles HTML tags correctly. Closes #2242
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6912 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 18:45:24 +00:00
mariano.iglesias
05047a90b0
Making Model::resetAssociations public and changing tests that use it
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6909 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 16:23:46 +00:00
phpnut
10d555d5e2
"Adding additional tests for I18n class.
...
Removed unused code from the class.
Fixed use of invalid translations in a po file"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6907 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 06:05:08 +00:00
phpnut
638b06ff85
"Adding test coverage for I18n class.
...
Adding ability to change translations on the fly
Example: Configure::write('Config.language', 'locale');
Same setting can be used to define you own locale
Example: Configure::write('Config.language', 'somename');
Added ability to set additional directory paths for locale directory
Example: Configure::write('Locale.path', DS . 'directory'. DS . 'locale');
Fixed merging of core translations, if present."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6905 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-17 00:48:34 +00:00
gwoo
8124d166ff
updating auth url for login actions
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6904 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 18:17:04 +00:00
phishy
6c44d00642
Fixed #4206 - lastError now works
...
Fixed #4181 - model sequence name now respected
added constraint() method to enable/disable
added truncate() to aid in test suite integration
hacked name() to work with ACL
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6903 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 15:42:13 +00:00
gwoo
8a236492a0
adding Object::stop(), updating auth and auth.test to use
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6901 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 15:23:00 +00:00
joelmoss
3d251e4145
Replacing vendor() function with App::import()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6900 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 08:41:39 +00:00
nate
d9a7170808
Adding validation message fixes for Model::saveAll() and hasOne associations, fixes #4561
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6898 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 06:03:33 +00:00
nate
0f1e075d68
Adding fix for Model::saveAll() with 'validate' => 'first' and hasMany records, fixes #4387 , adding test cases to disprove #4494
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6897 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-16 05:31:14 +00:00
gwoo
84739652c8
adding fix for windows paths in view, thanks renan`saddam for reporting and debugging
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6895 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 23:57:24 +00:00
TommyO
de086b1be3
Minor code cleanup, removing remnants from an older version that no longer apply
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6894 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 20:17:58 +00:00
gwoo
1623fa89f8
updating auth, fixes #4417 ajaxLogin rendering
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6893 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 19:20:13 +00:00
TommyO
52037d15e4
Allow afterSave() callbacks to modify value of a data field, as per ticket #2465\nNecessary tests included
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6889 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 15:37:55 +00:00
the_undefined
ab0a607189
Refactored Set::reverse and tweaked the expectation schema for consistency, fixes #4643
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6888 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 14:48:49 +00:00
the_undefined
bf107d1886
Fixed admin routing redirect in AuthComponent
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6886 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 07:06:22 +00:00
the_undefined
52245a059f
Closes #4156
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6878 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 04:00:21 +00:00
the_undefined
ea9e91218e
Fixing bug in Model::saveField, closes #4511
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6877 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 03:16:36 +00:00
the_undefined
d039ad32d4
Allowed for matching empty elements
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6875 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 02:21:51 +00:00
nate
b489bb1470
Cleaning up PagesController, fixes #4640
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6871 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 21:34:26 +00:00
gwoo
18b627636b
updating cake.test.php, fixes #4638 . updating cake.php, fixes #4648 (with tests), updated Cache
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6870 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 19:43:55 +00:00
the_undefined
72c37d429e
Improved String::insert by support placeholders with after sequence during cleanup
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6869 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 16:31:44 +00:00
the_undefined
7308c3e5d4
Fixed bug in String::insert
...
Refactored and improved String::insert cleaning process
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6868 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-14 15:35:36 +00:00
joelmoss
09ebd9cbe6
Paginator Helper prev and next methods now use the Html::tag helper method, allowing you to pass a tag option to specify what HTML tag the disabled links should be wrapped in. Defaults to div. Fixes #3991
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6862 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 23:35:47 +00:00
the_undefined
dd7aa25a20
Made custom save $options available throughout all filters and callbacks
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6861 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 23:34:59 +00:00
joelmoss
9a4c186ccd
Html::tag now accepts $attributes as a string, in which case, it will be used as the tags class name.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6859 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 23:09:37 +00:00
joelmoss
65454882f3
Created Html::tag helper which allows you to create any HTML block tag. Html::div now uses this method.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6858 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 23:04:52 +00:00
the_undefined
fb7ac680b0
Made sure DboSource always has a prefix setting, closes #4601
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6857 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 22:53:44 +00:00
the_undefined
825eb48508
Fixed missing view path for plugins, closes #4244
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6856 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 22:18:30 +00:00
phpnut
7ee9c21079
"Completing test coverage for Multibyte class.
...
Removed case foldings that have no lower case code points."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6855 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 21:31:08 +00:00
the_undefined
5c1878afec
Removed the Model cache engine for architectural reasons, closes #4415
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6853 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 21:25:19 +00:00
the_undefined
3db8b860d1
Fixed another String::tokenize bug, closes #4627
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6852 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 21:22:10 +00:00
gwoo
99874c60d9
fixes #4238 , Mysqli working with the test suite.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6849 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 18:03:44 +00:00
gwoo
c0f042e4ab
fixes #4432 , Model aliases. Updated cases. Removed usage of $this->model in model.test.php in favor of local variables
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6848 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 16:42:39 +00:00
DarkAngelBGE
11ba82430a
removing unneeded lines from RequestHandler,
...
adding error surpression oeprator in front of header() to make the components group pass (RequestHandler class)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6846 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 14:38:01 +00:00
DarkAngelBGE
d04101a95a
refactoring Controller::referer
...
adding Controller::header() for testability
bring Controller up in code coverage
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6844 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 14:22:57 +00:00
DarkAngelBGE
88a2f0936e
fixes #4559
...
bringing xmlhelper to 100% code coverage
fixing small bugs in XmlHelper::__parseContent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6838 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 07:56:33 +00:00
DarkAngelBGE
4b91712791
bringing security component up to 84% coverage,
...
internationalizing trigger_error for security lib
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6835 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 06:27:43 +00:00
the_undefined
24d8878ab6
Added CAKEPHP_SHELL constant to shell dispatcher making it easy to recognize when in shell mode
...
Fixed #4599
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6834 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 05:23:57 +00:00
phpnut
52ec5467c6
"Adding new Multibyte Class
...
Adding additional tests
Adding some missing casefoldings
"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6833 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 04:20:24 +00:00
the_undefined
93ad951a8c
Fixed small bug in TextHelper::autoLinkUrls, closes #4357
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6832 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 03:53:26 +00:00
the_undefined
170fe3d9d1
Fixed Router::queryString php.ini setting dependency, closes #4614
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6831 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 03:40:24 +00:00
the_undefined
451192018a
Improved AuthComponent to use an array to match the login action, fixes #4572
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6830 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 03:22:34 +00:00
the_undefined
425dbf363d
Fixed bug in BehaviorCollection::trigger, closes #4520
...
Added basic test coverage for BehaviorCollection::trigger
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6828 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 02:33:44 +00:00
the_undefined
6f64efb342
Fixed a String::tokenize bug for a single enclosed item, closes #4627
...
Added basic test coverage for String::tokenize
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6827 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 02:05:07 +00:00
the_undefined
d9a30eaa62
Fix for Model::saveAll validate => first, closes #4533
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6825 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 01:39:06 +00:00
the_undefined
823eb81dc7
Fixed bug in Model::__save validation logic, closes #4554
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6824 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 01:03:11 +00:00
the_undefined
232e3f7ec1
Fix for Model::saveAll bug, closes #4466
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6823 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-13 00:39:29 +00:00
DarkAngelBGE
015d21bc6b
adding tests for security library
...
adding check for empty key to Security::cipher()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6820 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-12 19:50:00 +00:00
nate
81b57b7d5d
Pushing TextHelper code coverage to 100%
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6816 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-12 07:05:33 +00:00
nate
66e1efbcdb
Deprecating TextHelper::flay(), fixes #3052
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6815 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-12 06:46:58 +00:00
nate
b7a5a28fbb
Improving code coverage for PHP-native JSON generation in JavascriptHelper, fixing object output bug
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6814 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-12 06:04:56 +00:00
mariano.iglesias
219dca11a0
Fixing issue where 'safe' option was not being considered when calling JavascriptHelper::codeBlock and then blockEnd. Increasing test code coverage for JavascriptHelper.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6806 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 19:14:35 +00:00
nate
c0d86a76d3
Fixing MSSQL Driver
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6805 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 18:53:54 +00:00
phpnut
d7a171ecf2
"Removing multibyte support from the String class."
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6802 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 17:34:53 +00:00
nate
925e022e4f
Adding check for XDebug in CCM test, fixing database check in MySQL, adding test coverage for View, fixes #4619
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6797 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-11 15:48:45 +00:00
mariano.iglesias
751a1b7cf7
Reverting [6795] as it changes existing behavior
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6796 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 18:53:15 +00:00
joelmoss
df24fff1a2
Paginator Helper prev and next methods are now wrapped in span tags instead of div tags. Tests also modified to support this. Closes #3991
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6795 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 18:32:51 +00:00
mariano.iglesias
b32a196238
Adding more coverage for HtmlHelperTest and fixing issue where HtmlHelper::meta() was overriding the found type as specified in attribute
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6788 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-10 04:57:46 +00:00
the_undefined
9251801602
Fixed problem with Socket::reset
...
Fixed bad conflict resolution in HttpSocket
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6780 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-09 17:55:14 +00:00
gwoo
c6e1a59891
fixes #4610 , missing methods in ErrorHandler
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6779 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-09 16:35:43 +00:00
nate
a392e5e605
Refactoring tests and adding code coverage for HtmlHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6775 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 17:48:14 +00:00
gwoo
5584420ac6
updating link on home.ctp, closes #4595
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6774 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 15:33:54 +00:00
the_undefined
0a715f2afe
Refactored CakeTestCase::assertTags to tokenize the validation process and give useful debug information on demand
...
Refactored all FormHelper test cases to work for the new approach and make use of new features
Fixed a FormHelper::hour dateTime bug causing the hour 0 to be selected at 12pm
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6769 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 11:32:31 +00:00
the_undefined
8b42465eaf
Implemented String::insert
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6766 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 02:59:00 +00:00
DarkAngelBGE
85cd5adaf1
changing numeric check in TimeHelper::wasWithinLast to remove the use of a php extension
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6761 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 15:04:02 +00:00
gwoo
3263c0bc81
fixes #4571 Helper::clean() returns null if passed empty array or string.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6759 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 14:41:15 +00:00
DarkAngelBGE
0628b24760
fixing the time helper leap year problem,
...
adding tests to time helper to bring it close to 90% coverage
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6758 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 14:38:03 +00:00
DarkAngelBGE
c74b83ca7f
adding Socket::reset() and refactoring HttpSocket to use it,
...
adding tests for socket class to get it up to 90+% coverage
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6756 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 14:33:35 +00:00
DarkAngelBGE
e7609469d4
refactoring Validation::ip()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6755 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 14:21:05 +00:00
the_undefined
9154ef1953
Foreign character support for Inflector::slug, fixes #3492
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6753 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 13:39:49 +00:00
the_undefined
268bb42a02
Made HttpSocket::decodeChunkedBody a little more forgiving, fixes #4523
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6752 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 12:42:15 +00:00
nate
b9cfc9ecf3
Correcting handling of empty URLs with full base, fixes #4470
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6750 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-04 04:34:29 +00:00
nate
32ea41a90e
Correcting MSSQL limit/distinct handling, correcting date/time handling, fixes #4352 , fixes #1778
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6748 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-03 14:15:47 +00:00
mariano.iglesias
e0a9f03572
Fixed issue where $selected = true sent to FormHelper date method was generating multiple OPTION tags with SELECTED attribute
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6746 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 21:26:11 +00:00
mariano.iglesias
893c218be6
Fixing issue where FormHelper::dateTime was generating non valid XHTML
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6745 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 21:22:08 +00:00
nate
9bad5824cb
Enabling empty array URLs in Router::url()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6727 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 14:41:42 +00:00
nate
d341f531d3
Fixing recursion in Debugger variable dumps
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6719 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 11:10:55 +00:00
joelmoss
f9ea98e746
Changed Router tests to use static method calls to reflect actual usage in applications. Fixed the __resourceMapped call in Router::mapResources and added tests to prove it is assigned correctly. Fixes #4530
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6716 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-24 13:41:11 +00:00
nate
358a613243
Fixing conditions quoting in DboSource, closes #4508
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6714 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 15:24:57 +00:00
joelmoss
7f6e54ea3a
Validation now supports error messages on multi record forms. Added tests to support this. Closes #4499 . Thanks jose_zap
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6713 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 14:14:58 +00:00
joelmoss
a0af56f923
Removing inline comments
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6712 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 13:58:26 +00:00
joelmoss
8fa2d1cf9c
Added tests for TextHelper::truncate. Truncate now also fully respects HTML tags and characters if $considerHtml is passed and true. The third parameter of truncate can now also be an array consisting of any of the remaining params.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6711 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 13:23:12 +00:00
the_undefined
586bcb8f28
Fixed Set::merge warning when calling it from a static function
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6709 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-22 17:18:05 +00:00
the_undefined
5321ce98ec
Giving bool return value to DboSource::insertMulti
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6708 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-22 16:59:26 +00:00
nate
42083e0a1b
Refactoring insertMulti() for DboSource and drivers, updating Model test for non-transactional db's
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6707 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-21 12:31:28 +00:00
nate
648d01e2e6
Adding test cases for HtmlHelper::charset()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6705 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-20 12:02:58 +00:00
the_undefined
ee94d5662c
Added persist feature to routing, allows namedArgs to be auto-populated for reverse routing based on current request
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6704 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-19 20:57:23 +00:00
nate
296e8989ba
Adding GET/PUT/DELETE method checks to Security component, refactoring adding tests, closes #4231 . Thanks joelmoss.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6703 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-19 19:25:49 +00:00
mariano.iglesias
d412d7094f
Fixes #4467 , issue with 'atomic' on saveAll not properly rolling back transaction. Thanks amit for the test.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6702 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-19 17:33:17 +00:00
nate
16bfee9831
Correcting issue in Model::__save() to prevent overwriting of existing record data
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6700 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-19 13:30:11 +00:00
nate
ed51f78227
Adding Model::saveAll() atomic fix, closes #4400 , thanks joelmoss
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6697 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 13:14:40 +00:00
nate
0793138c6c
Fixing SELECT DISTINCT queries for SQL Server + misc schema fixes, closes #4352
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6693 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 06:27:58 +00:00
nate
fc92ea039a
Simplifying default Debugger output, fixes #4066
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6692 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 06:01:35 +00:00
nate
3e28323667
Fixing conditions quoting in DboSource::conditionKeysToString(), closes #4368
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6691 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 05:39:54 +00:00
nate
f6103830c3
Adding prepared statement support to Model::query(), closes #2069 (thanks Mark Story)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6687 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 00:30:32 +00:00
the_undefined
5c0b72db85
Added support for controlling namedArg behavior on routes level, fixes #4451
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6686 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 23:14:49 +00:00
mariano.iglesias
ab3b90503f
Fixing issue in Security component with modeless field names, fixes #4454 . Thanks vuego for the test and patch!
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6685 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 22:51:40 +00:00
mariano.iglesias
5f967487bb
Encoding subject without modifying original, fixes #4489
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6683 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 22:12:58 +00:00
mariano.iglesias
9af317b1b4
Adding documentation to show result of Set::reverse() with non-objects. Fixing commented out test for Set class and adding more tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6682 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 22:01:59 +00:00
the_undefined
db96a250d1
Fixed :first / :last selector issues in Set::matches
...
Refactored condition filtering to respect context altering conditions in Set::extract
Fixed some bad test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6679 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 15:48:55 +00:00
nate
8f3a2c6022
Refactoring model constructor
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6678 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 13:10:27 +00:00
mariano.iglesias
d64e94e264
Fixing issue where AjaxHelper::link() would produce non-XHTML compliant links
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6677 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 22:17:11 +00:00
the_undefined
00b531913a
Replace wrong comment
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6674 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:24:59 +00:00
the_undefined
e516a8ba08
Added doc block comments for new Set::extract features
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6673 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:23:02 +00:00
the_undefined
87d77f046b
Added :first and :last selector to Set::extract
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6670 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:15:50 +00:00
the_undefined
c154636723
Added all-attribute selector support to Set::extract
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6669 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 19:48:55 +00:00
the_undefined
fc8611b003
Added support for regex modifiers
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6668 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 19:40:01 +00:00
the_undefined
5fe0038a74
Added regex match support to Set::extract
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6667 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 19:36:19 +00:00
the_undefined
f6c30745fe
Fixes #4485
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6666 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 19:12:31 +00:00
phpnut
66241b4a0d
"Correcting error \"non well formed numeric value encountered\" for modified time stamp"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6664 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-15 16:46:46 +00:00
the_undefined
ed105de578
Added one more example to the Set::extract docblock
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6661 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-14 11:18:08 +00:00
the_undefined
4679dc9a12
Added support for dot char (selecting the current context node)
...
Fixed some more issues and added more tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6660 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-14 11:08:45 +00:00
the_undefined
9f040bd395
Modified Set::extract to be available from combine and other functions as well
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6659 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-13 18:46:27 +00:00
the_undefined
de4807e726
Fixed PHP warning showing up on some extract queries
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6658 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-13 13:32:58 +00:00
the_undefined
1fdd44f6b2
Added support for conditions on multi-nested numerically indexed items
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6657 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-13 13:27:12 +00:00
the_undefined
593c4d7245
Fixed issues with Set::extract and multiple numerically indexed nestings
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6656 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-13 13:05:52 +00:00
gwoo
c38c6a21ba
updating TranslateBehavior to handle one set of content per model, not per alias. fixes #4461
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6655 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-13 04:18:10 +00:00
nate
dc5742d28f
Correcting query order in DB_ACL::check(), fixes #4309
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6654 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-11 05:48:39 +00:00
nate
c7677c2a5e
Fixing incorrect selection of parent nodes in ACL, fixes #4324
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6653 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-11 04:59:52 +00:00
nate
017c07c7bf
Fixing case of Xml class references
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6652 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-10 19:43:06 +00:00
nate
a89beea029
Correcting issue with permissions being incorrectly overwritten in ACL, fixes #4190
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6651 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-10 13:19:10 +00:00
nate
7e68ab152c
Correcting timestamp issues in JavascriptHelper::link(), fixes #4441
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6650 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 19:08:04 +00:00
the_undefined
f51f051bc2
Fixed small Router bug in previous commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6649 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 19:07:02 +00:00
the_undefined
4b19d4c38d
Added support for final characters in multi param route elements
...
Fixed issue with reverse routing and falsely escaped route regex
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6647 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 18:26:20 +00:00
phpnut
8a5505bdcc
"Fixes #4436 , App::import() loads wrong file"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6643 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 05:04:09 +00:00
phpnut
89c8467e89
"Fixes #4408 , Options for a Behavior are not being reset for associated models using the same behavior"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6642 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 04:10:27 +00:00
phpnut
85f2946c36
"Fixes #4349 , Correct usage of \"AND\" and \"and\" for conditions"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6641 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 02:24:09 +00:00
phpnut
1250c6e0cc
"Adding patches and test from #4447 .
...
Closes #4447 , Multiselects' hidden input should not have an id attribute.
Thanks sarimarton"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6640 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 01:39:10 +00:00
phpnut
d0d001d6dd
"Added patches from #4413 , closes #4413 . Thanks maular."
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6638 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 01:34:25 +00:00
phpnut
de67e299a9
"Adding fix for bug introduced in [6407] that does not load the core ErrorHandler class"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6637 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-08 01:43:36 +00:00
mariano.iglesias
0427272236
Fixing failing test case introduced in [6635]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6636 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-05 17:49:10 +00:00
phpnut
a138ae3d63
"Fixing use of array('minuteInterval' => #);
...
Proper usage is array('interval' => #); but for backwards compatibility this fix has been added"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6633 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-04 12:48:13 +00:00
phpnut
1d9a096376
"Fixes #4427 , Current protected attribute Email::_newLine renders Email Component unusable for SMTP.
...
Original change to EmailComponent:_newLine reverted, related bug has been fixed elsewhere in the code."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6632 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-04 11:46:09 +00:00
phpnut
5692ed149b
"Updating doc comments for Model::create()"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6630 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-03 15:22:18 +00:00
phpnut
d14b50fc92
"References #4394 , additional fixes to multi record forms.
...
Added additional test cases"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6629 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-03 06:48:56 +00:00
phpnut
5d59938121
"Correcting code block"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6628 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-03 02:33:41 +00:00
phpnut
f2941a660e
"References #4239 Added test from ticket to showing ticket is invalid.
...
Fixes #4394 , fails when the hasMany multi-record form contains hidden fields.
"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6627 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-03 02:29:17 +00:00
phpnut
06d06c85d9
"Fixes #4339 , Providing null for variable with underscores leads to camelcased variable in view"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6626 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 20:14:06 +00:00
phpnut
118c35f0d0
"Closes #4402 , Model->create returns unexpected data type - sometimes.
...
Change to return Model::data; instead of true when empty"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6625 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 19:46:15 +00:00
phpnut
2db0f954c1
"Fixes #4414 , Folder::!__tree() causing warnings when apache user has no read access to a folder"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6624 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 19:35:14 +00:00
phpnut
358c529e7a
"Fixes #4416 , Email component uses invalid \"Content-Type\" for attachments.
...
Added fclose();
Removed unused code"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6623 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 18:57:29 +00:00
phpnut
c9a6fa7f9f
"Fixes #4420 , i18n does not parse .mo files on 64bit Mac"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6622 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 18:36:19 +00:00
phpnut
af2228216f
"Closes #4419 , Confusing locale for 'hr' language.
...
Changed values to the ISO 639-3 identifier, previous value was ISO 639-2/B"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6619 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 15:18:15 +00:00
phpnut
c5f06674fa
"Fixes #4394 , SecurityComponent::!__validatePost fails on hasMany multi-record form.
...
"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6618 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 06:08:55 +00:00
nate
80340da3c5
Removing parameter merging in pagination links, fixes #4312
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6616 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-01 03:44:16 +00:00
phpnut
c849dd773a
"Fixing inflection of people uninflected plural.
...
Renamed PersonFixture.
Fixed ModelTest::testHabtmFinderQuery() test when prefix is used."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6612 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-30 04:35:05 +00:00
phpnut
2e2176e35b
"Closes #3554 , No support for Armenian language in cake/libs/l10n.php
...
Closes #3569 , Add support for Bosnian language in cake/libs/l10n.php"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6609 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 20:13:25 +00:00
phpnut
2c5ac9cfb9
"Fixes #4232 , Problem with stripslashes in cached files.
...
Added tmp directory to tests/tests_app
Added file to mimic windows cached file
Added test case"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6607 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 15:34:56 +00:00
phpnut
0ef028bc1f
"Fixing self associated joins.
...
Added additional test cases and correct one bad test case.
Fixes #4364 , !__mergeAssociation() in dbo_source fails to merge belongsTo properly"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6606 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 11:17:24 +00:00
phpnut
e65f44bed2
"Fixes #4001 , 'money' validation uses invalid regular expression syntax"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6605 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 06:44:40 +00:00
phpnut
1db7d00793
"Fixing bug in MediaView"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6604 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 06:07:59 +00:00
phpnut
657c28403a
"Fixes #4377 , Folder class bug for non-existent path"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6602 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 04:05:05 +00:00
phpnut
fa787aa82b
"Closes #4304 , EmailComponent::!__getSmtpResponse not handling multiline messages"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6601 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 03:49:30 +00:00
phpnut
92c466c0dc
"Fixes #4336 , Setting a Configure key to null causes php warning."
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6598 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-22 21:55:44 +00:00
nate
c4a4e9da39
Fixing handling of atomic transaction support with hasMany in Model::saveAll(), fixes #4372
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6596 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-22 21:23:06 +00:00
nate
819cd1d667
Re-removing the Auth vulnerability re-introduced in [6593]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6595 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-20 19:18:52 +00:00
nate
d60191a1f6
Fixing vulnerability in field quoting in DboSource
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6594 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-20 16:40:45 +00:00
phpnut
47eb421091
"Adding fix to Auth::identity(); for errors thrown on invalid input.
...
Added tests for invalid input.
Debug is turned off in this area of code because of the CakePHP errors handling, messages could cause long delays and exception noticed when debug > 0."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6593 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-20 07:17:37 +00:00
nate
0ca3915668
Forcing array in Model::invalidFields(), fixes #4362
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6592 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-19 01:34:23 +00:00
nate
c286a7293f
Adding test cases for TreeBehavior scoping
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6591 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-19 00:54:32 +00:00
the_undefined
26489efe19
Changed XPath behavior for mixed numeric and string keys
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6590 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-18 15:30:00 +00:00
phpnut
f6652d1b73
"Removing checks in Component::init(); to check for Security component.
...
Changed AuthComponent::startup() so that the password key $this->data is set to null when login fails instead of being unset."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6589 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-17 02:31:55 +00:00
phpnut
ecfd70052d
"Fixes #4353 , SecurityComponent's requireLogin not working if URL spelled different than defined action name
...
Was not able to reproduce this on local system running php 5, more then likely this is a php 4 issue and not php 5 like ticket suggests.
"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6588 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-17 02:28:04 +00:00
the_undefined
2dc63c7bc7
Additional safety catch for the new extract function
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6587 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 23:09:21 +00:00
the_undefined
0aebf2b50a
Fix for #4354
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6586 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 22:58:36 +00:00
phpnut
1b4c445cad
"Fixes #4256 , tablePrefix + HABTM with defaults == wrong joinTable"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6585 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 07:18:42 +00:00
phpnut
a6fbe05964
"Initial refactoring of BehaviorCollection.
...
Fixed vendor path being the first searched directory for files, this caused unexpected results.
Fixed failing DboSource tests"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6583 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 05:44:20 +00:00
nate
07d2b0d2d3
Fixing AjaxHelper::sortable() options and filtering Ajax callbacks from link options in AjaxHelper::link(), fixes #4279 , fixes #4274
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6576 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 22:48:46 +00:00
nate
38c7dab9f5
Fixing RequestHandlerComponent::prefers() when using extensions, fixes #4056
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6575 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:48:56 +00:00
nate
29fa485140
Adding extra fixes, tests for Set::_ _flatten, fixes #4297
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6573 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:30:30 +00:00
phpnut
fa61b3fbda
"Resetting numeric keys for paths"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6572 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:16:18 +00:00
nate
a9378fb681
Adding performance optimizations to dispatch cycle
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6570 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:04:36 +00:00
the_undefined
49a092f1d0
Removed code that was not needed any longer from Set::extract
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6569 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-14 18:30:34 +00:00
the_undefined
32d9de160d
Added/Fixed doc blocks for Set::extract
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6568 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-14 01:19:56 +00:00
the_undefined
3daf495488
Added initial XPath support for Set::extract
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6567 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-14 01:05:56 +00:00
nate
360b91eea7
Fixing HABTM associations on non-standard keys, fixes #4219 , refactoring DboSource::calculate()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6565 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-13 03:11:29 +00:00
nate
3ff5bfa829
Fixing default value for float columns in Postgres, fixes #3963
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6564 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-13 03:06:14 +00:00
phpnut
acc79fe0f3
"Closes #2508 , Allow requestAction to use array urls
...
Fixes #4325 , error pages no longer displayed since changeset
Closes #4329 , remove am() usage in core"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6563 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-12 21:19:31 +00:00
nate
698d3e4f40
Removing default value for required parameter in HtmlHelper::meta(), fixes #4321
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6562 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-12 04:10:39 +00:00
nate
6fe1e62555
Implementing JavascriptHelper::$inBlock, docblocking JavascriptHelper properties, adding fix for AjaxHelper::sortable() 'overlap' option, fixes #4292
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6561 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-12 03:57:54 +00:00
phpnut
12acf6ab9f
"Adding vendors path to corePaths to be used when cake core is placed outside of normal install paths"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6560 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-11 23:53:37 +00:00
the_undefined
7a769f68ca
Restricted named route element to contain no special chars other then '_'
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6559 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-11 15:19:46 +00:00
nate
2c3ec768c7
Updating model tests for Postgres, fixing Postgres metadata handling for UUID primary keys, adding Postgres tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6558 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-11 05:22:17 +00:00
nate
c1c35b2e13
Refactoring DboSource - removes all SQL from Model, refactoring transaction handling
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6557 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-11 02:44:33 +00:00
phpnut
9ae17c25e5
"Closes #4305 , fixed to allow cake core outside of normal install locations"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6555 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 16:46:33 +00:00
phpnut
57918f4199
"Fixing Controller::output; to allow access to the content in Contorller::afterFilter();"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6554 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 13:24:36 +00:00
phpnut
a2db4e69b3
"Fixes #4305 , Configure::corePaths() causes PHP safe_mode errors"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6553 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 11:01:37 +00:00
gwoo
57a61f8f82
fixes #4165 , string conditions with translate behavior
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6552 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 07:01:01 +00:00
nate
bacb74a6ef
Adding fix for Set::reverse() XML handling, fixes #4275 , plus fixes from previous commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6551 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 06:05:31 +00:00
nate
1ddeb7fbfe
Fixing File class loading for FileEngine when called from console
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6550 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 04:22:04 +00:00
nate
35397debc8
Enabling Cache::write() to handle 'empty' values, fixes #4090
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6549 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 04:11:20 +00:00
phpnut
5374807164
"Fixes #3846 , Security blackhole when no radio selected
...
Fixes #3920 , Multiple select w/ checkboxes issues warning when all are unselected
Fixes #3962 , validation POST never pass when select multiple is submit
"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6546 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 00:25:59 +00:00
nate
8fc104b44b
Correcting column quoting for custom-aliased fields, fixes #4228
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6543 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 22:15:08 +00:00
gwoo
be09e5a90d
closes #3915 , Folder delete does not require path
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6542 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 22:14:12 +00:00
nate
98831d27fe
Enabling mutli-record validation errors in FormHelper, fixes #4076
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6540 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 18:28:38 +00:00
gwoo
dd10cb191f
fixes #3788 , paginator numbers first and last issues
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6538 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 16:42:04 +00:00
nate
db1e079e5f
Enabled specifying of join type in hasOne/belongsTo associations, fixes #4085
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6537 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 08:47:42 +00:00
nate
9e37b6fc26
Adding test cases for saving hasMany associations with saveAll(), ref #4035
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6536 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 07:59:23 +00:00
nate
9a6029f03e
Fixing fully-qualified form field references, fixes #4068
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6535 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 07:36:34 +00:00
nate
ab7bf5a46c
Fixing call-time pass-by-ref errors in Behavior
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6533 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 07:00:05 +00:00
nate
e87d4e80dd
Refactoring behavior method dispatch handling to work on PHP4, fixes #4296 , refactoring schema test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6532 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-09 06:24:40 +00:00
phpnut
da19393614
"Fixes #4285 , Importing a vendor in bootstrap.php fails to work.
...
If you want to use custom paths that are set in app/bootstrap.php you must first use the following code to set these paths before calling App::import() but after the $*Paths variables;
* Configure::buildPaths(compact('modelPaths', 'viewPaths', 'controllerPaths', 'helperPaths', 'componentPaths', 'behaviorPaths', 'pluginPaths', 'vendorPaths'));
* You would only use the *Paths in the above code that you have set."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6525 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 22:50:30 +00:00
nate
ae57eecc19
Adding test and patch for bug in Set::_ _flatten(), fixes #4297
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6523 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 20:33:22 +00:00
phpnut
63144591c6
"Fixes #3820 , Email Component only sends message if using template and layout.
...
Fixes #4019 , email component: attaching file is broke, fixes undefined variable, allows full paths to attachment.
Fixes #4171 , Email Component: Lost a head line 'period' via SMTP method.
"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6522 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 20:26:16 +00:00
nate
58e6da6a5b
Adding test case for custom 'finderQuery' for HABTM associations. Disproves #4100
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6521 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 20:08:15 +00:00
nate
c096e20350
Fixing XmlHelper::elem() when rendering non-empty content values, fixes #4300
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6520 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 18:39:00 +00:00
gwoo
c1ea4dff88
fixes #3969 , schema name for app dirs with special characters
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6518 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 16:30:44 +00:00
nate
24ea731e7f
Making parsed parameters always show up at the beginning of 'pass', closes #4299
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6517 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 16:14:51 +00:00
phpnut
d801e5c897
"Fixing typo in [6514]"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6515 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 05:58:14 +00:00
phpnut
0740ac519b
"Fixes #3234 , Session.cookie_path in php ini gets a buggy value when not using mod_rewrite."
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6514 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 05:44:04 +00:00
nate
1a69866df1
Fixing custom hasMany associations, fixes #3918
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6512 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-07 04:36:20 +00:00
nate
0ee0324e20
Improving validation support in Model::saveAll(), adding tests for cross-database joins, disproves #4251
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6511 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-07 01:29:19 +00:00
the_undefined
885b41808f
Fixed return value for Controller::setAction
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6508 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-04 23:44:50 +00:00
nate
12466ebe43
Making sure default extension is always set when Router::parseExtensions() is used
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6507 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-03 23:56:18 +00:00
nate
017afa637d
Fixing View::render() for custom views on Windows, fixes #4265
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6506 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-03 23:30:52 +00:00
phishy
18b30e11b4
fixed bug in quoting of acl schema identifiers
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6505 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-03 18:34:15 +00:00
gwoo
afedfae4bf
fixes #4260 , removed php5 syntax in xml
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6504 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-03 16:55:36 +00:00
the_undefined
5c6b6b9cf6
Removed illegal function names from Router::__named
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6503 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-03 16:01:46 +00:00
the_undefined
6ca8de212e
Optimized Router for speed
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6502 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-02 22:47:59 +00:00
nate
9fbf783286
Adding database prefix check in Model::setDataSource()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6501 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 20:30:01 +00:00
nate
5ce4469867
Adding fix for parenting issues in Tree behavior, fixes #4043 , fixes #4037
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6500 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 20:26:42 +00:00
the_undefined
0b4e8e63ac
Added support for multiple route parameters per path element
...
Fixed bug with pass param order
Added / updated router tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6498 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 15:57:25 +00:00
nate
6546a39098
Updating Model::setDataSource(), table prefixes now switch when switching DataSource, unless a custom table prefix is set, fixes #4062
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6496 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 05:15:53 +00:00
nate
e58c397bc9
Adding fix for loading join models classes from plugins, fixes #4014
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6493 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 03:25:46 +00:00
nate
ab50975306
Correcting UPDATE query generation to support SQL standards and MySQL-specific features in parallel, fixes #4080
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6491 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-01 03:12:12 +00:00
gwoo
1fbc3e6a9b
quick fix for with and saveMulti
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6490 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-29 22:01:09 +00:00
the_undefined
394322f35d
Added pass feature to Router::connect
...
Implemented it for Router::mapResources
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6489 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-29 20:22:57 +00:00
nate
b5d0baf98b
Fixing TimeHelper::timeAgoInWords()/relativeTime(), fixes #4241
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6485 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 05:06:37 +00:00
nate
c8ed9424da
Fixing errors thrown in Model::exists() when $useTable is false
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6484 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 04:35:20 +00:00
nate
97dded350f
Returning default column type for models with no schema defined
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6482 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 01:53:54 +00:00
nate
3a11fe2340
Refactoring find types in Model::find()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6481 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-28 01:50:38 +00:00
gwoo
d3e2d51cbc
updating error handling, error.test, view.test, theme.test, change socket.test to use App::import()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6479 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-27 21:22:40 +00:00
nate
048626c547
Fixing placement of charset tag in layout templates, fixes #4200
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6474 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 03:47:41 +00:00
nate
bd2ac9a1c1
Fixing Auth component so login still works when you allow('*'), fixes #4159
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6473 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 03:20:43 +00:00
nate
c1251c8265
Adding DboSource fix for SELECT DISTINCT, fixes #4101
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6472 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 03:15:37 +00:00
nate
3140144a1f
Adding behavior test case and fixing validation behavior methods, fixes #4205
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6471 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-24 02:47:10 +00:00
nate
0572926d49
Refactoring model behavior handling
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6469 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-21 15:36:13 +00:00
phishy
5c9c5dbb47
removed duplicate baseConfig
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6468 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-20 20:02:18 +00:00
gwoo
9d5435266e
reverting httpsocket change from [6439]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6466 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-19 03:59:27 +00:00
gwoo
fb4244bb89
updating Helper::setEntity() and form.test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6464 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-18 21:58:32 +00:00
john
18dc1fd456
Undefined var in parse() method causing problems. Original author most likely meant $attr.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6463 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-15 20:47:44 +00:00
gwoo
e9c15fe33e
updating ErrorHandler with test, fixes #4102
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6462 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-15 16:49:17 +00:00
nate
0073683a54
Added Configure option Asset.timestamp = 'force', to force asset timestamps in production mode, fixes #921
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6461 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-14 17:35:13 +00:00
nate
d301d7a566
Adding Flash client detection to RequestHandler
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6460 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-14 05:32:46 +00:00
nate
766703f15f
Fixing default route mappings, refactoring route generation, fixes #4109
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6456 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-12 14:11:33 +00:00
nate
e0fb76d757
Fixing undefined index error in Router::getParams() when rendering error pages in the test suite
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6455 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 06:53:59 +00:00
nate
f3355bd74b
Removing all references to deprecated 'webservices' and 'bare' routes and route parameters, removing deprecated constants, updating core tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6453 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 06:18:41 +00:00
nate
50236e3431
Adding Object::dispatchMethod() as faster (OO) replacement for call_user_func_array
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6452 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 06:02:40 +00:00
nate
96d2b4b738
Adding ACL component test coverage and whitespace fixes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6451 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 02:27:16 +00:00
nate
14523dc8c4
Fixing XML class references
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6450 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 02:24:10 +00:00
nate
7f673226d7
Enabling suffixes for virtual fields, fixes #3724
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6449 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 02:20:43 +00:00
nate
7248048d85
Adding default configuration to Oracle driver
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6448 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 01:13:13 +00:00
phishy
cd8da1bd18
removed conect config parameter in favor of auto-persistant connection
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6446 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-07 15:46:05 +00:00
nate
3e36695b1f
Adding RequestHandlerComponent::beforeRedirect() callback to handle Ajax redirects, delaying initialization of content-types, fixes #2680
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6445 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-07 00:03:59 +00:00
nate
ab1a245086
Adding option to remove application base path to Router::url()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6444 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 20:47:48 +00:00
nate
e1e9a6fe28
Updating docblock for JavascriptHelper::link(), fixes #4079
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6443 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 17:34:55 +00:00
nate
5770e95fc9
Adding fixes and tests for Set::check(), closes #4077
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6441 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 15:48:31 +00:00
gwoo
0a52e958b9
adding patch for component initialize, fixes #4000
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6440 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 07:47:42 +00:00
gwoo
6abbb882f5
updating view error handling, fixes #4069 and fixes #4073 , added long dash to escaped chr in http socket
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6439 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 07:30:49 +00:00
nate
89052b0f54
Adding performance enhancement to Set::numeric(), adding $filterKey param to Model::create() to overwrite primary keys, closes #4046
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6438 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 02:35:12 +00:00
nate
1db0c07852
Fixing issues in Set::check() with implicit array-to-string casting
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6436 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-05 23:08:21 +00:00
nate
afebe2d418
Fixing XML text node conversion support in Set class
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6430 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-03 04:53:52 +00:00
phpnut
df805f0a66
"Closes #3940 , adding inserting/updating of multiple translations at once.
...
Additional tests added for TranslateBehavior"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6428 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-02 21:14:13 +00:00
nate
acfc38e57d
Fixing XML support in Model and Set classes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6427 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-02 20:45:37 +00:00
nate
71bd08b950
Refactoring Auth / Security::hash()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6426 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-02 04:51:49 +00:00
nate
881cf3fc0a
Adding foreign key check to Model::updateCounterCache(), fixes #4049
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6425 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-02 04:50:44 +00:00
gwoo
6e537beb73
fix typo in xml
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6424 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-01 09:32:01 +00:00
nate
5fcf4c7bb3
Clean-up from XML commit
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6423 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-01 05:00:44 +00:00
nate
172d355e05
Adding namespace support to XML class, as well as XML generation options, entity conversion, whitespace output support, node filtering, I could go on. Props to Mike O'Toole. Fixes #3476
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6422 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-01 04:53:09 +00:00
nate
7d39cad13f
Updating docblocks
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6421 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-01 02:03:04 +00:00
nate
18c2d9d446
Adding ModelBehavior::cleanup() callback for when behaviors are dynamically detached from models
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6420 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-01 00:56:22 +00:00
nate
41cb80ee46
Removing deprecated function call from HtmlHelper::checkbox()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6419 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-30 15:19:53 +00:00
gwoo
5138bcda38
updating form helper field map, if var $map is defined it will use that, closes #3976
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6418 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-29 16:52:15 +00:00
phishy
97cae1c208
added support for introspecting oracle schema
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6417 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-29 14:25:48 +00:00
phishy
9ddbd992e9
chunked query generation for more than 1000 IN arguments
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6416 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-29 02:38:54 +00:00
nate
423a56c958
Adding Model::attach() and Model::detach() for dynamic loading/unloading of behaviors + tests, fixes #4010
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6415 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-28 18:56:22 +00:00
gwoo
f00834f81a
fixes #3608 vendorPaths in configure,
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6414 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-28 17:17:11 +00:00
nate
377643cf2b
Adding deprecation warning to Controller::cleanUpFields()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6413 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-28 01:14:05 +00:00
nate
4e56b06f66
Adding Set::sort(), for sorting model results by association keys, tests included
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6412 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-27 20:22:45 +00:00
nate
39940856b8
Removing undefined variable notice for empty arrays in Sanitize::paranoid()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6411 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-27 03:31:33 +00:00
nate
b9d3c4e2e8
Updating Model::saveAll(), adding tests. Fixes #3871
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6410 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-27 01:57:39 +00:00
nate
d9691a19c8
Refactoring Router::mapResources(), adding tests for REST routing and HTTP method overrides
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6409 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-26 08:50:06 +00:00
gwoo
f598b58465
updating console so shells and tasks do not have to extend Shell, updated error handler params and maintained backwards compatibility closes #3538 , updated Object::cakeError to add app_error, closes #3982
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6407 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-24 20:32:10 +00:00
gwoo
cb27bcc21a
fixes #3961 options in Html::tableCells,
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6406 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-24 16:37:47 +00:00
nate
074cfeb75d
Fixing Configure::listObjects() to not return incorrect core classes, closes #3954 . Adding route testing support to cake console.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6404 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-23 04:14:58 +00:00
the_undefined
38c705a06b
Fixed some issue with initializing the HttpSocket in a certain way
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6403 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-22 23:17:55 +00:00
gwoo
e127d8f86f
updating ajax and form closes #3582 , tests added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6401 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-22 07:47:56 +00:00
nate
7e3a30fd85
Correcting database input value for midnight on 12-hour display, fixes #3927
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6399 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-21 12:53:37 +00:00
nate
943eaf7549
Refactoring DboSource::fields(), updating column type handling in DboSqlite, fixes #3944 , using unquoted names to get column type in update queries, fixes #3917
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6398 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-21 02:21:28 +00:00
gwoo
a98c80d44b
updating form helper which really fixes #3869 , required css class, test added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6397 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-21 00:39:44 +00:00
gwoo
70ebd40cdd
fix for empty var in debugger
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6396 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-20 22:25:20 +00:00
gwoo
39eb8a9218
updating encoding in HtmlHelper::charset((), fixes #3937
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6395 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-20 03:57:19 +00:00
gwoo
d901e0af31
fixed bake interactive models for self associations and error in Set:extract when data is not an array
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6394 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-20 03:42:01 +00:00
gwoo
411bf98d40
updating form handling of required validation, fixes #3869
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6391 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-19 21:52:13 +00:00
gwoo
1c3d18db23
updating form.php, fixes #3942 "FormHelper::create() ignores non-standard primary key"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6389 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-19 21:16:34 +00:00
phpnut
5b29c6a71f
"Fixing -f param in schema, this fixes generation of scheme.php when model have not been created"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6388 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-19 20:36:50 +00:00
nate
4c6bbaffff
More Postgres abstraction/emulation fixes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6387 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-17 17:09:10 +00:00
phpnut
7098c5558c
"Fixes #3887 , Controller::modelClass incorrect when using AppController::uses"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6384 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-16 18:09:25 +00:00
phpnut
5b3cbf2ea0
"Refactoring TreeBehavior::recover();
...
Added TreeBehavior::reorder(); to reorder nodes of tree"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6383 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-16 16:51:18 +00:00
phpnut
520d179850
"Fixes #3876 , Associations do not work correctly in plugins"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6382 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-16 07:34:42 +00:00
nate
1e4549679a
Refactored JavascriptHelper::object(), improved JSON spec compliance, added sport for native json extension, improved tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6379 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-15 05:21:07 +00:00
nate
14122fd1e6
Refactoring TimeHelper, adding tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6378 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-15 04:29:55 +00:00
gwoo
818fba4005
updating memcache to make sure server is active
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6377 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 16:06:19 +00:00
phpnut
654669d48f
"Refactoring Component tests.
...
Removed Component::!__construct();"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6374 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 04:06:01 +00:00
phpnut
11afd24c19
"Adding fix when a component loads a component that is also in the components array list.
...
{{{
var $components = array('Auth', 'RequestHandler');
}}}
Controller::RequestHandler; would not be available.
Added additional tests
Fixed loading of libs/xml.php "
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6372 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 03:53:01 +00:00
gwoo
d564eda38d
updating component and tests for Session
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6371 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-13 00:53:45 +00:00
gwoo
5649f17f7b
updating PaginatorHelper::numbers(), fixes #3788
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6369 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-12 17:59:37 +00:00
gwoo
e989625316
update loading of components, fixes #3899 , tests added
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6368 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-12 17:35:12 +00:00
gwoo
ce1b042843
updating schema, fixes #3816 and fixes #3896
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6367 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-12 17:06:28 +00:00
phishy
a9cd0f997d
fixed instances where invalid UPDATE and DELETE statements were being generated
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6366 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 22:40:44 +00:00
gwoo
34bbeb0d39
fixing cache engine prefix
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6365 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 18:35:45 +00:00
nate
7b2627caa2
Fixing typo in DboSource::renderStatement()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6364 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 17:07:26 +00:00
nate
ff5e6c9002
Fixing Postgres sequence name generation for names not in the sequence map, fixes #3886
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6363 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 15:49:07 +00:00
nate
c8974be887
Refactoring fixture handling and Model tests, fixing UPDATE and DELETE queries for other databases, fixes #3794 . Only forcing 'test_suite' prefix on default database connection, fixes #3873
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6361 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 06:45:00 +00:00
nate
5e4a641003
Updating model test case and adding custom field support to Model::find('list'), closes #3802 (thanks GreyCells)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6360 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-11 03:16:19 +00:00
gwoo
edcdcf3235
updating form helper labels for multiple records, fixes #3880 , updating custom acl component loading, #3875
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6358 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 23:13:53 +00:00
nate
aa7ca4e703
Updating docblocks of deprecated methods, closes #3819 , closes #3878
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6357 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 19:50:33 +00:00
gwoo
aeaeb97a49
updating helpers for multiple records, fixes #3874
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6356 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 18:50:31 +00:00
nate
cbd715618b
Removing MySQL-specific schema code from core, improving support for PostgreSQL sequences, most tests passing
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6355 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 08:44:38 +00:00
nate
188ff4737d
Removing database-generated primary keys from fixture data, fixed primary key handling in schema generation
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6354 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 07:02:33 +00:00
nate
db621672d3
Enabling alternate titles for PaginatorHelper::sort() links based on sort direction, closes #3865
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6353 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-10 01:12:26 +00:00
nate
3eb04c36db
Fixing database drivers for UPDATE/DELETE changes, updating drivers to comply with model tests, most passing. Fixes #3794 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6350 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 13:32:45 +00:00
gwoo
01418cdb00
updating View error handling for extensions, fixes #3795
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6348 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 13:21:21 +00:00
phpnut
e7c4233963
"Fixing bug with scaffold and valid Session id check"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6346 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 04:51:12 +00:00
phpnut
68487baf47
"Fixes #3854 , Scaffolding is generating an id field with an empty value for auto_increment primary key"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6345 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 04:50:08 +00:00
phpnut
04934fdb2f
Reverting [6249] and [6250] this commit broke the working implementation.
...
Closes #3810
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6344 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 01:06:45 +00:00
phpnut
c8172ed96a
"Fixes #3851 , Acl component fails to check() if a permission is denied in action (*)"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6342 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-09 00:39:00 +00:00
phpnut
43eab108c7
"Fixes #3811 , $_SESSION not found
...
Fixes #3823 , Session not restarted after instantiating new SessionComponent
Fixes #3850 , Configuration Session.start and SessionComponent::!__active aren't handle correctly"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6341 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 15:46:02 +00:00
nate
acd9cd5b8a
Fixing return value in Model::saveAll(), fixes #3852
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6337 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 10:21:25 +00:00
nate
b7abaf019c
Adding non-null association key fix in Model, and updating Model::isUnique() to account for current record, fixes #3859 , closes #2032
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6336 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 06:29:51 +00:00
gwoo
2c4a8f4131
updating component, removing use of Router not needed anymore, fixes #3858
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6335 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 03:59:01 +00:00
gwoo
d45d7a8faf
updating HttpSocket with auth, closes #3838
...
removing type casting, fixes #3827
adding socket.group to tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6334 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 03:50:19 +00:00
phpnut
348df0fca2
"Fixes #3849 , Deprecated loadView() call in email component when using theme"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6333 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-08 02:48:07 +00:00
nate
9650c1a73f
Fixing reading and writing in Configure class for references 3 levels deep, fixes #3845
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6329 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-06 11:34:56 +00:00
phpnut
06175843a1
"Removing unneeded :"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6328 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-06 01:50:43 +00:00
phpnut
028c5ab75d
"Fixes svn file property line"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6326 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-06 01:45:01 +00:00