Commit graph

3302 commits

Author SHA1 Message Date
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
mark_story
877c874f49 Adding tests for GH-57 2011-05-09 22:17:51 -04:00
mark_story
922595c77a Moving time tests into a separate method. 2011-05-09 22:14:06 -04:00
Ceeram
527ff5feaf adding tests for Auth::identify() 2011-05-08 08:23:04 -04:00
mark_story
5273080962 Merge branch 'torifat-set' into 1.3 2011-04-27 22:42:02 -04:00
Rifat Nabi
03ffa3d152 ticket #989 test case added 2011-04-27 16:01:08 +06:00
mark_story
9914258807 Applying patch from 'Stefano Rosanelli' which fixes Xml::toArray() greatly improving
its ability to convert xml documents.  Fixes #1667
2011-04-21 22:38:41 -04:00
mark_story
12c245609e Fixing XmlHelper overwriting its Xml property when creating an open element with elem()
Fixes #1642
2011-04-16 16:56:32 -04:00
mark_story
4395e8acc1 Fixing formatting, and updating test to better reflect what would normally happen. 2011-04-16 15:56:40 -04:00
mark_story
bc5edebee6 Adding a test case for #1651 2011-04-16 15:15:53 -04:00
Juan Basso
2c4ed9bfc2 Fixed the input name when multiple is setted to false. 2011-04-13 00:32:15 -04:00
Mariano Iglesias
54a4d24a03 Fixes issue with fixture records defining fields in wrong order, or adding fields in some records that are not defined in others
Fixes #1559
2011-04-09 10:40:08 -04:00
ADmad
548a64e63b Fixed test case for Cache class which failed if default cache config in app used engine other than File 2011-04-06 18:41:59 +05:30
Joey Trapp
6a8322a272 Added a flag to Router::reverse that is passed on to the Router::url call 2011-04-04 15:11:47 -05:00
mark_story
0d7672476f Removing accidental error. 2011-04-02 15:10:21 -04:00
mark_story
5a58d38a80 Removing the ?> from files generated by bake. Fixes #1631 2011-04-02 09:17:14 -04:00
mark_story
fbab7bd9c3 Fixing linking of emails that are missing tld's. They should not be turned into links. Test added. Fixes #1622 2011-03-27 19:09:46 -04:00
mark_story
249607654b Updating doc blocks to match method names. 2011-03-27 18:00:37 -04:00
mark_story
95d298bf28 Fixing test method names.
Adding a test for updateAll with empty values.
2011-03-26 11:10:43 -04:00
mark_story
6cc1688d4e Fixing issue where DboMysql would perform joins on delete queries even if the conditions did not require joins. Added a more intelligent join detector, that removes joins if all the conditions are simple. This will only be able to optimize array conditions.
Test cases added.  Fixes #1571
2011-03-24 23:25:56 -04:00
mark_story
532555b94b Fixing order condition quoting to allow fields with - in them. Fixes #1599 2011-03-24 22:28:11 -04:00
ADmad
69e5854f0a Applying patch from 'Eärendil' to add option 'hiddenField' for FormHelper::select() for use with 'multiple'=>'checkbox'. Test cases added. Closes #1161 2011-03-21 19:18:53 +05:30
mark_story
e2773242f7 Adding a test case for the issue fixed in #1408.
Fixing issue where -app command did not work as expected.
Fixes #1601
2011-03-20 22:19:22 -04:00
mark_story
dd9ebd8a60 Fixing a failing test caused by changes in fixture schema. 2011-03-20 16:06:44 -04:00
ADmad
4e046c8cd0 Fixing a test case for Model::saveAll() 2011-03-16 00:56:31 +05:30
ADmad
0f341c7114 Fixed bug where default class name 'checkbox' was dropped in case of validation error for div wrapping checkbox for multiple checkboxes 2011-03-11 20:20:55 +05:30
mark_story
7853189328 Adding 'style' as a known html attribute. Fixes #1573 2011-03-07 21:58:11 -05:00
mark_story
197c9bf912 Making empty string create empty submit buttons. This applies to both Form->submit() and Form->end(). Tests added. Fixes #1569 2011-03-02 20:27:57 -05:00
mark_story
e05c6cd83f Fixing issue where actions starting with a prefix but not followed by an _ would get mangled when going through router::url().
Fixes #1556
2011-02-24 16:43:13 -05:00