Commit graph

7913 commits

Author SHA1 Message Date
mark_story
08247a921f Fixing failing test. 2011-10-15 15:28:08 -04:00
Jose Lorenzo Rodriguez
568308d6bc Merge branch 'tPl0ch-1.3-clibash' into 1.3 2011-10-14 22:07:01 -04:30
Jose Lorenzo Rodriguez
856b34f9f5 Correctly interpreting symlinks 2011-10-14 22:06:36 -04:30
Thomas Ploch
3b8ca96428 1.3: Added resolution of symbolic links in cake CLI bash script.
Removing newlines from end of file.
2011-10-14 22:06:18 -04:30
Jose Lorenzo Rodriguez
ab88f3e3f3 Merge branch 'master' of https://github.com/bfanger/cakephp into bfanger-master 2011-10-14 21:22:24 -04:30
0x20h
b4e3c8a776 Set umask when creating cache file
Fixes #2080
2011-10-11 22:29:29 -04:00
mark_story
6fe24a4369 Adding Opera mobi to mobile browser list.
Fixes #2087
2011-10-11 21:00:56 -04:00
mark_story
049d6e4c76 Fix issue where incorrect elements would be used.
If your view is using an alternate extension and you have elements
that share filenames, the incorrect element would be used.
Fixes #2082
2011-10-11 12:34:57 -04:00
mark_story
bc6de18417 Fix issues with using 0 as an option for a shell command.
Fixes #2079
2011-10-10 09:25:46 -04:00
Thomas Ploch
5d3fdfc9d6 Add support for NULL values in Set::format().
Add test case.
Fixes #2076.
2011-10-07 20:27:37 -04:00
mark_story
3becdc5959 Removing uses of db->fullTableName() when creating joins.
Refs #2074
2011-10-06 20:34:42 -04:00
mark_story
2fa2de441f Updating the doc block for Datasource::delete()
Fixes #2054
2011-10-05 22:10:14 -04:00
mark_story
c143908a03 Change how floats are formatted in MySQL.
Fixing precision issues where numbers would get truncated.
Also maintaining compatibility with scientific notation.
Fixes #2049
2011-10-05 21:53:52 -04:00
mark_story
a6e4208bdd Fix Controller::paginate and ordering with virtualFields.
Model::isVirtualField() does ensure that model names match the current model.
This creates false positives when doing sorting datasets when an associated
model has a field with the same name as a virtualField.
Fixes #1822. Fixes #1756.
2011-10-04 22:52:28 -04:00
ceeram
499b5e7268 Merge pull request #223 from Phally/custom-reporter
Custom reporter
2011-10-04 05:39:35 -07:00
Frank de Graaf
69ba1965b8 Changed the order of the include for the custom reporter and added file_exists() to prevent errors. 2011-10-04 09:43:35 +02:00
mark_story
534291a1a6 Re-adding DISABLE_DEFAULT_ERROR_HANDLING to Configure.
Fixes #2033
2011-09-29 20:36:11 -04:00
José Lorenzo Rodríguez
314948609d Merge pull request #220 from bar/1.3-fix-input-error-complete
Form input elements can now be rendered with 'error' class appended and empty error messages.
2011-09-28 22:17:03 -07:00
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
Jose Lorenzo Rodriguez
7f2a4e5137 Merge branch '1.3' of github.com:cakephp/cakephp into 1.3 2011-09-28 10:42:13 -04:30
Jeff Loiselle
932f07ca77 Fixes baking of custom views. Was not setting path correctly or
capturing content
2011-09-28 10:32:00 -04: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 #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
Bob Fanger
9f7126898b Added the "locale = $locale" condition to the ON part of the query.
Added "locale = $locale" to the ON part and changed the join type to an INNER join.
Because adding it to the WHERE part caused the translation to be mandatory anyway.
This cleans up the code and "INNER" joins are generally faster than LEFT joins.
2011-09-23 15:07:11 +02: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