Commit graph

7509 commits

Author SHA1 Message Date
mark_story
63902ab73f Adding failing test for similar to.
Refs #1979
2011-09-08 20:11:09 -04:00
mark_story
da6a5fa301 Fixing failing tests for float formatting. 2011-09-08 20:09:48 -04:00
mark_story
1e1671ab7f Removing getTests. Fixing failing test. 2011-09-08 19:55:13 -04:00
zoydsan
cd14874b59 Backport unit tests from branch 2.0 (tests for strings concatenated with '.') 2011-09-08 19:55:02 -04:00
zoydsan
200c85c7c4 Ticket #1669, i18n: parse (multiline) strings concatenated with "." (for 1.3 branch)
The patch  builds on the code of cake 2.0, but with this fix, comments are allowed, and an exception is thrown if invalid output is found. Examples:

__('Split' . ' string')    => ok
__('Split' . // Comment
    ' string')             => ok
__('Split' . $var)         => error
2011-09-08 19:48:53 -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
Jelle Henkens
ae942a7f7b Added tests to test ajax settings 2011-09-07 21:03:48 -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
Daniel Feinberg
95b275dc3b Adding a test that fails for ticket #1762
Signed-off-by: mark_story <mark@mark-story.com>
2011-09-07 20:31:21 -04:00
mark_story
73a6ebea8d Add cross version constants.
Add constants for older versions of PHP which may be missing them.
Fixes #1975
2011-09-07 20:12:22 -04:00
T0aD
5e7509be55 Add unix sockets support to memcache. 2011-09-07 07:25:43 -04:00
mark_story
a61bd5e3e8 Adding tests for unix socket support in Memcache.
Refs GH#194
2011-09-07 07:18:47 -04:00
mark_story
b1c4b57d85 Updating doc comment about find(list).
Refs #1968
2011-09-06 08:00:08 -04:00
mark_story
2c3fa32a5d Splitting big test up into smaller ones. 2011-09-05 09:56:25 +01: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
0c97df10c0 Removing database names that are no longer supported. 2011-09-01 12:01:26 +01:00
Mark Story mark@mark-story.com
3bfd815716 Fixing issue with boolean columns not correctly inserting
data in MySQL.
Fixes #1922
2011-08-30 15:44:45 +01: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
27ab9093b5 Removing getTests() and fixing failing test in accidentaly skipped tests. 2011-08-28 14:18:09 -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
Mark Story
9daa969783 Switching FixtureTask to use var_export() instead of custom
escaping code.
Fixes issues with quotes in text.
Fixes #1922
2011-08-20 20:08:45 -04:00
Matt Alexander
f9ff4e1e68 Add Tibetan locales 2011-08-20 19:17:02 -04:00
Mark Story
8dcb7fd9cb Fixing failing tests. 2011-08-19 21:08:03 -04:00
Mark Story
18acc65fe1 Adding Cache disabling to bake tasks and parent bakeshell.
Fixes #1889
2011-08-19 12:35:59 -04:00
ADmad
68c4b66550 Fixed bug in Validation::date(). Closes #1908 2011-08-15 18:26:08 +05:30
Martin Ueding
00a77b41f5 prepared utf8 database connection option 2011-08-13 17:13:27 +02:00
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
Mark Story
9602de8f88 Adding tests for absolute urls on script elements. 2011-07-25 22:14:29 -04:00
Graham Weldon
f1400803e4 Added Bake-Banner to home.ctp for baked projects. 2011-07-26 03:11:05 +10:00
mark_story
eefde54d56 Updating path constant in CodeCoverageManager to better support
custom installs.
Fixes #1831
2011-07-19 20:34:44 -04:00
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