Commit graph

4862 commits

Author SHA1 Message Date
mark_story
60981fcb4b Hardcoding 'app' in JsHelper
Applying patch from 'Jelle Henkens'.
Hardcoding this value fixes issues where the variable name
would change if you renamed your app directory.  Fixes environment
specific bugs.
Fixes #1981
2011-09-09 21:35:44 -04:00
hirata
e86ae43796 Fix SQL when using operator SIMILAR TO
Fixes #1979
2011-09-08 20:18:12 -04:00
mark_story
31b07795b2 Fix create() and onsubmit option.
Backporting bug-fix from 2.0

Removing support for onSubmit variant.  Additional
choices are not necessary. Fixing onsubmit option
not correctly working.
Fixes #1977

Conflicts:

	cake/libs/view/helpers/form.php
2011-09-07 21:07:34 -04:00
mark_story
ac0b2b8280 Applying patch from Daniel Feinberg for Containable
Removes __backContainableAssociation as its not needed and causes
more problems than it solves.
Fixes #1762
2011-09-07 20:39:12 -04:00
T0aD
5e7509be55 Add unix sockets support to memcache. 2011-09-07 07:25:43 -04:00
mark_story
b1c4b57d85 Updating doc comment about find(list).
Refs #1968
2011-09-06 08:00:08 -04:00
Jelle Henkens
53d221c3d1 Fixing bug where scientific notations were not passed to mysql in their original form which resulted in loss of precision 2011-09-05 01:41:38 +01:00
Mark Story
15a1741216 Merge pull request #182 from jellehenkens/1.3
Fixes #1938 - toRSS() generates the wrong timezone when using userOffset.
2011-09-04 07:40:09 -07:00
Mark Story mark@mark-story.com
443ff92280 Adding missing import in EmailComponent.
Fixes #1948
2011-08-29 12:21:13 -04:00
Mark Story mark@mark-story.com
ff0119ba6f Fixing file deletion issue in windows
where unlink() cannot delete files that have open
file handles.
Fixes #376
2011-08-28 22:19:53 -04:00
mark_story
5b43d6b9a7 Adding cafe to the list of irregular plurals. Seems that its
french origins befuddle normal english pluralization rules.
Fixes #1930
2011-08-28 21:45:16 -04:00
mark_story
fdc006a2e3 Fixing how error handlers are registered when debug levels
are toggled mid request.  Previously Debugger would stay
as the active error handler even after changing debug to 0.
Now, either CakeLog or Debugger will be assigned as the error handler
depending on the debug level.
Fixes #1941
2011-08-27 10:14:24 -04:00
Jelle Henkens
da4b75c993 Fixing issue where the time helper sets the wrong timezone part in RSS dates 2011-08-26 22:16:49 +01:00
mark_story
aee650defb Adding a test and fixing issues where q value had whitespace as well.
Refs #1684
2011-08-25 22:33:21 -04:00
mark_story
72ef310867 Fixing Accept header parsing so content types with leading/trailing spaces
are treated as spaceless.
Fixes #1684
2011-08-25 22:31:25 -04:00
mark_story
ec79a09d27 Removing PHP5.2.6 only mode value, and replacing it with PHP4 & 5 compatible
mode.
2011-08-25 22:12:33 -04:00
Matt Alexander
f9ff4e1e68 Add Tibetan locales 2011-08-20 19:17:02 -04:00
ADmad
68c4b66550 Fixed bug in Validation::date(). Closes #1908 2011-08-15 18:26:08 +05:30
ADmad
392102b71f Fixing regression in Set::extract(). Closes #1895 #1816 #1692 2011-08-10 03:56:45 +05:30
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