Commit graph

2345 commits

Author SHA1 Message Date
gwoo
88ea612a26 adding fix to Dispatcher for tclineks wacky webroot, fixing failing dispatcher tests on php4
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5479 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-02 19:12:19 +00:00
gwoo
de4d316d4d updating Dispatcher with changes for base. Allows setting Configure::write('App.base', '/my/base/path'); in bootstrap.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5478 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-02 00:16:28 +00:00
nate
32fef5ada3 Removing deprecated constant ACL_FILENAME from core config
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5477 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-31 14:04:18 +00:00
gwoo
5cd90a787d updating dispatcher changes for missing controller
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5476 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-31 05:39:01 +00:00
phpnut
64325bd60d Adding fix for failing routes for plugins
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5475 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-31 05:00:24 +00:00
phpnut
504dec6d76 Adding quick fix for undefined index admin
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5474 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-31 02:01:29 +00:00
nate
cfd4e0f3d7 Fixing Router issue with named arguments being dropped from matched routes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5473 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-30 13:15:59 +00:00
nate
ad53804b60 Adding SQL function quoting fix in DboSource (Ticket #2987)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5472 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-29 12:21:41 +00:00
gwoo
d6c4229d81 updating router test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5471 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-27 17:51:33 +00:00
nate
dee2ea4f68 Updating fix for empty parameter passing in Router; adding test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5470 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-27 13:32:26 +00:00
gwoo
1e141a567f adding set_time_limit fix for #2914
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5469 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-27 03:47:11 +00:00
gwoo
fc9503e473 fixing bug with url parsing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5468 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-27 02:46:30 +00:00
nate
9a915e90ef Applying correct fix for Ticket #2917, updating FormHelper test cases, and adding Helper test group
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5467 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-26 14:23:38 +00:00
gwoo
99c1e9fe6d auth invalid login return false
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5466 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-26 07:16:46 +00:00
gwoo
64b5f897e2 updating auth component
added any object authorization
AuthComponent::object replaces AuthComponent::objectModel, add AuthComponent::hash, see #2894


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5465 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-26 06:43:44 +00:00
phpnut
ea15f09288 Refactoring loading of plugins.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5464 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 21:08:12 +00:00
phpnut
b29366ddc0 Refactoring loading of plugins.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5463 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 19:42:58 +00:00
dho
1bda1d2ada Avoiding to add 'type="checkbox"' twice (ticket #2917)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5462 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 14:50:01 +00:00
dho
7c5b93e34e Validate "0" as alphanumeric value (ticket #2972)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5461 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-25 14:22:14 +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
31c3447682 Adding fix for #2937, Email component needs new lines when sending as both
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5459 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 20:02:14 +00:00
phpnut
17f1d90eba Reverting last commit to EmailComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5458 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 19:34:35 +00:00
phpnut
2e342b7eb3 Adding doc comments and refactoring component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5457 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 17:54:38 +00:00
phpnut
c8dca3c666 Removing echo statement in router.test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5456 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 14:40:34 +00:00
phpnut
9ee71eefa7 Adding fix for #2933, function arrayTrim in class INI_ACL fail to work
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5455 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 13:55:25 +00:00
nate
7b4264b68c Adding header detection to Router, and implementing prototype REST routes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5454 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 13:50:50 +00:00
phpnut
bdaca1698b Adding fix for #2959, Missing arguments for DboAdodb::fields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5453 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-24 12:49:58 +00:00
nate
42c5cb3a16 Fixing MySQL port configuration for persistent connections
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5452 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-23 00:46:42 +00:00
nate
8f69b6f551 Moving SecurityComponent constructor code to initialize()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5451 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-22 21:21:08 +00:00
nate
5ab89f495f Refactoring Router and improving route generation efficiency
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5450 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-22 04:07:06 +00:00
gwoo
0d999092d9 updating console paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5449 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-22 03:23:32 +00:00
gwoo
0519196d69 updating console paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5448 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-22 03:22:16 +00:00
the_undefined
b233522b92 Testing commit ability
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5444 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-19 13:38:26 +00:00
gwoo
a215447f83 updating project task, adding option to specify full path to skel directory
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5440 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-18 01:54:47 +00:00
nate
2664ed2ee4 Fixing trailing slash in URL when extension is used (Ticket #2934)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5439 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-17 13:45:20 +00:00
phishy
4d4cf07c84 fixed timestamp issues, added data_length to table descriptions, fixed bugs in value method, added
generateColumnSchema method


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5438 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-14 21:25:04 +00:00
gwoo
87bddd81f0 Auth model authorization will pass user, controller, action as parameters to the model's isAuthorized method
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5437 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-10 16:25:23 +00:00
phpnut
d09a59c5df Adding tests for cake/libs/controller classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5436 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 20:45:29 +00:00
phpnut
c1ef9e5944 Adding test for cake/libs/controller/components/
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5435 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 20:07:38 +00:00
phpnut
4f75a5e89e Adding tests for cake/libs/cache classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5434 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 19:52:31 +00:00
phpnut
771da8ec6f Removing i18n directory
Adding cache directory

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5433 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 19:37:23 +00:00
phpnut
65f5f00067 Adding tests cases for all classes in cake/libs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5432 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 19:26:37 +00:00
nate
467348357e Changing CacheHelper test case class name
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5431 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 19:03:04 +00:00
gwoo
c94a72db5a setting Auth::authorize to false by default
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5430 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 18:56:45 +00:00
nate
8dd6c78754 Modifying HtmlHelper::style() for use in attribute arrays, adding core helper tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5429 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 17:33:03 +00:00
phpnut
1df4249d54 Adding fix for #2882, Sanitize::escape() fails for numbers.
Added test for #2882.
Corrected header files in tests

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5428 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 17:02:55 +00:00
phpnut
016f5a952b Merging changes into the trunk:
Revision: [5426]
 * Disabling AuthTest until code is wrote to use temporary tables

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5427 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 06:47:28 +00:00
phpnut
9c3dfee2d3 Disabling AuthTest until code is wrote to use temporary tables
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5426 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 06:44:04 +00:00
phpnut
d2b4701a11 Merging changes into the trunk:
Revision: [5424]
 * updating AclComponent to load custom component which should extend AclBase

Revision: [5423]
 * updating Auth component and tests

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5425 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 05:57:03 +00:00
gwoo
dcbab2da0f updating AclComponent to load custom component which should extend AclBase
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5424 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 05:49:16 +00:00