Mark Story
5212406ea7
Making xml data test php5 only as Xml::compare() is non-functional in php4
2010-01-14 22:48:19 -05:00
Mark Story
8f2a4a1e0e
Merge branch '1.2' of github.com:cakephp/cakephp1x into 1.2
2010-01-14 20:28:00 -05:00
Mark Story
5c47d8dd7a
Trimming trailing whitespace from files. Refs #201
2010-01-14 20:15:54 -05:00
Mark Story
1980a46b46
Updating tests to reflect SessionHelper's loss of magic inclusion.
2010-01-14 00:09:14 -05:00
Mark Story
a85da63956
Fixing merge var test case for non magic session component.
2010-01-13 23:49:11 -05:00
Mark Story
32832f4810
Fixing Pagescontroller test and removal of pageTitle from controller.
2010-01-13 23:49:11 -05:00
Mark Story
540e81b1b0
Fixing component and controller test cases to work with less magical session component.
2010-01-13 23:49:11 -05:00
Joël Perras
15b8a3ec71
Updating copyright date on all files.
2010-01-13 23:47:14 -05:00
Mark Story
a0c3c4b803
Updating AuthComponent::startup() so that being redirected to loginAction with no Auth.redirect value in the session and a non empty loginRedirect defined, the Auth.redirect value is not overwritten. This prevents redirection to already accessible pages. Test cases updated.
...
Fixes #173
2010-01-11 23:54:06 -05:00
ADmad
5f987a4996
Controller data is now set to an array instead of Xml object if request content type is 'application/xml'
2009-12-31 17:36:58 +05:30
Mark Story
7a620b62b0
Merge branch '1.3-misc' into mergers
...
Conflicts:
cake/libs/model/datasources/dbo_source.php
cake/libs/view/helpers/js.php
2009-12-27 12:45:12 -05:00
Mark Story
6b2154d961
Merge branch '1.2' into mergers
...
Conflicts:
cake/libs/inflector.php
cake/tests/cases/libs/model/model_validation.test.php
2009-12-27 12:34:27 -05:00
ADmad
d561405daa
Renaming RequestHandler::getReferrer to RequestHandler::getReferer for (mis)spelling consistency and deprecating the former
2009-12-20 23:06:28 +05:30
Mark Story
3cdf22d860
Correcting tests affected by changes in Router.
2009-12-19 20:22:16 -05:00
Mark Story
c669f8c998
Fixing failing tests in AuthComponent because of required parameter.
2009-12-19 19:58:55 -05:00
Mark Story
7467224455
Moving test case and adding doc block.
2009-12-19 19:41:25 -05:00
Mark Story
4ac0a55aff
Merge branch 'virtual-fields' into 1.3-misc
...
Conflicts:
cake/tests/cases/libs/controller/controller.test.php
2009-12-19 19:40:12 -05:00
Mark Story
6356c6ed87
Fixing issue where forms generated with requestAction would be missing the _Token fields that Security component creates. Test cases added to ensure that token key does not change when requestAction is used.
...
Fixes #68
2009-12-18 19:05:33 -05:00
Mark Story
b190e462b8
Fixing whitespacing.
2009-12-17 00:15:42 -05:00
Mark Story
0bc1126114
Merge branch 'component-settings' into 1.3-misc
2009-12-16 23:08:16 -05:00
Mark Story
ff74a599c6
Adding ability to set configuration from initialize() for RequestHandler.
...
Tests added.
2009-12-16 23:06:16 -05:00
Mark Story
5760f41124
Adding tests for component config setting from initialize()
2009-12-16 23:06:16 -05:00
Mark Story
e45fcf4337
Adding ability set component configuration from component settings for SecurityComponent.
2009-12-16 23:06:16 -05:00
Mark Story
3a6b29d042
Updating security component test case to use startTest and endTest
2009-12-16 23:06:16 -05:00
Mark Story
dffff314e1
Implementing setting of auth configuration through component settings arrays.
...
Adding test case from Ceeram.
2009-12-16 23:06:16 -05:00
Phally
e5836ff4e9
Implemented rendered e-mail retrieval.
2009-12-16 21:47:12 +01:00
Joël Perras
96c245c6a7
Moving list of http codes out of Controller::redirect() and into a new method, Controller::httpCodes() for better reusability. See doc blocks for usage details.
2009-12-13 18:04:55 -05:00
José Lorenzo Rodríguez
d06ff5d10a
Adding support for virtual fields in conditions array
2009-12-10 20:08:14 -04:30
José Lorenzo Rodríguez
cf359a38b3
Re-adding ability to order by virtual fields in DboSource::order
...
Adding support for paginating virtual model fields in controller
2009-12-10 20:08:14 -04:30
José Lorenzo Rodríguez
5a58813031
Making DboSource order by virtual fields
2009-12-10 20:08:13 -04:30
José Lorenzo Rodríguez
2503632327
Working on virtual fields on order clause.
2009-12-10 20:05:10 -04:30
Mark Story
ecea49f823
Updating AuthComponent's mapped actions features to use Router::prefixes()
...
Adding tests for prefix interactions.
Adding tests for AuthComponent::logout, increasing code coverage.
2009-12-09 00:25:21 -05:00
predominant
c64389006d
Removing "Long description for file" from /cake/tests tree.
2009-12-08 20:19:42 +11:00
AD7six
9cd7888991
removing reference to unused variable __bare
2009-12-03 21:33:56 +01:00
mark_story
16f6d4d408
Making the various SecurityComponent::requireXX methods accept a single array or a list of strings as their arguments. Unifies the use of these functions with AuthComponent. Fixes #354
2009-12-02 17:56:52 -05:00
predominant
0977b3fe15
Standardising docblock endings throughout.
2009-11-14 23:19:25 +11:00
mark_story
6b5c247162
Merge commit 'origin/1.2' into mergers
...
Conflicts:
cake/bootstrap.php
cake/console/cake.php
cake/console/libs/tasks/model.php
cake/libs/configure.php
cake/libs/view/helpers/cache.php
cake/libs/view/helpers/paginator.php
cake/tests/cases/console/libs/tasks/model.test.php
cake/tests/cases/libs/view/helpers/cache.test.php
2009-11-08 22:21:21 -05:00
mark_story
a7a6dc8c43
Fixing issue where SecurityComponent::_validatePost could generate notices if elements were removed from _Token array.
...
Tests Added
Fixed #228
2009-11-08 14:12:18 -05:00
predominant
1185681549
Removing newline caused by Subversion line removal.
2009-11-06 18:01:22 +11:00
predominant
d7b604c8ed
Fixing links throughout
2009-11-06 17:46:59 +11:00
predominant
5dfe1777af
Removing Subversion file headers.
2009-11-06 16:51:09 +11:00
mark_story
4bbfcbff7e
Fixing limit:0 and controller::paginate. Removes possibilty to generate sql errors by inputting invalid limit options. Tests updated. Refs #264
2009-11-06 00:44:21 -05:00
predominant
ceee56013c
Remove Subversion $Date$ lines.
2009-11-06 16:17:01 +11:00
predominant
04f1b6cdfe
Remove Subversion $LastChangedBy$ lines.
2009-11-06 16:11:16 +11:00
predominant
42f3f16d60
Remove subversion $Revision$ lines.
2009-11-06 16:08:02 +11:00
Ernst Mayerhofer
0327f15395
paginator works with limit 0 now too
2009-11-05 23:44:02 -05:00
predominant
1b9b0aae5e
Updating Copyright date to include 2009.
2009-11-06 15:34:28 +11:00
predominant
8f75ff58c7
Removing @filesource
2009-11-06 15:24:02 +11:00
mark_story
4632402a25
Fixing controller test to run when app/views/posts/index.ctp is present.
2009-11-03 17:42:42 -05:00
mark_story
3b3ceddfdb
Fixing Email test to account for whitespace changes done on view files.
2009-11-03 17:39:59 -05:00
mark_story
df4cd12d0f
Fixing RequestHandler test case when app/views/posts/index.ctp is available.
2009-11-03 17:19:02 -05:00
mark_story
a3bb77c4f3
Merge branch '1.2' into 1.3-merger
...
Conflicts:
cake/console/libs/acl.php
cake/console/libs/tasks/controller.php
cake/console/libs/tasks/db_config.php
cake/console/libs/tasks/model.php
cake/console/libs/templates/skel/views/layouts/xml/default.ctp
cake/libs/model/datasources/dbo/dbo_mysql.php
cake/libs/model/datasources/dbo/dbo_mysqli.php
cake/libs/validation.php
cake/libs/view/helpers/form.php
cake/tests/cases/basics.test.php
cake/tests/cases/console/libs/tasks/model.test.php
cake/tests/cases/libs/cake_test_case.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_mysqli.test.php
cake/tests/cases/libs/view/helpers/javascript.test.php
cake/tests/cases/libs/view/helpers/session.test.php
cake/tests/groups/controller.group.php
cake/tests/groups/lib.group.php
cake/tests/groups/no_database.group.php
2009-11-01 12:11:49 -05:00
mark_story
3a59bf5ed6
Updating Scaffold to work with any single prefix. You can set $scaffold = to any prefix defined in Routing.prefixes.
...
Tests added.
2009-10-31 16:06:20 -04:00
mark_story
51244907d1
Updating merge vars test to skip itself if run in a group context.
...
Updating controller group.
2009-10-31 14:55:04 -04:00
mark_story
59566d4587
Updating component test case to no fail in group test.
...
Updating controller group to only run controller classes.
2009-10-31 14:08:56 -04:00
mark_story
a91970b7b2
Fixing security component test failures when run as part of a group.
2009-10-31 13:41:16 -04:00
burzum
78e7421834
Changing two deprecated Session::del() calls to Session::delete() in the tests.
2009-10-21 13:00:51 +02:00
mark_story
078b84500b
Adding test from 'Phally' to expand coverage of allow()
2009-10-15 09:23:24 -04:00
mark_story
d1f5acd0e0
Merge commit 'origin/1.2' into 1.2-merge-in
...
Conflicts:
cake/console/libs/shell.php
cake/libs/model/connection_manager.php
cake/libs/view/helpers/html.php
cake/libs/view/helpers/javascript.php
cake/tests/cases/libs/i18n.test.php
cake/tests/cases/libs/model/connection_manager.test.php
cake/tests/cases/libs/model/model_read.test.php
cake/tests/cases/libs/view/helpers/html.test.php
cake/tests/groups/database.group.php
2009-10-14 00:51:55 -04:00
mark_story
a4d09a806c
Adding tests for previous commit, showing alteration of \ into DS.
2009-10-13 00:01:09 -04:00
mark_story
e5a99b2685
Updating RequestHandler::renderAs() to respect DS constant, fixing issues on PHP4 + Windows. Fixes #97
2009-10-12 23:55:40 -04:00
mark_story
07002c8b09
Merge branch '1.3-misc' of dev@code.cakephp.org:cakephp into 1.3-misc
2009-10-03 11:44:26 -04:00
mark_story
070bbb5d0e
Removing magic 'title' key in Controller::set() and View::set()
...
Removing Controller::$pageTitle and View::$pageTitle.
Instead you should set('title_for_layout', $val) from your view or controller.
Test cases updated.
2009-09-28 21:23:40 -04:00
jperras
2b0d13733e
Fixing parameter ordering error of array_map in AuthComponent::allow(). Adding test.
2009-09-21 12:14:20 -04:00
mark_story
a839c29eb8
Fixing use of deprecated methods in Auth test.
2009-09-20 18:16:26 -04:00
mark_story
50bd279018
Merge branch '1.3-auth' into 1.3
2009-09-20 17:53:23 -04:00
mark_story
5717e3b59c
Merge branch '1.2' into 1.2-merger
...
Conflicts:
app/webroot/test.php
cake/VERSION.txt
cake/bootstrap.php
cake/config/config.php
cake/console/cake.php
cake/console/libs/schema.php
cake/console/templates/skel/webroot/test.php
cake/libs/configure.php
cake/tests/cases/console/libs/schema.test.php
cake/tests/cases/libs/debugger.test.php
cake/tests/cases/libs/model/model_write.test.php
cake/tests/fixtures/aco_fixture.php
2009-09-16 01:23:49 -04:00
mark_story
4a6412fb27
Adding tests for AuthComponent::action().
...
Adding plugin support for AuthComponent in actions mode. Refs #33
2009-09-14 00:29:33 -04:00
mark_story
c94698500b
Adding test case for Auth with authorize = actions.
2009-09-14 00:15:06 -04:00
mark_story
090eb27be1
Updating imports in AuthComponent and AuthComponent test case.
2009-09-13 23:42:25 -04:00
mark_story
326424592d
Merge branch '1.2' into 1.2-merger
...
Conflicts:
cake/VERSION.txt
cake/config/config.php
cake/dispatcher.php
cake/libs/controller/scaffold.php
cake/libs/inflector.php
cake/libs/view/view.php
cake/tests/cases/libs/controller/scaffold.test.php
cake/tests/cases/libs/inflector.test.php
cake/tests/cases/libs/view/view.test.php
cake/tests/fixtures/counter_cache_post_fixture.php
cake/tests/fixtures/counter_cache_user_fixture.php
2009-09-13 13:52:58 -04:00
jperras
4dc656fd91
Updating EmailComponent smtp HELO handling to account for non-existence of HTTP_HOST environment variable when PHP SAPI is CLI. Fixes #41 .
2009-09-07 11:18:11 -04:00
mark_story
17e81ab346
Updating session component, to not use layout, and use elements instead.
...
Tests updated.
2009-08-31 23:59:40 -04:00
mark_story
1bedd8418b
Merge branch '1.3-deprecation' into 1.3-misc
2009-08-31 23:41:41 -04:00
mark_story
9afa4d1c3a
Updating test case to reflect API changes.
2009-08-31 22:52:15 -04:00
mark_story
4ee70c01a8
Updating tests to reflect API deprecations.
2009-08-31 22:50:46 -04:00
mark_story
f6ce178d85
Simplifying message generation.
...
Fixing inflection of model names.
Adding tests for flash page generation. Refs #64
2009-08-31 14:24:50 -04:00
mark_story
0097e8c14b
Updating Scaffold to merge hasAndBelongsToMany keys when generating field lists for scaffolded forms. Fixes #48
2009-08-31 14:22:37 -04:00
mark_story
a678a603c0
Simplifying message generation.
...
Fixing inflection of model names.
Adding tests for flash page generation. Refs #64
2009-08-31 13:48:32 -04:00
mark_story
b4a1c4723d
Making AuthComponent::deny() case insensitive like allow(). Fixes #6261
2009-08-30 20:41:39 -04:00
mark_story
29de5e515f
Allowing Controller::flash() layout to be set with a parameter. Fixes #5034
2009-08-27 23:40:36 -04:00
mark_story
2dca77cbcb
Updating Scaffold to merge hasAndBelongsToMany keys when generating field lists for scaffolded forms. Fixes #48
2009-08-25 23:34:19 -04:00
renan.saddam
c84b4cf36d
Changing AuthComponent::deny to accepts same param as AuthComponent::allow, tests added
2009-08-13 13:08:30 -03:00
renan.saddam
8d6135a8d1
Adding support for plugin models used in Auth::$userModel
2009-08-13 11:39:59 -03:00
jperras
a9a31384ed
Cleaning up tests for EmailComponent
2009-08-10 11:22:25 -04:00
jperras
6f0f5596cb
Adding a test for loading of custom view class for email layout rendering.
2009-08-10 11:22:25 -04:00
jperras
2c5eb204c9
Tightening up some some email pattern test cases.
2009-08-10 11:22:25 -04:00
jperras
8a9dfb513e
Adding test for EmailComponent::send() where is a numerically indexed array.
2009-08-10 11:22:25 -04:00
jperras
cddfd71b7d
Adding tests for testSendDebug
2009-08-10 11:22:19 -04:00
jperras
73e6597379
Moving __osFix to top of file. Adding test for EmailComponent::startup().
2009-08-09 18:39:05 -04:00
jperras
4dbdf1e0c6
Converting EmailComponent private methods to protected.
2009-08-09 17:13:06 -04:00
gwoo
6775e0997e
Merge branch '1.2' into 1.3
2009-08-03 13:13:18 -07:00
jperras
d41a28c975
Fixing PHP4 compatibility issues for SecurityComponent.
...
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8282 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-03 19:40:02 +00:00
mark_story
29dd4ddf03
Fixing issues in Scaffold Test case with PHP4.
...
Cleaning up code formatting in Scaffold.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8276 3807eeeb-6ff5-0310-8944-8be069107fe0
2009-08-03 17:38:40 +00:00
jperras
31321df6ce
Removing extra newline that was causing EmailComponent test to fail.
2009-08-02 21:09:33 -04:00
AD7six
b9987e1712
whitespace normalization
2009-08-02 16:09:39 -07:00
gwoo
15ed658a27
Revert "Merge branch '1.3-newlines' into 1.3"
...
This reverts commit c088131cd8e9f53396852e8a320e2b0396807d20, reversing
changes made to 9341a2bb5eda1db208019aa8a9171224fb76fc6b.
2009-08-02 15:59:54 -07:00
AD7six
f64f4cbddc
whitespace normalization
2009-07-26 11:59:51 +02:00
gwoo
062f471b7f
updating App::import usage. ran each test and everything seems ok.
2009-07-25 18:27:02 -07:00
AD7six
b2142df2bc
adding a newline before all comment blocks
2009-07-24 21:18:37 +02:00