mark_story
2145fd8078
Adding CakeRequest::here() for getting complete 'here' values including query string parameters. $request->here does not include query string params.
...
Adding test cases.
2011-03-02 21:46:28 -05:00
mark_story
e3841955dc
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
2011-03-01 22:23:57 -05:00
mark_story
3ea8c2246a
Merge branch '1.3' into merger
...
Conflicts:
cake/console/cake.php
cake/dispatcher.php
cake/libs/controller/components/cookie.php
cake/libs/view/helper.php
cake/libs/view/helpers/ajax.php
cake/tests/cases/dispatcher.test.php
cake/tests/cases/libs/model/model_validation.test.php
cake/tests/cases/libs/view/helpers/ajax.test.php
cake/tests/lib/cake_test_fixture.php
2011-03-01 22:21:44 -05:00
Jeremy Harris
b138c84df3
Merge remote branch 'upstream/2.0' into 2.0
2011-03-01 19:02:34 -08:00
Jeremy Harris
06f9fc0fc9
Made form post to the current location by default. Fixes #1418
2011-03-01 17:31:02 -08:00
Jeremy Harris
2977448891
Added more options to NumberHelper::currency() to allow for better flexibility in defining formats. Fixes #1267
2011-03-01 17:14:15 -08:00
ADmad
d999650d5e
MediaView now forces download of unknown file types. Closes #140
2011-02-27 06:31:15 +05:30
Juan Basso
2414ad8c8f
Merge branch '2.0-models' into 2.0
2011-02-26 19:10:07 -03:00
mark_story
a52756d550
Fixing issue with empty delimeter notice error when installed at the webroot using url rewriting.
2011-02-26 15:37:28 -05:00
Juan Basso
4828e16762
Updating tests to use new find notation.
2011-02-25 22:04:48 -03:00
Juan Basso
a091302c92
Removed the isInterfaceSupported method. It not make sense in PHP5.
2011-02-25 12:54:57 -03: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
José Lorenzo Rodríguez
19bcec599b
Merge branch '2.0' of github.com:cakephp/cakephp into 2.0
...
Conflicts:
cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
2011-02-24 01:38:11 -04:30
José Lorenzo Rodríguez
69b70249da
Fixing more issues with database prefixes
2011-02-24 01:31:03 -04:30
José Lorenzo Rodríguez
ea7f0bf900
Fixing some tests to make them run with table prefixes
2011-02-23 23:44:48 -04:30
mark_story
9367a10522
Merge branch '1.3' of github.com:cakephp/cakephp into 1.3
2011-02-23 21:07:10 -05:00
mark_story
98df3e331f
Fixing DboMysql not quoting database names in listSources.
...
Updated tests.
Fixes #1552
2011-02-23 11:36:41 -05:00
José Lorenzo Rodríguez
00f3aaf615
Fixing some issues in ACL related classes when using database prefixes
2011-02-23 01:22:23 -04:30
José Lorenzo Rodríguez
fc060b5e9c
Starting to lazy load database conenctions again, model read tests fixed
2011-02-23 00:43:56 -04:30
Juan Basso
52163b4b05
Allowing strings in cc and bcc. Fixes #1553 .
2011-02-22 21:23:15 -03:00
mark_story
6426b7ec04
Fixing issues with / routes, as PATH_INFO doesn't exist.
...
Changing foreach loop for if elseif blocks, and removing use of env(). The values we want will never be anywhere else by _SERVER, so don't incur extra overhead looking places it won't be.
Added tests.
2011-02-21 22:30:01 -05:00
ADmad
1f2afd8d3f
Removing deprecated function TimeHelper::relativeTime() which was simply an alias for TimeHelper::timeAgoInWords()
2011-02-22 01:27:46 +05:30
mark_story
c64dd9d352
Adding the ability to pass additional information into the rendering of flash messages. Allows you to keep keep code DRY by moving repeated settings into the view.
...
Added tests.
Fixes #792
2011-02-21 14:08:29 -05:00
mark_story
6338299e77
Merge branch 'clean-get' into 2.0
2011-02-21 12:47:41 -05:00
mark_story
1f9bbbce53
Pulling windows specific tests into a separate test method.
2011-02-21 10:48:34 -05:00
mark_story
440a89051d
Fixing test that didn't fail as expected.
2011-02-20 22:33:10 -05:00
mark_story
d1821b3f9d
Removing $request->query[url]. This simulated value is also available at $request->url, and having it in the query array confuses things, as GET[url] no longer exists.
...
Fixing failing tests elsewhere in the framework.
2011-02-20 21:52:20 -05:00
mark_story
24369cf04a
Removing GET param, and making CakeRequest use PATH_INFO and SCRIPT_NAME to determine base paths and request urls.
...
Updated tests. Removed test for base path injection, as PHP_SELF is no longer used to compute the base path, and users cannot influence SCRIPT_NAME.
2011-02-19 22:20:55 -05:00
mark_story
db00915dea
Removing complicated logic that does a reasonable amount of unnecessary work. Favouring $_SERVER['PATH_INFO'] over more complicated, logic. This may cause issues with IIS 5.x, but its a very old release now.
...
Updating tests to match values that come out of IIS7.
2011-02-19 18:20:54 -05:00
mark_story
79ec16364a
Refactoring tests to use a generator.
2011-02-19 12:36:27 -05:00
mark_story
1ee6c1ee45
Removing some no longer required method calls.
2011-02-19 11:30:09 -05:00
mark_story
c15d0132f3
Adding more environment detection tests.
2011-02-19 10:00:34 -05:00
mark_story
63f07d3f0f
Making Authorize and Authenticate objects have constructors like other components.
...
Adding ComponentCollection as a argument for the constructor, this unifies the two types of objects and makes them consistent with other components. It also allows authenticate/authorize objects to access other components, thanks to hiromichan for the idea. Tests updated.
2011-02-17 23:17:07 -05:00
mark_story
5c4854b897
Adding omitted return that would prevent users from reaching the login page after being redirected to it. Tests added. Fixes #1542
2011-02-17 07:44:41 -05:00
mark_story
c638443b4d
Merge branch '2.0-auth' into 2.0
2011-02-14 22:45:39 -05:00
mark_story
844c6315c1
Fixing issue where a non CakeException would break things.
...
Test added.
2011-02-13 15:14:29 -05:00
mark_story
f6e9b5b254
Removing TestManager from the group tests.
...
Fixing a failing case on the testsuite shell.
Fixing Debugger from stealing the error handler from PHPUnit.
2011-02-13 14:56:35 -05:00
mark_story
846a0587fc
Getting rid of TestManager.
2011-02-13 14:56:34 -05:00
mark_story
63caf566fb
Adding some tests around invalidFields() and fieldList options.
...
Closes #1534
2011-02-13 12:22:29 -05:00
ADmad
681b9997b0
Renamed Controller::view to Controller::viewClass and Controller::view, View::view can now be used to change the view rendered by default. Parameters of Controller::render() and View::render() changed to eliminate redundancy. Closes #1520
2011-02-13 02:24:39 +05:30
mark_story
d0c2b9c9d1
Fixing failing test caused by boolean type changes.
2011-02-12 06:21:19 -05:00
mark_story
26c5f78a14
Fixing notice error caused when looking for info on tables that don't exist.
2011-02-11 22:37:56 -05:00
mark_story
42c2f3011b
Applying fix from 'Mark Mitchell' to expose PeriodicalExecuter in the callback. Fixes #1529
2011-02-11 21:49:00 -05:00
mark_story
33390070d3
Removing HTTP authentication from SecurityComponent. There are new
...
Authentication objects to fill this hole now.
2011-02-08 22:09:57 -05:00
mark_story
a5fb2cf8a7
Fixing issue where fixtures without field definitions would drop tables,
...
even though they had no way to re-create them. Fixes #1519
2011-02-08 21:53:12 -05:00
mark_story
9a940709ab
Removing unsupported options from PrototypeEngine. Fixes #1516
2011-02-07 20:59:01 -05:00
mark_story
584116524b
Fixing range option for prototype engine. Fixes #1509
2011-02-07 19:19:50 -05:00
mark_story
fbd798da6c
Reordering parameters to make it easier to remember the order.
2011-02-06 16:59:47 -05:00
Juan Basso
f2a4b1e959
Supporting %e in windows. Fixes #1510 .
2011-02-06 15:51:28 -02:00
mark_story
3629925a40
Refactoring authentication objects so basic and digest authentication can work without cookies. This makes non browser clients able to use Basic and Digest auth.
...
Updating test cases.
2011-02-05 18:41:00 -05:00