Commit graph

3330 commits

Author SHA1 Message Date
Renan Gonçalves
707c0b4130 Fixed bug in CakeSchema where it determines the field position.
- Respective tests were added.
- Schema files will now have 'after' => 'previous_field' on it.
2011-09-16 15:08:22 +02:00
mark_story
fbc76f195f Fixing other failing test.
This test was failing because of changes made to Configure + error
handling.
2011-09-08 20:18:30 -04:00
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
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
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
a61bd5e3e8 Adding tests for unix socket support in Memcache.
Refs GH#194
2011-09-07 07:18:47 -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
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
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
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
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
Mark Story
8dcb7fd9cb Fixing failing tests. 2011-08-19 21:08:03 -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
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
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
Mark Story
9602de8f88 Adding tests for absolute urls on script elements. 2011-07-25 22:14:29 -04:00
José Lorenzo Rodríguez
7d1c99a2b0 Fixed typo 2011-07-13 13:12:44 -07: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
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
f3f0363df3 Adding a test for double escaped form urls.
Refs #1748
2011-06-23 14:29:23 -07: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
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
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
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
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
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