Commit graph

1258 commits

Author SHA1 Message Date
nate
1e4ce0d35d Implementing Model::deleteAll()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4476 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 17:50:47 +00:00
nate
15f7509171 Refactoring set() method into Object, and adding $conditiions === true translation in DboSource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4475 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 17:33:59 +00:00
phpnut
f377ed6d2a Adding Helper::webroot() to return correct url if theme is used
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4474 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 07:42:23 +00:00
phpnut
88ac78f03d Adding check for webroot/themed/[theme name]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4473 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 05:21:28 +00:00
phpnut
869dbb6b05 Fixing theme class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4472 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 05:15:04 +00:00
phpnut
d791bd75b4 Changing check for theme to empty
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4471 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 04:55:26 +00:00
phpnut
2bacc6603e Updating theme class to allow setting theme to null and deafult locations will be used.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4470 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 04:38:10 +00:00
phpnut
5403b58ab7 Fixing Configure::store().
Original version of method would set the array for a $key $value par incorrectly

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4469 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-08 03:25:37 +00:00
gwoo
7754dbd284 fixing issue with bake reading tables
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4468 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-07 21:29:47 +00:00
nate
90b0f1f1cc Allowing 'error' => false to disable validation error output in FormHelper::input() (Ticket #2071)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4467 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-07 20:13:59 +00:00
nate
0baab3b06f Updating Behavior class def with new callback param
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4466 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-07 00:37:49 +00:00
nate
76548b0aad Refactoring Model::save() and adding $created parameter to afterSave()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4465 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-07 00:36:19 +00:00
nate
194e9e09b1 Restructuring Inflector tests, and adding test for Ticket #2068
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4464 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-07 00:01:04 +00:00
nate
5c2e4821f7 Adding Inflector test for Ticket #2061
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4463 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-06 23:57:45 +00:00
nate
709e257707 Fixing null child reference issue in XML
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4461 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-06 17:19:11 +00:00
nate
a175687bd5 Updating View class properties, and committing additional core tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4460 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-06 17:18:23 +00:00
nate
3500fa5917 Additional Ajax test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4459 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-06 14:28:04 +00:00
nate
454d9716d2 Adding AjaxHelper tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4458 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-06 14:23:36 +00:00
nate
d25aa2a4cb Fixing undefined index 'action' notice in Router
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4456 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-05 23:45:26 +00:00
nate
9bba7b70a2 Securing AuthComponent against re-POSTing password data
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4455 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-05 20:19:34 +00:00
dho
80e503a70f Adding missing loadModel() (ticket #2058)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4453 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-05 12:49:35 +00:00
dho
24d65cafbc Fixing typo (ticket #2057)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4452 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-05 12:26:31 +00:00
phpnut
dddbaa69f2 Merging fixes into the trunk:
Revision: [4449]
Adding fix for #2051
Adding additional methods to the ClassRegistry to set mappings to class names.
Added ClassRegistry::map() in the model to set mappings where needed

Revision: [4448]
Adding 'evalScripts' fix for AjaxHelper (Ticket #2048)

Revision: [4447]
Fixing tests for DboSource after changes made to remove extra white spaces

Revision: [4445]
Updating test suite

Revision: [4444]
Removing directories from cases.
Updating DispatcherTest

Revision: [4443]
Updating test suite

Revision: [4442]
fixing h2 in test suite

Revision: [4441]
Removing redundant group test

Revision: [4440]
Updating html for test suite.
Added error page when SimpleTest is not installed.
Fixed model.test.php failing on PHP 4

Revision: 4439
updating test suite layout

Revision: [4438]
Removing all language file svn these are now located at http://cakeforge.org/projects/translations/

Revision: [4437]
Adding fix for #2047

Revision: [4436]
Fixing notice when not group tests are found

Revision: [4435]
Fixing unset variable error

Revision: [4434]
Updating test suite with correct paths.php
Changed vendor() to return true or false

Revision: [4433]
Adding test suite to the core.
Creating directories for application level testing

Revision: [4432]
Fixing default extension parsing behavior for Router::parseExtensions()

Revision: [4430]
Moving tests and test suite in the 1.2.x.x core releases

Revision: [4429]
Updating Router::parseExtensions() so that parameters do not need to be wrapped in an array

Revision: [4427]
Fixing AjaxHelper::form() for compatibility with FormHelper::create()

Revision: [4426]
Disabling Model::loadInfo() for models that do not use tables

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4451 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-05 05:32:30 +00:00
phpnut
0c490af5b1 Adding fix for #2051
Adding additional methods to the ClassRegistry to set mappings to class names.
Added ClassRegistry::map() in the model to set mappings where needed

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4449 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-05 04:53:31 +00:00
nate
8f641887b7 Adding 'evalScripts' fix for AjaxHelper (Ticket #2048)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4448 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 19:28:22 +00:00
phpnut
9f7024d513 Fixing tests for DboSource after changes made to remove extra white spaces
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4447 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 17:56:17 +00:00
phpnut
578073b91d Updating test suite
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4445 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 09:06:44 +00:00
phpnut
c4b6f522b2 Removing directories from cases.
Updating DispatcherTest

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4444 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 07:57:43 +00:00
phpnut
1a391e4d2c Updating test suite
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4443 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 07:42:35 +00:00
gwoo
28a050bace fixing h2 in test suite
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4442 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 04:58:32 +00:00
phpnut
2bc579653c Removing redundant group test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4441 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 04:52:12 +00:00
phpnut
0997bea85c Updating html for test suite.
Added error page when SimpleTest is not installed.
Fixed model.test.php failing on PHP 4

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4440 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 04:38:42 +00:00
gwoo
50c24a738e updating test suite layout
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4439 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 03:59:55 +00:00
phpnut
e553512c05 Removing all language file svn these are now located at http://cakeforge.org/projects/translations/
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4438 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 03:01:02 +00:00
phpnut
f0eac2527c Adding fix for #2047
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4437 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 02:46:12 +00:00
phpnut
45162b05fd Fixing notice when not group tests are found
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4436 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 02:21:32 +00:00
phpnut
08c412c4ca Updating test suite with correct paths.php
Changed vendor() to return true or false

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4434 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 02:08:17 +00:00
phpnut
d4a4105616 Adding test suite to the core.
Creating directories for application level testing

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4433 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-04 01:05:51 +00:00
nate
ed2b697999 Fixing default extension parsing behavior for Router::parseExtensions()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4432 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 23:10:03 +00:00
phpnut
4c25103751 Moving to include tests and test suite in the 1.2.x.x core releases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4430 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 22:20:13 +00:00
nate
c98de6fe7f Updating Router::parseExtensions() so that parameters do not need to be wrapped in an array
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4429 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 21:47:38 +00:00
nate
fede6a410f Fixing AjaxHelper::form() for compatibility with FormHelper::create()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4427 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 18:38:22 +00:00
nate
75eea8950c Disabling Model::loadInfo() for models that do not use tables
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4426 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 17:31:42 +00:00
phpnut
381bd36c94 Merging fixes into the trunk:
Revision: 4423
Author: phpnut
Date: 8:32:42 PM, Friday, February 02, 2007
Message:
Adding fix for #1989
----
Modified : /branches/1.2.x.x/cake/libs/router.php


Revision: [4422]
Adding fix for #2018

Revision: [4420]
Adding additional fix for #1994

Revision: [4419]
Adding changes to Router to pass tests cases

Revision: [4417]
Adding page # fix for PaginatorHelper::counter() (Ticket #1994)

Revision: [4416]
Adding SQL Server column aliasing fix for hasMany/HABTM associations (Ticket #1931)

Revision: [4415]
Merging changes made to app/webroot/index.php to cake/scripts/templates/skel/webroot/index.php

Revision: [4414]
Merging changes made to app/webroot/index.php to cake/scripts/templates/skel/webroot/index.php

Revision: [4413]
Added missing return in Model::invalidFields()

Revision: [4412]
Adding fix for #1936

Revision: [4411]
Adding numeric value quoting fix for DboSource (Ticket #1927)

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4425 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 03:02:14 +00:00
phpnut
0c9c0e44b4 Adding fix for #1989
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4423 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 02:32:42 +00:00
phpnut
944e1d98bb Adding fix for #2018
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4422 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 01:03:33 +00:00
phpnut
554433c7fb Adding additional fix for #1994
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4420 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-03 00:05:51 +00:00
phpnut
8916bd6a49 Adding changes to Router to pass tests cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4419 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 23:55:47 +00:00
nate
2648b23238 Adding page # fix for PaginatorHelper::counter() (Ticket #1994)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4417 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 21:38:11 +00:00
nate
46aa081d5c Adding SQL Server column aliasing fix for hasMany/HABTM associations (Ticket #1931)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4416 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 20:14:03 +00:00
phpnut
e1ea3674d6 Merging changes made to app/webroot/index.php to cake/scripts/templates/skel/webroot/index.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4415 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 18:26:19 +00:00
phpnut
50793e446a Merging changes made to app/webroot/index.php to cake/scripts/templates/skel/webroot/index.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4414 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 18:23:26 +00:00
phpnut
b64e27d9fe Added missing return in Model::invalidFields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4413 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 18:07:56 +00:00
phpnut
cca419c124 Adding fix for #1936
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4412 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 18:05:48 +00:00
nate
b4cc0dfd96 Adding numeric value quoting fix for DboSource (Ticket #1927)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4411 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 15:21:51 +00:00
phpnut
069275ef7c Merging fixes into the trunk:
Revision: [4408]
Adding patch for #2041

Revision: [4407]
Correcting all headers in the files

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4410 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 13:31:21 +00:00
phpnut
ab2a8800a2 Adding patch for #2041
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4408 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 13:11:00 +00:00
phpnut
a8a91e35be Correcting all headers in the files
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4407 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 10:39:45 +00:00
phpnut
4e3f36e7ac Merging fixes into the trunk:
Revision: 4404
Adding fix for #2012

Revision: [4403]
Adding fix for #2021

Revision: [4402]
Changing the order of include_path this is done to fix issues with servers having core cake files in one location and a user wanting to use a local copy

Revision: [4401]
Added fix for #1991

Revision: [4400]
Adding redirect fix for Ticket #1951

Revision: [4399]
Disabling REST-compliant hidden field temporarily

Revision: [4397]
Applying patch from #2019

Revision: [4396]
Adding magic method fix for null query values (Ticket #1999), and adding PostgreSQL boolean quoting patch (Ticket #1788)

Revision: [4395]
adding patch to dbo_postgres, #1828

Revision: [4394]
Adding patch from #1844

Revision: [4393]
Adding fix for #1928

Revision: [4392]
Added plugin view caching #1805.
Also fixed #1315

Revision: [4391]
Adding patch from #1851.
Fixed #1851 and #1876

Revision: [4390]
Fixed bad merge on Model::bindModel().

Revision: [4389]
Adding fix for #1946.

Revision: [4388]
fix in acl.php cli for delete and getPath, #1831

Revision: [4387]
Updating Japanese translations (ticket #2030)

Revision: [4386]
Fix for #2031

Revision: [4385]
Adding fix for #1988

Revision: [4384]
Adding fix for #2001

Revision: [4383]
Adding fix for #2027

Revision: [4382]
Adding fix for #1965

Revision: [4381]
Adding fix for #2023 

Revision: [4379]
Adding fix for #1908

Revision: [4378]
Adding fix for #1822

Revision: [4377]
Adding fix for #1993

Revision: [4376]
Correcting doc comments for #1852

Revision: [4375]
Reverting changes recent changes to DboSource

Revision: [4374]
Fixing undefined variable notice in DboSource::update()

Revision: [4373]
Fixing $fields error for belongsTo associations

Revision: [4371]
updating inflector rules #1939

Revision: [4370]
Adding fix for #1872.
Fixed helpers not being set in cached files

Revision: [4369]
Adding fix for AjaxHelper::drag() (Ticket #1906), and adding AjaxHelper test case

Revision: [4368]
Updating DboSource with new query generator implementation, and updating DboSource tests

Revision: [4367]
adding fixes to acl cli for #1885, and new upgradedb in acl cli for #1857

Revision: [4366]
changing field types to char(2) on table aros_acos

Revision: [4365]
Replacing ternary operations in FormHelper, and adding DOM ID's back to hidden inputs

Revision: [4364]
Adding fix for #1888

Revision: [4363]
adding fixes to bake #1881, #1929, 1891

Revision: [4362]
Fixing key quoting in JavascriptHelper::object() (Ticket #1986)

Revision: [4360]
Adding PostgreSQL conditional expressions to DboSource (Ticket #1914)

Revision: [4359]
Adding fix for #1953

Revision: [4357]
Adding insertQueryData fix for foreign keys = 0 (Ticket #1959)

Revision: [4356]
Adding fix for #1853

Revision: [4355]
Adding patch from #1973
This fixes issues with singular words that end in us or ss

Revision: [4353]
Adding fix for Status singular inflection

Revision: [4352]
Allowing user defined inflections to override the core

Revision: [4350]
Removing directories that are not used

Revision: [4349]
Adding ternary op wrapper function to basics

Revision: [4348]
adding uses('set') for Set::normalize() fix in RequestHandler

Revision: [4347]
fixing use of normalize in RequestHandler

Revision: [4346]
fix for xml helper

Revision: [4345]
Adding fix for Notice: Undefined variable: data

Revision: [4344]
refactored most methods, transaction support, case insensitive comparison & sorting, added createSequence() and sequenceExists(), bug fixes

Revision: [4343]
Applying patch from ticket #2009

Revision: [4342]
Enabling join models for all DBOs

Revision: [4341]
Updating HtmlHelper::css() to support array paths

Revision: [4340]
Fixing magic method query generation for array condition values (Ticket #2008)

Revision: [4339]
Updating Model for testing compatiblity

Revision: [4338]
Fixing script output caching in JavascriptHelper

Revision: [4337]
Rewriting automatic variable detection to work with any field

Revision: [4336]
Fixing typo (ticket #2003)

Revision: [4335]
Adding Socket core class and unit test

Revision: [4330]
Fixing column quoting for array-based conditions when columns are wrapped in SQL functions

Revision: [4329]
Fixing column length parsing in DboMysql

Revision: [4328]
Fixing error introduced in [4311] the DboSource::limit() does  not return results as expected.
When column is tinyint(1) is $limit = LIMIT tinyint(1).
All others are similar result with $limit = LIMIT [column type][#]

Revision: [4327]
Refactoring AuthComponent::user()

Revision: [4326]
Updating AuthComponent docblocks

Revision: [4325]
Fixing AuthComponent redirect URLs

Revision: [4324]
Adding shortcut icon generating to HtmlHelper::meta()

Revision: [4323]
Adding fallback for deprecated function mysql_list_tables() in DboMysql::listSources()

Revision: [4322]
Adding AuthComponent::user() to return current user, fixing config/paths docblocks, and adding IMAGES path

Revision: [4321]
Adding automatic password hashing for user logins and creates in AuthComponent

Revision: [4320]
Implementing shutdown() callback for components

Revision: [4319]
Fixing issue with conditional values being empty arrays in DboSource::conditionKeysToString()

Revision: [4318]
Fixing $model parameter in FormHelper::create() (Ticket #1963)

Revision: [4316]
Clearing validation errors on Model::create() (Ticket #1960)

Revision: [4315]
Updating helper method references, and fixing FormHelper::hidden() to work with '_method'

Revision: [4314]
Fixing return value of loadModels()

Revision: [4313]
Adding Model::isUnique() for simplified checking of unique fields/values

Revision: [4312]
Refactoring AuthComponent, and fixing URL comparison error

Revision: [4311]
Adding schema generation support to DboMysql

Revision: [4309]
Adding Controller::redirect() fix (Ticket #1951), and fixing redirect URL to conform with HTTP/1.1

Revision: [4308]
Adding fix for Ticket #1974

Revision: [4307]
Moving normalizeList() (basics) to Set::normalize()

Revision: [4306]
Fixing AppController::$uses merging for controllers with no models of their own.  To completely disable $uses, set $uses = null in your controller.

Revision: [4305]
Enforcing component callback disabling in Dispatcher (do $this->Component->enabled = false in beforeFilter).

Revision: [4304]
Fixing typo in HABTM definition (ticket #1975)

Revision: [4303]
Adding some spaces (ticket #1961)

Revision: [4302]
fixing FormHelper::input() error messages, ticket #1957

Revision: [4301]
Fixing array key name in FormHelper::input()

Revision: [4300]
updating bake and css, also added a name key to the generateFieldNames

Revision: [4299]
changing cache() to allow writing to the tmp directory

Revision: [4298]
Adding 'before', 'between', and 'after' options to FormHelper::input()

Revision: [4297]
Adding back 'default' key to table description, and fixing Model::create() to not include empty default values

Revision: [4296]
Fixing URL error condition in AuthComponent::startup(), and adding login failure handler

Revision: [4295]
Fixing $model parameter for FormHelper::create().  Must pass false if the form is not associated with a model.

Revision: [4294]
Adding 'default' option to HtmlHelper::link() to prevent default action

Revision: [4293]
Adding FormHelper::input() fix for generating select menus (Ticket #1860)

Revision: [4292]
Changed Configure::_ _writeConfig() to use instance from getInstance().

Revision: [4291]
Adding check for existence of Core key in class.paths.php.
Change Configure::_ _writeConfig() to cache files for 10 seconds if DEBUG > 0.

Revision: [4290]
Fixing key checking in AuthComponent

Revision: [4289]
Adding check for new dot notation that will be used to load classes

Revision: [4288]
Adding changes to other load*() functions in basics.php to create cached paths for loaded classes

Revision: [4287]
Adding Auth component

Revision: [4286]
Reverting changes from [4285]

Revision: [4285]
adding a return false to cache and configure

Revision: [4284]
Adding addslashes() to Configure::store() so content will have backslashes before characters that need to be quoted.
Removed error notice that is thrown when file is not present

Revision: [4283]
updating cake.generic.css

Revision: [4282]
updating FormHelper, #1860

Revision: [4281]
fixing typo in bake, #1902

Revision: [4280]
updating skel templates

Revision: [4279]
adding pagination and sorting to scaffold. refactoring plugin views and redirects, updating default layout

Revision: [4278]
adding check for is_writeable to cache()

Revision: [4277]
moving data conversion for xml from Model::set() to RequestHandler::startup();

Revision: [4276]
adding empty $config to Configure::__writeConfig, update to model for multiple datasources with a table prefix, added option to wrap xml with <data> to wrap the model elements  when using Model::set() 

Revision: [4275]
Correcting params in doc comments

Revision: [4274]
Adding new methods to Configure class that is used to created a cached version of config files.
Adding Configure::store() method call to bootstrap.php to create a cached file for class paths.
Adding Configure::read() to load class paths into Configure instance.
Adding check in loadModel() to get the class path from Configure::read('Models'); if set, if values are not set, the correct file is found and added to the cache file for faster loading.

Revision: [4273]
Changing .thtml to .ctp in templates

Revision: [4272]
Removing links to wiki

Revision: [4271]
Adding Ajax indicator fix for Ticket #1880

Revision: [4270]
Adding additional fix to [4269] to bypass cache when multiple forward slashes are used in the url

Revision: [4269]
Adding fix to CacheHelper when $this->url is / 

Revision: [4268]
Fixing $options array merge order in PaginatorHelper::link()

Revision: [4267]
Adding 'indicator' feature to AjaxHelper

Revision: [4266]
Updating TextHelper::autoLinkEmails() with new API changes (Ticket #1874)

Revision: [4265]
Implementing Validation::ip()

Revision: [4264]
Implementing minLength and maxLength

Revision: [4263]
Fixing typos

Revision: [4262]
Adding Sanitize::clean() to replace Sanitize::cleanArray(), cleanValue(), etc.

Revision: [4261]
Updating DboPear to be consistent with DboSource API 1.2

Revision: [4260]
Adding validation fix for Ticket #1850, and adding warning messages for Model::invalidFields() and Model::validates()

Revision: [4259]
Adding FormHelper::create() fix for AjaxHelper (Ticket #1836)

Revision: [4258]
Adding PaginatorHelper::options() to set default pagination options

Revision: [4257]
Additional helper detection for paginate()

Revision: [4256]
Fixing DOM ID's for HtmlHelper::selectTag() (Ticket #1847)

Revision: [4255]
Fixing HtmlHelper::link() to allow passing $escapeTitle and $confirmMessage params as 'escape' and 'confirm' in $options

Revision: [4254]
Fixing ambiguous key sorting in Controller::paginate()

Revision: [4253]
Fixing URL passing in AjaxHelper::form()

Revision: [4252]
bake, redirect links

Revision: [4251]
bake, generated links

Revision: [4250]
re-fixing for the custom controllers in bake

Revision: [4249]
updating bake, added fix for ticket #1835 and #1841, css update for #1835.

Revision: [4248]
Adding fix to allow Configure::write('debug', '0'); in a controller method

Revision: [4247]
Adding Indonesian translation

Revision: [4246]
Fixing array key in PaginatorHelper::counter()

Revision: [4245]
Cleaning up FormHelper code

Revision: [4244]
Adding patch from phishy:

sets case insensitivity of sorting after connect
clears statements/cursors when done interating through them
begun adding transaction support
fixed date/timestamp support to support more date formats
added supports for dates and timestamps
added a sequence public property instead of the hardcoded name

Revision: [4243]
Adding skeleton of translation string extractor class

Revision: [4238]
making it possible to use FormHelper without a model

Revision: [4237]
Adding 'json' parameter for Ajax onComplete callback (Ticket #1843)

Revision: [4236]
overfactoring namedArgs, they are used by default with a  colon as a separator

Revision: [4235]
Fixing issue in FormHelper::input() where the 'type' attribute appears twice

Revision: [4234]
Adding Paginator methods for links and sorting

Revision: [4233]
Replacing deprecated Html->formTag() with Form->create()

Revision: [4232]
Adding additional Dispatcher fixes for named arguments; fixing parameters passed in Paginator URLs

Revision: [4231]
"Correcting doc comments in basics.php
Changed the params order for _ _c()."

Revision: [4230]
Fixing "undefined variable" error in dispatch

Revision: [4229]
Adding fix for Ticket #1823

Revision: [4228]
adding router fix for array params, ticket #1824, removing ternary operator from HtmlHelper::link();

Revision: [4227]
Fixing an error in I18n class that would sometimes show up when using Scaffolded methods 

Revision: [4226]
"A little more refactoring on HtmlHelper::checkbox()"

Revision: [4225]
"Fixed typo in [4221]"

Revision: [4224]
Adding fix for Notice: Use of undefined constant action - assumed 'action' on Scaffolded view()

Revision: [4223]
Adding patch from Ticket #1354

Revision: [4222]
"Adding a second param to bindModel and unbindModel to allow
turning off the auto resetting of the associations.
By default associations are always reset to the orignal models values"

Revision: [4221]
Adding patch from Ticket #1821

Revision: [4220]
Adding fix from Ticket #1808.
Correcting language name in I10n class.
Removed unused var from CookieComponent

Revision: [4219]
Adding Slovenian translation

Revision: [4218]
Updating CookieComponent class to allow multidimensional arrays to be stored in one cookie.
Changed write() to allow passing $expire and $encrypt.

Revision: [4217]
Replacing '_view_' with 'view'

Revision: [4216]
Fixing parse error in PHP4

Revision: [4215]
Updating French, Italian, and Danish translations

Revision: [4214]
fixing typo in doc comment for CookieComponent::$_ _values;

Revision: [4213]
Adding secure CookieComponent class.

Revision: [4212]
fixing router args in urls, ticket #1811

Revision: [4211]
Fixing magic method names

Revision: [4210]
Merging changes from 1.1.x.x CakeSession

Revision: [4209]
Updating Danish translation

Revision: [4208]
Updating Danish translation

Revision: [4207]
Adding fix for I18n when $domain is specified using any of the _ _d*() functions

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4406 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 06:53:25 +00:00
phpnut
9751f8549b Adding fix for #2012
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4404 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 04:58:38 +00:00
phpnut
9b28c2ed27 Adding fix for #2021
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4403 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 04:39:48 +00:00
phpnut
5b8f656fe1 Added fix for #1991
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4401 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 03:57:57 +00:00
nate
375276df4f Adding redirect fix for Ticket #1951
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4400 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 03:54:25 +00:00
nate
5a8cc752f1 Disabling REST-compliant hidden field temporarily
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4399 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 03:42:00 +00:00
phpnut
9c4766f3bb Applying patch from #2019
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4397 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 02:47:53 +00:00
nate
75d8f42684 Adding magic method fix for null query values (Ticket #1999), and adding PostgreSQL boolean quoting patch (Ticket #1788)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4396 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 02:21:44 +00:00
gwoo
8f7add9c29 adding patch to dbo_postgres, #1828
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4395 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-02 00:06:26 +00:00
phpnut
ce033247ed Adding patch from #1844
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4394 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 23:58:02 +00:00
phpnut
03d15ff892 Adding fix for #1928
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4393 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 23:43:56 +00:00
phpnut
c0c5a3e28c Added plugin view caching #1805.
Also fixed #1315

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4392 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 21:16:36 +00:00
phpnut
e4a9ab6959 Adding patch from #1851.
Fixed #1851 and #1876

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4391 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 20:11:28 +00:00
phpnut
67e582cc2f Fixed bad merge on Model::bindModel().
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4390 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 18:45:38 +00:00
phpnut
a83f2bf470 Adding fix for #1946.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4389 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 18:37:42 +00:00
gwoo
a47a3cbb96 fix in acl.php cli for delete and getPath, #1831
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4388 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 17:13:12 +00:00
dho
1d9194556e Updating Japanese translations (ticket #2030)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4387 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 07:35:52 +00:00
phpnut
92802aeefb Fix for #2031
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4386 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 07:17:54 +00:00
phpnut
51969dc95a Adding fix for #1988
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4385 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 07:06:40 +00:00
phpnut
dfb4eefaf8 Adding fix for #2001
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4384 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 06:39:25 +00:00
phpnut
d1baa9db8f Adding fix for #2027
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4383 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 06:12:18 +00:00
phpnut
ba6ad9d3c1 Adding fix for #1965
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4382 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 05:18:25 +00:00
phpnut
7e68d31e60 Adding fix for #2023
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4381 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 04:43:22 +00:00
phpnut
1aef0e1f72 Adding fix for #1908
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4379 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 04:02:43 +00:00
phpnut
96f8227255 Adding fix for #1822
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4378 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 03:38:27 +00:00
phpnut
450a95f4a1 Adding fix for #1993
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4377 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 03:34:32 +00:00
phpnut
67ee75dba4 Correcting doc comments for #1852
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4376 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 03:02:08 +00:00
phpnut
5c79d064aa Reverting changes recent changes to DboSource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4375 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 02:49:19 +00:00
nate
67c5c43761 Fixing undefined variable notice in DboSource::update()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4374 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 02:15:52 +00:00
nate
f1912bbe60 Fixing $fields error for belongsTo associations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4373 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 02:13:33 +00:00
gwoo
7d1e5bb30c updating inflector rules #1939
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4371 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 01:01:36 +00:00
phpnut
6b8bd59b20 Adding fix for #1872.
Fixed helpers not being set in cached files

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4370 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-01 00:41:21 +00:00
nate
8ed5dc6694 Adding fix for AjaxHelper::drag() (Ticket #1906), and adding AjaxHelper test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4369 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 23:48:51 +00:00
nate
0698b9cdf6 Updating DboSource with new query generator implementation, and updating DboSource tests
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4368 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 23:25:05 +00:00
gwoo
c489d64964 adding fixes to acl cli for #1885, and new upgradedb in acl cli for #1857
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4367 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 23:04:47 +00:00
nate
f754449004 Replacing ternary operations in FormHelper, and adding DOM ID's back to hidden inputs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4365 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 22:43:32 +00:00
phpnut
7dc7c03991 Adding fix for #1888
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4364 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 22:01:33 +00:00
gwoo
b7c1b6a417 adding fixes to bake #1881, #1929, 1891
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4363 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 21:22:57 +00:00
nate
b721b963d3 Fixing key quoting in JavascriptHelper::object() (Ticket #1986)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4362 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 21:17:07 +00:00
nate
caeed6bf4c Adding PostgreSQL conditional expressions to DboSource (Ticket #1914)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4360 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 21:07:32 +00:00
phpnut
b36dc55327 Adding fix for #1953
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4359 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 21:05:51 +00:00
nate
cedb56676f Adding insertQueryData fix for foreign keys = 0 (Ticket #1959)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4357 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 19:56:47 +00:00
phpnut
35f479f232 Adding fix for #1853
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4356 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 19:39:36 +00:00
phpnut
39b580237b Adding patch from #1973
This fixes issues with singular words that end in us or ss

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4355 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 19:33:34 +00:00
phpnut
719cd36729 Adding fix for Status singular inflection
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4353 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 19:03:43 +00:00
phpnut
69fc957fd3 Allowing user defined inflections to override the core
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4352 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-31 18:49:30 +00:00
nate
3c669d7cee Adding ternary op wrapper function to basics
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4349 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-30 16:34:22 +00:00
gwoo
6d9eb33c6a adding uses('set') for Set::normalize() fix in RequestHandler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4348 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-30 09:13:26 +00:00
gwoo
9728ef5ae9 fixing use of normalize in RequestHandler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4347 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-29 22:09:58 +00:00
gwoo
f77e642f24 fix for xml helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4346 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-29 22:04:26 +00:00
phpnut
bfc5168358 Adding fix for Notice: Undefined variable: data
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4345 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-29 10:40:19 +00:00
nate
4d9ea2cc63 refactored most methods, transaction support, case insensitive comparison & sorting, added createSequence() and sequenceExists(), bug fixes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4344 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-28 20:32:01 +00:00
dho
ed61f5ac8d Applying patch from ticket #2009
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4343 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-28 12:29:52 +00:00
nate
1df76850c3 Enabling join models for all DBOs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4342 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-28 01:53:35 +00:00
nate
620f00adef Updating HtmlHelper::css() to support array paths
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4341 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-27 18:17:23 +00:00
nate
4f794248af Fixing magic method query generation for array condition values (Ticket #2008)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4340 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-27 17:48:48 +00:00
nate
8307f2bc85 Updating Model for testing compatiblity
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4339 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-27 17:45:26 +00:00
nate
dc00f9b905 Fixing script output caching in JavascriptHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4338 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-27 17:41:32 +00:00
nate
55a4245d01 Rewriting automatic variable detection to work with any field
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4337 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-26 21:03:35 +00:00
dho
6efc7583e3 Fixing typo (ticket #2003)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4336 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-26 12:18:02 +00:00
nate
3d53828511 Adding Socket core class and unit test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4335 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-25 14:34:11 +00:00
nate
dbbfa5b837 Fixing column quoting for array-based conditions when columns are wrapped in SQL functions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4330 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-24 20:04:27 +00:00
nate
f9a00da02b Fixing column length parsing in DboMysql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4329 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-24 13:03:24 +00:00
phpnut
ea2c7819f3 Fixing error introduced in [4311] the DboSource::limit() does not return results as expected.
When column is tinyint(1) is $limit = LIMIT tinyint(1).
All others are similar result with $limit = LIMIT [column type][#]

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4328 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-24 10:47:12 +00:00
nate
4d96ad09f1 Refactoring AuthComponent::user()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4327 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-24 07:26:52 +00:00
nate
5654ae2f63 Updating AuthComponent docblocks
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4326 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-24 04:38:39 +00:00
nate
138a5001cf Fixing AuthComponent redirect URLs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4325 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-24 02:28:16 +00:00
nate
cb2952d60b Adding shortcut icon generating to HtmlHelper::meta()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4324 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-24 01:56:12 +00:00
nate
bd67cfc0db Adding fallback for deprecated function mysql_list_tables() in DboMysql::listSources()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4323 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-23 22:23:39 +00:00
nate
685054fac3 Adding AuthComponent::user() to return current user, fixing config/paths docblocks, and adding IMAGES path
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4322 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-23 16:27:34 +00:00
nate
6c670400ca Adding automatic password hashing for user logins and creates in AuthComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4321 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-23 15:22:23 +00:00
nate
dcca6e711c Implementing shutdown() callback for components
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4320 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-23 15:20:33 +00:00
nate
51cf77d4cc Fixing issue with conditional values being empty arrays in DboSource::conditionKeysToString()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4319 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-22 19:21:21 +00:00
nate
7d9ab97745 Fixing $model parameter in FormHelper::create() (Ticket #1963)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4318 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-22 08:32:00 +00:00
nate
d1e375f5dd Clearing validation errors on Model::create() (Ticket #1960)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4316 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-22 08:22:10 +00:00
nate
9444538ec0 Updating helper method references, and fixing FormHelper::hidden() to work with '_method'
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4315 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-22 08:12:06 +00:00
nate
181a22d659 Fixing return value of loadModels()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4314 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-22 08:10:43 +00:00
nate
51d384932f Adding Model::isUnique() for simplified checking of unique fields/values
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4313 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-22 08:09:17 +00:00
nate
92fb921732 Refactoring AuthComponent, and fixing URL comparison error
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4312 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-22 08:08:34 +00:00
nate
53dca9cccc Adding schema generation support to DboMysql
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4311 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-21 22:55:58 +00:00
nate
4010ecb8b3 Adding Controller::redirect() fix (Ticket #1951), and fixing redirect URL to conform with HTTP/1.1
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4309 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 21:26:42 +00:00
nate
3f1154c8cf Adding fix for Ticket #1974
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4308 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 20:59:38 +00:00
nate
06f83ea86d Moving normalizeList() (basics) to Set::normalize()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4307 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 20:50:57 +00:00
nate
4ad44ec8a0 Fixing AppController::$uses merging for controllers with no models of their own. To completely disable $uses, set $uses = null in your controller.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4306 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 15:46:12 +00:00
nate
68ea832150 Enforcing component callback disabling in Dispatcher (do $this->Component->enabled = false in beforeFilter).
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4305 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 15:29:06 +00:00
dho
4602d76673 Fixing typo in HABTM definition (ticket #1975)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4304 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-20 07:03:05 +00:00
dho
1cac23d933 Adding some spaces (ticket #1961)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4303 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-18 12:38:20 +00:00
gwoo
7af304b742 fixing FormHelper::input() error messages, ticket #1957
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4302 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-17 20:17:25 +00:00
nate
9737072e27 Fixing array key name in FormHelper::input()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4301 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-17 20:07:35 +00:00
gwoo
0c2579c565 updating bake and css, also added a name key to the generateFieldNames
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4300 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-17 02:43:15 +00:00
phpnut
6257689e0d changing cache() to allow writing to the tmp directory
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4299 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-17 02:41:02 +00:00
nate
6e56e926e7 Adding 'before', 'between', and 'after' options to FormHelper::input()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4298 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-16 12:54:55 +00:00
nate
6dcdad1a2c Adding back 'default' key to table description, and fixing Model::create() to not include empty default values
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4297 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-16 12:53:39 +00:00
nate
5655ec336b Fixing URL error condition in AuthComponent::startup(), and adding login failure handler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4296 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-16 12:51:56 +00:00
nate
23cb3451c0 Fixing $model parameter for FormHelper::create(). Must pass false if the form is not associated with a model.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4295 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-16 07:07:49 +00:00
nate
e049d680e0 Adding 'default' option to HtmlHelper::link() to prevent default action
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4294 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-14 15:19:42 +00:00
nate
33990b2193 Adding FormHelper::input() fix for generating select menus (Ticket #1860)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4293 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-14 05:46:03 +00:00
phpnut
2ef3e325ca Changed Configure::_ _writeConfig() to use instance from getInstance().
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4292 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-14 01:29:20 +00:00
phpnut
bcd2a951e4 Adding check for existence of Core key in class.paths.php.
Change Configure::_ _writeConfig() to cache files for 10 seconds if DEBUG > 0.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4291 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-14 01:25:13 +00:00
nate
2e715c9da0 Fixing key checking in AuthComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4290 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-13 23:05:26 +00:00
phpnut
27e5481b5b Adding check for new dot notation that will be used to load classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4289 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-13 21:36:10 +00:00
phpnut
7ad952d5eb Adding changes to other load*() functions in basics.php to create cached paths for loaded classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4288 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-13 21:08:52 +00:00
nate
de4bd50931 Adding Auth component
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4287 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-12 17:49:02 +00:00
phpnut
55e9a1eda6 Reverting changes from [4285]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4286 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-12 17:25:56 +00:00
gwoo
8eccba69ce adding a return false to cache and configure
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4285 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-12 16:37:56 +00:00
phpnut
d967e98ee1 Adding addslashes() to Configure::store() so content will have backslashes before characters that need to be quoted.
Removed error notice that is thrown when file is not present

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4284 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-12 01:33:18 +00:00
gwoo
ea7ae19849 updating cake.generic.css
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4283 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-11 02:22:17 +00:00
gwoo
86c344917d updating FormHelper, #1860
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4282 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-11 00:11:55 +00:00
gwoo
bd50a860f8 fixing typo in bake, #1902
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4281 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-10 23:33:03 +00:00
gwoo
62ef82cf4e updating skel templates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4280 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-10 22:56:16 +00:00
gwoo
dc366d046d adding pagination and sorting to scaffold. refactoring plugin views and redirects, updating default layout
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4279 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-10 22:53:52 +00:00
gwoo
6c528ffa00 adding check for is_writeable to cache()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4278 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-10 22:43:37 +00:00
gwoo
790689fc32 moving data conversion for xml from Model::set() to RequestHandler::startup();
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4277 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-10 21:20:06 +00:00
gwoo
7019ee7d26 adding empty $config to Configure::__writeConfig, update to model for multiple datasources with a table prefix, added option to wrap xml with <data> to wrap the model elements when using Model::set()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4276 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-10 11:15:43 +00:00
phpnut
a1651041dd Correcting params in doc comments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4275 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-09 22:36:29 +00:00
phpnut
e64de54a51 Adding new methods to Configure class that is used to created a cached version of config files.
Adding Configure::store() method call to bootstrap.php to create a cached file for class paths.
Adding Configure::read() to load class paths into Configure instance.
Adding check in loadModel() to get the class path from Configure::read('Models'); if set, if values are not set, the correct file is found and added to the cache file for faster loading.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4274 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-09 22:32:48 +00:00
dho
246028e89f Changing .thtml to .ctp in templates
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4273 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-09 07:36:27 +00:00
dho
6584ce99f7 Removing links to wiki
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4272 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-08 13:12:05 +00:00
nate
ec2ce20f91 Adding Ajax indicator fix for Ticket #1880
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4271 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-08 08:33:39 +00:00
phpnut
9ea5c756d4 Adding additional fix to [4269] to bypass cache when multiple forward slashes are used in the url
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4270 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-07 22:44:19 +00:00
phpnut
6efa16eb82 Adding fix to CacheHelper when $this->url is /
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4269 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-07 22:16:38 +00:00
nate
914dffcc14 Fixing $options array merge order in PaginatorHelper::link()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4268 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-07 20:09:45 +00:00
nate
a1f632c905 Adding 'indicator' feature to AjaxHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4267 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 22:09:27 +00:00
nate
18f086fbd1 Updating TextHelper::autoLinkEmails() with new API changes (Ticket #1874)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4266 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 21:10:33 +00:00
dho
98f32860a9 Implementing Validation::ip()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4265 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 16:37:03 +00:00
dho
50149aeeed Implementing minLength and maxLength
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4264 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 10:32:12 +00:00
dho
c7f045c832 Fixing typos
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4263 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 08:41:48 +00:00
nate
b6c1b9718f Adding Sanitize::clean() to replace Sanitize::cleanArray(), cleanValue(), etc.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4262 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 06:19:58 +00:00
nate
4df28cd1e6 Updating DboPear to be consistent with DboSource API 1.2
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4261 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 06:02:37 +00:00
nate
bfeaab795a Adding validation fix for Ticket #1850, and adding warning messages for Model::invalidFields() and Model::validates()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4260 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 04:58:24 +00:00
nate
8fb73307e9 Adding FormHelper::create() fix for AjaxHelper (Ticket #1836)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4259 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 00:47:54 +00:00
nate
eb4f2eed2e Adding PaginatorHelper::options() to set default pagination options
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4258 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-06 00:37:40 +00:00
nate
7e6db39d50 Additional helper detection for paginate()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4257 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-05 23:39:47 +00:00
nate
b5309bb017 Fixing DOM ID's for HtmlHelper::selectTag() (Ticket #1847)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4256 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-05 23:17:05 +00:00
nate
b8c51fee44 Fixing HtmlHelper::link() to allow passing $escapeTitle and $confirmMessage params as 'escape' and 'confirm' in $options
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4255 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-05 21:48:40 +00:00
nate
f96a1728eb Fixing ambiguous key sorting in Controller::paginate()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4254 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-05 21:46:28 +00:00
nate
0750210fa0 Fixing URL passing in AjaxHelper::form()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4253 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-05 19:21:46 +00:00
gwoo
6f864c367d bake, redirect links
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4252 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-05 18:58:45 +00:00
gwoo
e4b66db20e bake, generated links
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4251 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-05 18:35:09 +00:00
gwoo
f441e0fd42 re-fixing for the custom controllers in bake
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4250 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-05 02:23:10 +00:00
gwoo
e5ca024cfb updating bake, added fix for ticket #1835 and #1841, css update for #1835.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4249 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-04 18:12:13 +00:00
phpnut
658ab33959 Adding fix to allow Configure::write('debug', '0'); in a controller method
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4248 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-04 16:13:24 +00:00