mark_story
a53d308fa3
Fixed formatting in session helper test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6777 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-09 12:31:34 +00:00
mark_story
2109b9e909
Increase test coverage for SessionHelper
...
Added Layout needed for SessionHelper test to test_app/views/layouts
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6776 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-09 12:27:07 +00:00
nate
a392e5e605
Refactoring tests and adding code coverage for HtmlHelper
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6775 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 17:48:14 +00:00
DarkAngelBGE
9d1619f7cd
adding tests to the View
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6773 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 14:54:08 +00:00
the_undefined
493d5e61e1
Allowed whitespace in front of opening tags
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6772 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 13:19:38 +00:00
the_undefined
de5f744a9c
Changed close tag prefix from ! to / to be more HTMLish
...
Added support for simple open tags using <tag
Refactored FormHelper to use new syntax / features
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6771 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 13:14:47 +00:00
the_undefined
075afb244a
Restored last missing FormHelper test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6770 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 11:57:58 +00:00
the_undefined
0a715f2afe
Refactored CakeTestCase::assertTags to tokenize the validation process and give useful debug information on demand
...
Refactored all FormHelper test cases to work for the new approach and make use of new features
Fixed a FormHelper::hour dateTime bug causing the hour 0 to be selected at 12pm
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6769 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 11:32:31 +00:00
nate
e2cca50ba9
Cleaning up code formatting on Paginator helper test, and adding extra test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6768 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 04:01:07 +00:00
mark_story
231d585221
Updated paginator.test.php to increase code coverage
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6767 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 03:26:47 +00:00
the_undefined
8b42465eaf
Implemented String::insert
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6766 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-08 02:59:00 +00:00
nate
4519261b39
Adding test cases for TextHelper::toList()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6765 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-06 20:44:47 +00:00
DarkAngelBGE
7985746190
fixing failing timehelper tests (isThisWeek())
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6764 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 17:54:05 +00:00
DarkAngelBGE
5cb193db6e
putting RouterTest::testFullBaseURL() back into place for CLI test reporting
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6762 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 15:11:18 +00:00
DarkAngelBGE
85cd5adaf1
changing numeric check in TimeHelper::wasWithinLast to remove the use of a php extension
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6761 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 15:04:02 +00:00
DarkAngelBGE
44fae51ce8
aggregate code coverage for groups
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6760 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 14:41:27 +00:00
gwoo
3263c0bc81
fixes #4571 Helper::clean() returns null if passed empty array or string.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6759 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 14:41:15 +00:00
DarkAngelBGE
0628b24760
fixing the time helper leap year problem,
...
adding tests to time helper to bring it close to 90% coverage
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6758 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 14:38:03 +00:00
DarkAngelBGE
25033f1599
removing two Router::url() relevant test cases for cli test reporting
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6757 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 14:35:39 +00:00
DarkAngelBGE
c74b83ca7f
adding Socket::reset() and refactoring HttpSocket to use it,
...
adding tests for socket class to get it up to 90+% coverage
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6756 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 14:33:35 +00:00
nate
f96379ea36
Refactoring Router test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6754 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 14:19:19 +00:00
the_undefined
9154ef1953
Foreign character support for Inflector::slug, fixes #3492
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6753 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 13:39:49 +00:00
the_undefined
268bb42a02
Made HttpSocket::decodeChunkedBody a little more forgiving, fixes #4523
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6752 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 12:42:15 +00:00
the_undefined
9097b25111
Fixed failing HttpSocket tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6751 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-05 12:38:33 +00:00
nate
b9cfc9ecf3
Correcting handling of empty URLs with full base, fixes #4470
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6750 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-04 04:34:29 +00:00
nate
f75da65bda
Fixing manual primary key insert in model test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6749 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-03 16:35:03 +00:00
nate
32ea41a90e
Correcting MSSQL limit/distinct handling, correcting date/time handling, fixes #4352 , fixes #1778
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6748 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-03 14:15:47 +00:00
mariano.iglesias
ce31e77574
Continuing refactor of FormHelperTest to use assertTags for tag testing
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6747 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 22:09:16 +00:00
mariano.iglesias
c585658c27
CakeTestCase::assertTags() now allows regular expressions for an entire attribute / attribute set
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6744 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 19:35:12 +00:00
gwoo
6b4fe0a1a2
adding dispatcher test for full page caching, closes #4515
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6742 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 05:55:48 +00:00
gwoo
7ab5c20577
some clean up related to testsuite shell
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6741 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 05:39:36 +00:00
gwoo
48f0131d50
closes #4552 , error test disabled when run from console
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6740 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 05:37:19 +00:00
gwoo
2c061ede2b
updating router test case, closes #4553 where FULL_BASE_URL is not defined when test is run from console
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6739 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-01 04:54:55 +00:00
nate
f8f1380bcd
Correcting default value handling in model fixtures; updating test cases
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6737 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-30 19:19:16 +00:00
DarkAngelBGE
471b6b0e2d
coverage manager fix windows IE styles,
...
testsuite help page typo fixes #4551
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6736 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-30 14:08:29 +00:00
DarkAngelBGE
f9ec1e752d
code coverage analysis for cli,
...
fixing CliReporter extending SimpleReporter and not TextReporter (to enable the printing of exceptions in cli)
some minor refactorings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6735 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-29 21:03:51 +00:00
DarkAngelBGE
e38afee93d
code coverage support for plugins
...
typo fix in testsuite shell
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6734 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-29 18:24:52 +00:00
DarkAngelBGE
facf6141d0
code coverage css refactorings
...
code coverage html diff view (which is the default view now)
refactorings for CodeCoverageManager
adding tests for html view, html diff view and a bunch of others
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6732 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-28 18:02:34 +00:00
gwoo
1526a7647a
adding console/cake.php test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6731 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-28 14:39:52 +00:00
mariano.iglesias
f7384bca87
Removing extra check for closing tag in assertTags().
...
Continuing with FormHelperTest refactoring.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6730 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 18:44:01 +00:00
mariano.iglesias
3180aecb95
Initial refactor of FormHelperTest to use assertTags for tag testing
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6729 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 15:09:41 +00:00
mariano.iglesias
b7ec7dbbad
Allow whitespaces between tags in assertTags()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6728 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 14:51:44 +00:00
nate
b0568e7ace
Adding schema introspection tests to Model
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6726 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 14:39:34 +00:00
mariano.iglesias
3f0b8217ec
Allowing regular expressions as part of the tag construction in assertTags()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6725 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 14:28:00 +00:00
mariano.iglesias
2902969504
Allowing multiple closing tags of the same type for assertTags()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6724 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 14:12:33 +00:00
mariano.iglesias
fae3b0386a
Adding support for pattern based attribute values in assertTags()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6723 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 13:44:02 +00:00
nate
db2c2c02d1
Adding test cases for uncovered Inflector methods, refactoring tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6722 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 12:40:47 +00:00
nate
9bab2440e7
Adding Dispatcher test cases for POST data handling and method overrides
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6721 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 11:43:26 +00:00
nate
eb25e3505a
Adding test cases for uncovered RequestHandler methods
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6720 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-26 11:11:27 +00:00
nate
0ff44a2ab7
Consolidating Configure and App class tests so test files match, per standard convention
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6718 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-25 01:39:30 +00:00
joelmoss
e1ffd25d49
Added tests for Model::__doThread and to prove #3924 which seems to already have been applied to the core. Closes #3924
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6717 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-24 14:12:36 +00:00
joelmoss
f9ea98e746
Changed Router tests to use static method calls to reflect actual usage in applications. Fixed the __resourceMapped call in Router::mapResources and added tests to prove it is assigned correctly. Fixes #4530
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6716 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-24 13:41:11 +00:00
DarkAngelBGE
2ca68ab3a8
first version of code coverage
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6715 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 18:25:03 +00:00
nate
358a613243
Fixing conditions quoting in DboSource, closes #4508
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6714 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 15:24:57 +00:00
joelmoss
7f6e54ea3a
Validation now supports error messages on multi record forms. Added tests to support this. Closes #4499 . Thanks jose_zap
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6713 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 14:14:58 +00:00
joelmoss
a0af56f923
Removing inline comments
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6712 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 13:58:26 +00:00
joelmoss
8fa2d1cf9c
Added tests for TextHelper::truncate. Truncate now also fully respects HTML tags and characters if $considerHtml is passed and true. The third parameter of truncate can now also be an array consisting of any of the remaining params.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6711 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-23 13:23:12 +00:00
the_undefined
aee33deb3a
Implemented CakeTestCase::assertTags
...
Replaced some regex in Form helper test with it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6710 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-22 19:53:00 +00:00
the_undefined
586bcb8f28
Fixed Set::merge warning when calling it from a static function
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6709 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-22 17:18:05 +00:00
nate
42083e0a1b
Refactoring insertMulti() for DboSource and drivers, updating Model test for non-transactional db's
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6707 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-21 12:31:28 +00:00
joelmoss
f91f90df71
Added tests for Set::enum
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6706 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-20 22:26:34 +00:00
nate
648d01e2e6
Adding test cases for HtmlHelper::charset()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6705 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-20 12:02:58 +00:00
the_undefined
ee94d5662c
Added persist feature to routing, allows namedArgs to be auto-populated for reverse routing based on current request
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6704 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-19 20:57:23 +00:00
nate
296e8989ba
Adding GET/PUT/DELETE method checks to Security component, refactoring adding tests, closes #4231 . Thanks joelmoss.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6703 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-19 19:25:49 +00:00
mariano.iglesias
d412d7094f
Fixes #4467 , issue with 'atomic' on saveAll not properly rolling back transaction. Thanks amit for the test.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6702 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-19 17:33:17 +00:00
nate
b7774103f8
Removing extraneous error catching from Dispatcher and View tests
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6701 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-19 13:43:07 +00:00
nate
16bfee9831
Correcting issue in Model::__save() to prevent overwriting of existing record data
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6700 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-19 13:30:11 +00:00
joelmoss
f34ae31184
Modified relevant test cases to use the refactored SecurityComponent:__methodsRequired
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6699 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 18:16:20 +00:00
joelmoss
4ced59868a
Adding test cases for additional require methods or the remaining HTTP verbs/methods. Refs #4231
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6698 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 13:25:47 +00:00
the_undefined
e46425f759
Fixed bad test case
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6696 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 11:25:03 +00:00
joelmoss
54121efb3e
Adding test case for Model::saveAll, to allow it to return the results of each record save in an array, if 'atomic' option is false. This means we can now see which records failed and which were successful. Refs #4400 .
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6695 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 11:06:41 +00:00
nate
8756f0d471
Adding test case for generating full-base absolute URLs, disproves and closes #4470
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6694 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 06:58:14 +00:00
nate
0793138c6c
Fixing SELECT DISTINCT queries for SQL Server + misc schema fixes, closes #4352
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6693 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 06:27:58 +00:00
nate
fc92ea039a
Simplifying default Debugger output, fixes #4066
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6692 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 06:01:35 +00:00
nate
3e28323667
Fixing conditions quoting in DboSource::conditionKeysToString(), closes #4368
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6691 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 05:39:54 +00:00
mariano.iglesias
953c778f5f
Adding tests to FormHelper including generating custom names for checkbox elements, closes #4479
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6688 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 00:58:47 +00:00
nate
f6103830c3
Adding prepared statement support to Model::query(), closes #2069 (thanks Mark Story)
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6687 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-18 00:30:32 +00:00
the_undefined
5c0b72db85
Added support for controlling namedArg behavior on routes level, fixes #4451
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6686 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 23:14:49 +00:00
mariano.iglesias
ab3b90503f
Fixing issue in Security component with modeless field names, fixes #4454 . Thanks vuego for the test and patch!
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6685 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 22:51:40 +00:00
mariano.iglesias
5f8641aac9
Adding test to show afterFind being called from Model::find('list'), closes #4456
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6684 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 22:30:25 +00:00
mariano.iglesias
9af317b1b4
Adding documentation to show result of Set::reverse() with non-objects. Fixing commented out test for Set class and adding more tests.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6682 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 22:01:59 +00:00
tclineks
2262e5803c
fixed removal of test model instance from registry
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6681 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 20:33:54 +00:00
tclineks
f99c8996e3
added test for FormHelper::create with non-standard primaryKey. disproves and closes #3942
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6680 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 20:31:49 +00:00
the_undefined
db96a250d1
Fixed :first / :last selector issues in Set::matches
...
Refactored condition filtering to respect context altering conditions in Set::extract
Fixed some bad test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6679 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 15:48:55 +00:00
nate
8f3a2c6022
Refactoring model constructor
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6678 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-17 13:10:27 +00:00
mariano.iglesias
d64e94e264
Fixing issue where AjaxHelper::link() would produce non-XHTML compliant links
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6677 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 22:17:11 +00:00
mariano.iglesias
1c96dd757f
Fixing PHP notice with string parameter
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6675 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:25:36 +00:00
mariano.iglesias
31eb02db28
Removing redundant code
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6672 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:22:07 +00:00
mariano.iglesias
4acac55cf2
Fixing issue with CakeTestCase::testAction not returning view. Added documentation for usage. Getting rid of some function aliases.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6671 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:16:52 +00:00
the_undefined
87d77f046b
Added :first and :last selector to Set::extract
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6670 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:15:50 +00:00
the_undefined
c154636723
Added all-attribute selector support to Set::extract
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6669 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 19:48:55 +00:00
the_undefined
fc8611b003
Added support for regex modifiers
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6668 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 19:40:01 +00:00
the_undefined
5fe0038a74
Added regex match support to Set::extract
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6667 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 19:36:19 +00:00
the_undefined
f6c30745fe
Fixes #4485
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6666 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 19:12:31 +00:00
nate
ba0a60fdbd
Correcting spelling of Validation test method, fixes #4430
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6665 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 01:17:53 +00:00
gwoo
3c4352983d
adding test element
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6663 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-15 16:08:10 +00:00
gwoo
561f1deee0
adding test case, closes #3132
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6662 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-15 16:06:50 +00:00
the_undefined
4679dc9a12
Added support for dot char (selecting the current context node)
...
Fixed some more issues and added more tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6660 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-14 11:08:45 +00:00
the_undefined
9f040bd395
Modified Set::extract to be available from combine and other functions as well
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6659 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-13 18:46:27 +00:00
the_undefined
de4807e726
Fixed PHP warning showing up on some extract queries
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6658 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-13 13:32:58 +00:00
the_undefined
1fdd44f6b2
Added support for conditions on multi-nested numerically indexed items
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6657 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-13 13:27:12 +00:00
the_undefined
593c4d7245
Fixed issues with Set::extract and multiple numerically indexed nestings
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6656 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-13 13:05:52 +00:00
nate
c7677c2a5e
Fixing incorrect selection of parent nodes in ACL, fixes #4324
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6653 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-11 04:59:52 +00:00
nate
a89beea029
Correcting issue with permissions being incorrectly overwritten in ACL, fixes #4190
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6651 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-10 13:19:10 +00:00
nate
7e68ab152c
Correcting timestamp issues in JavascriptHelper::link(), fixes #4441
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6650 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 19:08:04 +00:00
gwoo
0c125f362e
updating debugger test to make it more useable/readable
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6648 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 18:57:58 +00:00
the_undefined
4b19d4c38d
Added support for final characters in multi param route elements
...
Fixed issue with reverse routing and falsely escaped route regex
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6647 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 18:26:20 +00:00
gwoo
2071ae1656
adding case for default params to controller.test.php
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6645 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 15:34:33 +00:00
phpnut
89c8467e89
"Fixes #4408 , Options for a Behavior are not being reset for associated models using the same behavior"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6642 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 04:10:27 +00:00
phpnut
85f2946c36
"Fixes #4349 , Correct usage of \"AND\" and \"and\" for conditions"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6641 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 02:24:09 +00:00
phpnut
1250c6e0cc
"Adding patches and test from #4447 .
...
Closes #4447 , Multiselects' hidden input should not have an id attribute.
Thanks sarimarton"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6640 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 01:39:10 +00:00
phpnut
def8f8aad1
"Removing inline comment"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6639 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 01:35:04 +00:00
phpnut
d0d001d6dd
"Added patches from #4413 , closes #4413 . Thanks maular."
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6638 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-09 01:34:25 +00:00
mariano.iglesias
4b25239298
Adding router test case for URL generation with prefixes
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6635 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-05 14:21:33 +00:00
mariano.iglesias
33a3a27fd1
Adding more tests to paginator using admin route
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6634 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-04 23:55:02 +00:00
phpnut
a138ae3d63
"Fixing use of array('minuteInterval' => #);
...
Proper usage is array('interval' => #); but for backwards compatibility this fix has been added"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6633 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-04 12:48:13 +00:00
phpnut
2bfad1bf41
Closes #3817
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6631 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-03 19:01:51 +00:00
phpnut
d14b50fc92
"References #4394 , additional fixes to multi record forms.
...
Added additional test cases"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6629 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-03 06:48:56 +00:00
phpnut
f2941a660e
"References #4239 Added test from ticket to showing ticket is invalid.
...
Fixes #4394 , fails when the hasMany multi-record form contains hidden fields.
"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6627 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-03 02:29:17 +00:00
phpnut
06d06c85d9
"Fixes #4339 , Providing null for variable with underscores leads to camelcased variable in view"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6626 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 20:14:06 +00:00
gwoo
82cd036672
adding acl and auth group test
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6621 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 16:05:54 +00:00
gwoo
1346224b1f
updating auth test, closes #4398
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6620 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 15:56:19 +00:00
phpnut
c5f06674fa
"Fixes #4394 , SecurityComponent::!__validatePost fails on hasMany multi-record form.
...
"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6618 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-02 06:08:55 +00:00
nate
80340da3c5
Removing parameter merging in pagination links, fixes #4312
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6616 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-01 03:44:16 +00:00
nate
c4f03bf237
Updating View test case for rendering refactor
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6615 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-01 03:34:57 +00:00
phpnut
067e6a5695
"References #4413 , test proves ticket is invalid"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6614 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-31 17:49:39 +00:00
phpnut
c849dd773a
"Fixing inflection of people uninflected plural.
...
Renamed PersonFixture.
Fixed ModelTest::testHabtmFinderQuery() test when prefix is used."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6612 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-30 04:35:05 +00:00
phpnut
2eb120486b
Renaming people fixture
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6611 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-30 04:26:28 +00:00
phpnut
ad19583f26
"Extending the CakeTestModel instead of AppModel"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6610 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-30 03:59:38 +00:00
phpnut
69dd26dc75
"code formatting"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6608 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 15:43:14 +00:00
phpnut
2c5ac9cfb9
"Fixes #4232 , Problem with stripslashes in cached files.
...
Added tmp directory to tests/tests_app
Added file to mimic windows cached file
Added test case"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6607 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 15:34:56 +00:00
phpnut
0ef028bc1f
"Fixing self associated joins.
...
Added additional test cases and correct one bad test case.
Fixes #4364 , !__mergeAssociation() in dbo_source fails to merge belongsTo properly"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6606 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 11:17:24 +00:00
phpnut
e65f44bed2
"Fixes #4001 , 'money' validation uses invalid regular expression syntax"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6605 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 06:44:40 +00:00
phpnut
657c28403a
"Fixes #4377 , Folder class bug for non-existent path"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6602 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 04:05:05 +00:00
phpnut
d8d7b899a1
"Adding additional test to show how to load files that do not follow directory naming or file naming conventions.
...
References #4319 , References #4334 "
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6600 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-26 03:02:13 +00:00
phpnut
92c466c0dc
"Fixes #4336 , Setting a Configure key to null causes php warning."
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6598 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-22 21:55:44 +00:00
nate
819cd1d667
Re-removing the Auth vulnerability re-introduced in [6593]
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6595 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-20 19:18:52 +00:00
nate
d60191a1f6
Fixing vulnerability in field quoting in DboSource
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6594 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-20 16:40:45 +00:00
phpnut
47eb421091
"Adding fix to Auth::identity(); for errors thrown on invalid input.
...
Added tests for invalid input.
Debug is turned off in this area of code because of the CakePHP errors handling, messages could cause long delays and exception noticed when debug > 0."
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6593 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-20 07:17:37 +00:00
nate
c286a7293f
Adding test cases for TreeBehavior scoping
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6591 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-19 00:54:32 +00:00
the_undefined
26489efe19
Changed XPath behavior for mixed numeric and string keys
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6590 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-18 15:30:00 +00:00
phpnut
1b4c445cad
"Fixes #4256 , tablePrefix + HABTM with defaults == wrong joinTable"
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6585 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 07:18:42 +00:00
phpnut
a6fbe05964
"Initial refactoring of BehaviorCollection.
...
Fixed vendor path being the first searched directory for files, this caused unexpected results.
Fixed failing DboSource tests"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6583 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 05:44:20 +00:00
gwoo
8bbdbd4d25
adding ClassRegistry to Configure test group
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6577 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 01:10:34 +00:00
nate
07d2b0d2d3
Fixing AjaxHelper::sortable() options and filtering Ajax callbacks from link options in AjaxHelper::link(), fixes #4279 , fixes #4274
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6576 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 22:48:46 +00:00
nate
38c7dab9f5
Fixing RequestHandlerComponent::prefers() when using extensions, fixes #4056
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6575 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:48:56 +00:00
nate
29fa485140
Adding extra fixes, tests for Set::_ _flatten, fixes #4297
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6573 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:30:30 +00:00
nate
a282e1152f
Adding test cases for HABTM limit fix ( #4204 ), and disproving HABTM save issue ( #4194 )
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6571 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-15 05:08:06 +00:00
the_undefined
3daf495488
Added initial XPath support for Set::extract
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6567 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-14 01:05:56 +00:00
nate
360b91eea7
Fixing HABTM associations on non-standard keys, fixes #4219 , refactoring DboSource::calculate()
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6565 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-13 03:11:29 +00:00