José Lorenzo Rodríguez
7eb3055720
Merge branch '1.3' of git@github.com:cakephp/cakephp1x into 1.3
...
* '1.3' of git@github.com:cakephp/cakephp1x:
Adding PluginShortRoute into default connected routes. Fixes issues with the framework having built in 404s.
Implementing PluginShortRoute and some tests for its methods.
Fixing tests that started failing because of removal of short routes on reverse routing.
Removing plugin shortcuts entirely.
Adding additional test for plugin shortcut routes including prefixed shortcut routes.
Updating doc block for Router::__connectDefaultRoutes()
Removing Dispatcher::_restructureParams() as it is no longer used.
Moving expectations inline.
Fixing tests that should have never worked, and removing additional calls to _restructureParams. Adding in prefixed plugin shortcuts as they were missing.
Modifying Dispatcher tests to modify private variables (which is bad, but there is no way to change which plugins Router uses to create patterns). This allows the removal of two calls to _restructureParams.
Making PluginShortRoute check that the action exists before attempting to proceed. Updated tests.
Adding doc blocks to PluginShortRoute. Adding PluginShortRoute into Router.
Shrinking number of lines in dispatcher test case.
Adding PluginShortRoute, and a few test cases.
2010-04-08 18:24:24 -04:30
José Lorenzo Rodríguez
59f7cb47d3
Improving test coverage on FormHelper to show the usage of the 'secure' key for inputs.
...
Fixing issue with select inputs that does not honor the value of 'secure'
2010-04-08 18:23:07 -04:30
Mark Story
4d780ee1f3
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-04-08 00:04:14 -04:00
Mark Story
0427fe9777
Merge branch 'no-shortcuts' into 1.3
2010-04-08 00:03:58 -04:00
Mark Story
81dc0d42b9
Adding PluginShortRoute into default connected routes. Fixes issues with the framework having built in 404s.
...
Adding tests for the default connected routes.
2010-04-08 00:03:46 -04:00
José Lorenzo Rodríguez
7668894888
Fixing error introduced by previous commit
2010-04-07 09:51:29 -04:30
Mark Story
131578cb42
Implementing PluginShortRoute and some tests for its methods.
2010-04-06 23:05:04 -04:00
Mark Story
07efd76b42
Fixing tests that started failing because of removal of short routes on reverse routing.
2010-04-06 22:44:23 -04:00
ADmad
b3f860b762
Adding test case for Validation::url(). Disproves #552
2010-04-07 02:20:05 +05:30
Mark Story
518cab91e5
Fixing discrepancy between how belongsTo and hasOne assocations are treated in relation to their fields being added into the queryData. hasOne and belongsTo associations now behave the same. Fixes #379
2010-04-05 21:50:28 -04:00
sdoney
dde52399ca
Adding @link tags pointing to cookbook sections
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-04-04 22:09:49 -04:00
Juan Basso
91332fc64b
Removing pluralize of pluralized name. Fixes #543
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-04-04 21:47:02 -04:00
Mark Story
d990c6ed44
Adding tests for single quoted attributes to assertTags(). Because of the __array_permute works ensuring quotes match is a non-trivial problem. Fixing single quoted attributes not being matchable with assertTags(). Fixes #539
2010-04-04 21:43:29 -04:00
Mark Story
bdd8811924
Removing plugin shortcuts entirely.
2010-04-04 16:34:07 -04:00
José Lorenzo Rodríguez
45ccba5d94
Improving virtual fields fetching when the field wildcard selector * in present on the fields array, closes #524
2010-04-04 13:24:39 -04:30
Mark Story
e57e8f3962
Adding additional test for plugin shortcut routes including prefixed shortcut routes.
2010-04-04 00:21:21 -04:00
Mark Story
781af4a80c
Updating doc block for Router::__connectDefaultRoutes()
2010-04-04 00:13:16 -04:00
Mark Story
6fe46314c9
Removing Dispatcher::_restructureParams() as it is no longer used.
2010-04-03 23:56:06 -04:00
Mark Story
87f1972f75
Moving expectations inline.
2010-04-03 23:37:31 -04:00
Mark Story
ed60939292
Fixing tests that should have never worked, and removing additional calls to _restructureParams. Adding in prefixed plugin shortcuts as they were missing.
2010-04-03 23:32:14 -04:00
Mark Story
2814ddc2d5
Modifying Dispatcher tests to modify private variables (which is bad, but there is no way to change which plugins Router uses to create patterns). This allows the removal of two calls to _restructureParams.
2010-04-03 22:24:31 -04:00
Mark Story
95802176bb
Making PluginShortRoute check that the action exists before attempting to proceed. Updated tests.
2010-04-03 17:10:39 -04:00
Mark Story
a18d1be4c3
Adding doc blocks to PluginShortRoute. Adding PluginShortRoute into Router.
2010-04-03 16:54:41 -04:00
Mark Story
f605454aca
Shrinking number of lines in dispatcher test case.
2010-04-03 16:29:36 -04:00
Mark Story
874c511fe2
Adding PluginShortRoute, and a few test cases.
2010-04-03 16:29:20 -04:00
Mark Story
558a9db642
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-04-02 15:51:00 -04:00
Mark Story
3503872ab8
Fixing Form::dateTime() for GET forms. Tests added. Fixes #522
2010-04-02 15:50:43 -04:00
ADmad
1b8165d890
Enhancing email component to allow using alias for attachments. Closes #6
2010-04-03 00:37:02 +05:30
Mark Story
fdd8a51a07
Removing coercion of error methods into error404 as its generally not helpful to have errors converted into error404. Fixes #538
2010-04-02 14:02:57 -04:00
Mark Story
e6f9c420b6
Removing transactional property from the Set test, as it was removed from the Model in the last commit. Ref #531
2010-04-02 13:55:05 -04:00
Mark Story
44b216cec3
Removing Model::$transaction as it did nothing. The property was added but never completed. Leaving the model property looking like it does something when in fact it does absolutely nothing. Refs #531
2010-04-02 13:53:53 -04:00
Mark Story
d058234c1c
Adding tests to PaginatorHelper::sort() for creating sort links that point at plugin shortcuts. Refs #535 .
2010-04-02 13:43:03 -04:00
Mark Story
ffb5c36578
Adding tests for plugin shortcut route generation. Refs #535
2010-04-02 13:32:14 -04:00
Nick Baker
3627f3b384
Patching dbo_mysql listDetailedSources. This fixes the broken test in dbo_mysql and solves ticket: 483-cakeshell-show-table-status-errors
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-04-02 13:21:22 -04:00
ADmad
d92202c6da
Fixed controller test case which generated a property undefined notice
2010-04-02 00:01:06 +05:30
Mark Story
176c12e5fe
Adding tests for creating directories with trailing slashes. Closes #520
2010-03-30 22:35:49 -04:00
Mark Story
5b1e9f6f5f
Fixing fatal error caused by Security class not being loaded When Session.start = false. Fixes #521
2010-03-30 21:40:29 -04:00
José Lorenzo Rodríguez
75900883e6
Making DboPostgres::value() return NULL when given an empty array, as DboMysql does
2010-03-30 00:01:33 -04:30
José Lorenzo Rodríguez
ebde29f63c
Fixing error in las commit
2010-03-29 23:58:07 -04:30
José Lorenzo Rodríguez
bbf96567eb
Using value() in default value generation with CakeSchema and DboPostgres
2010-03-29 23:50:40 -04:30
predominant
13996e94c7
Merge remote branch 'origin/1.3' into 1.3
2010-03-29 12:27:49 +11:00
predominant
84ad35ca7a
Added test for XML Helper serialization. Refs #284
2010-03-29 12:21:14 +11:00
Mark Story
3f343e7874
Updating version numbers to 1.3.0-RC3
2010-03-28 19:13:49 -04:00
Mark Story
17852ab3aa
Fixing failing tests in SessionHelper caused by changes in CakeSession. Removing SessionHelper::id() as all it did was call the parent method.
2010-03-28 17:41:58 -04:00
Mark Story
068631ebe2
Fixing AclNode::node() so that node expressions that could match deeper elements are contained to their parent elements. Test added.
2010-03-28 16:59:24 -04:00
Mark Story
46348e9bbd
Adding and correcting doc blocks.
2010-03-28 12:53:57 -04:00
Mark Story
6c515739a1
Expanding documentation for Debugger.
2010-03-28 12:31:52 -04:00
Mark Story
bb941c2bc2
Adding documentation to IniAcl.
2010-03-28 12:20:02 -04:00
Mark Story
304a5ff64a
Expanding documentation for AclComponent and DbAcl.
2010-03-28 12:17:53 -04:00
Mark Story
45730d1bca
Updating more @link tags.
2010-03-28 11:34:58 -04:00
Mark Story
8ff0b536d8
Fixing @link tags and updating documentation for basics.php, Controller, and Dispatcher.
2010-03-28 11:28:03 -04:00
ADmad
d365fafe4d
Changed default value for option 'validate' to 'first' in Model::saveAll(). Also fixed issue where the return array contained more keys then number of records in data array itself with options 'validate =>'first' and 'atomic'=>false
2010-03-28 05:29:42 +05:30
Mark Story
7b28fdec85
Fixing Security::cipher() not being able to correctly decrypt numeric values. Fixes #513
2010-03-27 17:19:42 -04:00
Mark Story
1210a4f598
Fixing whitespacing.
2010-03-27 16:28:59 -04:00
Mark Story
8ab5abe852
Merge remote branch 'origin/1.2' into 1.3
2010-03-27 16:28:00 -04:00
Mark Story
3040c6f586
Moving tests around in set test.
2010-03-27 16:27:23 -04:00
Mark Story
35446a42a9
Making filtering of extracted arrays remember their key. This fixes attribute selectors followed by parent selectors returning seemingly random results. Fixes #502
2010-03-27 16:23:46 -04:00
Mark Story
3075eda8b6
Merge remote branch 'origin/1.2' into 1.3
2010-03-27 14:30:27 -04:00
Mark Story
b559be5822
Moving xml_parser_free() so parser resources are freed immediately after they are used. Helps reduce memory consumption in Xml class. Refs #505
2010-03-27 12:48:31 -04:00
Mark Story
0c29fd0094
Merge remote branch 'origin/1.2' into 1.3
...
Conflicts:
cake/libs/cake_session.php
cake/libs/controller/components/session.php
cake/libs/model/model.php
cake/libs/router.php
2010-03-27 11:48:49 -04:00
predominant
9ef5367219
Minor doc block spacing.
2010-03-26 22:53:30 +11:00
predominant
2decbc7129
Fix $host not being defined on SessionHelper.
2010-03-26 22:53:14 +11:00
predominant
abefca759a
Fix $host not being defined on SessionHelper.
2010-03-26 22:51:58 +11:00
predominant
9da921d1d7
Space comment block away from code.
2010-03-26 22:47:20 +11:00
predominant
9bd0960cf1
Merge remote branch 'origin/1.3' into 1.3
2010-03-26 20:36:04 +11:00
predominant
0dfc07ba0d
Fixes #53 , ordering of XML::toArray() operations.
2010-03-26 20:30:17 +11:00
predominant
ec3f4b8d34
Fixes #53 , ordering of XML::toArray() operations.
2010-03-26 19:59:09 +11:00
Mark Story
888fdd3dd5
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-03-25 23:44:53 -04:00
Mark Story
d20aa23711
Fixing issues where paths added to build() would be appended into the search paths after the default paths.
...
Fixed issue where paths added with build() would be lost when calling build() again to change a different path type.
Tests updated.
Fixes #410
2010-03-25 23:44:40 -04:00
predominant
5d3f0d7fe0
Fix for Session Component to use CakeSession started() checks. Refs #332 .
2010-03-26 14:36:40 +11:00
predominant
13a55b6cd8
Fixes #332 .
2010-03-26 14:35:35 +11:00
predominant
7b17374cad
Refs #332 . Beginning fix for multiple session starts.
2010-03-26 14:35:23 +11:00
predominant
9f5949ab52
Fix for Session Component to use CakeSession started() checks. Refs #332 .
2010-03-26 14:29:27 +11:00
predominant
9740029e9e
Fixes #332 .
2010-03-26 14:21:08 +11:00
Mark Story
2e11f63bd4
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-03-25 23:02:05 -04:00
Mark Story
a72dabe257
Removing unnecessary variable assignment.
...
Removing unnecessary parenthesis.
2010-03-25 23:01:50 -04:00
predominant
d95e482894
Refs #332 . Beginning fix for multiple session starts.
2010-03-26 10:46:48 +11:00
José Lorenzo Rodríguez
41734503a6
Merge branch '1.3' of git@github.com:cakephp/cakephp1x into 1.3
...
* '1.3' of git@github.com:cakephp/cakephp1x:
Supporting Model.* syntax on postgres.
Changing variable $title to $title_for_layout. Closes #511
Conflicts:
cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
2010-03-25 16:08:58 -04:30
José Lorenzo Rodríguez
1f1324f500
Qouting fields inside postgres functions when prepended a DISTINCT, closes #512
2010-03-25 16:05:45 -04:30
renan.saddam
dd4ad2f83d
Supporting Model.* syntax on postgres.
2010-03-25 17:33:34 -03:00
ADmad
12e608c671
Changing variable $title to $title_for_layout. Closes #511
2010-03-26 01:03:48 +05:30
Mark Story
4f4d3f9ffe
Fixing extraction of non-zero arrays with only one element and attribute selectors. Fixes #475
2010-03-24 23:25:02 -04:00
Mark Story
cbb65ca85f
Moving failing test into new method for non-zero array extraction.
2010-03-24 22:36:38 -04:00
Jimmy Bourassa
e8e520d6f2
Added test case for a bug in Set::extract
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-03-24 22:34:41 -04:00
Mark Story
9d3f2fb4a7
Moving Non-Zero tests for Set::extract() into a separate method.
2010-03-24 22:33:51 -04:00
Mark Story
9334aeabc2
Adding tests for loading helpers off of additional paths. Closes #410
2010-03-24 22:11:53 -04:00
Mark Story
3883f728fb
Adding tests for Fixture importing. Fixing importing fixtures for databases that require custom fields handling like postgresql. Fixes #481
2010-03-22 23:28:58 -04:00
Mark Story
1230b83438
Fixing incorrect string concatenation resulting in invalid conditions. Fixes failing tests.
2010-03-22 22:26:32 -04:00
ADmad
209af202ec
Optimizing Sanitize::html() by caching default charset. Closes #496 . Also charset passed in $options parameter now takes precedence over the default value obtained from app's config value 'App.encoding'
2010-03-23 00:40:53 +05:30
Mark Story
817ebf5ec8
Merge remote branch 'ceeram/1.3-467' into 1.3
2010-03-21 20:41:54 -04:00
Mark Story
8f20b12c58
Expanding the documentation related to showParents and options. Fixes #479 .
2010-03-20 19:43:52 -04:00
Juan Basso
5e8665cd8d
Allowing routes to set an extension when Router::parseExtension() is
...
being used. Fixes #492
Signed-off-by: Mark Story <mark@mark-story.com>
2010-03-20 19:23:48 -04:00
Matt Curry
cc59b04ad3
fixed bad path for css on windows
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-03-20 19:01:52 -04:00
Mark Story
8a4ad9f51a
Fixing clearCache() so it doesn't delete files named 'empty'. Applies Ceeram's changes without modifying the entire file. Fixes #469
2010-03-20 18:54:35 -04:00
Ceeram
6d13f0d3d1
added test for ticket #469
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-03-20 18:22:42 -04:00
Mark Story
0cc1e4c56e
Adding import for String to ensure that String has been loaded when Security component is used without making any database connections. Fixes #482
2010-03-20 18:18:24 -04:00
Mark Story
6c8ce984aa
Adding import for String to ensure that String has been loaded when Security component is used without making any database connections. Fixes #482
2010-03-20 18:15:52 -04:00
Phally
7f7315e6d2
Added alphabetic sorting to the plugin list in the test suite.
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-03-20 17:48:03 -04:00
ADmad
76af3b9e81
Fixing docblock for Inflector:rules()
2010-03-20 23:06:51 +05:30
Mark Story
d75e4b0d5f
Updating documentation for Router::normalize(). Refs #486
2010-03-19 20:45:45 -04:00
Mark Story
45ef3c6151
Merge branch '1.2' of github.com:cakephp/cakephp1x into 1.2
2010-03-19 20:44:42 -04:00
Mark Story
f65cb31cbe
Updating documentation for Router::normalize(). Refs #486
2010-03-19 20:44:18 -04:00
predominant
e595d81102
Removing returns from File::__construct
2010-03-19 14:10:10 +11:00
Ceeram
71e2fb533d
fix for ticket #467 setting correct defaults when userModel is a plugin
...
model
2010-03-19 01:49:41 +01:00
Ceeram
7337c12f4f
test for ticket #467
2010-03-19 01:48:28 +01:00
ADmad
4012925a26
Fixing docblock for pr()
2010-03-18 03:50:14 +05:30
ADmad
e2113e4aa2
Minor optimization in DboSource::__scrubQueryData(), removing unneded isset() check.
2010-03-18 03:02:58 +05:30
ADmad
6a723bb515
Type casting conditions array to avoid warning during array merge in Model::_deleteDependent(). Fixes #477
2010-03-18 02:51:55 +05:30
José Lorenzo Rodríguez
93ac79d4fb
Chaging array_push call for array_merge, as the first one would produce worng nested arrays in MediaView. closes #391
2010-03-17 16:45:39 -04:30
José Lorenzo Rodríguez
0f876e1a1b
Merge branch 'saveAll' into 1.3
...
* saveAll:
Making saveAll() behave like plain save() when suplied empty data array, closes #277
2010-03-17 16:40:26 -04:30
José Lorenzo Rodríguez
5c186d4430
Making saveAll() behave like plain save() when suplied empty data array, closes #277
2010-03-17 15:19:30 -04:30
José Lorenzo Rodríguez
c3aec39d75
Chaging array_push call for array_merge, as the first one would produce worng nested arrays in MediaView. closes #391
2010-03-17 10:47:03 -04:30
José Lorenzo Rodríguez
28cb57a92c
Fixing bug in Model::escapeField() where it would return the wrong string id the datasource's name method returs the unmodified string.
...
Tests added. Closes #473
2010-03-17 10:32:36 -04:30
AD7six
bc990f41e3
Prevent sql error for uuids if id is specified as null
...
if the primary key is present in the data to be saved as null - prevent
passing the same key (id) twice and therefore triggering an sql error.
Signed-off-by: Mark Story <mark@mark-story.com>
2010-03-16 22:57:37 -04:00
José Lorenzo Rodríguez
cceb568520
Skiping some test in model_write test when using postgres as there is no way yet to do joins inside an update statement.
...
Possible enhancement would be transforming the join conditions into subquerys
2010-03-16 18:46:04 -04:30
José Lorenzo Rodríguez
85f5750c81
Changing fixture data to avoid postgres error. Manually inserted id does not increment sequence
2010-03-16 18:09:27 -04:30
José Lorenzo Rodríguez
c51f4076f7
Forcing order on find('all') in test. It is not safe to asume returned row order in postgres
2010-03-16 17:00:20 -04:30
José Lorenzo Rodríguez
c1f74c28ae
Fixing postgres self join error
2010-03-16 16:49:57 -04:30
José Lorenzo Rodríguez
201a952218
Fixing test for postgresql, it is no safe to asume the order of the returned results of a joined table
2010-03-16 15:12:27 -04:30
Mark Story
8375570f8a
Removing useless loop in Model::save()
2010-03-15 23:36:20 -04:00
AD7six
0c951b7248
Prevent sql error for uuids if id is specified as null
...
if the primary key is present in the data to be saved as null - prevent
passing the same key (id) twice and therefore triggering an sql error.
Signed-off-by: Mark Story <mark@mark-story.com>
2010-03-15 23:32:46 -04:00
Mark Story
4861da66ed
Merge remote branch 'origin/1.2' into 1.2-merger
...
Conflicts:
cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
2010-03-15 23:26:24 -04:00
Mark Story
01a5738f3c
Effectively reverting changes made in
...
[190066fd51
] which caused conditions using
a falsey values to be removed.
2010-03-15 23:14:23 -04:00
Mark Story
661fcd32ab
Fixing failing tests in PostgreSQL cause by invalid datatype comparisons and missing id fields.
2010-03-15 23:07:18 -04:00
Mark Story
ea64588a81
Adding tests from 'Stephen Cuppert' to test incorrectly generate DELETE queries for habtm join tables that do not have a primary key when using PostgreSQL. Updating DboSource::_matchRecords() to only query the table if the supplied conditions are actually multi-table conditions. Fixes #459
2010-03-15 22:55:14 -04:00
Mark Story
190066fd51
Adding array_filter() to remove empty conditions that can be caused by array casting an empty string.
2010-03-15 22:15:03 -04:00
ADmad
cadac9c242
Minor optimization in Inflector::rules, using 'plus'(+) operator instead of 'array_merge' to merge transliteration map arrays
2010-03-16 00:35:05 +05:30
Mark Story
5e665b32f2
Removing useless condition in DboSource::cacheMethod()
2010-03-15 00:41:44 -04:00
Mark Story
daf02cad61
Fixing CakeSchema index comparison that was causing failures in postgres tests.
2010-03-14 23:31:52 -04:00
Mark Story
3ab687043e
Updating DboPostgres test to reflect changes in test suite.
2010-03-14 19:27:36 -04:00
Mark Story
edf2ea1e74
Updating version numbers to 1.3.0-RC2
2010-03-14 16:44:54 -04:00
ADmad
70d0c64283
Removing constant REQUEST_MOBILE_UA, and added variable $mobileUA instead for mobile browser detection. Also added new user agent string 'webOS', closes #457
2010-03-15 01:58:38 +05:30
Mark Story
4c7b62bf64
Removing pre-beta deprecated method that was missed in last Release candidate
2010-03-14 16:07:29 -04:00
Mark Story
3d4b1e365d
Removing deprecated method missed in last release candidate.
2010-03-14 16:06:31 -04:00
Mariano Iglesias
1120d0daff
Fixing issue in Containable where if bindModel was used to add / change a binding not permanently, Containable was making the change permanent
2010-03-14 16:37:50 -03:00
Mariano Iglesias
8d58b40642
Fixing issue in Containable where if bindModel was used to add / change a binding not permanently, Containable was making the change permanent
2010-03-14 16:34:57 -03:00
Mark Story
a51cceab18
Merge branch 'dbo-source-cache' into 1.3
2010-03-14 15:11:48 -04:00
Mark Story
5ec965830c
Fixing issues caused by daylight savings time switch.
2010-03-14 13:20:52 -04:00
Mark Story
78f347afd7
Fixing SchemaShell test, was failing due to a model in the test_app changing.
2010-03-14 13:06:22 -04:00
Mark Story
32432e8de6
Updating DboSource::conditions() to use cacheMethod(). Refs #458
2010-03-13 23:00:08 -05:00
Mark Story
c059cf5175
Implementing cacheMethod(). Helps to solve #458 , as it provides features to control and clear method caches.
2010-03-13 22:55:18 -05:00
Mark Story
49c60658b9
Fixing the ability to use regular expressions for validation rules. Fixes #453
2010-03-13 19:44:20 -05:00
ADmad
688daf2c35
Allowing the default transliteration map used in Inflector::slug to be customized using Inflector::rules. Closes #321 , #334 , #439 .
2010-03-14 02:22:46 +05:30
Mark Story
178099d15b
Adding test that closes #455
2010-03-13 00:26:23 -05:00
Mark Story
028668b7a6
Adding condition for counterCache update keys. Fixes issues where counter cache wouldn't be updated. Fixes #450
2010-03-13 00:18:51 -05:00
Mark Story
e304c48ec4
Adding test to show that select() doesn't always auto select options named 'Array'. Disproves #412
2010-03-12 23:17:11 -05:00
Mark Story
677ff2d8b7
Removing outcommented code.
2010-03-12 23:03:06 -05:00
Mark Story
8e8acfaccd
Fixing notice errors when bogus validation options are selected. Refs #453
2010-03-12 22:58:14 -05:00
Mark Story
239e34f032
Merge branch '1.2' of github.com:cakephp/cakephp1x into 1.2
2010-03-10 21:49:55 -05:00
Mark Story
64c627a352
Adding checks to force limit to always be a positive integer. Fixes potential out of bounds type queries with paginate(). Fixes #418
2010-03-10 21:49:22 -05:00
Mark Story
4c668c036c
Adding checks to force limit to always be a positive integer. Fixes potential out of bounds type queries with paginate(). Fixes #418
2010-03-10 21:46:28 -05:00
José Lorenzo Rodríguez
d8a757ce75
Fixing empty value check to avoid a mistaken default value selection in Helper::value. closes #290
2010-03-10 15:16:02 -04:30
Dieter Plaetinck
9a9bc3643b
fix typo in DboPostgresTestDb::testOrderAdditionalParams()
2010-03-10 14:34:17 -04:30
José Lorenzo Rodríguez
cbcd394d0b
Fixing alter schema queries generated for Postgres, which dos not support altering column type, nullable and default value at the same time
2010-03-09 16:09:16 -04:30
José Lorenzo Rodríguez
acccf964a5
Fixing some tests for Postgres Dbo and adding test cverage for extra params in order function, closes #353
2010-03-09 15:24:03 -04:30
Dieter Plaetinck
a79ff508a6
fix compliancy with more elaborate ORDER syntax, such as "DESC NULLS FIRST" in postgresql, in DboSource::order()
2010-03-09 14:12:54 -04:30
Mark Story
af317a107b
Fixing issues in Set::combine() when data or paths used result in empty datasets. Tests added. Fixes #414
2010-03-08 23:07:36 -05:00
Mark Story
bed4027d37
Making JsHelper::writeBuffer() use the isAjax param to hint the domReady() event. Disabling domready events when the request isAjax fixes issues in prototype and makes output code simpler. Fixes #429
2010-03-08 22:51:46 -05:00
Mark Story
41bdc48fd3
Fixing whitespacing.
2010-03-08 22:49:09 -05:00
Mark Story
c874d98195
Minor refactor to use local variable.
2010-03-08 22:48:39 -05:00
predominant
9cc460ce6d
Merge remote branch 'origin/1.3' into 1.3
2010-03-09 14:31:16 +11:00
predominant
2218d186c8
Revert "Fixing escaping of forward slash for JS Engines."
...
This reverts commit 7334fdfbdf
.
2010-03-09 14:30:28 +11:00
Mark Story
f8bc6de4ae
Fixing ViewTask and FixtureTask. $interactive was set to false, and methods were auto quitting. Fixes #437
2010-03-08 21:18:53 -05:00
predominant
7d81d81176
Merge remote branch 'origin/1.3' into 1.3
2010-03-09 12:28:06 +11:00
predominant
7334fdfbdf
Fixing escaping of forward slash for JS Engines.
2010-03-09 12:26:25 +11:00
Mark Story
e6664f0ea4
Fixing SQL errors when running model_behavior tests with postgresql. Fixes #406
2010-03-07 19:02:19 -05:00
Mark Story
bfbf31e234
Making check for 'add' prefix insensitive. Fixes #434
2010-03-07 17:14:40 -05:00
Mark Story
12edc75a4f
Moving output below check for a single prefix.
2010-03-07 17:14:13 -05:00
Mark Story
8216f5010c
Fixing @see tags in JsEngines
2010-03-06 10:46:26 -05:00
Mark Story
63fcd225ac
Fixing doc block @link tags in Model class.
2010-03-05 22:07:39 -05:00
Mark Story
1ae922cea1
Fixing missing reference operators in test cases.
2010-03-05 22:06:20 -05:00
Dieter Plaetinck
3affec58c6
move information about return value to the correct place in the doc block of Model::saveAll()
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-03-05 21:47:03 -05:00
Mark Story
af92276ba9
Adding missing reference operators to getInstance methods.
2010-03-05 21:41:48 -05:00
Mark Story
ba06b5b456
Moving call to _getConnectionObjects() inside class_exists check. Removes errors when creating a connection with no DATABASE_CONFIG class.
2010-03-05 21:37:28 -05:00
Mark Story
7b83c45168
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-03-05 21:31:10 -05:00
Mark Story
220fba9bba
Fixing inflection of parameters when using bake. Model, View, Controller, and Fixture tasks all accept either singular or plural forms of the table name. Fixes #425
2010-03-05 21:30:58 -05:00
José Lorenzo Rodríguez
e4a5ca528c
Fixing virutal fields fetching for postgresql, closes #417
2010-03-05 16:07:59 -04:30
Mark Story
1d449e3847
Refactoring label generation into a method.
...
Fixing issues with labels having a for attribute = Array when an array of id's is provided.
Fixing issues where a date input would require you to provide id keys for hour, minute, and meridian even if you were not using them.
Fixes #411
2010-03-04 22:46:43 -05:00
Mark Story
38d53b9359
Fixing typo in dispatcher. Fixes #420
2010-03-04 22:04:50 -05:00
Mark Story
f8cb20e994
Passing interactive property to inner tasks. Inner tasks now share the parent interactive setting making things more consistent. Fixes #423
2010-03-04 22:02:49 -05:00
Mark Story
d4393e9058
Fixing path generation in BakeTask.
...
Removing name properties as they were causing troubles.
All BakeTasks are now interactive = false by default. This makes interfaces more consistent when working with bake. Refs #423
Tests updated.
2010-03-04 21:57:48 -05:00
Mark Story
01ea34f452
Moving features up to BakeTask.
2010-03-04 21:30:26 -05:00
Mark Story
4a6ab01134
Making model, view, and controller task use BakeTask.
2010-03-04 20:52:25 -05:00
Mark Story
1af49c8780
Adding BakeTask. Will be a base class for tasks used in Bake.
2010-03-04 20:50:52 -05:00
Mark Story
0c6722b191
Removing directory checks. Console operations will simply create directories as needed.
2010-03-04 20:44:45 -05:00
Mark Story
3e275494e1
Removing duplicated condition from merge.
2010-03-03 20:07:23 -05:00
predominant
382e11ccde
Changed Configure::write to return true on success. Maked testing result simpler.
2010-03-04 10:20:15 +11:00
José Lorenzo Rodríguez
174108df19
Code cleanup, closes #416
2010-03-03 00:11:32 -04:30
hiromi2424
256ce41b1f
LC_TIME support multi-byte value.
2010-03-02 23:51:22 -04:30
Mark Story
ee3c2efec7
Updating version number to 1.3.0-RC1
2010-02-28 20:48:26 -05:00
Mark Story
3b3987de7f
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-02-28 13:52:02 -05:00
Mark Story
65169971d4
Making memory leak test work with margins present in php5.3.1
2010-02-28 13:51:47 -05:00
Mark Story
428ee1998a
Updating paths so app layout doesn't break tests.
2010-02-28 13:44:04 -05:00
Mark Story
dbe35a495c
Updating Object test to include fixtures for both comment fixtures.
2010-02-28 13:34:37 -05:00
Mark Story
2a19a8d5e4
Updating CakeSchema test so it runs in both solo and group contexts. Changing table used on TestPluginComment to match its name.
2010-02-28 13:31:23 -05:00
Mark Story
27ffd43214
Fixing issue in component test where AppController will cause failing tests due to bleed through.
2010-02-28 12:48:34 -05:00
José Lorenzo Rodríguez
29eed5f5e8
Merge branch '1.3' of git@github.com:cakephp/cakephp1x into 1.3
2010-02-28 13:09:15 -04:30
Mark Story
a6efda66b8
Adding fixtures to fix errors in schema shell test case.
2010-02-28 12:38:49 -05:00
José Lorenzo Rodríguez
f0e73e1158
Changing order of expectations to get more correct results
2010-02-28 13:08:36 -04:30
Mark Story
4256cbc6f8
Fixing fails in apishell test.
2010-02-28 12:28:31 -05:00
Mark Story
6360d8d306
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-02-28 12:26:54 -05:00
José Lorenzo Rodríguez
ff1611e7cb
Merge branch '1.3' of git@github.com:cakephp/cakephp1x into 1.3
2010-02-28 12:56:23 -04:30
Mark Story
322d8e667c
Removing duplicate method.
2010-02-28 12:26:15 -05:00
José Lorenzo Rodríguez
d5fa897681
Adding tests for startupProcess and shutDownProcess in controller
...
Fixing variable reference
2010-02-28 12:55:35 -04:30
Mark Story
e0eb48d250
Adding expectError to catch errors coming from FileEngine.
...
Fixing incorrect tests in ApcTest.
2010-02-28 12:15:25 -05:00
Mark Story
75e98387e7
Removing debug() from test case.
2010-02-28 11:39:09 -05:00
Mark Story
a1124e36aa
Fixing formatting.
2010-02-28 11:35:56 -05:00
AD7six
a38846b611
prevent creating tmp dirs all over the file system if running
...
'anonymous' shells
2010-02-28 11:28:36 -05:00
ADmad
8dfadafc88
Changing ternary operator usage syntax to be compliant with php 5.2 and below
2010-02-28 13:05:00 +05:30
Mark Story
e0abe99d7d
Merge remote branch 'origin/1.2' into 1.2-merger
...
Conflicts:
cake/libs/view/helpers/html.php
cake/tests/cases/libs/folder.test.php
2010-02-28 01:58:29 -05:00
Mark Story
3f0c0d8848
Adding doc blocks for new methods.
2010-02-28 01:55:23 -05:00
Mark Story
37cf55470f
Adding tests for Component::triggerCallback(). Deprecating other Component methods, as they are just wrappers for triggerCallback().
2010-02-28 01:49:19 -05:00
Mark Story
70c4c05acd
Merge branch '1.3-component' into 1.3
2010-02-28 01:39:54 -05:00
José Lorenzo Rodríguez
1f1e0f4ff7
Merge commit 'origin/1.3' into 1.3-form
2010-02-27 23:23:43 -04:30
José Lorenzo Rodríguez
b782563daf
Adding test for form input templates
2010-02-27 23:18:21 -04:30
José Lorenzo Rodríguez
0ca5c11e6c
Making the form helper put the "required" class on all imputs that have a validation rule and does not explicitly sets allowEmpty => true in validation array
2010-02-27 22:58:27 -04:30
Mark Story
cec6692123
Re-arrange the arguments of triggerCallback. Modifying Dispatcher so its not calling methods on Component directly. Additional methods added to Controller.
2010-02-27 22:01:08 -05:00
Mark Story
e75f6fe2b4
Refactoring existing callbacks into triggerCallback().
2010-02-27 21:47:32 -05:00
Mark Story
748ec4ee78
Fixing baking views for models in plugins. Making sure that the temporary controller object gets its plugin property set so the correct models are loaded and used. Fixes #381
2010-02-27 20:28:04 -05:00
Mark Story
ec5d9729b0
Model::find(first) no longer uses the id set in a model as the default conditions. Fixes #266
2010-02-27 11:32:29 -05:00
Mark Story
0960abcfb9
Removing workaround code for PHP 5.3.0. Error is no longer being generated in PHP 5.3.1
2010-02-27 11:26:16 -05:00
Mark Story
1f25bb31c0
Refactoring option extraction into a separate method.
2010-02-27 11:01:28 -05:00
Mark Story
3192e130af
Fixing magic select creation for fields that have plural variables added to the view.
2010-02-27 11:01:28 -05:00
José Lorenzo Rodríguez
056b87d13a
Implementing template for input formats, test pending
2010-02-26 18:39:33 -04:30
Mark Story
6285f7893e
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-02-24 22:58:26 -05:00
Mark Story
e4b392a4ff
Updating and expanding form helper submit documentation. Refs #335
2010-02-24 22:58:09 -05:00
Mark Story
47afceea22
Expanding documentation for FormHelper::submit() Fixes #390
2010-02-24 22:54:48 -05:00
Mark Story
348fe6f574
Expanding documentation for FormHelper::submit() Fixes #390
2010-02-24 22:45:49 -05:00
Mark Story
585f731ae2
Mostly reverting changes made in [ 8ce9560f41
]. Using a console like project bake from outside a cake app no longer causes errors from Configure. Fixes #387
2010-02-24 22:35:20 -05:00
Mark Story
9632e74cfc
Making bake model.ctp only include the association comment when there is a non empty association. Fixes #393
2010-02-24 22:23:09 -05:00
predominant
48cd4d5738
Fix newline in VERSION.txt
2010-02-24 07:58:33 +11:00
José Lorenzo Rodríguez
6ae54fda8d
Using the method cache for the rest of the return statements in DboSource::name
2010-02-23 10:09:11 -04:30
José Lorenzo Rodríguez
9a4de854d6
Improving the guessing process of required fields in the form helper.
...
Now it does not rely on the "required" property of the validation array anymore, which was misleading
2010-02-23 09:55:01 -04:30
Mark Story
753721c777
Making private properties and methods in FileEngine protected. Will make any possible subclasses easier to work with.
2010-02-22 23:36:47 -05:00
Mark Story
fbf054b22b
Making FileEngine emit errors when a path does not exist but is used for caching. Should make cryptic errors coming from Cache easier to figure out. Removed useless private property.
...
Tests added.
Fixes #384
2010-02-22 23:21:30 -05:00
Mark Story
b1a3e05374
Fixing failing tests in ControllerTask.
2010-02-21 22:37:18 -05:00
Mark Story
1c7c748a7c
Merge branch 'view-all' into 1.3
2010-02-21 22:29:22 -05:00
Mark Story
8615274e7f
Fixing issue where baking a model non-interactively would omit hasMany associations. Tests added.
2010-02-20 20:13:42 -05:00
Mark Story
8ce9560f41
Correcting forcing of debug = 1 in console. Updating order of bootstrapping to match the one used for web requests. Fixes #366
2010-02-20 19:57:17 -05:00
Mark Story
7075aa5e86
Fixing DboSource not quoting table/field names with - in them. Tests expanded . Fixes #323
2010-02-20 11:42:17 -05:00
Juan Basso
416abed211
Test of ticket #323 .
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-02-20 11:35:54 -05:00
Mark Story
763aa524b9
Fixing recursive directory creation when nested create() calls fail. Fixes #347
2010-02-20 11:25:46 -05:00
Mark Story
06fc87fc2d
Fixing lack of space in meta tags lacking a link attribute.
...
Fixes #371
2010-02-20 01:41:56 -05:00
Mark Story
f4c670e5be
Fixing lack of space in meta tags lacking a link attribute.
...
Fixes #371
2010-02-20 01:39:15 -05:00
Mark Story
6a3347ef7c
Merge remote branch 'origin/1.2' into 1.2-merger
...
Conflicts:
cake/VERSION.txt
cake/config/config.php
cake/console/libs/tasks/model.php
cake/dispatcher.php
cake/libs/l10n.php
cake/libs/model/datasources/dbo_source.php
cake/libs/view/pages/home.ctp
cake/tests/cases/console/libs/tasks/model.test.php
cake/tests/cases/libs/view/helpers/ajax.test.php
cake/tests/cases/libs/view/helpers/text.test.php
2010-02-20 01:32:04 -05:00
Mark Story
96bbbb2d72
Applying fixes made to JavascriptHelper to JsBaseEngine.
2010-02-17 22:27:52 -05:00
Mark Story
c7de42033c
Merge branch '1.2' of github.com:cakephp/cakephp1x into 1.2
2010-02-17 22:23:16 -05:00
Mark Story
ab688b88f4
Adding test to check that postfix and prefix options don't go into inner objects. Tests added, fixes #348
2010-02-17 22:22:53 -05:00
Mark Story
2209f198f8
Adding test to check that postfix and prefix options don't go into inner objects. Tests added, fixes #348
2010-02-17 22:21:48 -05:00
Mark Story
e09e520fd5
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-02-17 21:32:27 -05:00
renan.saddam
63f7900ba1
Checking if the last query returned a error, tests added. Fixes #72 .
2010-02-17 22:31:00 -03:00
renan.saddam
14911cf720
Fixing typo and introducing 'Overwrite all' functionallity. Fixes #333 .
2010-02-17 21:41:15 -03:00
Mark Story
bff7ce6925
Refactoring Dispatcher::asset() to remove code left behind from previous
...
refactoring. Simplifies asset location as well.
2010-02-16 23:31:54 -05:00
Mark Story
42a5665660
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-02-16 23:19:11 -05:00
Mark Story
0b1efd3e86
Fixing delivery of plugin assets that reside in the root of a plugin webroot directory. Tests added.
2010-02-16 23:18:49 -05:00
Mark Story
eb96f4ac3a
Minor refactor of ConnectionManager::__connectionData(). Uses pluginSplit() now to consolidate plugin dot notation handling.
2010-02-16 22:42:06 -05:00
Mark Story
2279b1a736
Adding patches, and tests from tkykmw. Add support for plugin datasource drivers. Fixes #297
2010-02-16 22:35:16 -05:00
Mark Story
fc499ac48f
Reversing order of short cut checks. Fixes issues in PHP 5.1.x. Fixes #351
2010-02-16 22:05:50 -05:00
Mark Story
e1eb827ee8
Merge branch 'configure-changes' into 1.3
2010-02-15 12:11:05 -05:00
renan.saddam
d7b49e3494
Not forcing the use of ds, so will use $useDbConfig instead, tests added. Fixes #324 .
2010-02-15 14:46:18 -03:00
Mark Story
f04add4f79
Fixing querystring parameters being chopped off of absolute webroot asset paths.
2010-02-13 20:43:02 -05:00
Mark Story
dc8f49feda
Modifying the bootstrap process, to match the documented changes. $pluginPaths style variables will no longer work. You need to use App::build() to set paths in the bootstrap file. Added a build() call before the bootstrap is included. This allows cold cache import() calls to work from bootstrap.php.
2010-02-13 19:39:11 -05:00
Mark Story
d7dd63de82
Adding the ability to bake all views for one specific action. Tests added. Fixes #251
2010-02-13 19:07:42 -05:00
Mark Story
effbbeca33
Simplifying App::core() path generation.
2010-02-13 19:06:52 -05:00
Mark Story
6ccc43d776
Adding tests for Cache not generating errors when Cache.disable = true. Refs #286
2010-02-13 18:51:39 -05:00
Mark Story
3f667eb412
Adding skipTables to ModelTask. Allows skipping of predefined tables. Adding i18n table to the default list of skipped tables. Fixes #327
2010-02-13 18:15:11 -05:00
Mark Story
b89f40be80
Adding file omitted from [ 46948dd2c0
]
2010-02-13 17:56:19 -05:00
Mark Story
8b6423e9c3
Renaming properties to be protected.
2010-02-13 17:55:34 -05:00
Mark Story
5f5aae71e7
Adding property to signal which actions to skip finding templates for. Fixes #330
2010-02-13 17:51:49 -05:00
Mitchell Amihod
2e8e233f73
Fixing syntax error for baked component test case. Updated relevant
...
test case.
Fixes #342 .
Signed-off-by: Joël Perras <joel.perras@gmail.com>
2010-02-13 16:40:55 -05:00
Mark Story
a479f32da5
Clarifying the behaviour of FormHelper::button() fixes #335
2010-02-12 23:58:35 -05:00
Mark Story
7a655f7fde
Fixing broken skipIf commited in 46948dd2c0
2010-02-12 23:51:02 -05:00
renan.saddam
5653c720f0
Fixing an small error with token parsing, tests added. Refs #333 .
2010-02-12 11:52:58 -02:00
renan.saddam
f6f04b6425
Clearing variables after running all the methods. Fixes #333 .
2010-02-12 11:20:43 -02:00
renan.saddam
d975dc3190
Adding tests for previous commit. Refs #310 .
2010-02-12 02:01:54 -02:00
renan.saddam
06109a2eed
Merge branch '1.2' of github.com:cakephp/cakephp1x into 1.2
2010-02-12 01:57:38 -02:00
Mark Story
46948dd2c0
Fixing memory leak in ThemeView where __paths would grow each time _paths() was called. Fixes #329
2010-02-11 22:57:24 -05:00
renan.saddam
d5ea6b7c2a
Flushing the CR after a model is baked, tests added. Refs #310 .
2010-02-12 01:57:04 -02:00
Mark Story
0ce14ceb7e
Adding return statement, preventing infinite loops when no default fields are bound, and unbindTranslation() is called with no fields. Fixes #307
2010-02-11 22:03:43 -05:00
renan.saddam
0611f1b1f3
Flushing the CR after a model file is created, so a controller can be full baked without the need of restarting an bake session. Fixes #310 .
2010-02-11 16:59:49 -02:00
Mark Story
3a03672379
Fixing formatting of code.
2010-02-09 21:05:01 -05:00
Mark Story
0fda18d11c
Fixing entity encoding of url strings inside remoteFunctions contained in safe CDATA blocks. Fixes #127
2010-02-08 23:07:13 -05:00
Mark Story
b90a64c044
Adding Android and iPod as Mobile useragent names. Fixes #319
2010-02-08 21:11:56 -05:00
Mark Story
9edf2d1d80
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-02-07 16:45:55 -05:00
Mark Story
7384f56144
Fixing issues with old method names being used in EmailComponent.
2010-02-07 16:45:36 -05:00
ADmad
8c1c0e63c0
Allowing a html tag's attribute to be omitted from ouput by setting its value to null or false. Closes #316
2010-02-08 03:00:43 +05:30
Mark Story
6c3c5e9012
Merge remote branch 'rchavik/ticket_293' into 1.3
...
Conflicts:
cake/libs/controller/components/email.php
2010-02-07 16:26:37 -05:00
Mark Story
843d3c7095
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-02-07 15:20:00 -05:00
Mark Story
1febd776bd
Fixing include errors caused by empty asset filters in Dispatcher::asset(). Fixes #313
2010-02-07 15:19:47 -05:00
ADmad
6f08d86c8e
Links generated by PaginatorHelper::prev and PaginatorHelper::next are now wrapped in 'span' or the tag specified in options. Fixes #311
2010-02-07 23:56:50 +05:30
Mark Story
2cf294a749
Fixing typo in Finland for sv-fi language. Fixes #308
2010-02-06 14:30:39 -05:00
Mark Story
104da15a73
Making built-in Canadian postal code validation accept postal codes with no spaces. Fixes #289
2010-02-06 14:20:56 -05:00
Mark Story
e6404f2d06
Making built-in Canadian postal code validation accept postal codes with no spaces. Fixes #289
2010-02-06 14:20:28 -05:00
Joël Perras
2c1e6de7d6
Another fix for array_values() throwing a warning when using Tree Behavior under certain
...
situations.
2010-02-05 13:18:46 -05:00
Mark Story
f389591085
Merge remote branch 'phally/1.3-email_component' into email-integration
2010-02-04 21:36:26 -05:00
rchavik
f585630286
Test case: EmailComponent $to accepts array (closes 293)
2010-02-04 09:35:33 +07:00
rchavik
a20c809796
EmailComponent: Accept arrays for $to variable ( closes #293 )
2010-02-04 09:35:08 +07:00
Martin Radosta
447e953bd1
Add exact comparison to Debugger::checkSecurityKeys(). Fixes issues
...
with modifying the value by one digit. Fixes #298
Signed-off-by: Mark Story <mark@mark-story.com>
2010-02-03 21:22:46 -05:00
Mark Story
4b269e3170
Fixing RequestHandler::beforeRedirect() and issues with array urls, where incompatibilities between standard url arrays and requestAction url arrays caused incorrect results. Tests added. Fixes #276
2010-02-02 20:39:33 -05:00
Mark Story
7daad4acaf
Merge branch '1.2' of github.com:cakephp/cakephp1x into 1.2
2010-02-02 20:39:25 -05:00
Mark Story
2adac05dad
Fixing RequestHandler::beforeRedirect() and issues with array urls, where incompatibilities between standard url arrays and requestAction url arrays caused incorrect results. Tests added. Fixes #276
2010-02-02 20:39:05 -05:00
Joël Perras
205c95ef65
Fix array_values() warning when using Tree Behavior under certain
...
situations.
In TreeBehavior::_setParent(), if the $Model->find('first') returned
false, then array_values() would throw a warning.
2010-02-02 11:48:57 -05:00
predominant
8d382d9168
Fixes #288 . TextHelper truncation not playing nice with html in ending.
2010-02-02 09:13:52 +11:00
Juan Basso
a81d57a080
Changing the class name to lowercase before ordering the ClassRegistry in PHP 4 to not have problems of duplication of tasks in the shell. Fixes #186 .
2010-02-01 12:07:20 -05:00
José Lorenzo Rodríguez
aadf62de6e
Improving tests for Set::diff
2010-01-31 20:26:57 -04:30
Juan Basso
a89d9e4830
Extra optimization for Set::diff(). Refer commit fde10b1
.
2010-01-31 20:14:52 -04:30
ADmad
59a4732eb8
Fixing issue where value of '$and' was appended to output string even when list array contained only one element. Fixed #285
2010-01-31 23:43:58 +05:30
Mark Story
be7ddfb972
Updating version numbers to 1.2.6
2010-01-29 21:54:54 -05:00
Mark Story
7ac87d8543
Updating links on home.ctp to point at github and lighthouse.
2010-01-29 21:35:00 -05:00
José Lorenzo Rodríguez
3f9813a9ec
Removing unused statement, thanks jrbasso
2010-01-29 16:15:03 -04:30
José Lorenzo Rodríguez
2e49a96634
Merge branch '1.3' of git@github.com:cakephp/cakephp1x into 1.3
...
* '1.3' of git@github.com:cakephp/cakephp1x:
Adding file omitted from [30cb38eb93
]
Adding tests for deletion of multiple habtm associations. Reverting changes made in [15518b8c9a
] that caused incorrect removal of links when deleting records. Fixes #247
2010-01-29 15:31:40 -04:30
José Lorenzo Rodríguez
fde10b1e62
Improving performance of Set::diff()
2010-01-29 15:31:07 -04:30
Mark Story
7fb7c5ebf6
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-29 11:56:09 -05:00
Mark Story
f2a94f5959
Adding file omitted from [ 30cb38eb93
]
2010-01-29 11:55:51 -05:00
Mark Story
887ddb9575
Adding tests for deletion of multiple habtm associations. Reverting changes made in [ 15518b8c9a
] that caused incorrect removal of links when deleting records. Fixes #247
2010-01-29 11:55:18 -05:00
Mark Story
7cfb5aba8d
Minor refactor of Model::_deleteLinks to improve readability.
2010-01-29 11:21:37 -05:00
José Lorenzo Rodríguez
0abe9afc15
Merge branch '1.3' of git@github.com:cakephp/cakephp1x into 1.3
...
* '1.3' of git@github.com:cakephp/cakephp1x:
Fixing issues in JqueryEngineHelper where eval()'ed responses wouldn't run code contained inside $js->domReady() due to implementation differences between $(document).ready() and $(document).bind('ready'). Tests updated.
2010-01-29 10:58:53 -04:30
José Lorenzo Rodríguez
1dd0a6470c
Optimizations for DbouSource.
...
Now the result for some methods is stored in a memory cache inside the poperty $methodCache
2010-01-29 10:57:40 -04:30
Mark Story
832b15ba3e
Fixing issues in JqueryEngineHelper where eval()'ed responses wouldn't run code contained inside $js->domReady() due to implementation differences between $(document).ready() and $(document).bind('ready'). Tests updated.
2010-01-29 10:06:47 -05:00
Mark Story
38365924eb
Removing deprecated and unused class property.
2010-01-28 13:30:55 -05:00
Mark Story
e8be5bac8d
Expanding doc blocks for router::url.
2010-01-28 13:30:34 -05:00
Mark Story
30cb38eb93
Refactoring extensions in ScaffoldView to reflect removal of magic .thtml extension.
...
Adding test for interaction of Themed views and Scaffolded views. Fixes #255
2010-01-28 11:11:19 -05:00
Mark Story
76d6864d90
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-28 10:55:41 -05:00
Mark Story
2b353e90f8
Minor optimizations in Router
2010-01-27 15:38:18 -05:00
ADmad
c9e047ce37
Adding 'orderYear' option for FormHelper::year to allow control over ordering of select options
2010-01-28 01:48:53 +05:30
Juan Basso
57997e770c
Refactory of DboSource::name() to improve performance. Added more tests to it.
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-27 12:24:06 -05:00
Mark Story
2d81d25f41
Fixing issue where webroot paths would be incorrect when using a virtual host setup and no mod_rewrite. An additional app/webroot would be appended. Incorrect tests updated. Fixes #259
2010-01-27 11:08:04 -05:00
Mark Story
827c65a767
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-26 17:57:25 -05:00
Mark Story
4f67f84ff8
Merge branch '1.2' into 1.3-merger
...
Conflicts:
app/config/acl.ini.php
app/config/bootstrap.php
app/config/core.php
app/config/database.php.default
app/config/inflections.php
app/config/routes.php
app/config/schema/db_acl.php
app/config/schema/i18n.php
app/config/schema/sessions.php
app/config/sql/db_acl.sql
app/config/sql/i18n.sql
app/index.php
app/webroot/css.php
app/webroot/css/cake.generic.css
app/webroot/index.php
app/webroot/js/vendors.php
app/webroot/test.php
cake/LICENSE.txt
cake/basics.php
cake/bootstrap.php
cake/config/config.php
cake/config/paths.php
cake/config/unicode/casefolding/0080_00ff.php
cake/config/unicode/casefolding/0100_017f.php
cake/config/unicode/casefolding/0180_024F.php
cake/config/unicode/casefolding/0250_02af.php
cake/config/unicode/casefolding/0370_03ff.php
cake/config/unicode/casefolding/0400_04ff.php
cake/config/unicode/casefolding/0500_052f.php
cake/config/unicode/casefolding/0530_058f.php
cake/config/unicode/casefolding/1e00_1eff.php
cake/config/unicode/casefolding/1f00_1fff.php
cake/config/unicode/casefolding/2100_214f.php
cake/config/unicode/casefolding/2150_218f.php
cake/config/unicode/casefolding/2460_24ff.php
cake/config/unicode/casefolding/2c00_2c5f.php
cake/config/unicode/casefolding/2c60_2c7f.php
cake/config/unicode/casefolding/2c80_2cff.php
cake/config/unicode/casefolding/ff00_ffef.php
cake/console/cake
cake/console/cake.bat
cake/console/cake.php
cake/console/error.php
cake/console/libs/acl.php
cake/console/libs/api.php
cake/console/libs/bake.php
cake/console/libs/console.php
cake/console/libs/i18n.php
cake/console/libs/schema.php
cake/console/libs/shell.php
cake/console/libs/tasks/controller.php
cake/console/libs/tasks/db_config.php
cake/console/libs/tasks/extract.php
cake/console/libs/tasks/model.php
cake/console/libs/tasks/plugin.php
cake/console/libs/tasks/project.php
cake/console/libs/tasks/test.php
cake/console/libs/tasks/view.php
cake/console/libs/templates/skel/config/bootstrap.php
cake/console/libs/templates/skel/config/inflections.php
cake/console/libs/templates/skel/config/sql/sessions.sql
cake/console/libs/templates/skel/index.php
cake/console/libs/templates/skel/views/elements/email/html/default.ctp
cake/console/libs/templates/skel/views/elements/email/text/default.ctp
cake/console/libs/templates/skel/views/layouts/ajax.ctp
cake/console/libs/templates/skel/views/layouts/default.ctp
cake/console/libs/templates/skel/views/layouts/email/html/default.ctp
cake/console/libs/templates/skel/views/layouts/email/text/default.ctp
cake/console/libs/templates/skel/webroot/js/vendors.php
cake/console/libs/templates/skel/webroot/test.php
cake/console/libs/templates/views/form.ctp
cake/console/libs/templates/views/index.ctp
cake/console/libs/testsuite.php
cake/console/templates/default/views/view.ctp
cake/console/templates/skel/app_controller.php
cake/console/templates/skel/app_helper.php
cake/console/templates/skel/app_model.php
cake/console/templates/skel/config/acl.ini.php
cake/console/templates/skel/config/core.php
cake/console/templates/skel/config/database.php.default
cake/console/templates/skel/config/routes.php
cake/console/templates/skel/config/schema/db_acl.php
cake/console/templates/skel/config/schema/db_acl.sql
cake/console/templates/skel/config/schema/i18n.php
cake/console/templates/skel/config/schema/i18n.sql
cake/console/templates/skel/config/schema/sessions.php
cake/console/templates/skel/config/schema/sessions.sql
cake/console/templates/skel/controllers/pages_controller.php
cake/console/templates/skel/views/layouts/flash.ctp
cake/console/templates/skel/webroot/css.php
cake/console/templates/skel/webroot/css/cake.generic.css
cake/console/templates/skel/webroot/index.php
cake/dispatcher.php
cake/libs/cache.php
cake/libs/cache/apc.php
cake/libs/cache/file.php
cake/libs/cache/memcache.php
cake/libs/cache/xcache.php
cake/libs/cake_log.php
cake/libs/cake_session.php
cake/libs/cake_socket.php
cake/libs/class_registry.php
cake/libs/configure.php
cake/libs/controller/app_controller.php
cake/libs/controller/component.php
cake/libs/controller/components/acl.php
cake/libs/controller/components/auth.php
cake/libs/controller/components/cookie.php
cake/libs/controller/components/email.php
cake/libs/controller/components/request_handler.php
cake/libs/controller/components/security.php
cake/libs/controller/components/session.php
cake/libs/controller/controller.php
cake/libs/controller/pages_controller.php
cake/libs/controller/scaffold.php
cake/libs/debugger.php
cake/libs/error.php
cake/libs/file.php
cake/libs/flay.php
cake/libs/folder.php
cake/libs/http_socket.php
cake/libs/i18n.php
cake/libs/inflector.php
cake/libs/l10n.php
cake/libs/magic_db.php
cake/libs/model/app_model.php
cake/libs/model/behaviors/acl.php
cake/libs/model/behaviors/containable.php
cake/libs/model/behaviors/translate.php
cake/libs/model/behaviors/tree.php
cake/libs/model/cake_schema.php
cake/libs/model/connection_manager.php
cake/libs/model/datasources/datasource.php
cake/libs/model/datasources/dbo/dbo_adodb.php
cake/libs/model/datasources/dbo/dbo_db2.php
cake/libs/model/datasources/dbo/dbo_firebird.php
cake/libs/model/datasources/dbo/dbo_mssql.php
cake/libs/model/datasources/dbo/dbo_mysql.php
cake/libs/model/datasources/dbo/dbo_mysqli.php
cake/libs/model/datasources/dbo/dbo_odbc.php
cake/libs/model/datasources/dbo/dbo_oracle.php
cake/libs/model/datasources/dbo/dbo_postgres.php
cake/libs/model/datasources/dbo/dbo_sqlite.php
cake/libs/model/datasources/dbo/dbo_sybase.php
cake/libs/model/datasources/dbo_source.php
cake/libs/model/db_acl.php
cake/libs/model/model.php
cake/libs/model/model_behavior.php
cake/libs/multibyte.php
cake/libs/object.php
cake/libs/overloadable.php
cake/libs/overloadable_php4.php
cake/libs/overloadable_php5.php
cake/libs/router.php
cake/libs/sanitize.php
cake/libs/security.php
cake/libs/set.php
cake/libs/string.php
cake/libs/validation.php
cake/libs/view/elements/dump.ctp
cake/libs/view/elements/email/html/default.ctp
cake/libs/view/elements/email/text/default.ctp
cake/libs/view/errors/error404.ctp
cake/libs/view/errors/missing_action.ctp
cake/libs/view/errors/missing_component_class.ctp
cake/libs/view/errors/missing_component_file.ctp
cake/libs/view/errors/missing_connection.ctp
cake/libs/view/errors/missing_controller.ctp
cake/libs/view/errors/missing_helper_class.ctp
cake/libs/view/errors/missing_helper_file.ctp
cake/libs/view/errors/missing_layout.ctp
cake/libs/view/errors/missing_model.ctp
cake/libs/view/errors/missing_scaffolddb.ctp
cake/libs/view/errors/missing_table.ctp
cake/libs/view/errors/missing_view.ctp
cake/libs/view/errors/private_action.ctp
cake/libs/view/errors/scaffold_error.ctp
cake/libs/view/helper.php
cake/libs/view/helpers/ajax.php
cake/libs/view/helpers/app_helper.php
cake/libs/view/helpers/cache.php
cake/libs/view/helpers/form.php
cake/libs/view/helpers/html.php
cake/libs/view/helpers/javascript.php
cake/libs/view/helpers/js.php
cake/libs/view/helpers/number.php
cake/libs/view/helpers/paginator.php
cake/libs/view/helpers/rss.php
cake/libs/view/helpers/session.php
cake/libs/view/helpers/text.php
cake/libs/view/helpers/time.php
cake/libs/view/helpers/xml.php
cake/libs/view/layouts/ajax.ctp
cake/libs/view/layouts/default.ctp
cake/libs/view/layouts/email/html/default.ctp
cake/libs/view/layouts/email/text/default.ctp
cake/libs/view/layouts/flash.ctp
cake/libs/view/media.php
cake/libs/view/pages/home.ctp
cake/libs/view/scaffolds/edit.ctp
cake/libs/view/scaffolds/index.ctp
cake/libs/view/scaffolds/view.ctp
cake/libs/view/theme.php
cake/libs/view/view.php
cake/libs/xml.php
cake/tests/cases/basics.test.php
cake/tests/cases/console/cake.test.php
cake/tests/cases/console/libs/acl.test.php
cake/tests/cases/console/libs/api.test.php
cake/tests/cases/console/libs/schema.test.php
cake/tests/cases/console/libs/shell.test.php
cake/tests/cases/console/libs/tasks/extract.test.php
cake/tests/cases/console/libs/tasks/model.test.php
cake/tests/cases/console/libs/tasks/test.test.php
cake/tests/cases/dispatcher.test.php
cake/tests/cases/libs/cache.test.php
cake/tests/cases/libs/cache/apc.test.php
cake/tests/cases/libs/cache/file.test.php
cake/tests/cases/libs/cache/memcache.test.php
cake/tests/cases/libs/cache/xcache.test.php
cake/tests/cases/libs/cake_log.test.php
cake/tests/cases/libs/cake_session.test.php
cake/tests/cases/libs/cake_socket.test.php
cake/tests/cases/libs/cake_test_case.test.php
cake/tests/cases/libs/cake_test_fixture.test.php
cake/tests/cases/libs/class_registry.test.php
cake/tests/cases/libs/code_coverage_manager.test.php
cake/tests/cases/libs/configure.test.php
cake/tests/cases/libs/controller/component.test.php
cake/tests/cases/libs/controller/components/acl.test.php
cake/tests/cases/libs/controller/components/auth.test.php
cake/tests/cases/libs/controller/components/cookie.test.php
cake/tests/cases/libs/controller/components/email.test.php
cake/tests/cases/libs/controller/components/request_handler.test.php
cake/tests/cases/libs/controller/components/security.test.php
cake/tests/cases/libs/controller/components/session.test.php
cake/tests/cases/libs/controller/controller.test.php
cake/tests/cases/libs/controller/controller_merge_vars.test.php
cake/tests/cases/libs/controller/pages_controller.test.php
cake/tests/cases/libs/controller/scaffold.test.php
cake/tests/cases/libs/debugger.test.php
cake/tests/cases/libs/error.test.php
cake/tests/cases/libs/file.test.php
cake/tests/cases/libs/flay.test.php
cake/tests/cases/libs/folder.test.php
cake/tests/cases/libs/http_socket.test.php
cake/tests/cases/libs/i18n.test.php
cake/tests/cases/libs/inflector.test.php
cake/tests/cases/libs/l10n.test.php
cake/tests/cases/libs/magic_db.test.php
cake/tests/cases/libs/model/behaviors/acl.test.php
cake/tests/cases/libs/model/behaviors/containable.test.php
cake/tests/cases/libs/model/behaviors/translate.test.php
cake/tests/cases/libs/model/behaviors/tree.test.php
cake/tests/cases/libs/model/cake_schema.test.php
cake/tests/cases/libs/model/connection_manager.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_adodb.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_mssql.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/model/datasources/dbo/dbo_oracle.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_postgres.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_sqlite.test.php
cake/tests/cases/libs/model/datasources/dbo_source.test.php
cake/tests/cases/libs/model/db_acl.test.php
cake/tests/cases/libs/model/model.test.php
cake/tests/cases/libs/model/model_behavior.test.php
cake/tests/cases/libs/model/model_delete.test.php
cake/tests/cases/libs/model/model_integration.test.php
cake/tests/cases/libs/model/model_read.test.php
cake/tests/cases/libs/model/model_validation.test.php
cake/tests/cases/libs/model/model_write.test.php
cake/tests/cases/libs/model/models.php
cake/tests/cases/libs/multibyte.test.php
cake/tests/cases/libs/object.test.php
cake/tests/cases/libs/overloadable.test.php
cake/tests/cases/libs/router.test.php
cake/tests/cases/libs/sanitize.test.php
cake/tests/cases/libs/security.test.php
cake/tests/cases/libs/set.test.php
cake/tests/cases/libs/string.test.php
cake/tests/cases/libs/test_manager.test.php
cake/tests/cases/libs/validation.test.php
cake/tests/cases/libs/view/helper.test.php
cake/tests/cases/libs/view/helpers/ajax.test.php
cake/tests/cases/libs/view/helpers/cache.test.php
cake/tests/cases/libs/view/helpers/form.test.php
cake/tests/cases/libs/view/helpers/html.test.php
cake/tests/cases/libs/view/helpers/javascript.test.php
cake/tests/cases/libs/view/helpers/js.test.php
cake/tests/cases/libs/view/helpers/number.test.php
cake/tests/cases/libs/view/helpers/paginator.test.php
cake/tests/cases/libs/view/helpers/rss.test.php
cake/tests/cases/libs/view/helpers/session.test.php
cake/tests/cases/libs/view/helpers/text.test.php
cake/tests/cases/libs/view/helpers/time.test.php
cake/tests/cases/libs/view/helpers/xml.test.php
cake/tests/cases/libs/view/theme.test.php
cake/tests/cases/libs/view/view.test.php
cake/tests/cases/libs/xml.test.php
cake/tests/fixtures/account_fixture.php
cake/tests/fixtures/aco_action_fixture.php
cake/tests/fixtures/aco_fixture.php
cake/tests/fixtures/aco_two_fixture.php
cake/tests/fixtures/advertisement_fixture.php
cake/tests/fixtures/another_article_fixture.php
cake/tests/fixtures/apple_fixture.php
cake/tests/fixtures/aro_fixture.php
cake/tests/fixtures/aro_two_fixture.php
cake/tests/fixtures/aros_aco_fixture.php
cake/tests/fixtures/aros_aco_two_fixture.php
cake/tests/fixtures/article_featured_fixture.php
cake/tests/fixtures/article_featureds_tags_fixture.php
cake/tests/fixtures/article_fixture.php
cake/tests/fixtures/articles_tag_fixture.php
cake/tests/fixtures/attachment_fixture.php
cake/tests/fixtures/auth_user_custom_field_fixture.php
cake/tests/fixtures/auth_user_fixture.php
cake/tests/fixtures/author_fixture.php
cake/tests/fixtures/basket_fixture.php
cake/tests/fixtures/bid_fixture.php
cake/tests/fixtures/binary_test_fixture.php
cake/tests/fixtures/book_fixture.php
cake/tests/fixtures/cache_test_model_fixture.php
cake/tests/fixtures/callback_fixture.php
cake/tests/fixtures/category_fixture.php
cake/tests/fixtures/category_thread_fixture.php
cake/tests/fixtures/cd_fixture.php
cake/tests/fixtures/comment_fixture.php
cake/tests/fixtures/content_account_fixture.php
cake/tests/fixtures/content_fixture.php
cake/tests/fixtures/counter_cache_post_fixture.php
cake/tests/fixtures/counter_cache_post_nonstandard_primary_key_fixture.php
cake/tests/fixtures/counter_cache_user_fixture.php
cake/tests/fixtures/counter_cache_user_nonstandard_primary_key_fixture.php
cake/tests/fixtures/data_test_fixture.php
cake/tests/fixtures/datatype_fixture.php
cake/tests/fixtures/dependency_fixture.php
cake/tests/fixtures/device_fixture.php
cake/tests/fixtures/device_type_category_fixture.php
cake/tests/fixtures/device_type_fixture.php
cake/tests/fixtures/document_directory_fixture.php
cake/tests/fixtures/document_fixture.php
cake/tests/fixtures/exterior_type_category_fixture.php
cake/tests/fixtures/feature_set_fixture.php
cake/tests/fixtures/featured_fixture.php
cake/tests/fixtures/film_file_fixture.php
cake/tests/fixtures/flag_tree_fixture.php
cake/tests/fixtures/fruit_fixture.php
cake/tests/fixtures/fruits_uuid_tag_fixture.php
cake/tests/fixtures/home_fixture.php
cake/tests/fixtures/image_fixture.php
cake/tests/fixtures/item_fixture.php
cake/tests/fixtures/items_portfolio_fixture.php
cake/tests/fixtures/join_a_b_fixture.php
cake/tests/fixtures/join_a_c_fixture.php
cake/tests/fixtures/join_a_fixture.php
cake/tests/fixtures/join_b_fixture.php
cake/tests/fixtures/join_c_fixture.php
cake/tests/fixtures/join_thing_fixture.php
cake/tests/fixtures/message_fixture.php
cake/tests/fixtures/my_categories_my_products_fixture.php
cake/tests/fixtures/my_categories_my_users_fixture.php
cake/tests/fixtures/my_category_fixture.php
cake/tests/fixtures/my_product_fixture.php
cake/tests/fixtures/my_user_fixture.php
cake/tests/fixtures/node_fixture.php
cake/tests/fixtures/number_tree_fixture.php
cake/tests/fixtures/number_tree_two_fixture.php
cake/tests/fixtures/numeric_article_fixture.php
cake/tests/fixtures/overall_favorite_fixture.php
cake/tests/fixtures/person_fixture.php
cake/tests/fixtures/portfolio_fixture.php
cake/tests/fixtures/post_fixture.php
cake/tests/fixtures/posts_tag_fixture.php
cake/tests/fixtures/primary_model_fixture.php
cake/tests/fixtures/product_fixture.php
cake/tests/fixtures/project_fixture.php
cake/tests/fixtures/sample_fixture.php
cake/tests/fixtures/secondary_model_fixture.php
cake/tests/fixtures/session_fixture.php
cake/tests/fixtures/something_else_fixture.php
cake/tests/fixtures/something_fixture.php
cake/tests/fixtures/stories_tag_fixture.php
cake/tests/fixtures/story_fixture.php
cake/tests/fixtures/syfile_fixture.php
cake/tests/fixtures/tag_fixture.php
cake/tests/fixtures/test_plugin_article_fixture.php
cake/tests/fixtures/test_plugin_comment_fixture.php
cake/tests/fixtures/the_paper_monkies_fixture.php
cake/tests/fixtures/thread_fixture.php
cake/tests/fixtures/translate_article_fixture.php
cake/tests/fixtures/translate_fixture.php
cake/tests/fixtures/translate_table_fixture.php
cake/tests/fixtures/translated_article_fixture.php
cake/tests/fixtures/translated_item_fixture.php
cake/tests/fixtures/unconventional_tree_fixture.php
cake/tests/fixtures/underscore_field_fixture.php
cake/tests/fixtures/user_fixture.php
cake/tests/fixtures/uuid_fixture.php
cake/tests/fixtures/uuid_tag_fixture.php
cake/tests/fixtures/uuid_tree_fixture.php
cake/tests/fixtures/uuiditem_fixture.php
cake/tests/fixtures/uuiditems_uuidportfolio_fixture.php
cake/tests/fixtures/uuiditems_uuidportfolio_numericid_fixture.php
cake/tests/fixtures/uuidportfolio_fixture.php
cake/tests/groups/acl.group.php
cake/tests/groups/cache.group.php
cake/tests/groups/components.group.php
cake/tests/groups/configure.group.php
cake/tests/groups/console.group.php
cake/tests/groups/controller.group.php
cake/tests/groups/database.group.php
cake/tests/groups/helpers.group.php
cake/tests/groups/lib.group.php
cake/tests/groups/model.group.php
cake/tests/groups/no_cross_contamination.group.php
cake/tests/groups/routing_system.group.php
cake/tests/groups/socket.group.php
cake/tests/groups/test_suite.group.php
cake/tests/groups/view.group.php
cake/tests/groups/xml.group.php
cake/tests/lib/cake_reporter.php
cake/tests/lib/cake_test_case.php
cake/tests/lib/cake_test_fixture.php
cake/tests/lib/cake_test_model.php
cake/tests/lib/cake_web_test_case.php
cake/tests/lib/cli_reporter.php
cake/tests/lib/code_coverage_manager.php
cake/tests/lib/templates/footer.php
cake/tests/lib/templates/header.php
cake/tests/lib/templates/menu.php
cake/tests/lib/templates/simpletest.php
cake/tests/lib/test_manager.php
cake/tests/lib/xdebug.php
cake/tests/test_app/config/acl.ini.php
cake/tests/test_app/controllers/tests_apps_controller.php
cake/tests/test_app/controllers/tests_apps_posts_controller.php
cake/tests/test_app/models/behaviors/persister_one_behavior.php
cake/tests/test_app/models/behaviors/persister_two_behavior.php
cake/tests/test_app/models/comment.php
cake/tests/test_app/models/persister_one.php
cake/tests/test_app/models/persister_two.php
cake/tests/test_app/models/post.php
cake/tests/test_app/plugins/test_plugin/controllers/components/other_component.php
cake/tests/test_app/plugins/test_plugin/controllers/components/plugins_component.php
cake/tests/test_app/plugins/test_plugin/controllers/components/test_plugin_component.php
cake/tests/test_app/plugins/test_plugin/controllers/components/test_plugin_other_component.php
cake/tests/test_app/plugins/test_plugin/controllers/tests_controller.php
cake/tests/test_app/plugins/test_plugin/models/test_plugin_post.php
cake/tests/test_app/plugins/test_plugin/test_plugin_app_controller.php
cake/tests/test_app/plugins/test_plugin/test_plugin_app_model.php
cake/tests/test_app/plugins/test_plugin/vendors/sample/sample_plugin.php
cake/tests/test_app/plugins/test_plugin/vendors/shells/example.php
cake/tests/test_app/plugins/test_plugin/vendors/welcome.php
cake/tests/test_app/plugins/test_plugin/views/helpers/other_helper.php
cake/tests/test_app/plugins/test_plugin/views/helpers/plugged_helper.php
cake/tests/test_app/plugins/test_plugin_two/vendors/shells/example.php
cake/tests/test_app/plugins/test_plugin_two/vendors/shells/welcome.php
cake/tests/test_app/vendors/Test/MyTest.php
cake/tests/test_app/vendors/Test/hello.php
cake/tests/test_app/vendors/sample/configure_test_vendor_sample.php
cake/tests/test_app/vendors/shells/sample.php
cake/tests/test_app/vendors/somename/some.name.php
cake/tests/test_app/vendors/welcome.php
cake/tests/test_app/views/elements/email/html/default.ctp
cake/tests/test_app/views/elements/email/text/default.ctp
cake/tests/test_app/views/elements/email/text/wide.ctp
cake/tests/test_app/views/layouts/ajax.ctp
cake/tests/test_app/views/layouts/ajax2.ctp
cake/tests/test_app/views/layouts/cache_layout.ctp
cake/tests/test_app/views/layouts/default.ctp
cake/tests/test_app/views/layouts/email/html/default.ctp
cake/tests/test_app/views/layouts/email/html/thin.ctp
cake/tests/test_app/views/layouts/email/text/default.ctp
cake/tests/test_app/views/layouts/flash.ctp
cake/tests/test_app/views/layouts/multi_cache.ctp
cake/tests/test_app/views/posts/sequencial_nocache.ctp
cake/tests/test_app/views/posts/test_nocache_tags.ctp
index.php
2010-01-26 17:54:34 -05:00
Mark Story
66a8910810
Fixing cakephp domain name.
2010-01-26 17:15:15 -05:00
Mark Story
cdd87849cc
Fixing @link tags to ease merging.
2010-01-26 17:03:03 -05:00
Mark Story
527eec1a54
Fixing doc tags to make merge easier.
2010-01-26 16:51:53 -05:00
renan.saddam
27bd19bf49
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-26 17:22:51 -02:00
renan.saddam
a318ba43fd
Enabling code coverage to run on 'All tests' group.
2010-01-26 17:22:07 -02:00
Mark Story
3a1b0924c4
Additional doc tag fixes for Router.
2010-01-26 14:10:58 -05:00
Mark Story
7e1863df84
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-26 14:09:10 -05:00
Mark Story
fc304056a3
Removing Session deletion of nonce token on blackhole. Fixes possible CSRF risk from multiple submissions of the same invalid data. Refs #214
2010-01-26 13:59:26 -05:00
renan.saddam
81414b7175
Enabling group code coverage on plugins outside APP/plugins path.
2010-01-26 15:00:19 -02:00
Mark Story
c195d654b3
Fixing TranslateBehavior test to run in php4.
2010-01-26 11:00:37 -05:00
Mark Story
9cbb9d193a
Fixing php4 compatibility and errors from array to string conversion.
2010-01-26 10:55:11 -05:00
Robust Solution
16eaa990df
optimization in AuthComponent class startup method
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-26 10:13:09 -05:00
Mark Story
b1a0eb1097
Fixing double DS when requiring cache engines. Fixes #254
2010-01-26 10:10:22 -05:00
renan.saddam
3e4a9631da
Fixing notice due by using a non-existent variable.
2010-01-26 12:14:47 -02:00
Mark Story
c2e7e5642e
Updating doc blocks for View and Theme View.
2010-01-25 18:14:16 -05:00
Mark Story
c69010d04d
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-25 17:59:44 -05:00
Mark Story
a77a064164
Updating doc blocks for the helpers. Unifying formatting and adding missing @access tags and fixing various formatting differences.
2010-01-25 17:59:05 -05:00
Mark Story
134ce68dce
Updating and correct doc blocks for lib classes.
...
Removing unused private property in Router.
2010-01-25 15:37:55 -05:00
José Lorenzo Rodríguez
f84a184360
Merge branch '1.3' of git@github.com:cakephp/cakephp1x into 1.3
...
* '1.3' of git@github.com:cakephp/cakephp1x:
Removing optional group flag for routed parameters. Fixes issues with trailing empty route parameters. Tests added for correct parsing of these routes. Fixes #252
Adding support for CURRENT_TIMESTAMP to all dbo's.
Adding tests for CURRENT_TIMESTAMP to DboSource.
2010-01-25 14:13:13 -04:30
José Lorenzo Rodríguez
b24b43b848
Fixing docblock
2010-01-25 14:12:41 -04:30
Mark Story
38eac37bb1
Removing optional group flag for routed parameters. Fixes issues with trailing empty route parameters. Tests added for correct parsing of these routes. Fixes #252
2010-01-25 12:49:12 -05:00
Mark Story
f6d12dbde6
Adding support for CURRENT_TIMESTAMP to all dbo's.
2010-01-25 12:25:14 -05:00
Mark Story
5fcbc33a75
Adding tests for CURRENT_TIMESTAMP to DboSource.
2010-01-25 12:25:14 -05:00
Mark Story
59319b098b
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
...
Conflicts:
cake/libs/folder.php
2010-01-25 11:20:05 -05:00
Mark Story
98749a5a2b
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
...
Conflicts:
cake/libs/folder.php
2010-01-25 11:18:44 -05:00
Mark Story
7459da2aff
Updating doc blocks for HttpSocket and File.
2010-01-25 11:18:44 -05:00
Mark Story
b33fdba6d9
Updating doc blocks on Folder class and implementing a few small refactors to make code simpler.
2010-01-25 11:18:33 -05:00
José Lorenzo Rodríguez
6a0ddb0872
Merge branch '1.3-bake' into 1.3
...
* 1.3-bake:
Correcting error message in test
Adding Security.cipherSeed generation to bake project task, closes #237
2010-01-25 10:41:31 -04:30
José Lorenzo Rodríguez
ddf938c772
Correcting error message in test
2010-01-25 10:37:58 -04:30
José Lorenzo Rodríguez
9c24c72db3
Fixing regression introduced in commit c2d19c2011
, closes #258
2010-01-25 09:06:06 -04:30
José Lorenzo Rodríguez
03200440ed
Fixing TranslateBehavior and $tablePrefix. Closes #168
2010-01-24 18:27:08 -04:30
Phally
3c265283e7
Added support for Message-ID headers.
2010-01-24 23:29:53 +01:00
José Lorenzo Rodríguez
0387907d6d
Adding Security.cipherSeed generation to bake project task, closes #237
2010-01-23 23:09:49 -04:30
José Lorenzo Rodríguez
c2d19c2011
Various Optimizations, thanks jrbasso. Closes #232
2010-01-23 22:33:53 -04:30
Mark Story
23a62b488b
Updating and expanding documentation blocks in Dispatcher and CakeLog.
2010-01-22 18:11:49 -05:00
Mark Story
1877281cd8
Expanding doc blocks for Cache.
2010-01-22 17:54:28 -05:00
Mark Story
7e2079be33
Removing use of Object::dispatchMethod() in Dispatcher::_invoke(). This has a miniscule performance increase as well as makes protected methods not prefixed with '_' inaccessible by url. Fixes #21
2010-01-22 17:27:35 -05:00
Juan Basso
ad496cea18
Optimized Security::cipher(). Fixes #176
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-22 15:34:02 -05:00
Mark Story
5d35fd8d38
Fixing issues in DboSource::defaultConditions() and DboSource::conditions() where doubly deleting a record from the beforeDelete and delete() could create incorrect conditions that would delete all records in a table. Fixes #250
2010-01-22 10:30:22 -05:00
Phally
2e46504d05
Fixed failing test case due to changes in 1.3.
2010-01-21 23:07:42 +01:00
Mark Story
1cfd273052
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-21 15:44:53 -05:00
Mark Story
f4e837d985
Removing all methods currently issuing warnings about being deprecated.
2010-01-21 15:14:23 -05:00
José Lorenzo Rodríguez
e77ed92646
Merge branch '1.3-cache' into 1.3
...
* 1.3-cache:
Removing repeated checks, as they've been refactored into Cache::increment() and Cache::decrement().
Removing php5 visibility keywords.
Fixing various errors related to Cache::increment() and Cache::decrement().
Removing test ignore
Adding atomic increment and decrement methods to cache engines, closes #234
2010-01-21 14:57:07 -04:30
Mark Story
513db9a72a
Removing repeated checks, as they've been refactored into Cache::increment() and Cache::decrement().
...
Adding skipIf()'s to ApcEngineTest in case apc_inc, and apc_dec are not available.
2010-01-21 14:14:26 -05:00
Mark Story
ff7e906ba2
Removing php5 visibility keywords.
...
Fixing increment count tests in xcache test.
2010-01-21 14:06:18 -05:00
Mark Story
47c7387548
Fixing various errors related to Cache::increment() and Cache::decrement().
...
Removing php5 only keywords from test cases.
Updating memcache tests, to correctly skip multiple server test when multiple memcached servers cannot be found.
2010-01-21 13:57:42 -05:00
Mark Story
e150db2a45
Removing test ignore
2010-01-21 13:24:22 -05:00
Mark Story
2d3cde1abb
Updating doc block for ConnectionManager and including note about possible PHP4 issues.
2010-01-21 13:18:00 -05:00
Juan Basso
b21538c426
Getting a list of connections in the constructor of ConnectionManager
...
class. Fixes issues where using ConnectionManager::create() before the
standard connections are enumerated will result in the standard
connections never being enumerated. Fixes #206
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-21 12:59:00 -05:00
Mark Story
2915493049
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-21 12:00:04 -05:00
Mark Story
c5a5d1dfe6
Making Session.model the required setting and not Session.table. Session.table can still be used to set the table name used when configuring sessions, but the default value is cake_session as before. Fixes #223
2010-01-21 11:59:49 -05:00
José Lorenzo Rodríguez
dff7e17fa2
Adding atomic increment and decrement methods to cache engines, closes #234
2010-01-21 12:11:44 -04:30
ADmad
a8040506b0
Fixing spacing between button tag attributes. Fixes #241
2010-01-21 22:03:03 +05:30
Mark Story
913450daef
Additional tests for virtualFields and fixing issues with index 0 being removed. Fixes #208
2010-01-21 10:35:20 -05:00
Phally
984dc50f37
Merge commit 'upstream/1.3' into 1.3-email_component
2010-01-21 00:05:03 +01:00
ADmad
570c9e5304
Cleaning up commented and unneeded test cases and moving tests to more appropriate file
2010-01-21 01:42:54 +05:30
Mark Story
317463096a
Refactoring tests in l10n that use object properties.
2010-01-20 14:53:57 -05:00
Mark Story
ae4a31f070
Making DEFAULT_LANGUAGE also set $language var which sets Config.language to a correct value. Fixes #228
2010-01-20 14:33:37 -05:00
Robust Solution
6e22261786
small optimization in time units
2010-01-20 15:37:44 -02:00
Mark Story
85b193048d
Fixing ConsoleShell's use of Router. Fixes #236
2010-01-20 10:47:04 -05:00
Juan Basso
c4afeb3fe6
Minor optimization on datasource and Mysql[i].
2010-01-20 01:44:59 -04:30
Juan Basso
e328043586
Minor optimization in helper. No need cast, always is array.
2010-01-20 01:41:43 -04:30
Juan Basso
8d5acf0706
Infector::_cache is a protected method and no need be singleton.
2010-01-20 01:39:36 -04:30
Juan Basso
d2d19eeda4
Fixing import in CakeSession.
2010-01-20 01:06:34 -04:30
Juan Basso
6882d96bf8
Caching charset in h(). It's save round 50% over each call by helpers.
2010-01-20 01:05:08 -04:30
José Lorenzo Rodríguez
96fd0bf100
Fixing error introduced in previous commit due to bad merge
2010-01-19 16:44:43 -04:30
ADmad
22073e3376
Renaming Configure var 'Security.cipher_seed' to 'Security.cipherSeed'. Also added a srand() call at end of Security::cipher function to reset seed. Closes #73 , #183 , #218
2010-01-20 01:23:20 +05:30
renan.saddam
39dd15d3f6
Removing the with key from otherFields array, also fixing the page title. Tests added.
2010-01-19 14:05:29 -02:00
Mark Story
e1b0c41254
Making Model::isVirtualField() and Model::getVirtualField() work with both Model.field
as field
. This fixes a number of issues in conditions, and fields arrays when model aliases are used. Fixes #208 and #220
2010-01-19 09:22:13 -05:00
tPl0ch
49ad582759
Fixes #222 . Fixed ShellDispatcher constructors to not issue warnings on PHP5.3 with E_STRICT
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-19 09:19:21 -05:00
Mark Story
9f8e0e163e
Removing getTests included by accident.
2010-01-18 21:59:18 -05:00
Mark Story
9b3a2fd658
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-18 21:57:46 -05:00
Mark Story
080e34718d
Minor refactor, and adding tests from previous commit. Fixes #208
2010-01-18 21:57:03 -05:00
AD7six
7943f3d168
allowing vritual fields to work whether specified with a model alias or
...
not. by concequence allows find('list', array('fields' => array('id',
'virtual'))) to work
2010-01-18 21:54:15 -05:00
José Lorenzo Rodríguez
cb4a1f07e5
Fixing issue with persistModels and plugin models, closes #192 and #198
2010-01-18 13:13:10 -04:30
Mark Story
06ba7ac828
Adding omitted default route, and test cases to test its functionality. Fixes #212
2010-01-18 10:05:23 -05:00
Juan Basso
d60a66f16b
Separate the variables of internationalized strings in controllers of cake bake.
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-18 01:10:31 -05:00
Juan Basso
473e07a674
Putting __() in strings that missing internationalization.
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-18 01:06:25 -05:00
Juan Basso
0ac99eddb5
Replacing "echo sprintf" by "printf" where possible. Fixes #209 .
...
Signed-off-by: Mark Story <mark@mark-story.com>
2010-01-18 00:56:22 -05:00
Mark Story
668a791171
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-16 22:50:57 -05:00
predominant
ab666f8ea7
Revert "Adjusting EmailComponent Boundary creation to occur for all generated email. Fixes #14."
...
This reverts commit b50b5922fd
.
2010-01-17 14:50:09 +11:00
Mark Story
f10d7dde75
Updating version numbers. to 1.3.0-beta
2010-01-16 20:38:08 -05:00
Mark Story
5203397a6a
Adding error expectation to model_write test. Models using useTable = false, will still issue count queries to their datasources when exists() is called.
2010-01-16 20:24:27 -05:00
Mark Story
3be28fc749
Fixing errors in CakeTestCase::testAction tests case caused by changes in test suite not always forcing an output parameter.
2010-01-16 20:18:20 -05:00
Mark Story
92ff9ccae0
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-16 20:15:13 -05:00
Mark Story
0e09fee3b1
Correcting timehelper tests to use correct timestamp for indicated times. Making timezone output more resilient.
2010-01-16 20:14:57 -05:00
Mark Story
f1276ce337
Fixing several issues in the CodeCoverageManager test case.
2010-01-16 20:14:16 -05:00
Mark Story
c4ef429004
Changing require to require_once to make tests less order dependent.
2010-01-16 19:41:52 -05:00
predominant
b50b5922fd
Adjusting EmailComponent Boundary creation to occur for all generated email. Fixes #14 .
2010-01-17 11:38:45 +11:00
Mark Story
34fed29d05
Renaming session test case.
...
Adding missing doc block to inflector test case.
Updating Set::map reverse test to reflect changes in Model.
Removing Inflector from lib group as the reset test breaks many other tests.
Adding a table property to the session fixture.
2010-01-16 19:19:12 -05:00
Mark Story
8cae1e850a
Fixing spacing.
2010-01-16 18:50:04 -05:00
Mark Story
826dbc466f
Fixing failing test caused by merge with 1.2
2010-01-16 18:26:06 -05:00
Mark Story
1acc4c879a
Removing debug() from scaffold test.
2010-01-16 18:15:38 -05:00
José Lorenzo Rodríguez
1910a7f7ee
Merge branch '1.3' of git@github.com:cakephp/cakephp1x into 1.3
...
* '1.3' of git@github.com:cakephp/cakephp1x:
Removing gettests from jsHelper test case.
2010-01-15 19:04:13 -04:30
José Lorenzo Rodríguez
3bd4cc07a6
Fixes to make TimeHelper and test cases more compatible with PHP 4
2010-01-15 17:48:41 -04:30
Mark Story
71254f3d5e
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-15 17:17:26 -05:00
Mark Story
476ef19fff
Removing gettests from jsHelper test case.
2010-01-15 17:16:51 -05:00
ADmad
4c0a6d952f
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-16 03:34:14 +05:30
ADmad
2441849fa0
Replacing constant CIPHER_SEED with Configure class variable 'Security.cipher_seed' and renaming Security class method 'checkSessionKey' to 'checkSecurityKeys'
2010-01-16 03:26:26 +05:30
Mark Story
1f5d579ab6
Removing the ability to set layout, and viewPath with Request parameters. This feature was untested and undocumented. Furthermore, it should not be the responsibility of the dispatcher to set these parameters.
2010-01-15 16:19:23 -05:00
Mark Story
4f5ce7f94c
Adding additional plugin 'shortcut' dispatching tests.
2010-01-15 16:18:19 -05:00
Mark Story
1a8c3fd405
Fixing infinite loops caused by stale caches.
2010-01-15 16:17:34 -05:00
Mark Story
813a7779e0
Removing inflections.php from skel directory.
2010-01-15 13:28:09 -05:00
Mark Story
c20aba6b9c
Merge branch 'merger' into 1.3
2010-01-15 13:27:19 -05:00
Mark Story
f11068b831
Trimming trailing whitespace from files. Refs #201
2010-01-15 13:26:47 -05:00
Mark Story
09ad7418f5
Merge remote branch 'origin/1.2' into merger
...
Conflicts:
cake/console/templates/skel/config/inflections.php
cake/libs/model/cake_schema.php
cake/libs/model/model.php
2010-01-15 11:51:58 -05:00
Mark Story
7088afbb88
Merge branch '1.3' of github.com:cakephp/cakephp1x into 1.3
2010-01-15 00:11:33 -05:00
Mark Story
34c4af549c
Adding missing reference operators for php4 compatibility.
2010-01-15 00:09:59 -05:00
Mark Story
f1a0690415
Fixing issues in JsHelper with PHP4 compatibility. Seems passing arrays by reference doesn't work very well.
2010-01-15 00:02:24 -05:00
Mark Story
b97ac84a34
Fixing method_exists use in Validation for php4 compatibility.
2010-01-14 23:41:35 -05:00
Mark Story
276d183bdd
Adding conditional to php5 only function use.
2010-01-14 23:40:18 -05:00
Mark Story
741f507c23
Fixing reference errors in php4.
2010-01-14 23:38:39 -05:00
Mark Story
371ac3971a
Fixing php4 compatibility in model_read test.
2010-01-14 23:38:24 -05:00
Mark Story
3a38e0869f
Fixing php4 issues in ErrorHandler and ErrorHandler testcase.
2010-01-14 23:17:24 -05:00
Mark Story
547aa76c92
Fixing method_exists() use for php4, as method_exists cannot be used with class/method names in php4.
2010-01-14 23:07:48 -05:00
Mark Story
036d7e6e13
Updating helper syntax.
2010-01-14 23:07:15 -05:00
Mark Story
d4d9ed7bfe
Fixing test cases and php4 compatibility in Debugger.
2010-01-14 23:06:48 -05:00
Mark Story
f2dc2078c2
Making PagesController include SessionHelper.
2010-01-14 22:56:34 -05:00
Mark Story
96c56d7446
Fixing failing tests in php4 caused by missing & operators.
2010-01-14 22:54:17 -05:00
Mark Story
5212406ea7
Making xml data test php5 only as Xml::compare() is non-functional in php4
2010-01-14 22:48:19 -05:00
Mark Story
5d280ea977
Making CodeCoverageManager and CakeSession tests run in php4. Removing test case for removed method.
2010-01-14 22:47:49 -05:00