mark_story
|
d77761e03b
|
Fixing merged test from 1.2
|
2009-11-01 12:31:57 -05:00 |
|
mark_story
|
35fa099f6a
|
Updating ajax helper test to reflect changes in FormHelper parameter usage.
|
2009-11-01 12:20:37 -05:00 |
|
mark_story
|
a3bb77c4f3
|
Merge branch '1.2' into 1.3-merger
Conflicts:
cake/console/libs/acl.php
cake/console/libs/tasks/controller.php
cake/console/libs/tasks/db_config.php
cake/console/libs/tasks/model.php
cake/console/libs/templates/skel/views/layouts/xml/default.ctp
cake/libs/model/datasources/dbo/dbo_mysql.php
cake/libs/model/datasources/dbo/dbo_mysqli.php
cake/libs/validation.php
cake/libs/view/helpers/form.php
cake/tests/cases/basics.test.php
cake/tests/cases/console/libs/tasks/model.test.php
cake/tests/cases/libs/cake_test_case.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_mysqli.test.php
cake/tests/cases/libs/view/helpers/javascript.test.php
cake/tests/cases/libs/view/helpers/session.test.php
cake/tests/groups/controller.group.php
cake/tests/groups/lib.group.php
cake/tests/groups/no_database.group.php
|
2009-11-01 12:11:49 -05:00 |
|
mark_story
|
44d7742b85
|
Minor refactoring and removal of duplicate test.
|
2009-10-31 16:28:43 -04:00 |
|
tPl0ch
|
2331cfde60
|
Added 'before' and 'after' options to FormHelper::submit(). Test cases updated.
Signed-off-by: Mark Story <mark@mark-story.com>
|
2009-10-31 16:21:53 -04:00 |
|
mark_story
|
24a75a27bf
|
Updating Javacsript helper to use a real skipIf
|
2009-10-31 14:25:52 -04:00 |
|
mark_story
|
6726b76077
|
Refactoring input() to reduce number of method calls.
Applying patch from 'j3ffy' to allow user defined types to override magic select type.
Test case added.
Fixes #5109
|
2009-10-31 01:45:17 -04:00 |
|
mark_story
|
9ed7a5cd55
|
Adding new options into doc blocks.
Removing todo as its implemented already.
|
2009-10-31 00:58:21 -04:00 |
|
mark_story
|
ac302bb6c2
|
Minor refactoring.
Adding tests for form->create() with file type forms.
|
2009-10-31 00:08:49 -04:00 |
|
mark_story
|
15da4a7007
|
Moving tests around to be closer in the file to similar tests.
Reformatting tests.
Adding/updating doc blocks for test methods.
|
2009-10-30 23:23:33 -04:00 |
|
José Lorenzo Rodríguez
|
adea104edb
|
Allowing output disabling of hidden fields in checkbox and radio input types. closes #6185
Signed-off-by: Mark Story <mark@mark-story.com>
|
2009-10-30 22:47:31 -04:00 |
|
José Lorenzo Rodríguez
|
1c47b2182e
|
Adding form encoding default in form create options. Default is always taken from Configure::read('App.encoding'). closes #6042
|
2009-10-30 22:35:21 -04:00 |
|
José Lorenzo Rodríguez
|
dfc1014fba
|
Making current action be the default for new forms. Updating test accordingly. closes #5353
Signed-off-by: Mark Story <mark@mark-story.com>
|
2009-10-30 22:29:49 -04:00 |
|
mark_story
|
55fc72c533
|
Moving test method and adding doc block.
|
2009-10-30 22:25:49 -04:00 |
|
José Lorenzo Rodríguez
|
4752fc04da
|
Adding test case to prove it is possible to escape error messages using form::input options parameter, closes #2920 as invalid
Signed-off-by: Mark Story <mark@mark-story.com>
|
2009-10-30 22:24:18 -04:00 |
|
renan.saddam
|
e7074c1e5c
|
Moving parameters to $options on Text::truncate() and Text::highlight().
|
2009-10-29 01:23:44 -02:00 |
|
mark_story
|
0b232742d9
|
Adding skip() for CacheHelper test to check if app/tmp/cache/views is writable.
|
2009-10-22 00:38:37 -04:00 |
|
mark_story
|
dac26d92bc
|
Reformatting tests, and fixing trailing whitespace.
Adding doc comments for new form helper tests.
|
2009-10-22 00:24:54 -04:00 |
|
mark_story
|
6123ed47c4
|
Removing empty strings that caused undefined string offset errors.
Trimming trailing spaces.
|
2009-10-22 00:17:48 -04:00 |
|
José Lorenzo Rodríguez
|
597643cd0c
|
Fixing small error in last commit
|
2009-10-22 00:17:31 -04:00 |
|
José Lorenzo Rodríguez
|
ce743c00e8
|
Expanding Helper an View functionaility to accept deep nested entitities.
This allows the form helper to render inputs with arbitrary number of dot separated parts
|
2009-10-22 00:17:23 -04:00 |
|
José Lorenzo Rodríguez
|
50ec80ff50
|
Continuing work on Helper::setEntity and associated methods
|
2009-10-22 00:17:14 -04:00 |
|
José Lorenzo Rodríguez
|
2941e89da3
|
Making Helper::viewEntity accept any number of levels
|
2009-10-22 00:16:37 -04:00 |
|
renan.saddam
|
4e8c268536
|
Making the test more clear by avoind +-2 days thing. Fixes #186.
|
2009-10-21 19:19:21 -02:00 |
|
mark_story
|
fa6b1b1a20
|
Changing FormHelper::button() to actually create <button> elements instead of input elements. Test cases added.
|
2009-10-19 23:57:23 -04:00 |
|
mark_story
|
08f07a9aa4
|
Changing FormHelper::submit() to be able to create all types of submit buttons. Use 'type' option to create reset or button type inputs.
Test cases added.
|
2009-10-19 23:44:50 -04:00 |
|
jperras
|
ae342c6f2c
|
Fixing skip in previous commit: if skip condition evaluates to true, to prevent a fatal error from being produced.
|
2009-10-19 13:22:14 -04:00 |
|
jperras
|
daafac8a64
|
Merge branch '1.2' of code.cakephp.org:cakephp into 1.2
|
2009-10-19 12:51:32 -04:00 |
|
jperras
|
7ff3fcc4c4
|
Adding skip for non-existence of DateTimeZone class in time helper tests.
|
2009-10-19 12:51:06 -04:00 |
|
mark_story
|
2675bbcd53
|
Fixing FormHelper::__selectOptions incorrectly selecting options due to type juggling. Fixes #167
|
2009-10-18 22:05:17 -04:00 |
|
mark_story
|
057e3ff0aa
|
Removing $showEmpty parameter from all select based widgets.
Use attributes[empty] instead. This change unifies the api between form->input() and other widget methods.
Tests and docblocks updated.
|
2009-10-17 01:29:16 -04:00 |
|
mark_story
|
0dee625215
|
Removing escape parameter from para()
Renaming parameters.
|
2009-10-16 23:14:42 -04:00 |
|
mark_story
|
3c1d134685
|
Updating doc blocks.
Renaming inline param for style() to oneline.
Removing escape parameters from div() and tag()
|
2009-10-16 23:11:13 -04:00 |
|
mark_story
|
8e2f58d086
|
Removing HtmlHelper::css() inline parameter. Use $options[inline] instead.
Adding tests for inline = false script and css generation.
|
2009-10-16 23:00:31 -04:00 |
|
mark_story
|
6bb53a5c9d
|
Removing HtmlHelper::link()'s escapeTitle parameter. $options[escape] now controls escaping of attributes and title text.
|
2009-10-16 22:49:44 -04:00 |
|
mark_story
|
7344c0ce7d
|
Removing $inline parameter from HtmlHelper::meta() inline is now an option.
|
2009-10-16 22:31:56 -04:00 |
|
mark_story
|
f9f2986f48
|
Implementing Form helper default options. Allows the creation of persistent form options when opening a form.
Adding patch from 'Ceeram' / 'bankai'
Refs #56.
|
2009-10-16 22:02:07 -04:00 |
|
mark_story
|
6dcc819121
|
Updating fileheaders.
|
2009-10-16 22:02:07 -04:00 |
|
mark_story
|
f07df02087
|
Making JsHelper::set() work well with setting the variables to an object property.
|
2009-10-16 22:02:06 -04:00 |
|
mark_story
|
4be98b6ed9
|
Adding JsHelper::set() + test cases.
|
2009-10-16 22:02:06 -04:00 |
|
renan.saddam
|
43dbf71624
|
Doing a little optimization for php 5.1 <, also fixing tests on Windows. Fixes #155.
|
2009-10-15 18:09:58 -03:00 |
|
mark_story
|
906eb82e9b
|
Fixing typo in prototype engine helper. Fixes #172
|
2009-10-15 11:09:13 -04:00 |
|
mark_story
|
082156f9a1
|
Fixing FormHelper::input() label's for attribute when a datetime type is created and dateFormat or timeFormat is set to NONE. Fixes #168
|
2009-10-14 21:17:00 -04:00 |
|
mark_story
|
604b7e0a10
|
Splitting a long test for FormHelper up into smaller test cases.
|
2009-10-14 20:10:32 -04:00 |
|
mark_story
|
d1f5acd0e0
|
Merge commit 'origin/1.2' into 1.2-merge-in
Conflicts:
cake/console/libs/shell.php
cake/libs/model/connection_manager.php
cake/libs/view/helpers/html.php
cake/libs/view/helpers/javascript.php
cake/tests/cases/libs/i18n.test.php
cake/tests/cases/libs/model/connection_manager.test.php
cake/tests/cases/libs/model/model_read.test.php
cake/tests/cases/libs/view/helpers/html.test.php
cake/tests/groups/database.group.php
|
2009-10-14 00:51:55 -04:00 |
|
mark_story
|
e77ff5ae50
|
Fixing CacheHelper tests when app/views/posts/index.ctp exists.
|
2009-10-11 21:42:15 -04:00 |
|
mark_story
|
ee7015c9bd
|
Adding tests for utf8 chars to TextHelper::truncate()
|
2009-10-07 23:56:38 -04:00 |
|
mark_story
|
0d3ef03b9f
|
Updating file headers.
|
2009-10-07 23:43:01 -04:00 |
|
mark_story
|
06162d5022
|
Deprecating TextHelper::trim() as it is an alias for truncate().
Expanding use of mb_ methods.
Tests updated.
|
2009-10-07 23:43:01 -04:00 |
|
mark_story
|
c47e899ba1
|
Fixing HtmlHelper::css, and JavascriptHelper::link so that files containing the asset extension always get the extension added. Test cases added. Refs #139
|
2009-10-02 12:53:20 -04:00 |
|