Commit graph

2968 commits

Author SHA1 Message Date
Ber Clausen
ae8dd1c969 Form input elements can now have 'error' class appended with empty error messages.
Allow setting empty error messages inside Model->validate. This
complements Ceeram's commit which allows overriding error messages by
empty strings from Form->input().
2011-09-28 12:14:01 -03:00
Ceeram
9f23f65755 Passing empty string in [\'error\'] behaved like false, now will behave like any other string 2011-09-28 12:14:01 -03:00
mark_story
d489d490a6 Moving 'joins' key conversion into DboSource::buildJoinStatement()
Having this in Model felt like the wrong layer for it to reside.
This also simplifies a few things internally.
Refs 
2011-09-27 22:43:06 -04:00
Ceeram
6afa21cb18 find with joins option now respects prefix set in database configuration, fixes
test to prove validity of ticket 
2011-09-27 22:43:06 -04:00
mark_story
c2104a3613 Stripping - from default Message-ID header.
This fixes issues where certiain spamassassin rules would
flag EmailComponent messages as spam due to too many - in the messageID.
Fixes 
2011-09-23 22:41:19 -04:00
Yosuke Basuke Suzuki
d9c48b0d34 Added unittest for eef87ee74c. 2011-09-23 18:23:50 +09:00
mark_story
a65a5eb506 Apply patch from 'Eärendil' to fix FormHelper.
Fixes Model.field.1 style fields when used with SecurityComponent.
Fixes 
2011-09-22 22:30:04 -04:00
mark_story
6a05cad69f Fix Validation::time so it accepts spaces.
Fixes 
2011-09-22 20:53:56 -04:00
ADmad
07f6803540 Additional inflection rules provided through Inflector::rules() now take precedence over the core ones as expected. Fixes 2011-09-23 01:14:52 +05:30
mark_story
0267a048f3 Removing Mime type notice.
It causes message delivery failures on some SMTP servers.
Amazon SES suffers from this issue.
Fixing failing tests caused by additional spaces in email address
formatting.
Fixes 
2011-09-20 22:35:23 -04:00
mark_story
4464dbbd29 Fixing test method name. 2011-09-18 13:47:20 -04:00
mark_story
a64099168c Add test for bindModel + containable.
Closes 
2011-09-18 13:45:39 -04:00
mark_story
26d80debcd Adding test case for functions in condition keys.
Closes 
2011-09-17 16:46:32 -04:00
mark_story
c919b73f22 Adding failing test for postgres alter table.
Refs 
2011-09-16 21:19:12 -04:00
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 
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
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 

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
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 from jellehenkens/1.3
Fixes  - toRSS() generates the wrong timezone when using userOffset.
2011-09-04 07:40:09 -07: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 
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 
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 
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 
2011-08-25 22:31:25 -04:00
ADmad
68c4b66550 Fixed bug in Validation::date(). Closes 2011-08-15 18:26:08 +05:30
ADmad
392102b71f Fixing regression in Set::extract(). Closes 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 
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 
2011-08-01 22:54:49 -04:00
Mark Story
416e527cbc Fixing issues with Sanitize::stripWhitespace() and utf8 characters.
Fixes 
2011-07-31 15:44:10 -04:00
ADmad
762fcf2c42 Fixed TreeBehavior::childCount(). Closes 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 
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 
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 
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 
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 
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 
2011-05-28 16:19:54 -04:00