Commit graph

306 commits

Author SHA1 Message Date
dho
35c7807cc3 Case-insensitive matching when using array of phrases in TextHelper::highlight
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4878 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-21 16:55:09 +00:00
nate
bb8c52dac0 Fixing display of core error messages
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4877 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-18 16:39:11 +00:00
nate
11c5e916b8 Adding undefined variable fix for PaginatorHelper::sortDir() (Ticket #2440)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4868 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 07:03:20 +00:00
dho
9a865176aa Removing invalid character
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4866 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 06:48:16 +00:00
gwoo
f4c9be8be2 working on form helper, added a submit button to form end if you pass true, added fieldset options to inputs
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4862 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-17 02:06:15 +00:00
dho
ee403daf5d Fixing problem with highlighting multiple phrases (ticket #2418)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4857 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-13 14:27:59 +00:00
dho
c9d4fa6451 Applying patch from ticket #2417
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4856 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-13 11:56:03 +00:00
nate
8df2d428ff Fixing JavascriptHelper::object() bug with numeric indexes, as reported on the mailing list
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4838 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 18:02:10 +00:00
phpnut
f1678686a4 Adding fix for Ticket #2326
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4835 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-11 15:20:37 +00:00
phpnut
20e41074c9 Adding fix for Ticket #2364
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4814 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-07 06:44:18 +00:00
phpnut
980e713df7 Adding fix for Ticket #2360
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4808 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-06 19:05:06 +00:00
phpnut
69da631d61 Adding fix for Ticket #2353
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4795 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 21:20:08 +00:00
dho
dc06a86291 Fixing typo
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4781 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 12:11:23 +00:00
gwoo
c81fd8b256 finishing changes to FormHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4776 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 04:31:46 +00:00
gwoo
f49183f70e fixing some changes to FormHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4769 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-05 02:11:20 +00:00
gwoo
06d6bbdbae adding fix to FormHelper::create() for plugin path with action, see #2342. Adding default sizes, maxlengths, and values to input. FormHelper::inputs() will now return all the fields in the model without the need to pass anything from the controller, uses a blacklist so some fields can be skipped. Added PaginatorHelper::numbers(), will output current page numbers, uses a modulus to decide how many to show on each side of the current page. Paginator::options() now allows setting default paging params
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4762 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 20:38:26 +00:00
phpnut
dcac88825a Adding fix for Ticket #2339
Adding fix for Ticket #2335
Adding fix for Ticket #2344

Merged changes in dbo from 1.2 to 1.1
Merged changes to session handling in 1.2 to 1.1
Merged changes to Model::_ _saveMulti() in 1.2 to 1.1
Added Set::pushDiff() to append differences in array 2 to array 1
Added SessionComponent::activate() and SessionHelper::activate() to turn sessions usage on if AUTO_SESSION is set to false
Added test for Ticket #2343
Added change to AclNode to use correct table naming
Added garbage clean up to CakeSession::_ _close(); some installs, like Debian, have removed garbage clean
up and use a cron job instead. Currently this change is only supported for database session.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4752 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 07:25:48 +00:00
phpnut
a1e535a05d Adding fix for Ticket #2328
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4745 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-03 03:10:36 +00:00
nate
20645337f7 Adding fix for TIcket #2325
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4732 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 14:47:39 +00:00
dho
d4c5eea261 Adding patch from ticket #2324 plus test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4731 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 14:31:23 +00:00
nate
23fc1e8e53 Refactoring FormHelper and fixing 'empty' option for date/time elements in FormHelper::input() (Ticket #2311)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4726 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 04:55:56 +00:00
nate
9e1019787b Moving session flash rendering from component to helper (fixes errors when using setFlash() in beforeFilter)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4719 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-31 19:37:59 +00:00
nate
1a10bf9b8a Fixing return value in Session::check()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4707 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 13:43:06 +00:00
nate
381ec92b4c Adding tests and fixtures for self-join associations, and fixing JS syntax for 'indicator' (Ticket #2302)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4705 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 02:16:00 +00:00
nate
8e92df3bbb Adding JavascriptHelper::object() fix for 0 being converted to null (Ticket #2296)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4680 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-26 17:22:02 +00:00
phpnut
f072902d80 Added fix for Ticket #2098
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4673 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 03:02:10 +00:00
phpnut
3292a8efdb Adding enhancement idea from Ticket #2201.
Fixed the use of parseHtmlOptions which is deprecated.
Fixed an undefined index on check box when there is no model.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4672 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 02:03:34 +00:00
nate
88563ebe46 Adding test cases for FormHelper::error()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4662 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 16:06:48 +00:00
nate
6b7d4f37d4 Fixing undefined variable in Router, updating Socket test, and fixing FormHelper::label() for dot notation (Ticket #2277)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4648 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-22 18:47:38 +00:00
phpnut
b183501e85 Adding changes needed to allow passing $tagName param using dot notation so use Model.field instead of Model/field which is being deprecated
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4630 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-17 07:58:22 +00:00
nate
92cd894314 Fixing AjaxHelper::dropRemote() (Ticket #2260) and updating test cases
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4626 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 23:54:24 +00:00
nate
3dae247bab Fixing FormHelper::create() for use with associated models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4617 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-16 04:47:10 +00:00
dho
8917efcc0a Appending .js to strings like script-x.x.x in link() function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4615 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-15 16:37:46 +00:00
nate
32887a68ec Making sure $attributes is an array in FormHelper::select()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4613 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-14 23:05:19 +00:00
nate
4b022122d1 Updating AjaxHelper::autoComplete() for new API
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4611 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-14 20:47:39 +00:00
nate
272efd4c07 Updating AjaxHelper::submit() with FormHelper reference
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4593 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-05 17:53:43 +00:00
phpnut
d6f73252ae Moved all deprecated methods to end of file.
Added notices for all methods that are deprecated.
Added fix for Ticket #2185.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4583 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 15:28:08 +00:00
phpnut
694bee97ac Moving date/time related form methods to FormHelper.
Fixed Ticket #2189.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4579 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 12:14:33 +00:00
phpnut
d931b77111 Removing $this->Html-> in FormHelper::textarea()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4578 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 10:51:24 +00:00
phpnut
d4c62a855b Adding fix for Ticket #2156
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4577 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 10:31:02 +00:00
phpnut
f05ab47e94 Adding fix for Ticket #1442.
Controller components are now initialized in cached views

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4571 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-04 04:43:30 +00:00
nate
e823ca1bf2 Fixing default JavaScript template, and code generation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4562 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-27 18:23:09 +00:00
nate
c0ac0f536b Initial implementation code for dynamic POST variable names
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4561 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-26 18:58:18 +00:00
nate
9bec5d8ebb Deprecating HtmlHelper::selectTag()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4558 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-26 13:44:04 +00:00
nate
105b17799a Fixing conflict between JS script caching and dynamic updating of 'magic' Ajax div's
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4551 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-21 22:13:16 +00:00
nate
00c6f22532 Initial import of JsHelper JavaScript generator. PHP5-only until further notice.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4550 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-21 20:46:34 +00:00
nate
552e6850c3 Forcing cached script output to be written inline (JavascriptHelper)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4548 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-21 16:53:32 +00:00
nate
0e7fd21a8e Removing 'showParents' attribute from FormHelper::select() output (Ticket #2134)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4530 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-17 16:56:25 +00:00
nate
84a5c14c9b Fixing event:Selectors implementation for Ajax reloads
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4524 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-15 20:40:26 +00:00
nate
b45f8984f8 Adding parameters for AjaxHelper::sortable()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4516 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-02-14 07:24:54 +00:00