mark_story
f4b2e03295
Errors should be output on stderr.
2011-09-30 21:56:57 -04:00
mark_story
af4b0c9c1b
Make DboSource::lastError() fallback to the connection.
...
If there is no argument the connection error should be checked
for an error.
Add a test for most of lastError(). Mocking PDO is a pain.
Fixes #2046
2011-09-30 21:56:39 -04:00
Jose Lorenzo Rodriguez
705593908b
Fixing some @package declarations
2011-09-30 13:17:12 -04:30
Jose Lorenzo Rodriguez
5a181d8705
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-09-30 01:56:19 -04:30
Jose Lorenzo Rodriguez
fff42e92ed
Adding a few class loading related changes to make the ApiGenerator plugin happy
2011-09-30 01:55:33 -04:30
mark_story
534291a1a6
Re-adding DISABLE_DEFAULT_ERROR_HANDLING to Configure.
...
Fixes #2033
2011-09-29 20:36:11 -04:00
mark_story
a3f25ee5e3
Fixing issue with integer columns and NULL values.
...
Fixes #2037
2011-09-29 20:28:52 -04:00
ADmad
11f38687f7
Fixing doc block
2011-09-29 20:04:06 +05:30
Ceeram
883f579670
fixing duplicate emails being sent with MailTransport fixes #2022
2011-09-29 15:00:48 +02:00
Ceeram
22029a1199
fixing email.php.default, from should have email as key
2011-09-29 14:59:27 +02: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
Jose Lorenzo Rodriguez
8acd980895
Converting more pattern assertions into simple string contains
2011-09-29 00:42:24 -04:30
Jose Lorenzo Rodriguez
fbdb058441
Converting regular expression assertions to simple string contains, those perform faster and consume less memory
2011-09-29 00:05:15 -04:30
Jose Lorenzo Rodriguez
27ab12dd2a
Simplifying assertions in FixtureTask test
2011-09-28 23:39:07 -04:30
Jose Lorenzo Rodriguez
6196e74339
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-09-28 22:59:00 -04:30
Jose Lorenzo Rodriguez
7b3ceb5a29
Fixing a few failing test cases and attempting to work around php segmentation fault when running the complete test suite
2011-09-28 22:57:50 -04:30
mark_story
dff45740ea
Add 'trace' to the data provided to Debugger formats.
...
Allows custom debugger output formats to display
a stack trace.
2011-09-28 23:26:38 -04:00
mark_story
9e080951b1
Adding additional documentation for CrudAuthorize.
...
Fixes #2034
2011-09-28 23:25:14 -04:00
mark_story
864cb70645
Moving basic templates to the 'base' key.
2011-09-28 23:25:14 -04:00
Jose Lorenzo Rodriguez
6b7c752478
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-09-28 21:23:43 -04:30
Jose Lorenzo Rodriguez
df2ef0e4f1
Bringing the SQlserver datasource up to date, fixing a doc block
2011-09-28 21:23:06 -04:30
José Lorenzo Rodríguez
aa6d6a9918
Merge pull request #221 from majna/2.0-doc-comments
...
Fixed doc block comments.
2011-09-28 14:07:46 -07:00
Majna
681207e327
Fixed doc block comments.
2011-09-28 22:33:46 +02: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
08b974d64b
Adding the _x and _y fields to the unlocked fields
...
for image submits.
Fixes #2032
2011-09-27 21:14:36 -04:00
mark_story
6e22f1d0a8
Excluding hidden files from test directory adding.
...
Fixes #2031
2011-09-27 20:43:47 -04:00
mark_story
421a2116be
Adding error code checking around CakeException handling
...
SocketExceptions can have error codes outside of the HTTP values.
2011-09-27 20:39:32 -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
Renan Gonçalves aka renan.saddam
2bce6149e9
Merge pull request #217 from majna/2.0-test-suite
...
Fixing failing test.
2011-09-27 14:54:56 -07:00
Majna
8d6fc84135
Fixing failing test for Router. Debugger test fails on windows due to different directory separator.
2011-09-27 23:47:44 +02:00
ADmad
33030a4502
Fixing my previous attempt in ef4826e
to make Model::_findCount() behave nicely with 'group' option. Refs #1677 , #573
2011-09-28 02:58:48 +05:30
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
7e44836837
Fixing failing test.
2011-09-26 21:46:25 -04:00
mark_story
6008e0e8a0
Adding quoting around SET NAMES.
...
Fixes #2028
2011-09-26 21:46:16 -04:00
mark_story
a5fe702624
Updating CrudAuthorize to work like ActionsAuthorize.
...
Updating tests.
Fixes #1749
2011-09-26 20:38:38 -04:00
ADmad
2a554237f4
Improving error view. Closes #2027
2011-09-26 11:49:49 +05:30
mark_story
79687a2dcf
Making locking file caching the default.
...
Locking files prevents many issues with unserialize() warnings
caused by partially written files.
Fix a locking issue where files would be left locked.
Fixes #1988
2011-09-25 09:26:32 -04:00
mark_story
b1dad6e5bd
Adding session renewal upon login/logout.
...
This helps improve session security, as it reduces the opportunity
of replaying a session id successfully.
Fixes #836
2011-09-24 22:35:21 -04:00
mark_story
50a0a51f53
Renaming method to better match what it does.
2011-09-24 21:56:37 -04:00
mark_story
dffcf048d9
Fix incorrect documentation.
2011-09-24 12:06:44 -04:00
mark_story
8272758eb9
Adding block to home page for PHP version.
...
Fixes #2010
2011-09-24 10:41:22 -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 #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