Commit graph

4843 commits

Author SHA1 Message Date
Mark Story
6ef4ce4c31 Adding a line to the generated cache files,
that re-assigns view params after component callbacks.
Fixes issues with SecurityComponent and cache files.
Fixes #1863
2011-08-05 22:59:46 -04:00
0x20h
ea7c8c4710 Adding better file locking in write(). This should reduce issues
with file locking and unserialize().
Fixes #1660
2011-08-05 22:31:19 -04:00
Mark Story
b5a533b287 Fixing issues with duplicate content/empty tags with CacheHelper.
Added internal tag munging proposed by 'FelipePtChO'.
Uncommented a test that was failing.
Fixes #1857
2011-08-01 22:54:49 -04:00
Mark Story
416e527cbc Fixing issues with Sanitize::stripWhitespace() and utf8 characters.
Fixes #1862
2011-07-31 15:44:10 -04:00
ADmad
762fcf2c42 Fixed TreeBehavior::childCount(). Closes #1833 2011-07-31 01:07:46 +05:30
mark_story
7a9ac53adf Fixing issues with SecurityComponent, where removing your session,
would allow posting of invalid form data.
Fixes #1867
2011-07-30 10:44:28 -04:00
mark_story
e1960d1d35 Changing Postgresql to use DELETE FROM instead of TRUNCATE.
This should improve compatibilty with databases using constraints.
Fixes #1838
2011-07-28 22:17:12 -04:00
mark_story
ecccfe913b Fixing issue wher times between 12:00 and 12:59 would be incorrectly
marked as am.
Fixes #1851
2011-07-27 20:20:24 -04:00
Jose Lorenzo Rodriguez
c73ae84c70 Updating version numbers 2011-07-26 13:16:14 -04:30
Graham Weldon
f1400803e4 Added Bake-Banner to home.ctp for baked projects. 2011-07-26 03:11:05 +10:00
mark_story
ff5ac73988 Removing redundant/always true conditions in Controller::__mergeVars.
Fixes #1830
2011-07-16 22:44:57 -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
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
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
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
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
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
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
evilbloodydemon
5abd00e636 Fixed undefined variable 2011-05-17 15:29:21 +04: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
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
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
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