mark_story
3cf4dd8b6c
Reversing the order fixtures are truncated in order to remove
...
data in a way that better supports foreign keys.
Fixes #1837
2011-07-19 20:25:30 -04:00
mark_story
ff5ac73988
Removing redundant/always true conditions in Controller::__mergeVars.
...
Fixes #1830
2011-07-16 22:44:57 -04:00
José Lorenzo Rodríguez
7d1c99a2b0
Fixed typo
2011-07-13 13:12:44 -07:00
Juan Basso
028065e5db
Closing forgotten tag.
2011-07-11 09:45:22 -04:00
ADmad
9f4ad94181
Fixing singularization of "curves"
2011-07-07 22:54:24 +05:30
mark_story
ee1634819a
Fixing issues with ApcEngine and duration = 0 (forever)
...
values. Fixes #1795
2011-07-01 20:26:20 -04:00
keisimone
24700961df
renamed chmod to mode in the comments for function copy.
2011-06-25 12:57:51 -07:00
Mark Story
3189872ea9
Adding early return when connection to MySQL or MySQLi fails.
...
Fixes #1732
2011-06-25 12:00:05 -04:00
Maury M. Marques
41d285234f
Unnecessary str_replace
...
Signed-off-by: Mark Story <mark@mark-story.com>
2011-06-25 11:26:03 -04:00
ADmad
a0c08cdba8
Synchronizing home.ctp file in skel directory with the one in default app, closes #1777
2011-06-25 18:33:08 +05:30
AD7six
cdd8b615a1
Merge branch '1.3' of github.com:cakephp/cakephp into 1.3
2011-06-24 10:13:11 +02:00
AD7six
e4fee14a5b
Hide db credentials
...
To protect users who have publically accessible installs with debug
turned on - *** out db login credentials
2011-06-24 10:12:08 +02:00
Mark Story
13bcaaf2eb
Fixing doubly encoded action attributes in FormHelper.
...
Fixes #1748
2011-06-23 14:32:10 -07:00
Mark Story
f3f0363df3
Adding a test for double escaped form urls.
...
Refs #1748
2011-06-23 14:29:23 -07:00
Maury M. Marques
de893b14ab
Unnecessary line
2011-06-23 09:54:29 -07:00
Thomas Ploch
5ffab8cde9
Added App::import('Model', 'ConnectionManager') to cake/libs/sanitize.php to prevent missing class errors.
2011-06-21 12:05:42 +02:00
Jose Lorenzo Rodriguez
52a5c76138
Synchronizing default css file in skel directory, closes #1777
2011-06-17 11:35:16 -04:30
Graham Weldon
c5dee7d541
Merge remote-tracking branch 'origin/master' into 1.3
2011-06-06 23:04:03 +08:00
ADmad
00f29f312a
Updating docblock for Sanitize::stripScripts()
2011-06-03 00:49:57 +05:30
Graham Weldon
b22fdeae77
Add doc block for CakeSchema::_noPrefixTable
2011-06-01 11:29:27 +08:00
Graham Weldon
169b0a5c3f
Consolidate table prefix removal.
2011-06-01 00:38:09 +08:00
Graham Weldon
c5d763773c
Added test for datasource prefixes.
...
Fixed another instance of error in prefix replacement in CakeSchema.
2011-05-31 23:40:29 +08:00
Graham Weldon
52b90872df
Fixed schema reading where table name contains the datasource prefix.
2011-05-31 18:29:26 +08:00
Juan Basso
6aca8dc11a
Updating the copyright to 2011.
2011-05-30 22:46:14 -04:00
mark_story
cd8b18d00d
Fixing notice errors caused by trying to operate on keys that don't exist.
...
Fixes #1651
2011-05-30 20:46:53 -04:00
Jose Lorenzo Rodriguez
8671aa38b2
Updating version numbers to 1.3.10
2011-05-30 09:27:35 -04:30
Graham Weldon
9402f6627f
Added notice about SimpleTest compatability.
...
Fixes #1333 .
2011-05-30 21:48:38 +08:00
Jose Lorenzo Rodriguez
0d1ae69a5a
Fixing small mistake from last commit trying to improve styles for url rewriting detection notice
2011-05-30 09:04:13 -04:30
Jose Lorenzo Rodriguez
d51e902036
Improving styles for url rewriting detection notice, and copying it to the skel app
2011-05-30 09:01:26 -04:30
mark_story
3f5850913a
Fixing Xml::toString() not slugging elements with no children.
...
Thanks to jeremyharris for the patch.
Fixes #903
2011-05-28 16:19:54 -04:00
mark_story
b76901eb43
Ensuring that nested cookie values are deleted.
...
Cookies created with write('Foo', $array) would not get proper
recursive deletion done.
Fixes #1651
2011-05-28 14:21:50 -04:00
mark_story
b64b1219c4
Fixing CakeLog::handleError() being called too often.
...
Adding a PHP5 conditional, so custom error handlers are not called
for errors not in the configured masking.
Fixes #1735
2011-05-28 13:59:56 -04:00
Cauan Cabral
5fd19266ba
Updating MediaView test
...
UPPERCASE extesion test included
Signed-off-by: mark_story <mark@mark-story.com>
2011-05-28 11:47:37 -04:00
Cauan Cabral
684c377d0b
Handling files with Uppercase extesion name
...
MediaView fixed to work correctly with file names when file extesion is UPPERCASE
Signed-off-by: mark_story <mark@mark-story.com>
2011-05-28 11:44:36 -04:00
ADmad
6b7dbcdd1c
Adding warning message on homepage for misconfigured URL rewriting. Closes #1577
2011-05-26 20:35:28 +05:30
mark_story
600609cc87
Adding testsuite icons to the repo, so they are local assets instead of remote ones.
...
Fixes #1708
2011-05-22 09:15:04 -04:00
Jose Lorenzo Rodriguez
91391fde79
Updating version numbers
2011-05-20 22:08:58 -04:30
mark_story
0494876217
Adding [ and ] to the list of allowed characters in validation::url()
...
This matches the behavior of PHP's filter_var()
Fixes #1717
2011-05-20 21:44:53 -04:00
mark_story
efbb6479fc
Fixing issues in DboSource::group(), which always expected an optional argument.
...
Fixes #1656
2011-05-20 21:10:30 -04:00
Ceeram
104f6a52fd
Merge branch '1.3' into 1.3-1679
2011-05-20 00:35:51 +02:00
Thomas Ploch
bf721668e5
Merge branch '1.3' of https://github.com/cakephp/cakephp into 1.3-bake
2011-05-18 08:06:30 +02:00
evilbloodydemon
5abd00e636
Fixed undefined variable
2011-05-17 15:29:21 +04:00
Thomas Ploch
bf37054bca
Fixed wrong passing of $expected and $results in model task test.
2011-05-17 00:29:58 +02:00
Thomas Ploch
8ef7016545
Fixed wrong validation init in Model bake task when having index starting at 1.
...
Added guess 'uuid' for type 'string' and length 36.
Updated missing calls to assertEqual() testFieldValidationGuessing().
Added test for uuid guessing.
2011-05-16 15:29:28 +02:00
mark_story
b6ef1305df
Backporting changes made to Memcache in 2.0 to address issues with persistent
...
connections. Refs #1705
2011-05-13 22:10:58 -04:00
mark_story
f65cf55f4f
Revert "Merge pull request #45 from joeytrapp/router-reverse"
...
This reverts commit eb1e040ae9
, reversing
changes made to e53407c595
.
2011-05-10 20:46:18 -04:00
Mark Story
eb1e040ae9
Merge pull request #45 from joeytrapp/router-reverse
...
Generate full url from Router::reverse(). Fixes #1638
2011-05-10 17:43:29 -07:00
mark_story
e53407c595
Fixing issues with tests, and adding another test. Refs GH-57
2011-05-09 22:22:35 -04:00
romaimperator
50ec7e6fdf
Fixed a bug in the dateTime function that prevented the proper hour from being selected because the check for past noon required seconds to be set and they weren't
...
Signed-off-by: mark_story <mark@mark-story.com>
2011-05-09 22:21:58 -04:00
mark_story
877c874f49
Adding tests for GH-57
2011-05-09 22:17:51 -04:00
mark_story
922595c77a
Moving time tests into a separate method.
2011-05-09 22:14:06 -04:00
mark_story
1cdf55f8b2
Fixing whitespace and adding doc comment.
2011-05-08 08:47:32 -04:00
Luís Armando
66de46cd5b
Fix ticket #825 . Related with session set to cache.
2011-05-08 08:35:34 -04:00
Ceeram
9e4ecba12a
fixed error when passing false for $conditions, closes #1685
2011-05-08 08:23:09 -04:00
Ceeram
527ff5feaf
adding tests for Auth::identify()
2011-05-08 08:23:04 -04:00
Ceeram
5329c188d6
adding help info for bake connection parameter, closes #1679
2011-05-06 17:13:15 +02:00
mark_story
d9c7f4df66
Fixing import of MediaView in dispatcher so Media models used in Routing don't interfere with asset delivery.
...
Fixes #1670
2011-04-30 12:42:08 -04:00
Mariano Iglesias
cc5670a33f
Fixing issue with wrong internationalization of time ago expressions in TimeHelper. Fixes #1663
2011-04-29 15:48:00 -03:00
mark_story
5273080962
Merge branch 'torifat-set' into 1.3
2011-04-27 22:42:02 -04:00
Rifat Nabi
03ffa3d152
ticket #989 test case added
2011-04-27 16:01:08 +06:00
Rifat Nabi
7812223eb5
fixed! ticket #989 , Set::extract replacing first index with an index of same key [0] one step lower
2011-04-27 15:21:25 +06:00
José Lorenzo Rodríguez
169c330086
Merged pull request #61 from sime/master.
...
Documentation for schema update missing -f param
2011-04-26 08:13:04 -07:00
Simon Males
7feaa0f5a2
schema update documentation lacked -f param usage.
2011-04-26 07:15:32 -07:00
Simon Males
f3ff494196
Fixed documentation typo: 'received'
...
Signed-off-by: mark_story <mark@mark-story.com>
2011-04-21 23:51:21 -04:00
mark_story
9914258807
Applying patch from 'Stefano Rosanelli' which fixes Xml::toArray() greatly improving
...
its ability to convert xml documents. Fixes #1667
2011-04-21 22:38:41 -04:00
Simon Males
5687483d5c
Fixed documentation typo: 'received'
2011-04-20 17:25:25 -07:00
mark_story
3a7f44e04c
Updating the doc blocks for TreeBehavior::moveup/movedown to indicate that
...
number can be either an integer or a boolean.
Fixes #1655
2011-04-19 21:02:33 -04:00
mark_story
12c245609e
Fixing XmlHelper overwriting its Xml property when creating an open element with elem()
...
Fixes #1642
2011-04-16 16:56:32 -04:00
mark_story
4395e8acc1
Fixing formatting, and updating test to better reflect what would normally happen.
2011-04-16 15:56:40 -04:00
tylerseymour
13c64f1707
Fix issue where values are not recursively deleted. ie:
...
$this->Cookie->write('User.email', 'test@example.com');
$this->Cookie->delete('User');
The cookie for User.email would not be removed (despite being removed from the __values array.
Fixes #1651
Signed-off-by: mark_story <mark@mark-story.com>
2011-04-16 15:16:34 -04:00
mark_story
bc5edebee6
Adding a test case for #1651
2011-04-16 15:15:53 -04:00
mark_story
9f51c4ccfc
Updating API docs for FormHelper::input() fixes #1649
2011-04-13 18:48:29 -04:00
Juan Basso
2c4ed9bfc2
Fixed the input name when multiple is setted to false.
2011-04-13 00:32:15 -04:00
Mariano Iglesias
54a4d24a03
Fixes issue with fixture records defining fields in wrong order, or adding fields in some records that are not defined in others
...
Fixes #1559
2011-04-09 10:40:08 -04:00
mark_story
7d15c9d93a
Fixing CakeSocket::write() to better work with fwrite() oddities
...
where fwrite() won't actually write all the content, instead only part
of the content would be written. All content should be written now.
Fixes #1616
2011-04-07 20:07:36 -04:00
ADmad
548a64e63b
Fixed test case for Cache class which failed if default cache config in app used engine other than File
2011-04-06 18:41:59 +05:30
Joey Trapp
6a8322a272
Added a flag to Router::reverse that is passed on to the Router::url call
2011-04-04 15:11:47 -05:00
Mark Story
27952ebc9a
Fixing missing array cast that could result in warnings from array_merge
...
if a model or behavior returned false from a beforeValidate callback.
Fixes #1629
2011-04-03 11:01:55 -04:00
Mark Story
a0321a723b
Updating documentation for ClassRegistry::init() to not imply that it
...
can be used to construct non model objects. Fixes #1633
2011-04-03 10:50:05 -04:00
mark_story
0d7672476f
Removing accidental error.
2011-04-02 15:10:21 -04:00
mark_story
5a58d38a80
Removing the ?> from files generated by bake. Fixes #1631
2011-04-02 09:17:14 -04:00
mark_story
fbab7bd9c3
Fixing linking of emails that are missing tld's. They should not be turned into links. Test added. Fixes #1622
2011-03-27 19:09:46 -04:00
mark_story
249607654b
Updating doc blocks to match method names.
2011-03-27 18:00:37 -04:00
mark_story
95d298bf28
Fixing test method names.
...
Adding a test for updateAll with empty values.
2011-03-26 11:10:43 -04:00
mark_story
6cc1688d4e
Fixing issue where DboMysql would perform joins on delete queries even if the conditions did not require joins. Added a more intelligent join detector, that removes joins if all the conditions are simple. This will only be able to optimize array conditions.
...
Test cases added. Fixes #1571
2011-03-24 23:25:56 -04:00
mark_story
532555b94b
Fixing order condition quoting to allow fields with - in them. Fixes #1599
2011-03-24 22:28:11 -04:00
mark_story
b8e560b8b4
Merge remote branch 'ceeram/1.3-authuser' into 1.3
2011-03-23 21:31:13 -04:00
Ceeram
c902d4c060
Auth enhancement, less calls to user()
2011-03-23 15:34:02 +01:00
ADmad
69e5854f0a
Applying patch from 'Eärendil' to add option 'hiddenField' for FormHelper::select() for use with 'multiple'=>'checkbox'. Test cases added. Closes #1161
2011-03-21 19:18:53 +05:30
mark_story
e2773242f7
Adding a test case for the issue fixed in #1408 .
...
Fixing issue where -app command did not work as expected.
Fixes #1601
2011-03-20 22:19:22 -04:00
mark_story
33afe21aa7
Updating version numbers to 1.3.8
2011-03-20 16:10:00 -04:00
mark_story
dd9ebd8a60
Fixing a failing test caused by changes in fixture schema.
2011-03-20 16:06:44 -04:00
mark_story
da84f04bb0
Fixing typo in doc block.
2011-03-19 11:55:53 -04:00
mark_story
9c860d2ce8
Changing how CakeLog registers itself as the error handler, this fixes issues with e-accelerator on some platforms. Fixes #1597 , fixes #1087
2011-03-19 08:54:07 -04:00
Jamie Mill
cf0e9c0a31
Fixing undefined var and docblock error in CakeCliReporter->paintException().
2011-03-17 19:15:08 +00:00
mark_story
e15a373995
Merge remote branch 'rchavik/misc' into 1.3
2011-03-16 06:39:41 -04:00
Rachman Chavik
60db93a914
removing extra space in default bake template
2011-03-16 13:50:56 +07:00
ADmad
4e046c8cd0
Fixing a test case for Model::saveAll()
2011-03-16 00:56:31 +05:30
ADmad
0f341c7114
Fixed bug where default class name 'checkbox' was dropped in case of validation error for div wrapping checkbox for multiple checkboxes
2011-03-11 20:20:55 +05:30
mark_story
5bb173013e
Adding doc block info for Cache::config.
2011-03-07 22:17:52 -05:00