mark_story
dc07a05fca
Merge branch '1.3' into 1.3-misc
2009-11-04 09:20:21 -05:00
tPl0ch
f5ca3ace1f
Modified Model::find() to make Model::findQueryType available in Model callbacks. Fixes https://trac.cakephp.org/ticket/5847 . Tests added
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-04 09:16:04 -05:00
predominant
59c62426c9
Merge branch '1.3-misc' of code.cakephp.org:cakephp into 1.3-misc
2009-11-04 16:11:35 +11:00
predominant
cf42c8dd7f
Updating default views and baking templates to use $this->Helper syntax for helpers.
2009-11-04 15:52:56 +11:00
mark_story
12c7203c71
Merge branch '1.3-alpha' into 1.3
...
Conflicts:
cake/libs/view/pages/home.ctp
2009-11-03 23:19:01 -05:00
mark_story
5da3becc18
Merge branch '1.3' of dev@code.cakephp.org:cakephp into 1.3
2009-11-03 23:16:40 -05:00
phpnut
2bf630f209
Merge branch '1.3' of code.cakephp.org:cakephp into 1.3
2009-11-03 22:03:09 -06:00
phpnut
a1ce9e662c
Fixing real issue for Ticket #137
...
Reverted changes replacing [ and ] with .
2009-11-03 22:02:26 -06:00
mark_story
1d22adbc1a
Merge branch '1.3-misc' into 1.3
2009-11-03 22:50:11 -05:00
mark_story
adb4dcf1c4
Merge branch '1.3-misc' of dev@code.cakephp.org:cakephp into 1.3-misc
2009-11-03 22:47:22 -05:00
predominant
7383e97115
Adding datasources array to Configure.
2009-11-04 14:45:44 +11:00
mark_story
0aecb9de2d
Applying patch from 'dogmatic' to update home.ctp to use helper methods, and i18n.
2009-11-03 22:40:36 -05:00
mark_story
bc8d920c0f
Updating changelog link on home.ctp
2009-11-03 19:53:59 -05:00
mark_story
d17c526dc3
Fixing String::insert() when $data is an empty array. Which was happening in the dbo source tests.
2009-11-03 18:21:01 -05:00
mark_story
d63218c0a0
Fixing error in previous commit.
2009-11-03 09:52:59 -05:00
mark_story
6b043c6c57
Updating doc blocks for paginator helper.
2009-11-02 21:37:20 -05:00
renan.saddam
91b9e1d50b
Updating docblock for FormHelper::dateTime method.
2009-11-02 13:57:05 -02:00
renan.saddam
034b5c435c
Allowing FormHelper::month() to use a $monthNames array as values.
2009-11-02 13:51:16 -02:00
ceeram
988ab2d29f
fixes Ticket #6300
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-11-02 00:19:44 -05:00
mark_story
9d2628f699
Removing tab
2009-11-02 00:07:16 -05:00
mark_story
a87d31cc7f
Fixing $cacheAction requiring the inclusion of the controller name for view cache files to be generated. This behavior makes the cache helper behave as documented.
...
Test cases added. Fixes #232
2009-11-02 00:07:02 -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
a855a6aa41
Renaming variable.
2009-10-31 16:16:58 -04:00
mark_story
cab64b780c
Refactoring switch in Scaffold.
2009-10-31 16:16:25 -04:00
mark_story
3a59bf5ed6
Updating Scaffold to work with any single prefix. You can set $scaffold = to any prefix defined in Routing.prefixes.
...
Tests added.
2009-10-31 16:06:20 -04:00
mark_story
873760aae4
Merge branch '1.2' of dev@code.cakephp.org:cakephp into 1.2
2009-10-31 15:05:51 -04:00
mark_story
0637272bd2
Updating doc block on Controller to include more information about $uses.
2009-10-31 14:25:33 -04:00
mark_story
403bd15cca
Removing Validation::file() It was never implemented, and file validation can be a lengthy and complicated process. This is better implemented at the application level.
2009-10-31 14:17:24 -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
ade96b7ea5
Updating doc blocks.
2009-10-31 01:11:02 -04:00
mark_story
83caf50918
Fixing doc blocks and minor refactoring.
2009-10-31 01:04:33 -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
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
ad8cba41e6
Merge branch '1.3' into 1.3-misc
2009-10-30 22:04:20 -04:00
renan.saddam
84a10904fb
Fixing typo on variable name.
2009-10-30 18:42:04 -02:00
phpnut
7bead5df30
Fixing catalog() to return 3 char matches
2009-10-30 14:43:52 -05:00
mark_story
5f1e6ba6a0
Making DboSource::fetchAll return $this->_result if it is a boolean and $out is empty. Allows for Model::query() to return boolean values for operations that do not return recordsets. Fixes #6404
2009-10-29 20:31:29 -04:00
mark_story
17edec8460
Changin how HttpSocket parses query string parameters. Makes HttpSocket querystring parameter parsing more congruent with how PHP handles query string parameters in that it doesn't require urlencoded characters.
...
Tests added.
Fixes #156
2009-10-29 20:14:36 -04:00
mark_story
a31a2d264c
Fixing Debugger::log() . The method used protected properties only available in test cases. No stack trace was being logged when called either. Method has been updated to match its doc block better.
...
Fixes #222
2009-10-29 19:47:29 -04:00
mark_story
8b26d9ceb2
Applying optimization from 'Ceeram' reduces merges in FormHelper.
...
Fixes #225
2009-10-29 19:10:04 -04:00
mark_story
84ec53a039
Merge branch '1.3-misc' of dev@code.cakephp.org:cakephp into 1.3-misc
2009-10-29 09:51:06 -04:00
mark_story
9446f7dd38
Merge branch 'sqlite-tableparams' into 1.3-misc
2009-10-29 09:50:45 -04:00
mark_story
23831546b5
Adding valid options for sqlite collation. Tests added.
2009-10-29 02:03:50 -04:00
mark_story
a33457155f
Adding valid option checking to fieldParameters.
...
Test case added.
2009-10-29 02:03:21 -04:00
mark_story
f299283dc4
Refactoring duplicated code into a method.
2009-10-29 01:47:25 -04:00
mark_story
2a8858e928
Adding tests to DboSqlite::buildColumn
...
Adding collate field parameter to DboSqlite.
Removing duplicated code from DboSource, adding parent call instead.
2009-10-29 01:36:15 -04:00
phpnut
80b1eb4ee2
Merging fix for invalid characters in cookie name.
...
Fixes
2009-10-28 23:44:30 -05:00
renan.saddam
61845090ed
Changing variable name to make consistency between others methods.
2009-10-29 01:31:55 -02:00
renan.saddam
e7074c1e5c
Moving parameters to $options on Text::truncate() and Text::highlight().
2009-10-29 01:23:44 -02:00
mark_story
6c18c0e0c7
Fixing escape parameter usage.
2009-10-28 18:41:29 -04:00
mark_story
4bf807b4be
Deprecating String::getInstance()
2009-10-28 18:32:04 -04:00
mark_story
ad305a890a
Applying optimization from 'ermayer' Reduces functions called from Folder::addPathElement() Fixes #178
2009-10-27 21:06:58 -04:00
mark_story
00d7c655ce
Improving documentation for PaginatorHelper::sort() Fixes #210
2009-10-27 13:28:43 -04:00
mark_story
5a093e5627
Fixing issues in postgres with time columns and '' values.
...
Tests added.
Fixes #213
2009-10-27 13:22:34 -04:00
mark_story
14bd47842c
Removing length() from DboMysqli, fixes incorrect float length parsing.
...
Test case added.
2009-10-24 11:06:27 -04:00
mark_story
c6999aea7f
Moving DboMysqli::describe() and DboMysql::describe() into DboMysqlBase. Removes duplicated method code.
2009-10-24 10:46:28 -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
2f0598b5c4
Removing todo message, as it is implemented correctly
2009-10-22 00:17:39 -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
José Lorenzo Rodríguez
31f0cdc214
REfactoring model introspection to gather info form multiple models
2009-10-22 00:16:28 -04:00
mark_story
8b419d2dd8
Removing use of ife() from core classes.
2009-10-21 12:57:15 -04:00
SkieDr
fb64d14442
Add support libs folder into app and plugins that will allow to split users and vendors code. Libs files should follow cake naming conventions for files names and classes.
2009-10-21 14:59:12 +04:00
mark_story
0e23fdfbb3
Fixing infinitely nesting stack frames when TreeBehavior::reorder() is called and the models $cacheQueries = true and there are a sizable number of records being manipulated.
...
Test cases added.
Fixes #188
2009-10-21 00:22:36 -04:00
mark_story
02df92a3a3
Merge branch 'datasource-enabled' into 1.2
2009-10-20 16:19:45 -04:00
mark_story
6913dd4bae
Merge branch '1.2' of dev@code.cakephp.org:cakephp into 1.2
2009-10-20 16:18:15 -04:00
mark_story
072e1efc13
Adding Datasource::enabled()
...
Allows for checking a datasource's ability to be used before attempting to connect it.
Added enabled() to all the core dbo's.
Fixes whitescreen when trying to use a non installed database driver.
Fixes #131
2009-10-20 16:11:31 -04:00
renan.saddam
a15289fba8
Saving few Router::normalize() calls, will may increase performance. Fixes #179 .
2009-10-20 16:16:31 -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
mark_story
b9e28d1908
Updating doc blocks.
2009-10-19 23:34:34 -04:00
mark_story
34fb1cc683
Refactoring out common code blocks into a separate method.
2009-10-19 21:58:37 -04:00
mark_story
0a79822b9d
Expanding some doc blocks for DataSource.
2009-10-19 21:09:47 -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
610a281030
Updating doc blocks.
2009-10-17 00:55:17 -04:00
mark_story
f1c9b33f2b
Fixing typos.
2009-10-16 23:19:46 -04:00
mark_story
a46ebc933b
Removing redundant function calls.
2009-10-16 23:16:46 -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
fc4df2bb64
Updating documentation.
2009-10-16 22:53:38 -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
b021461630
Updating documentation.
2009-10-16 22:15:57 -04:00
mark_story
23cf0da18e
Updating doc blocks
2009-10-16 22:10:01 -04:00
mark_story
4e038e55b3
Removing NONE options from FormHelper::dateTime(). These options are legacy options, from before date() and time() existed. If you need only date selects, use date(), same for time selects.
2009-10-16 22:02:07 -04:00
mark_story
d5ce5813c7
Fixing typo.
2009-10-16 22:02:07 -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
predominant
1945204686
Minor formatting of media class.
2009-10-16 22:02:06 -04:00
ADmad
4d4447746a
Renaming "flashLayout" to "flashElement" to be consistent with changes to Session component and helper
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-10-16 22:02:06 -04:00
mark_story
ecc7d9b303
Replacing $pluginPath loops with App::pluginPath(). Minor optimization for App::pluginPath().
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
38f65bdc24
Merge branch '1.2-merge-in' into 1.3
2009-10-14 00:55:42 -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
ca6ca39467
Updating formatting on doc block for string insert.
2009-10-13 12:09:06 -04:00
José Lorenzo Rodríguez
6dbb8690ad
Fixing error in String::insert where string that contained a question mark were not propperly replaced
2009-10-13 12:07:22 -04:00
mark_story
e5a99b2685
Updating RequestHandler::renderAs() to respect DS constant, fixing issues on PHP4 + Windows. Fixes #97
2009-10-12 23:55:40 -04:00
mark_story
e04cc81613
Updating doc block.
...
Removing redundant condition.
2009-10-12 23:38:55 -04:00
mark_story
a3f38c77dd
Merge branch '1.3-console' into 1.3
2009-10-11 21:51:02 -04:00
mark_story
71f9ab1717
Merge branch '1.3-misc' into 1.3
2009-10-11 21:44:42 -04:00
mark_story
a89882581b
Adding i18n support to text that lacked it. Refs #5814
2009-10-10 00:35:54 -04:00
mark_story
d59a2c8de1
Making subclassing of ErrorHandler much easier.
...
Test cases added.
2009-10-09 00:13:08 -04:00
mark_story
955bd338e7
Unsetting local vars, so that viewVars with the name will be extracted.
2009-10-08 23:55:17 -04:00
mark_story
f59d95e348
Updating file headers.
2009-10-08 23:46:05 -04:00
mark_story
8d40532931
Applying patch from 'Ceeram'. Adds File::copy() and test case. Refs #150
2009-10-08 23:27:31 -04:00
mark_story
55ef5cedfb
Updating fileheaders.
2009-10-07 23:43:02 -04:00
mark_story
2c144a9d0d
Adding mb_ functions to Validation methods.
2009-10-07 23:43:02 -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
jperras
84b5458a36
Reverting inheritance modification to Validation.
2009-10-07 01:08:19 -04:00
jperras
d38e50805d
Improving performance of String::insert().
2009-10-06 22:02:02 -04:00
jperras
1795733eda
Merge branch '1.3-misc' of code.cakephp.org:cakephp into 1.3-misc
2009-10-06 21:27:56 -04:00
mark_story
9a023136e3
Merge branch '1.3-misc' into 1.3
2009-10-06 17:23:35 -04:00
mark_story
f59e4013c7
Merge branch '1.2' of dev@code.cakephp.org:cakephp into 1.2
2009-10-06 09:22:47 -04:00
mark_story
6e9ca4367e
Fixing connection methods in DboSybase. Fixes #145
2009-10-06 09:21:43 -04:00
mark_story
8acf1eeba0
Merge branch '1.3-misc' of dev@code.cakephp.org:cakephp into 1.3-misc
2009-10-06 09:09:18 -04:00
Niles
cbf676c0e4
remove call to deprecated method.
2009-10-06 08:42:35 -04:00
mark_story
2d2e692b37
Updating doc blocks to improve API parsing.
2009-10-05 21:27:34 -04:00
mark_story
a99d2ea821
Merge branch '1.2' of dev@code.cakephp.org:cakephp into 1.2
...
Conflicts:
cake/libs/model/model.php
2009-10-05 21:02:41 -04:00
mark_story
51e471427a
Updating doc blocks to improve parsing in the API.
2009-10-05 21:01:31 -04:00
mark_story
3bf94e6a28
Updating documentation for Model methods to improve api parsing.
...
Removing redundant include.
2009-10-05 20:42:37 -04:00
mark_story
d2bf31f69f
Fixing broken tests in dbo_mysql caused by changes in CakeSchema.
...
Adding tableParameter altering to DboMysql.
Tests added.
2009-10-04 21:48:20 -04:00
mark_story
7b0bc014cc
Updating whitespacing.
2009-10-04 20:54:27 -04:00
mark_story
778755c2b0
Implementing CakeSchema:;_compareTableParameters. Adding tests for tableParameter comparison.
2009-10-04 20:53:49 -04:00
mark_story
aae120a81a
Updating file headers.
2009-10-04 13:35:11 -04:00
mark_story
05f6099def
Enabling plugin.name schema file creation and addition.
...
Making CakeSchema::load() use plugin parameter, tests added.
Plugin schema file added to test_app.
2009-10-04 13:32:33 -04:00
mark_story
0b6d6cee6c
Adding placeholder method to DboMysql to handle alteration of table parameter statement generation.
2009-10-03 16:49:01 -04:00
mark_story
2fe877e527
Adding method to compare tableParameters in the Schema, so they no longer fall through as fields.
2009-10-03 16:48:10 -04:00
mark_story
0fc6f58cfb
Refactoring and merging duplicated code between CakeSchema and FixtureTask
2009-10-03 16:15:56 -04:00
mark_story
236a679b17
Updating tests for schema. Making tests more reliable for schema read.
2009-10-03 16:08:54 -04:00
mark_story
e733c569be
Fixing broken tests.
2009-10-03 12:44:49 -04:00
mark_story
0029a275bd
Refactoring code into a separate method. Will allow code reuse in fixture generation. Tests added.
2009-10-03 12:41:14 -04:00
mark_story
b75aa10da3
Merge branch '1.3-misc' into 1.3-schema
2009-10-03 11:55:27 -04:00
mark_story
71aa460a48
Continuing work on getting plugin support for CakeSchema and SchemaShell. Applied patch from 'SkieDr', test cases added.
2009-10-03 11:48:02 -04:00
mark_story
58e9c0e328
Fixing typo.
2009-10-03 11:48:02 -04:00
mark_story
e5088f7613
Adding App::pluginPath() to find paths for plugins.
2009-10-03 11:48:02 -04:00
mark_story
07002c8b09
Merge branch '1.3-misc' of dev@code.cakephp.org:cakephp into 1.3-misc
2009-10-03 11:44:26 -04:00
ADmad
10aa5d158b
Updating find calls to use new syntax
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-10-02 15:50:36 -04:00
mark_story
ed2e20ed23
Merge branch '1.3-misc' into 1.3
2009-10-02 13:18:12 -04:00
mark_story
4794680444
Deprecating CakeSession::del(), use delete() instead.
...
Updating file headers.
Updating test cases.
2009-10-02 13:11:43 -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
mark_story
f12cbdba38
Fixing CacheHelper and multiple cake:nocache tags in a view file, breaking cake:nocache following $content_for_layout. Fixes #136
2009-10-01 01:03:47 -04:00
mark_story
347c175b85
Updating documentation blocks for CacheHelper.
2009-09-30 22:44:15 -04:00
mark_story
32d5b40cd0
Adding error triggering while in debug mode for unhandled validation methods.
2009-09-30 22:34:29 -04:00
mark_story
7d4510b959
Merge branch '1.2' of dev@code.cakephp.org:cakephp into 1.2
2009-09-30 14:26:38 -04:00
mark_story
5f49a0f25c
Updating path handling inside i18n. Removes the extra DS that was appended to some paths. Fixes #126
2009-09-30 14:25:56 -04:00
mark_story
cba8871f16
Adding tests so that adding one prefix removes other prefixes. Making it so you can only have one prefix at a time in a route. Also simplifies prefix switching.
2009-09-30 10:19:43 -04:00
mark_story
d2b4e33e1b
Adding break; to escape out of prefix checking, optimizes operations with many prefixes.
2009-09-30 10:01:08 -04:00
mark_story
58ec259714
Merge branch '1.3-router' into 1.3-misc
2009-09-30 00:51:20 -04:00
mark_story
893e177909
Fixing isset() checks in Router to test for empty values instead.
...
Updating prefix use in paginator helper test.
2009-09-30 00:50:15 -04:00
mark_story
4094f0a696
Moving DboMysql::listDetailedSources() and DboMysql::getCharsetName() into DboMysqlBase so it works with mysqli as well. Tests added for MySqli.
2009-09-30 00:39:32 -04:00
mark_story
6dbba17d1b
Fixing issues with DboSource::execute() where queries would not be run if stats = false in the options. Tests added.
2009-09-30 00:37:06 -04:00
jperras
9409f2651e
Removing deprecated validation constants of VALID_NOT_EMPTY, VALID_NUMBER, VALID_EMAIL and VALID_YEAR.
2009-09-30 00:05:17 -04:00
jperras
a06147272d
Removing inheritance of Object in Set, String and in Validation.
2009-09-30 00:04:58 -04:00
mark_story
0ab6f9fd65
Merge branch '1.3-misc' of dev@code.cakephp.org:cakephp into 1.3-misc
2009-09-29 22:59:15 -04:00
mark_story
17782f71b3
Removing internal magic 'id' param. It behaved inconsistently in that it defaulted into the passed parameters, even though it was input as a named/routed parameter. This change makes 'id' a regular routed/named parameter.
2009-09-29 22:53:17 -04:00
mark_story
1c8ec459b6
Removing 'id' key param in FormHelper::create() it normally only served to make routing more complex. Removal also enables reverse routing to work with scaffolding.
2009-09-29 22:46:45 -04:00
mark_story
dc220bbb21
Fixing DboSybase::connect() to use port configuration value. Thanks 'tPl0ch' for the various attempts :) Fixes #90
2009-09-29 20:43:17 -04:00
SkieDr
627eff5f24
Implementation of table level and field level parameters support
2009-09-29 22:54:48 +04:00
mark_story
778a6b9303
Reversing change from [a37fc0d455e373b30a73f11687885572c6e4b90d]. As the additional & causes errors in PHP <= 5.2
2009-09-29 10:05:03 -04:00
mark_story
2fe20a2264
Updating redirects in Scaffold.
2009-09-29 00:56:25 -04:00
mark_story
070bbb5d0e
Removing magic 'title' key in Controller::set() and View::set()
...
Removing Controller::$pageTitle and View::$pageTitle.
Instead you should set('title_for_layout', $val) from your view or controller.
Test cases updated.
2009-09-28 21:23:40 -04:00
mark_story
51508c6375
Fixing error in php5.3 when calling behavior methods that had more than 6 parameters.
2009-09-28 18:09:02 -04:00
mark_story
c69410d809
Removing static call, and replacing with instance method call.
2009-09-27 16:31:56 -04:00
mark_story
622e500943
Merge branch '1.3-router' into 1.3-misc
2009-09-27 16:20:22 -04:00
mark_story
76c1c1cb8e
Implementing Routing.prefixes.
...
Replaces Routing.admin and streamlines the use of Routing prefixes so they behave more consistently with admin routing.
2009-09-27 00:12:03 -04:00
mark_story
3e394f1fa8
Adding test cases for Routing.prefixes.
2009-09-26 22:48:57 -04:00
mark_story
3904c6f7b5
Adding constructor to Router.
...
Adding __setPrefixes to initialize prefixes and merge Routing.admin with new Routing.prefixes.
2009-09-26 22:37:19 -04:00
mark_story
2f46f39225
Removing subclassing of Object.
2009-09-26 22:24:24 -04:00
mark_story
cf849e3cf8
Removing svn tags.
2009-09-26 22:22:43 -04:00
mark_story
6dbb8f3994
Merge branch '1.3' into 1.3-misc
2009-09-26 21:18:15 -04:00
jperras
22721fcb8b
Replacing use of Configure::corePaths() with App::core() in Debugger.
2009-09-26 18:25:15 -04:00
jperras
9a2cd886fe
Fixing call-time pass by reference.
2009-09-26 17:08:01 -04:00
mark_story
bf551c2267
Merge branch '1.3-misc' into 1.3
2009-09-26 15:17:02 -04:00
mark_story
508d737b6a
Updating HtmlHelper::css, JavascriptHelper::link to not replace multiple occurences of CSS_URL or JS_URL when using Asset.filter settings.
...
Test cases added.
Thanks to 'robustsolution' for the patch.
Fixes #105
2009-09-26 14:22:12 -04:00
jperras
03b1089f1d
Updating docs for Set library. Deprecating Set::isEqual().
2009-09-25 15:05:06 -04:00
jperras
f231b59cfb
Clarifying some Set documentation. Removing deprecated &get() method.
2009-09-25 14:31:05 -04:00
jperras
1a4f806bfd
Merge branch '1.3-misc' into 1.3-misc-set-apply
2009-09-25 14:20:28 -04:00
mark_story
daa97f702a
Fixing use of deprecated method.
2009-09-25 11:36:27 -04:00
jperras
f3d0769912
Renaming ConnectionManager::__getDriver() to ConnectionManager::__connectionData().
2009-09-25 11:08:41 -04:00
jperras
c2ec96067a
Refactoring ConnectionManager & tests.
2009-09-25 11:08:34 -04:00
jperras
7e5fe04a77
Merge branch '1.3-misc' into 1.3-misc-plugin-datasources
2009-09-24 23:14:12 -04:00
jperras
c3cd98af42
Implementing loading datasources from plugins.
2009-09-24 22:56:02 -04:00
mark_story
06cf97459a
Fixing XmlHelper::elem() when value is null and cdata = true. Removing empty invalid tag.
...
Test cases added.
Fixes #127
2009-09-24 22:43:31 -04:00
mark_story
e030400f8e
Updating links in home.ctp to point a new address for changelogs and to code.cakephp.org instead of trac.
2009-09-24 22:26:55 -04:00
jperras
11365e7a09
Fixing return by reference error on the use of ConnectionManager::getDataSource() on a non-existing datasource.
2009-09-24 19:29:35 -04:00
jperras
0949ea912d
Merge branch '1.2' of code.cakephp.org:cakephp into 1.2
2009-09-24 16:41:54 -04:00
jperras
4bf5244073
Adding tests for ConnectionManager, and fixing a missing return value for ConnectionManager::loadDataSource().
2009-09-24 16:26:56 -04:00
jperras
ffad7a74a2
Merge branch '1.3-misc-plugin-datasources' into 1.3-misc
2009-09-24 16:26:17 -04:00
jperras
ed74653d72
Adding tests for ConnectionManager, and fixing a missing return value for ConnectionManager::loadDataSource().
2009-09-24 16:23:39 -04:00
mark_story
bf3fe1f4f6
Merge branch '1.3-timestamp' into 1.3-misc
2009-09-24 00:22:18 -04:00
mark_story
7f49f7f455
Updating HtmlHelper and JavascriptHelper to use Helper::assetTimestamp
2009-09-24 00:16:19 -04:00
mark_story
ee514f3fc6
Adding Helper::assetTimestamp()
...
Refactor's repeated code from Html and Javascript Helpers.
Test cases added.
2009-09-23 23:45:11 -04:00
mark_story
26d2237df0
Making conditions easier to read.
...
Adding additional test for image timestamping.
Refs #108
2009-09-23 23:30:55 -04:00
ADmad
de4737323f
Updated Html and Javascript helpers to suffix asset urls with timestamp even when the app is run off a subfolder on the domain
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-09-23 23:30:34 -04:00
mark_story
34deb2a18d
Correcting omission of group in DboOracle. Fixes #98
2009-09-23 23:16:57 -04:00
mark_story
4530e706a4
Merge branch '1.2' of dev@code.cakephp.org:cakephp into 1.2
2009-09-23 23:05:51 -04:00
mark_story
6946bb0295
Updating docs for FormHelper::inputs()
...
Fixes #110
2009-09-23 23:05:08 -04:00
jperras
b2eb1882a4
Adding convenience method Set::apply().
2009-09-23 21:03:09 -04:00
jperras
cd64043702
Adding the 'client' option to the doc block for the email component smtp options. Fixes #111 .
2009-09-22 23:10:35 -04:00
jperras
1ed4a63416
Merge branch '1.3-misc' of code.cakephp.org:cakephp into 1.3-misc
2009-09-22 22:49:23 -04:00
mark_story
022f8ccaa2
Making conditions easier to read.
...
Adding additional test for image timestamping.
Refs #108
2009-09-22 19:04:40 -04:00
ADmad
07a89cd953
Updated Html and Javascript helpers to suffix asset urls with timestamp even when the app is run off a subfolder on the domain
...
Signed-off-by: Mark Story <mark@mark-story.com>
2009-09-22 18:57:30 -04:00
renan.saddam
7116c01642
Fixing Xml::toArray() when blank nodes are provided. Fixes #87 .
2009-09-22 17:58:12 -03:00
renan.saddam
42fac9ec71
Fixing Xml::toArray() when blank nodes are provided. Fixes #87 .
2009-09-22 17:47:11 -03:00
jperras
2b0d13733e
Fixing parameter ordering error of array_map in AuthComponent::allow(). Adding test.
2009-09-21 12:14:20 -04:00
mark_story
42017e95c6
Merge branch '1.3-console' into 1.3
...
Conflicts:
cake/tests/cases/console/libs/schema.test.php
2009-09-20 19:05:03 -04:00
mark_story
50bd279018
Merge branch '1.3-auth' into 1.3
2009-09-20 17:53:23 -04:00
mark_story
e6cc81226d
Merge branch '1.3-jshelper' into 1.3
2009-09-20 17:46:30 -04:00
mark_story
06fb86f141
Fixing issue where sessions were not correctly started.
2009-09-20 11:54:26 -04:00
ADmad
5049265a49
Fixed incorrect doc. block for TimerHelper::format
2009-09-20 11:08:48 -04:00
jperras
ca632461f1
Adding tilde (~) to accepted characters for URL validation. Fixes #52 , and legacy trac enhancement 6213.
2009-09-19 12:14:47 -04:00
mark_story
d5376e64aa
Adding patch from 'Ceeram' and 'TehTreag' to implement automatic updating of Aro/Aco nodes created AclBehavior. Test cases added. Fixes #33 and #4261
2009-09-19 01:17:20 -04:00
renan.saddam
317049b736
Fixing bug when value is '0', it was generating a blank node.
2009-09-17 23:08:32 -03:00
mark_story
20ef932156
Merge branch '1.2' of dev@code.cakephp.org:cakephp into 1.2
2009-09-17 19:58:14 -04:00
mark_story
e0b6b25365
Fixing inherited public properties not being set in SessionHelper.
...
Adding tests for SessionHelper construction and the setting of inherited properties. Fixes #94
2009-09-17 19:57:56 -04:00
mark_story
05f908d36d
Fixing failing tests in JsHelper caused by changed API in HtmlHelper.
2009-09-16 01:55:15 -04:00
mark_story
5717e3b59c
Merge branch '1.2' into 1.2-merger
...
Conflicts:
app/webroot/test.php
cake/VERSION.txt
cake/bootstrap.php
cake/config/config.php
cake/console/cake.php
cake/console/libs/schema.php
cake/console/templates/skel/webroot/test.php
cake/libs/configure.php
cake/tests/cases/console/libs/schema.test.php
cake/tests/cases/libs/debugger.test.php
cake/tests/cases/libs/model/model_write.test.php
cake/tests/fixtures/aco_fixture.php
2009-09-16 01:23:49 -04:00
mark_story
793c6ec07a
Making DboSybase able to return VIEW's as part of listSources(), making it similar to DboPostgres and DboMysql. Fixes #91
2009-09-15 22:00:49 -04:00
mark_story
2c633912e0
Making DboSybase able to return VIEW's as part of listSources(), making it similar to DboPostgres and DboMysql. Fixes #91
2009-09-15 22:00:04 -04:00
mark_story
f764c53c55
Removing Inflector's inheritance on Object, as it was unecessary.
...
Adding irregular waves => wave missed in merge from 1.2
2009-09-15 21:44:27 -04:00
mark_story
3ef53aa159
Applying optimization from 'wangbo' to View::renderCache(). Fixes #26
2009-09-14 23:56:50 -04:00
mark_story
f1194a4ec9
Commiting fix to pass tests in last commit.
...
Making View::renderCache tests more specific.
2009-09-14 23:53:04 -04:00
mark_story
01cf40bf12
Adding automatic use of $options for $disabledOptions in PaginatorHelper::next() and PaginatorHelper::prev(). Thanks to 'joaquin_win' for the initial patch. Refs #83
2009-09-14 23:06:24 -04:00
mark_story
4a6412fb27
Adding tests for AuthComponent::action().
...
Adding plugin support for AuthComponent in actions mode. Refs #33
2009-09-14 00:29:33 -04:00
mark_story
090eb27be1
Updating imports in AuthComponent and AuthComponent test case.
2009-09-13 23:42:25 -04:00
mark_story
326424592d
Merge branch '1.2' into 1.2-merger
...
Conflicts:
cake/VERSION.txt
cake/config/config.php
cake/dispatcher.php
cake/libs/controller/scaffold.php
cake/libs/inflector.php
cake/libs/view/view.php
cake/tests/cases/libs/controller/scaffold.test.php
cake/tests/cases/libs/inflector.test.php
cake/tests/cases/libs/view/view.test.php
cake/tests/fixtures/counter_cache_post_fixture.php
cake/tests/fixtures/counter_cache_user_fixture.php
2009-09-13 13:52:58 -04:00
mark_story
76f6e3dd07
Merge branch '1.3-numberhelper' into 1.3-misc
2009-09-11 21:07:30 -04:00
Niles
20fa1c9693
Merge branch '1.3-misc' of dev@code.cakephp.org:cakephp into 1.3-misc
2009-09-11 06:58:56 -04:00
Niles
b9970f7484
replace deprecated method calls.
2009-09-11 06:58:23 -04:00
mark_story
9c41efd6fe
Adding NumberHelper::addFormat and test cases. Refs #5630
2009-09-10 22:54:49 -04:00
mark_story
5f6015c3c4
Updating file headers and removing @static.
2009-09-10 22:23:48 -04:00
renan.saddam
4ec75c6052
Merge branch '1.3-misc' of code.cakephp.org:cakephp into 1.3-misc
2009-09-10 12:32:52 -03:00
renan.saddam
2e8bbd5eb1
Adding docblock for the new variable used for logging. Making the CakeLog::handleError logs the same output as in Debugger::handleError.
2009-09-10 12:32:21 -03:00
mark_story
0065005f95
Fixing custom error class not being used if error for field is a named index. Test case added. Fixes #76
2009-09-10 09:57:23 -04:00
nate
fd6538fc72
Changes Model::find() to allow modification of DataSource connection during callbacks.
2009-09-10 09:28:55 -04:00
mark_story
4766f62029
Merge branch '1.3-logging' into 1.3-misc
2009-09-09 11:08:18 -04:00
jperras
5a432c6f71
Applying fix from Ceeram for updateAll joins on model relations with no foreign key. Fixes #69 .
2009-09-09 00:00:53 -04:00