Commit graph

3712 commits

Author SHA1 Message Date
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