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