Commit graph

1648 commits

Author SHA1 Message Date
gwoo
c84bbea48b fixing File cache engine expire and path, #3006 and 3021, adding tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5491 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-05 16:47:03 +00:00
gwoo
43b3b1a0fe moving some bootstrapped stuff to dispatch and updating tests, added paginator counter to bake index template, added option to do "bake controller Posts admin" for baking just admin methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5490 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-05 02:03:18 +00:00
nate
1a690c48a4 Adding dynamic model creation to Model::__construct()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5488 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 17:20:50 +00:00
gwoo
d98ce2d5a3 changing findCount to return intval, #3009.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5487 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 16:13:48 +00:00
gwoo
44058a818f changing key for Cookie, #3017
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5486 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 16:04:29 +00:00
gwoo
4c26620a9e adding fix for Paginator numbers, #2891
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5485 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 15:51:37 +00:00
gwoo
2d7be853ce adding fix for Folder path, #2983
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5483 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-08-04 05:31:36 +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
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
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
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
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
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
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
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
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
gwoo
a6782f0b72 updating Auth component and tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5423 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 05:27:04 +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
gwoo
49817ea42d updating Auth component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5419 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 04:38:58 +00:00
phpnut
a1019dfad3 Adding fix for #2881, Sanitize::escape() problem with trim()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5418 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 04:32:04 +00:00
nate
7e499f1f14 Disabling integer column length for Postgres (Ticket #2814)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5417 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 04:31:39 +00:00
nate
629c0a9d63 Fixing quoting of boolean values in DboPostgres (Ticket #2594)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5416 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 04:03:51 +00:00
phpnut
38bf760524 Adding fix for #2813, dbo_oracle.php's value function adding additional quotes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5414 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-09 02:57:56 +00:00
phpnut
f792004469 Adding fix for #2876, Missing {} on some string on tree behavior
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5411 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 23:43:27 +00:00
gwoo
3769fa796d updating auth, acl and tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5410 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 21:01:31 +00:00
phpnut
c9eb45232d Adding fix for #2836, PaginatorHelper::numbers() outputting extra url params
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5408 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 18:28:41 +00:00
phpnut
d6bf52dce7 Adding fix from #2872, $ajax->afterRender() has no decoding
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5407 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 18:06:44 +00:00
phpnut
7e3b4dfd84 Adding fix for #2753, db_acl.php doesn't respect Dbo alias property
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5399 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 03:09:06 +00:00
phpnut
8229587cfe Adding fix for #2837, dbo_source looping bug on parsing fields, can't use database function
Added test for #2837

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5397 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 02:29:37 +00:00
phpnut
7e6ac60eeb Adding fix for 2691, Error caching xml files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5393 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 00:50:15 +00:00
phpnut
e9f82f203e Adding fix for #2822, FileEngine : Escape special chars before write cache
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5390 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-08 00:34:22 +00:00
phpnut
360f00becf Adding fix for #2105, Email Component template should default to null?
Adding fix for #2196, allow creation of user defined headers in email component.
Adding fix for #2215, EmailComponent header injection protection and cleaning.
Adding fix for #2717, EmailComponent should account for SAFE_MODE restriction on php mail function.
Adding fix for #2855, EmailComponent methods and parameters (to, subject, message, from etc.) should be email injection safe
Adding fix for #2859, EmailComponent does not send email when adding cc: and bcc:

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5389 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-07 23:33:22 +00:00
nate
8976f07acf Adding fix for 'after' value not being rendered in FormHelper::input() (Ticket #2860)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5388 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-07 23:30:40 +00:00
gwoo
cd42f6d8e2 #2871, fixing mode in Folder
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5386 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-07 19:30:34 +00:00
phpnut
2a38655bd0 Adding fix for #2862, fixes view::render() affect the layout of the main view
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5385 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-07 18:13:05 +00:00
phpnut
cedf6993b2 Adding fix for #2869, fixes count function not escaping "count" properly in pgsql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5384 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 17:19:59 +00:00
phpnut
558c6eb00a Adding fix for #2866, fixes print_r() missing second parameter in object.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5383 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 17:08:44 +00:00
phpnut
aca00e47c8 Fixed Inflector bug #2061
Added tests to InflectorTest

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5382 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 07:06:06 +00:00
phpnut
fd787a9b74 Added fix for #2824, fixes Empty elements when DISABLE_CACHE is set to true
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5381 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 05:14:19 +00:00
phpnut
2eadf55e84 Adding patch from [2843], fixes Logging only writes to error.log
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5380 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 04:51:13 +00:00
phpnut
fb0a327a38 Adding fix for #2823, fixes Element gets different instances of helper than view in PHP4 and PHP5
Removed HtmlHelperTest::testRadio(), the HtmlHelper::radio() has been deprecated

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5379 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 04:31:45 +00:00
phpnut
4ff21a6a08 Adding deprecated notice to HtmlHelper::radio() this has been replaced with FormHelper::radio() since [5338]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5378 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-06 03:47:35 +00:00
gwoo
9cd8a79ad9 adding support for passing model name to model task, updated isMobile check in requestHandler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5377 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-05 08:50:56 +00:00
gwoo
bd673fbaf4 fixing scaffold templates altrow css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5376 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-02 23:45:08 +00:00
nate
77950dc608 Addind iPhone detection to RequestHandlerComponent::isMobile()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5375 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-07-02 22:20:58 +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
mariano.iglesias
da2988a22b Improving HABTM saving by getting rid of unneeded loop and escaping field names
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5367 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-28 17:31:26 +00:00
phpnut
2e54eb1706 Refactoring the Model::_ _saveMulti() to use one INSERT statement instead of looping over each value and querying INSERT.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5366 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-28 06:46:26 +00:00
phpnut
2da6ed2d7a Adding enhancement to allow saving habtm data without needing to update or save a parent record
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5363 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-28 02:47:16 +00:00
nate
588ab18197 Adding aliasing fix for DboSource::delete() and Model::deleteAll() (Ticket #2735)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5361 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 19:13:44 +00:00
gwoo
c405d3ad6b fix Paginator::numbers() seperator: #2685
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5360 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:53:38 +00:00
gwoo
642b45a008 fix Paginator::numbers() seperator: #2685
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5359 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:49:30 +00:00
gwoo
f757103dbe adding test for form checkbox: #2785
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5358 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:37:51 +00:00
gwoo
f3b67a24e1 adding fix for paginator numbers: #2825
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5355 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:20:56 +00:00
chartjes
d1f6f2339e Refactored SMTP send code, cleaned up tests. Test requires local SMTP server that is working
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5353 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-27 15:12:48 +00:00
chartjes
15da6d1255 Added code to allow Email compoenent to send email via SMTP, along with test for component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5351 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-26 20:29:38 +00:00
phpnut
3f25e0c44d Adding DboSource::value() to findCount() to wrap the count in dbo specific quoting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5350 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-26 19:02:10 +00:00
dho
126fac4145 Typo (ticket #2829)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5349 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-26 06:00:50 +00:00
phpnut
40a47a5e90 Correcting session errors in EmailTest test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5348 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-26 04:28:24 +00:00
chartjes
5913b5d21e Added in support for sending code out via SMTP
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5346 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-25 21:17:09 +00:00
phpnut
51aa81f336 Adding fix for Ticket #2821, fixes Controller::postConditions() overrides $data passed in.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5343 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 08:24:26 +00:00
phpnut
905549cc89 Adding fix for Ticket #2819, fixes postgrsql schema problems when setting 'schema' => '"some_shcema"'; in database settings
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5342 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 07:57:18 +00:00
phpnut
4a9748e7f5 Refactoring FileEngine cache class
Refactoring Folder class

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5339 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 04:48:29 +00:00
phpnut
a08f18c4a1 Adding patch from Ticket #2817, Allow type radio in FormHelper::input()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5338 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 04:25:37 +00:00
phpnut
b7ba57c8b1 Fixing TreeBehavior so tests will work on php 4.
Removing _ _METHOD_ _ from files since it is not valid on php 4

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5337 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-23 04:16:33 +00:00
phpnut
50aca85cc9 Adding fix for Ticket #2812
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5335 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 20:36:05 +00:00
phpnut
82ba2fa716 Fixing bug when using Security component and a form has a hidden field, similar to those use by FormHelper::checkbox()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5333 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 06:19:19 +00:00
phpnut
f29f6f99e6 Adding fix for duplicated hidden tag for fields token
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5332 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 06:10:27 +00:00
phpnut
ff01b3a031 Adding enhancement and tests from #2159
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5331 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 05:01:39 +00:00
phpnut
bf5fc48087 Adding patch from #2791
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5330 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 04:13:29 +00:00
phpnut
03ea2b8287 Adding fix for Router::url() when static call is made outside of an object instance
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5329 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-22 01:25:35 +00:00
phpnut
4b2e8dffe3 Adding fix for Ticket #2719, Paginator::numbers() not accepting $options like the prev() and next()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5328 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 18:38:15 +00:00
phpnut
364f3f4ff6 Adding fixes for:
Ticket #2805, fixes Blacklisting fields in FormHelper::inputs doesn't work like intended
Ticket #2806, adds FormHelper::inputs can work recursively on $fields
Merged changes from [5326]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5327 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 18:02:56 +00:00
mariano.iglesias
ceaae130a1 Fixing issue with DELETE statement and alias not being properly created
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5326 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 17:53:20 +00:00
mariano.iglesias
496e97aaec Fixing issue #2810, AjaxHelper does not render boolean options properly, and adding tests for it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5325 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 16:24:13 +00:00
mariano.iglesias
97a10184f3 Fixing issue #2713, NumberHelper does not handle some currency formatting very well
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5324 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 16:01:11 +00:00
mariano.iglesias
b870ea170c Fixing issue #2735, deleteAll() does not work correctly with model aliases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5323 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 15:40:03 +00:00
phpnut
9d56c4616e Adding fix for Ticket #2809, fixes Add / Edit scaffolding : Template is always 'edit' instead of $action
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5321 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 14:20:21 +00:00
phpnut
cbbf006bd6 Adding fix for:
Ticket #1303, fixes On HABTM save() the associated field 'id' must be first in $this->params
Ticket #1819, fixes save() for HABTM to allow array keys in any order.
Ticket #2762, fixes Model::save() for HABTM not saving if no data from the parent Model is present

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5320 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 13:53:51 +00:00
phpnut
85492fba92 Adding fix for Ticket #2750, fixes rendering of links when requestAction() is used.
Router::url() replaced $_this with $this which is an instance of the class from which the method is called, in the case of this ticket it was an instance of the HtmlHelper

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5319 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-21 06:47:57 +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
20dfa51702 Correcting class method names
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5314 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 07:49:50 +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
phpnut
a9c0b7e406 Adding fix for Ticket #2786, fixes form dateTime helper does not set year to current
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5312 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 06:07:11 +00:00
phpnut
f613db8d1c Adding fix for Ticket #2792, fixes AuthComponent: Blank password at user login generates SQL error
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5311 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 05:59:56 +00:00
phpnut
d93d746663 Adding fix for Ticket #2795, fixes hidden field for checkbox.
Updated FormHelperTest::testCheckboxField() to reflect the correct return value

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5310 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 04:30:45 +00:00
phpnut
b9f56fb0a7 Adding fix for Ticket #2799, default error message should be i18n
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5309 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 03:47:31 +00:00
phpnut
3ea80f7618 Adding patch from Ticket #2642, fixes TranslateBehavior doesn't work with Model::saveField()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5307 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 03:14:54 +00:00
phpnut
902c6fa173 Adding fix for Ticket #2773, fixes Security Component requireAuth
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5306 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 03:10:15 +00:00
phpnut
32c092ecff Adding fix for Ticket #2798, fixes Hidden field causes undefined Index warning in Security Component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5305 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 02:42:17 +00:00
phpnut
a80be72ff3 Adding ability to read cookies in the Controller::beforeFilter()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5304 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 02:18:36 +00:00
phpnut
02d6c55d9f Adding fix for Ticket #2635, fixes Association data not correct if data is changed in afterFind()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5303 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-20 01:37:23 +00:00
dho
f5c564f401 Replacing "&&" by "AND" (ticket #2784)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5293 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-18 06:54:41 +00:00
nate
430e11004d Fixing forced empty element selection in FormHelper::select() (Ticket #2749)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5292 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-18 05:06:13 +00:00
nate
028ffae272 Fixing double merging of URL parameters in PaginatorHelper::sort() (Ticket #2692)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5291 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-17 17:01:18 +00:00
dho
c803efec88 Fixing typo (ticket #2779)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5290 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-17 07:58:48 +00:00
phpnut
52d99340bb Adding fix for Ticket #2714, fixes requestAction not working properly
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5288 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-17 00:59:09 +00:00
nate
c7c578c2d1 Rolling back DboSource changes from 1.2 to 1.1
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5287 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-17 00:36:25 +00:00
phpnut
1454a05ee3 Adding fix for Ticket #2738, fixes Nesting level too deep error when writing object in CakeSession in php 5.2+
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5286 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-16 23:51:12 +00:00
nate
9eb563d303 Refactoring DboSource::__quoteFields() and improving support for mixed string and array conditions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5285 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-16 23:44:56 +00:00
phpnut
0211a2a32a Adding fic for #2651, fixes query creation problem in DboAdodb
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5284 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-16 23:38:50 +00:00
phpnut
54159742c0 Adding patch from #2652 fixes SQLite LIMIT statement broken
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5283 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-16 23:08:20 +00:00
gwoo
6d91aad41e updating bake templates for i18n, fixes for scaffold templates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5280 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-16 02:19:31 +00:00
gwoo
b1c551f10a fix for scaffold without CAKE_ADMIN
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5279 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-15 21:41:43 +00:00
dho
d9a0aa1c69 Applying patch from ticket #2763, adding test for it
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5278 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-15 08:32:04 +00:00
gwoo
c9a2da3e0c Refactored Scaffold: deprecated generateFieldNames, aligned scaffold and bake view templates, set var $scaffold = CAKE_ADMIN; will scaffold only the admin actions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5277 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-14 17:28:35 +00:00
nate
3dbf59ece3 Fixing substring quoting in DboSource::__quoteFields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5274 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-12 15:13:53 +00:00
gwoo
335a384613 updating Acl, should fix #2733
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5273 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-10 17:43:37 +00:00
gwoo
dad80d947d changing Model::create to use Set::filter
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5272 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-10 17:41:35 +00:00
gwoo
85a662d9ba updating headers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5270 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-10 17:05:08 +00:00
nate
6866ca42a0 Adding query conditions parenthesis fix for Ticket #2663
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5267 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-09 20:32:14 +00:00
gwoo
95bb7e0f04 updating bake view templates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5266 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 16:30:22 +00:00
gwoo
1737dba3d6 update to formhelper habtm fields
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5265 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 10:38:22 +00:00
phpnut
ddb5524028 Adding fix for #2723, this fixes Saving an array in an encrypted cookie, with the CookieComponent, prevents you from deleting it later.
Adding fix for #2667 move the CookieComponent::startup() implementation to CookieComponent::initialize().
Deprecated the use of the Controller properties to set the CookieComponent properties

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5262 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 05:39:39 +00:00
john
b0d8c63682 Updating doc strings with clarified instructions.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5261 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 04:29:16 +00:00
gwoo
3d242d2e90 udpated view to work with form helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5259 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 01:18:00 +00:00
gwoo
851a834995 fixing form helper for tickets #2726 and #2659, updated tests.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5258 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-08 01:17:40 +00:00
phpnut
02508cfb02 Adding fix for #2640, fixes nested array issues with Router::stripEscape()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5257 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-07 19:27:42 +00:00
mariano.iglesias
22ca7f3f3b Adding documentation for Component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5255 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-07 04:21:07 +00:00
phpnut
16b649f2f8 Adding fix for #2691, fixes error caching xml files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5254 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-06 19:20:11 +00:00
phpnut
a42d973ab0 Adding fix for #2650, fixes alias in DboAdodb::fields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5253 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-06 19:12:53 +00:00
phpnut
f9a40f312f Adding fix for #2689, fixes issue when using FormHelper::submitImage with Security Component enabled
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5252 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-06 18:54:45 +00:00
phpnut
3ed6780ac4 Adding fix for #2648, fixes issue with token not being regenerated
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5251 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-06 17:28:32 +00:00
phpnut
41d41cf7e2 Adding fix for undefined variable in Controller::cleanUpFields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5250 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-06 17:08:31 +00:00
nate
b2b2da0822 Enabling custom pagination methods in model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5248 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-05 19:14:28 +00:00
dho
ff122743b8 Using $connection param when cleaning arrays (ticket #2712)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5245 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-05 11:39:48 +00:00
gwoo
68113a4a9a fixing missing passedArgs member in controller that was not committed in [5228], fixing cleanUpFields to not set a default time or date.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5242 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 19:40:01 +00:00
phpnut
52680ffcd3 Adding fix for FormHelper::checkbox() not creating the hidden fields.
Corrected errors when multiple hidden fields used in a form.
Fixed SecurityComponent::_ _validatePost() that would invalidate a form when checkboxes used.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5238 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-04 06:11:48 +00:00
phpnut
800961fc97 Adding changes to Controller::set() to force $camelBacked variables only if second params is null
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5231 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-01 23:04:41 +00:00
phpnut
88dec237a7 Adding change to Controller::set() to force variable to $camelBacked
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5230 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-01 22:41:43 +00:00
phpnut
9be44a5df1 Fixing issue with bad key set in Controller::generateFieldNames() causing HABTM not to save
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5229 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-01 22:12:55 +00:00
gwoo
3acebbcecb adding pass to the default set of router params
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5227 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-06-01 17:27:10 +00:00
dho
c58a7e95b9 Fixing typo (ticket #2674)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5226 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-31 06:00:52 +00:00
gwoo
05d5972dee fixing File again adding info property
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5223 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-30 00:09:14 +00:00
phpnut
31dd607fbe Adding fix for #2657, fixes form with Textarea does not save when Security Component is enabled
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5222 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-30 00:08:25 +00:00
gwoo
151bdd04ef fixing File tests and class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5221 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-29 23:38:36 +00:00
gwoo
700368710f fixing typo in cleanUpfields
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5214 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-28 04:45:14 +00:00
phpnut
cbd5bc9e47 Changing Helper::_ _value(); to Helper::value();
Removed HtmlHelper::value();
Changed all references to _ _value() to value();
Started changes needed for loading custom view classes located in a plugin

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5213 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 19:54:36 +00:00
gwoo
aa81a44bb9 updating File class and tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5211 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 16:06:49 +00:00
nate
07006c9e4a Allowing spaces in session keys (Ticket #2639)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5208 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 04:10:29 +00:00
phpnut
f916745c87 Implementing lazy loading of plugin models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5207 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 02:32:27 +00:00
gwoo
97879bc516 fixing typo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5206 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 00:42:02 +00:00
gwoo
80845b11c5 adding check to previous cleanUpFields fix
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5205 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 00:40:40 +00:00
gwoo
741e77c4b0 updating cleanUpFields in 1.2 and 1.2 for #2632
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5204 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 00:38:10 +00:00
gwoo
ae652431e9 updating file class deprecated getters, fixes for tickets #1838 and #2641, adding tests, changing Folder default directory to TMP
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5203 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-27 00:30:43 +00:00
mariano.iglesias
c9cd07139c Adding documentation for Socket, Validation and Xml
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5201 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 19:33:55 +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
mariano.iglesias
8392d8d3cf Fixing docs for Session
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5199 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 18:41:03 +00:00
dho
a357f30cda Fixing problem with handling "0" in NumberHelper::toReadableSize() (ticket #2654)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5195 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 07:22:19 +00:00
mariano.iglesias
24dd6ddb0a Adding comments for Sanitize and Security
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5194 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 06:35:44 +00:00
mariano.iglesias
61a3d09dbc Adding comments for Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5193 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 06:26:06 +00:00
mariano.iglesias
6dd42ab406 Adding missing accessors
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5192 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 06:12:46 +00:00
mariano.iglesias
d7e7437340 Adding documentation for Overloadable in both PHP versions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5191 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-26 06:11:56 +00:00
gwoo
67144a0341 moving beforeRender to before loadView
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5184 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-25 05:41:07 +00:00
phpnut
641a77563f Adding fix for #2637, fixes issue with Router::stripEscape() corrupting boolean values
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5182 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-25 03:33:12 +00:00
gwoo
5a0832f086 updating formHelper for #1035 adding more tests, fixing some tags the would produce spaces
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5181 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-25 03:16:47 +00:00
gwoo
00b450929e fixing FormHelper::month to use the comment from ticket #700
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5180 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 23:27:30 +00:00
gwoo
8ecc250521 fixing bad tests in socket and some working in error messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5179 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 23:23:38 +00:00
gwoo
9667aa793a adding strfrotime to FormHelper::month #700, fix to radios which still need to be moved
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5178 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 23:14:14 +00:00
gwoo
624e02374a adding and to TextHelper::toList #1934
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5177 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 22:55:05 +00:00
gwoo
e45062f3ef updating html helper, deprecated methods moved to bottom
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5176 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 22:50:20 +00:00
gwoo
bafd4689fe adding formHelper::checkbox
adding tests

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5175 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 21:44:05 +00:00
gwoo
75f04aebd9 adding number helper format and test for format and currency
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5173 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 20:45:27 +00:00
phpnut
0bd813132f Correcting quoting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5168 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 06:03:55 +00:00
phpnut
a276f28a00 Correcting DboSybase class methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5167 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 05:58:55 +00:00
phpnut
232b109bef Adding enhancement suggestion from #1565 to all Dbo classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5166 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 05:33:55 +00:00
phpnut
646d1ad868 changing param check in Router::stripEscape()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5163 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-24 04:20:53 +00:00
phpnut
f706d050a4 Merging changes from [5157] into DboSource.
Adding better check in Router::stripEscape()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5160 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 20:00:16 +00:00
nate
eaff06bff6 Adding beforeRender() callback to components
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5159 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 18:24:22 +00:00
gwoo
5e3c6def84 cleaning up auth, adding options to sort in paginator, adding preg match for database in dbo source
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5157 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 18:15:58 +00:00
nate
ae7ab27d20 Refactoring ACL class locations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5156 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-23 18:12:05 +00:00
phpnut
90022227b4 Correcting doc comment
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5153 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-22 03:11:45 +00:00
phpnut
2099da50c1 Adding Firebird support
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5152 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-22 03:09:06 +00:00
mariano.iglesias
77da587c11 Fixing visibility based on attribute name convention
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5151 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-22 02:38:12 +00:00
phpnut
552d723bad Adding fix to SecurityComponent::_ _validatePost()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5150 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 20:20:55 +00:00
phpnut
5332fa9cd2 Adding fix to allow empty multiple select when using the Security component. Prior to this fix a form would be considered invalid if nothing was selected.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5149 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 19:51:40 +00:00
mariano.iglesias
f6f9cd69c4 Adding access visibility to comment
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5148 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 19:41:20 +00:00
mariano.iglesias
d3af5f253b Adding comments to code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5147 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 19:38:39 +00:00
phpnut
84de5b6e35 Adding fix for #2614
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5145 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 05:15:26 +00:00
phpnut
7fb6896ab6 Adding fix for #2611, fixes App crashes when using requestAction with Security Component enabled
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5143 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 04:34:37 +00:00
phpnut
1db295f366 Adding patch from #2610, fixes Scaffold plugin produces incorrect form "action"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5142 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 04:27:42 +00:00
phpnut
ce66c9863e Adding fix for #2607
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5141 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 04:24:58 +00:00
phpnut
056c4cc054 Adding fix for #2613, fixes afterFind callback not called on models in depth search > 1 (recursive).
Changed the regex pattern matching in Router::stripEscape()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5140 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 03:54:42 +00:00
phpnut
df5c02aa8f Adding fix for #2612, Fixes AuthComponent::identify SQL injection, and also removes ability to pass the -! in the posted data
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5139 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-21 03:29:49 +00:00
mariano.iglesias
12aea2c0f7 Adding comments and internationalizing messages in HttpSocket
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5138 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 16:40:26 +00:00
mariano.iglesias
0ae221be1b Adding more comments and fixing i18n messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5136 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 07:03:16 +00:00
mariano.iglesias
3e8d42bb72 Adding documentation and internationalizing some messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5132 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 06:30:19 +00:00
phpnut
aee00348a1 Adding link to Xcache in doc comments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5130 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 05:58:33 +00:00
mariano.iglesias
99e3f0167b Adding comments for cache
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5128 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 05:35:13 +00:00
gwoo
7a0944c567 small change in folder chmod
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5127 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 05:25:18 +00:00
phpnut
3a31e38937 Adding fix for failing DboSource tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5126 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 05:20:18 +00:00
phpnut
dcad548cac Adding fix for #2587, _ _backAssociation as real class member
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5125 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 05:05:18 +00:00
phpnut
e2617621fd Adding fix for #2607, fixes Fatal error: Call to a member function on a non-object when using php 4
Adding fix for #2590, fixes ps_files_cleanup_dir: failed: Permission denied

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5124 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 04:44:18 +00:00
nate
540b1052d8 Fixing string-based URL generation inside plugins (Ticket #2588)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5123 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-20 01:40:34 +00:00
phpnut
d2fb7d89ed Fixing bad merge
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5122 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-18 21:32:24 +00:00
phpnut
2950d9210b Fixing error notices that are thrown when tmp directory is not writable
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5120 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-18 21:16:13 +00:00
gwoo
c35c14ff39 adding check for dispatcher class in requestAction
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5116 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-18 15:02:34 +00:00
phpnut
96da12358f Adding fix for #2521, this fixes issues with DB2 driver cannot determine the table name of result sets, which breaks associations. Added enhancement for #2446, DB2 driver allowing schema to be specified in the database.php file
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5114 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-16 07:50:02 +00:00
nate
e9357fc432 Refactoring AclComponent to use model instances consistently
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5112 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 20:01:44 +00:00
nate
266db033fc Updating branch with Felix's latest HttpSocket work
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5111 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 19:59:59 +00:00
nate
4ba97ca0da Adding sequence map to DboPostgres for database tables using non-standard sequences
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5110 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 19:11:09 +00:00
gwoo
3a9799c554 updating scaffold links and views
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5107 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 05:38:56 +00:00
phpnut
2be8041736 Applying patch from #2575 adds summary attribute to SQL query table in debug mode
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5105 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 04:16:40 +00:00
phpnut
201f6c934e Adding media as an uninflected word
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5104 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-15 03:57:25 +00:00
nate
033ced9d7a Changing order of XML class defs (Ticket #2572)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5098 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 14:58:52 +00:00
dho
02cf8e3564 Adding missing returns
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5097 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 14:48:35 +00:00
gwoo
9bc9ac4b31 updated file class, console classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5094 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 12:23:25 +00:00
mariano.iglesias
9b5dc57881 Fixing support for error messages when multiple validation rules are used with numeric indexes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5093 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 10:37:23 +00:00
gwoo
cec34ae6df updated folder class and test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5092 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 07:09:42 +00:00
phpnut
9d02c911a6 Adding tests and fixes for #2570, this corrects DboSource::conditions fails to quote mixed array/string conditions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5087 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 01:52:59 +00:00
nate
f7e4594df7 Adding schema support to Postgres driver (Ticket #1623)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5085 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-14 00:15:44 +00:00
mariano.iglesias
4aa29a073d Fixing cache setting when installing a fresh version on a Win box
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5078 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 21:54:48 +00:00
phpnut
48d39f1b45 Merging [5070] into DboMysqli and also adding changes to 1.1.x.x versions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5072 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 14:52:17 +00:00
mariano.iglesias
7de927eb46 Fixing and adding tests for ticket #2551
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5071 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 12:07:23 +00:00
dho
2cac3f7c1d Fixing problem in listSources when using '-' in database name
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5070 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 09:13:11 +00:00
nate
8fb9acc981 Adding admin route matching fix (Ticket #2541)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5069 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 02:00:24 +00:00
gwoo
51e78eac9f updating model constructor in 1.1, 1.2 to use the $table param
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5067 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 01:09:40 +00:00
phpnut
5d7ce86000 Adding fix for irregular inflections returning word in lowercase
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5065 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-13 00:28:03 +00:00
phpnut
156013f99e Added fix for #2545, fixes VALID_NUMBER does not allow negative values
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5047 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 08:50:42 +00:00
phpnut
82755f6685 Adding fix for #2552, fixes JavascriptHelper::object does not convert boolean values correctly
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5046 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 08:38:12 +00:00
phpnut
4353341e2c Adding fix for #2538, fixes findAll doesn't work with TranslateBehavior when specifying which fields to fetch
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5045 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 08:30:55 +00:00
phpnut
6837a51f50 Adding test for #2550.
Added fix for #2550, fixes incorrect inflection of Alias

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5044 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-05-12 08:13:45 +00:00