Commit graph

163 commits

Author SHA1 Message Date
nate
df75a06756 Fixing coding standards violations in core, and adding misc tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7222 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-20 20:17:23 +00:00
phpnut
6807d4c333 Starting initial refactoring of current code base.
Made changes to test suite to allow running test without headers already sent errors.
Moved Component::initialize(), Controller::beforeFilter(); and Component::startup(); from Dipatcher::start() to Controller::constructClasses();
Removed Dispatcher::start();
Fixing model instances not being created
Adding additional test to CookieComponent to increase coverage to 95%
Optimizing Set::diff();
Fixing SessionComponent test and RequestHandlerComponent test
Fixing CakeSession tests, removed deprecated code from CakeSession

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7162 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-06-10 22:38:05 +00:00
nate
42da5aba81 Moving Cake folder to correct location
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7063 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 11:40:08 +00:00
DarkAngelBGE
e6e0d852a2 deleting cake folder from svn
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7061 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-30 10:59:16 +00:00
joelmoss
9b514352dc Set::combine() now returns an empty array if first passed var is empty. Fixes #4709 and #3784
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7002 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-22 08:21:08 +00:00
the_undefined
ab0a607189 Refactored Set::reverse and tweaked the expectation schema for consistency, fixes #4643
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6888 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 14:48:49 +00:00
the_undefined
d039ad32d4 Allowed for matching empty elements
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6875 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-05-15 02:21:51 +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
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
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
the_undefined
00b531913a Replace wrong comment
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6674 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:24:59 +00:00
the_undefined
e516a8ba08 Added doc block comments for new Set::extract features
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6673 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-16 20:23:02 +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
the_undefined
ed105de578 Added one more example to the Set::extract docblock
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6661 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-04-14 11:18:08 +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
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
the_undefined
2dc63c7bc7 Additional safety catch for the new extract function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6587 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 23:09:21 +00:00
the_undefined
0aebf2b50a Fix for #4354
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6586 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-16 22:58:36 +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
the_undefined
49a092f1d0 Removed code that was not needed any longer from Set::extract
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6569 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-14 18:30:34 +00:00
the_undefined
32d9de160d Added/Fixed doc blocks for Set::extract
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6568 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-14 01:19:56 +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
phpnut
acc79fe0f3 "Closes #2508, Allow requestAction to use array urls
Fixes #4325, error pages no longer displayed since changeset
Closes #4329, remove am() usage in core"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6563 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-12 21:19:31 +00:00
nate
bacb74a6ef Adding fix for Set::reverse() XML handling, fixes #4275, plus fixes from previous commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6551 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-10 06:05:31 +00:00
nate
ae57eecc19 Adding test and patch for bug in Set::_ _flatten(), fixes #4297
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6523 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-03-08 20:33:22 +00:00
nate
14523dc8c4 Fixing XML class references
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6450 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-11 02:24:10 +00:00
nate
5770e95fc9 Adding fixes and tests for Set::check(), closes #4077
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6441 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 15:48:31 +00:00
nate
89052b0f54 Adding performance enhancement to Set::numeric(), adding $filterKey param to Model::create() to overwrite primary keys, closes #4046
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6438 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-06 02:35:12 +00:00
nate
1db0c07852 Fixing issues in Set::check() with implicit array-to-string casting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6436 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-05 23:08:21 +00:00
nate
afebe2d418 Fixing XML text node conversion support in Set class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6430 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-03 04:53:52 +00:00
nate
acfc38e57d Fixing XML support in Model and Set classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6427 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-02-02 20:45:37 +00:00
nate
4e56b06f66 Adding Set::sort(), for sorting model results by association keys, tests included
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6412 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-27 20:22:45 +00:00
gwoo
d901e0af31 fixed bake interactive models for self associations and error in Set:extract when data is not an array
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6394 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-20 03:42:01 +00:00
gwoo
22cc25e9c5 updating Set::map() handling of deeply nested arrays, fixes #3809, thanks to speedmax for an updated test case.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6320 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-04 01:32:52 +00:00
nate
60fa3938ee Adding regular expression support to Set::extract(), closes #3263
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6307 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-02 04:46:49 +00:00
phpnut
cb53dc61b0 "Closes #2897, Built-in file validation.
Implemented Validation::extension(); and Vaidation::range();
Updated copyright notices in all files"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6296 3807eeeb-6ff5-0310-8944-8be069107fe0
2008-01-01 22:18:17 +00:00
gwoo
7e845242d5 updating set handling of xml and adding tests for model saving xml
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6274 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-29 20:24:10 +00:00
phpnut
c5ff7cb4db "Fixes #3774, Set::combine possibly applies wrong formatstring"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6266 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-27 07:59:22 +00:00
phpnut
aa667c4d61 "Closes #3059, Set::format() allow arg type conversion with use of sprintf format style"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6247 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-25 07:10:20 +00:00
gwoo
5dd9847881 changing Set::map() to accept true as second param. This will maintain the structure of the array coming in. related to #3713, changes [6185]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6186 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 20:54:10 +00:00
gwoo
b4c3be2ccd updating set, pass second param as false if you do not want the array flattened, fixes #3713
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6185 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-21 20:12:43 +00:00
phpnut
8a2b51c3ec "Removing all shortcut function usage from the core"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6128 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-08 06:08:03 +00:00
phpnut
d6c918ec95 "Fixes #3689, Set::__map() array cast corrupt new object"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6123 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-12-06 15:59:54 +00:00
phpnut
ae8ccbd817 "Correcting type for @param $primary"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6093 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-27 18:04:41 +00:00
gwoo
76d69fb0c7 updating Set::__map() doc comment
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6092 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-27 18:02:09 +00:00
gwoo
86dafa3009 updating Set::map() to return an array of objects if the key is numeric. Changed __identity__ to _name_, updated tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6091 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-27 17:57:59 +00:00
gwoo
ca79acf3fd change to use $class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6089 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-27 00:46:24 +00:00
gwoo
21bea5ffb5 updating Set class and added valid test, fixes #3652
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6088 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-27 00:33:10 +00:00
gwoo
01230b92b1 refactoring Set::map() and reverse, all tests passing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6035 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-20 21:04:58 +00:00
gwoo
dd5854f210 refactoring Set::reverse()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6034 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-20 20:00:54 +00:00
phpnut
b867f832c1 Refactoring return of Set::map(); and Set::reverse();
Added new test cases to SetTest.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5979 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-11 23:49:30 +00:00
mariano.iglesias
9b01ce7066 Adding support for Set::countDim() to count dimensions in all branches of an array, not just the first element. Set second parameter of countDim to true to get the real dimension of the array (regardless if the deepest depth is on first element).
Adding better documentation and test cases for countDim

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5960 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-11-06 18:54:32 +00:00
mariano.iglesias
896f62544b Changing @return int to @return integer and @param bool to @param boolean
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5860 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:54:36 +00:00
phpnut
da97a5c871 Correcting @return bool
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5857 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 16:09:35 +00:00
mariano.iglesias
897825d596 Adding documentation to classes belonging to Cake console.
Standarizing on datatypes used in phpdocblocs and removing unneeded @return types

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5851 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-10-22 05:52:20 +00:00
nate
02494a0519 Adding fix for Set::extract() when only grabbing numeric keys
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5652 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-09-16 18:22:17 +00:00
nate
ce51d009ac Adding hasMany optimization fixes for failing model tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5587 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-27 03:15:11 +00:00
nate
bd194b51e5 Routing fixes for invalid null value matching and named argument handling (Ticket #3083, #3085, #3086, #3093). Thanks biesbjerg for all your help!
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5554 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-20 13:09:11 +00:00
nate
3e7044d4b8 Implementing prefix-based routing, and transitioning configuration away from global constants
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5531 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-16 05:44:06 +00:00
nate
1911b1d7a5 Implementing custom array value formatting in Set::combine() and Model::generateList()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5518 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-13 20:59:49 +00:00
nate
823672217a Implementing Set::format() to combine extracted array values
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5512 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-11 21:32:25 +00:00
phpnut
549d86ac23 Refactoring dispatcher.
Added test for changes to Dispatcher.
Updating Model::_ _saveMulti(), moved the insert statement to DboSource::insertMulti() this will allow database that do not support multiple inserts in one statement to save data.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5460 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 04:38:28 +00:00
phpnut
1713dcdfb2 Merging changes to Set class into 1.1.x.x
Added doc comment for Set::reverse()
merged changes in DboSource and DboPostgres into 1.1.x.x

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5420 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 04:47:05 +00:00
phpnut
072ed9581f Adding fix for failing tests on php 5
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5374 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-02 21:27:20 +00:00
phpnut
3880f9ce13 Refactoring Set::reverse() and Model::set()
Set::reverse() will now reverse the object to an array that was created in Set::map();
Added testMapReverse() to Set tests.
Removed code in Model::set() that was no longer needed

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5373 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-02 18:36:49 +00:00
phpnut
382a63651d Updating Set::reverse()
Corrected undefined variable

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5372 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-02 17:13:35 +00:00
mariano.iglesias
cd09a7c7dd Adding option to group elements in Set::combine and making Model::generateList use Set::combine. Adding tests for Model::generateList and more tests for Set::combine
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5370 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-01 03:43:05 +00:00
mariano.iglesias
61df674db5 Adding Set::combine to allow mapping of keys and values of an array using paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5369 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-30 22:34:47 +00:00
phpnut
5e2b574e2f Refactoring Model::set()
Added Set::reverse(0 to convert an object to an array

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5368 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-30 06:52:39 +00:00
phpnut
dac1bd0913 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5315 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 07:51:52 +00:00
phpnut
23dfd90b29 Correcting code structure to standards
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5313 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:15:35 +00:00
mariano.iglesias
a0ecb53e11 Adding comments to Set
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5200 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 19:06:14 +00:00
phpnut
698b221943 Adding fix for #2488 fixes Set::extract failed on assoc array if key starts with numeric
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4900 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-29 01:47:26 +00:00
nate
e5b0f2e3fa Moving Router::__filter() to Set::filter()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4867 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 07:00:26 +00:00
phpnut
924a235ec3 Removing comments from Set::merge()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4796 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 21:29:00 +00:00
phpnut
135ebe8994 Merging changes from 1.2.x.x Set class to 1.1.x.x branch
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4792 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 20:09:32 +00:00
nate
ac904cd4d4 Adding new Set::merge() and Set class test case, thanks Felix
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4779 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 05:57:52 +00:00
phpnut
dcac88825a Adding fix for Ticket #2339
Adding fix for Ticket #2335
Adding fix for Ticket #2344

Merged changes in dbo from 1.2 to 1.1
Merged changes to session handling in 1.2 to 1.1
Merged changes to Model::_ _saveMulti() in 1.2 to 1.1
Added Set::pushDiff() to append differences in array 2 to array 1
Added SessionComponent::activate() and SessionHelper::activate() to turn sessions usage on if AUTO_SESSION is set to false
Added test for Ticket #2343
Added change to AclNode to use correct table naming
Added garbage clean up to CakeSession::_ _close(); some installs, like Debian, have removed garbage clean
up and use a cron job instead. Currently this change is only supported for database session.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4752 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 07:25:48 +00:00
phpnut
dea1dc77fb Adding fix for Ticket #2130, Ticket #2168, Ticket #2178
Adding beforeRender() callback for helpers.
Adding fix for Set::diff();

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4575 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 09:12:09 +00:00
nate
cb511b95ed Removing eval() calls from Session and replacing with Set methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4545 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-20 19:51:58 +00:00
nate
c8da214170 Fixing instance references in Set method calls
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4529 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 16:54:36 +00:00
nate
770446905a Fixing implementation of Set::remove() for instance and static calling
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4523 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-15 20:39:43 +00:00
nate
939d141287 Implementing Set::check() and Set::remove()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4515 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-13 18:20:28 +00:00
nate
71115620bf Fixing issue with Set::insert(), and changing CakeSession::_ _writeSessionVar() to use Set::insert()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4510 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 20:06:39 +00:00
nate
cdb8925912 Implementing Set::insert() for dynamic array writes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4509 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-12 18:31:26 +00:00
nate
3bff0fd2d1 Fixing object support for Set::diff()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4500 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 17:21:32 +00:00
nate
4fb52738d3 Adding null value checks to Set::diff()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4499 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 17:19:49 +00:00
nate
6331a6d4c4 Moving Object::enum() to Set::enum()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4498 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-10 16:02:45 +00:00
phpnut
115037e815 Adding missing headers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4490 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-09 18:18:01 +00:00
nate
9468feec18 Adding object support to Set::extract()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4481 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 22:14:36 +00:00
phpnut
a8a91e35be Correcting all headers in the files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4407 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 10:39:45 +00:00
nate
06f83ea86d Moving normalizeList() (basics) to Set::normalize()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4307 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 20:50:57 +00:00