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 #1517
2011-09-27 22:43:06 -04:00
Ceeram
6afa21cb18
find with joins option now respects prefix set in database configuration, fixes #1517
...
test to prove validity of ticket #1517
2011-09-27 22:43:06 -04:00
Mark Story
b3e57e0feb
Merge pull request #215 from bar/1.3-fix-extract
...
Minor updates to Helper.
2011-09-27 17:01:06 -07:00
Ber Clausen
b5ddd4e5b7
Update Helper->tagIsInvalid() documentation.
2011-09-27 13:55:32 -03:00
Ber Clausen
a4fc424b40
Update Set::extract() calls inside Helper.
2011-09-27 13:24:24 -03: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 #2019
2011-09-23 22:41:19 -04:00
José Lorenzo Rodríguez
f57f7305f5
Merge pull request #212 from j15e/1.3
...
Fix to defect model virtualfields with mysqli
2011-09-23 07:17:07 -07:00
Jean-Philippe Doyle
af36429342
Fix to defect model virtualfields with mysqli
...
Refs #2017
2011-09-23 09:59:45 -04:00
ADmad
9220837908
Merge pull request #210 from basuke/1.3
...
1.3 saveAll() with validation option "only" or "first" works well with associated data.
2011-09-23 04:36:45 -07:00
Yosuke Basuke Suzuki
d9c48b0d34
Added unittest for eef87ee74c
.
2011-09-23 18:23:50 +09:00
Yosuke Basuke Suzuki
eef87ee74c
Bug fixed. saveAll with validation option "only" or "first" works wll.
...
saveAll() did set null foreign key when it just validates. I've
assigned numeric validation on the hasMany side model and validation
did fail with this behavior. I've changed this not to set foreign key
when it just validation.
2011-09-23 16:27:15 +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
2011-09-22 22:30:04 -04:00
mark_story
6a05cad69f
Fix Validation::time so it accepts spaces.
...
Fixes #2015
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 #2016
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 #2005
2011-09-20 22:35:23 -04:00
Jose Lorenzo Rodriguez
96a8d97de7
Releasing 1.3.12
2011-09-18 16:58:45 -04:30
mark_story
4464dbbd29
Fixing test method name.
2011-09-18 13:47:20 -04:00
mark_story
a64099168c
Add test for bindModel + containable.
...
Closes #1821
2011-09-18 13:45:39 -04:00
mark_story
26d80debcd
Adding test case for functions in condition keys.
...
Closes #1718
2011-09-17 16:46:32 -04:00
An M - kub2
26495b36d1
Fix incorrect formation of query string
...
removed on ALTER COLUMN xx TYPE xxx for postgres.
Fixes #1967
2011-09-16 21:20:06 -04:00
mark_story
c919b73f22
Adding failing test for postgres alter table.
...
Refs #1967
2011-09-16 21:19:12 -04:00
mark_story
77b3e63293
Removing AFTER in Postgres add column.
...
It causes SQL errors on Postgres 8.4
2011-09-16 21:13:21 -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
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
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
hirata
e86ae43796
Fix SQL when using operator SIMILAR TO
...
Fixes #1979
2011-09-08 20:18:12 -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
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
Mark Story
37e32e9af5
Merge pull request #185 from jellehenkens/scientific-notation
...
Patch for ticket #1965 - Scientific notation in queries
2011-09-05 01:55:37 -07: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
5424475a73
Fixing comment about Asset.timestamp to be accurate to the behavior.
...
Refs #1959
2011-09-01 19:05:17 +01: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