mark_story
62019888ba
Changing file headers to reflect accurate licences and versions created.
2010-08-10 23:18:39 -04:00
mark_story
c78e869be6
Removing PHP4 workarounds in BehaviorCollection.
...
Making BehaviorCollection throw exceptions instead of use cakeError.
2010-08-10 23:18:39 -04:00
mark_story
d6362f1857
Converting spaces to tabs.
2010-08-10 23:18:38 -04:00
mark_story
6a88452072
Updating TextHelper to not use create_function(). The create_function calls leaked memory and didn't work with the new helper constructors.
2010-08-10 23:18:38 -04:00
mark_story
2d791e1ed0
TextHelper test case constructor issues fixed. There are still fails caused by create_function in the helper.
2010-08-10 23:18:38 -04:00
mark_story
3379e53be0
Updating test case to use correct methods.
...
Updating test case to run in CLI.
2010-08-10 23:18:38 -04:00
mark_story
ba8058500f
Adding test for attachedness of Helper helpers.
2010-08-10 23:18:38 -04:00
mark_story
4672cee5d3
Removing dispatchMethod from JsHelper, its not really that useful, and is good at hiding bugs in mock tests.
...
Updating test cases.
2010-08-10 23:18:38 -04:00
mark_story
0e933e8893
Updating most helper test cases to use View in their constructors.
2010-08-10 23:18:38 -04:00
mark_story
68ff2e5ce5
Adding additional tests for Helper lazy loading.
2010-08-10 23:18:38 -04:00
mark_story
fc3379767d
Moving methods around. ObjectCollection now normalizes helpers arrays. Plugin helpers now lazy load.
...
Tests updated.
2010-08-10 23:18:38 -04:00
mark_story
98982a6f7a
First attempt at lazy loading helpers done. Plugin support not complete.
2010-08-10 23:18:38 -04:00
mark_story
ab815a53ba
Helper test case is passing again.
2010-08-10 23:18:37 -04:00
mark_story
087ccabffe
Starting to modify Helper constructors.
2010-08-10 23:18:37 -04:00
mark_story
1d983e1cd4
Making MissingView and MissingLayout cake errors into exceptions.
2010-08-10 23:18:37 -04:00
mark_story
a23207791a
Modifying View to accept HelperCollection. Removing methods that are no longer needed.
2010-08-10 23:18:37 -04:00
mark_story
1c1c4bef80
Fixing errors that would occur when call_user_func_array() triggered failures.
2010-08-10 23:18:37 -04:00
mark_story
c15d228515
Initial integration of HelperCollection into View.
2010-08-10 23:18:37 -04:00
mark_story
16d5b2655c
Adding a way to load helpers in a disabled state. Updating tests and subclasses.
2010-08-10 23:18:37 -04:00
mark_story
aa61a251dc
Deprecating BehaviorCollection::attach() and BehaviorCollection::detach(). load() and unload() are more generic and make sense in other contexts.
...
Adding base trigger implementation.
Adding tests for helper triggering.
2010-08-10 23:18:37 -04:00
mark_story
9fd881cb00
Moving methods down and adding some tests.
2010-08-10 23:18:36 -04:00
mark_story
6db3dbc680
Starting to create HelperCollection which will be responsible for loading and constructing helpers.
...
Making an abstract class that will be the base of all object collections.
Adding test cases.
2010-08-10 23:18:36 -04:00
Juan Basso
ae2fa908c5
Dont use private attributes as tables in CakeSchema. Fixes #7
2010-08-02 00:22:46 -03:00
mark_story
ef586d9917
Updating test case to use autoRegenerate.
2010-07-27 22:27:43 -04:00
mark_story
6ff7ad68c9
Fixing some infinite loop issues in the test cases for CakeSession.
2010-07-27 22:27:43 -04:00
mark_story
2f1aa0a97f
Making CakeHtmlReporter dump a stack trace when an exception is caught.
2010-07-27 22:27:43 -04:00
mark_story
977ffa96be
Removing dead properties and methods from SessionComponent.
...
Sessions should be started as soon as the component is constructed. So there is no reason to have an active()/activate() method.
2010-07-27 22:27:43 -04:00
mark_story
574bfe6b67
Changing clear of $_SESSION to null instead of array(), makes checks later easier. Removing _checkValid call from destroy and making it run in start(), as destroy() calls start().
2010-07-27 22:27:43 -04:00
mark_story
a857e4505c
Adding files from previous commit.
2010-07-27 22:27:43 -04:00
mark_story
db5c44e386
Adding support + test cases for plugin and app/libs session handlers.
2010-07-27 22:27:42 -04:00
mark_story
18b6668a34
Moving tests from SessionComponent to CakeSession, as that is where the features actually are. Removing Security.level/Security::inactiveMins() calculations.
2010-07-27 22:27:42 -04:00
mark_story
eb30c12560
Adding a test case for DatabaseSession::gc();
2010-07-27 22:27:13 -04:00
mark_story
28b9ed7264
Adding test cases for DatabaseSession and fixing a test case in CacheSession.
2010-07-27 22:27:13 -04:00
mark_story
7d2d2aaa4d
Adding test case stub for DatabaseSession and test case for CacheSession.
2010-07-27 22:27:13 -04:00
mark_story
951eeae817
Extracting handler location into a method.
...
Moving DatabaseSession and CacheSession into separate files. Tests to come soon.
2010-07-27 22:27:13 -04:00
mark_story
736d33647e
Adding tests for using a custom session config with CacheSession.
2010-07-27 22:27:13 -04:00
mark_story
f5d81e53fc
Refactoring Cache and Database session handlers into a separate class, and adding an interface for custom session handlers. Tests updated.
2010-07-27 22:27:13 -04:00
mark_story
339fa29502
Updating CakeSession test case and fixing a few issues in the default settings.
2010-07-27 22:27:12 -04:00
mark_story
b247559e9e
Starting to implement new session configuration setup. Test case updated.
2010-07-27 22:27:12 -04:00
predominant
f05a13a451
Added test for empty key write on CakeSession
2010-07-27 22:27:12 -04:00
predominant
7501fcf46d
Add test for empty read() calls on CakeSession
2010-07-27 22:27:12 -04:00
predominant
623998f550
Added test for empty session check.
2010-07-27 22:27:12 -04:00
predominant
ca65689dd9
Change _setHost() on CakeSession to accept parameter to ease testing, add test cases for host setting, and port stripping.
2010-07-27 22:27:12 -04:00
predominant
a63474a54d
Add test for path containing question, and fix assignment of CakeSession::path
2010-07-27 22:27:12 -04:00
mark_story
4b65ebd64f
Making SessionComponent mostly a wrapper for CakeSession.
...
Adding CakeSession::begin() to replace SessionComponent::__start().
Tests updated. Tests related to autoStart were removed/skipped as that feature isn't really around right now.
2010-07-27 22:27:11 -04:00
mark_story
e660416545
Making CakeSession::write() able to write hashes of data.
2010-07-27 22:26:03 -04:00
mark_story
59ea917c23
Fixing a few failing tests, and splitting a big test into two smaller ones.
2010-07-27 22:26:03 -04:00
mark_story
f47ee0d29a
Making CakeSession destory() make started() not return true. Fixing tests that tried to modify session config while a session was active.
2010-07-27 22:26:03 -04:00
mark_story
1938e57cbc
Making userAgent check test pass.
...
Reformatting code inside valid().
2010-07-27 22:26:02 -04:00
predominant
e5b8454736
Update test Start with fresh watchKeys.
2010-07-27 22:26:02 -04:00