Commit graph

926 commits

Author SHA1 Message Date
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
phpnut
cdfeca6f20 Adding Indonesian translation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4247 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-03 18:55:01 +00:00
nate
8c3a1307c6 Fixing array key in PaginatorHelper::counter()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4246 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-03 17:46:52 +00:00
nate
b21b7f4b03 Cleaning up FormHelper code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4245 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-03 17:36:14 +00:00
phpnut
15ca3a9c39 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

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4244 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-02 20:30:22 +00:00
phpnut
929539146e Adding skeleton of translation string extractor class
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4243 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-01 22:03:15 +00:00
gwoo
6f8489b52e making it possible to use FormHelper without a model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4238 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-01 19:39:07 +00:00
nate
f8f2df5053 Adding 'json' parameter for Ajax onComplete callback (Ticket #1843)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4237 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-01 18:04:40 +00:00
gwoo
315529507c overfactoring namedArgs, they are used by default with a colon as a separator
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4236 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-01 15:37:45 +00:00
nate
07985626fb Fixing issue in FormHelper::input() where the 'type' attribute appears twice
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4235 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-31 08:28:55 +00:00
nate
d2967c3f92 Adding Paginator methods for links and sorting
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4234 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-31 08:27:02 +00:00
dho
d9adf49c87 Replacing deprecated Html->formTag() with Form->create()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4233 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-30 14:31:35 +00:00
nate
9ce0247acc Adding additional Dispatcher fixes for named arguments; fixing parameters passed in Paginator URLs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4232 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-30 06:12:29 +00:00
phpnut
3758445e8a "Correcting doc comments in basics.php
Changed the params order for _ _c()."

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4231 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-30 01:02:19 +00:00
dho
b05215eb9a Fixing "undefined variable" error in dispatch
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4230 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-29 08:00:01 +00:00
nate
b47906cdc1 Adding fix for Ticket #1823
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4229 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-29 05:42:37 +00:00
gwoo
ed28c3187b adding router fix for array params, ticket #1824, removing ternary operator from HtmlHelper::link();
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4228 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-29 04:16:53 +00:00
phpnut
8b79b227cc Fixing an error in I18n class that would sometimes show up when using Scaffolded methods
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4227 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 16:51:12 +00:00
phpnut
9f48b1d28c "A little more refactoring on HtmlHelper::checkbox()"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4226 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 07:31:24 +00:00
phpnut
90f6c38614 "Fixed typo in [4221]"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4225 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 07:28:43 +00:00
phpnut
93f7a48a2a Adding fix for Notice: Use of undefined constant action - assumed 'action' on Scaffolded view()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4224 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 05:22:41 +00:00
phpnut
dfbc6f0706 Adding patch from Ticket #1354
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4223 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 05:15:21 +00:00
phpnut
0ab73bb5fa "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"

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4222 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 04:02:38 +00:00
phpnut
73bb4ec98f Adding patch from Ticket #1821
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4221 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 03:48:04 +00:00
phpnut
69379095c8 Adding fix from Ticket #1808.
Correcting language name in I10n class.
Removed unused var from CookieComponent

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4220 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 03:41:33 +00:00
phpnut
b91daf775c Adding Slovenian translation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4219 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-28 03:14:50 +00:00
phpnut
a98d44c455 Updating CookieComponent class to allow multidimensional arrays to be stored in one cookie.
Changed write() to allow passing $expire and $encrypt.


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4218 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-27 23:31:32 +00:00
dho
5b7aa0d783 Replacing '_view_' with 'view'
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4217 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-27 09:34:45 +00:00
dho
aa6d4959fd Fixing parse error in PHP4
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4216 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-27 09:17:45 +00:00
phpnut
9e6ab9a541 Updating French, Italian, and Danish translations
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4215 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-27 03:50:08 +00:00
phpnut
130b448ad8 fixing typo in doc comment for CookieComponent::$_ _values;
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4214 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-27 00:34:09 +00:00
phpnut
3f7bb1ca61 Adding secure CookieComponent class.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4213 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-27 00:27:51 +00:00
gwoo
fc66c8aa6a fixing router args in urls, ticket #1811
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4212 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-26 18:06:42 +00:00