José Lorenzo Rodríguez
|
ec672e99e8
|
Fixing virtual fields fetching for Model::field() calls
Adding doc blocks
|
2009-12-10 20:05:10 -04:30 |
|
José Lorenzo Rodríguez
|
00c0bb4d62
|
Extending virtual fields implementation to work on queries with field list
|
2009-12-10 20:01:58 -04:30 |
|
José Lorenzo Rodríguez
|
19c91f1f70
|
Initial implementation of model virtual fields
|
2009-12-10 20:01:58 -04:30 |
|
predominant
|
df151395c5
|
Moving certain datasources to the Datasources Plugin (http://github.com/cakephp/datasources)
|
2009-12-11 01:07:23 +11:00 |
|
predominant
|
c64389006d
|
Removing "Long description for file" from /cake/tests tree.
|
2009-12-08 20:19:42 +11:00 |
|
mark_story
|
1f5c6eac2e
|
Fixing issues in tests caused by overwritten columns.
Fixing issue where mysqli had errors using getCharsetName, moving DboMysqlBase::getCharset down to DboMysql.
|
2009-12-06 21:46:05 -05:00 |
|
mark_story
|
7259a1b920
|
Merge branch '1.2' into 1.2-merger
Conflicts:
cake/libs/model/datasources/dbo/dbo_mysql.php
cake/libs/model/datasources/dbo/dbo_mysqli.php
cake/libs/view/helpers/text.php
cake/libs/view/theme.php
|
2009-12-06 21:43:53 -05:00 |
|
mark_story
|
cc750d15f1
|
Adding test to disprove #385. Proves saveAll with validate => first behaves correctly.
|
2009-12-04 14:39:12 -05:00 |
|
mark_story
|
4d37e75f18
|
Merge branch '1.2' into 1.3-merger
Conflicts:
cake/console/libs/tasks/controller.php
cake/console/libs/tasks/extract.php
cake/console/libs/tasks/model.php
cake/libs/configure.php
cake/libs/controller/components/cookie.php
cake/libs/debugger.php
cake/libs/flay.php
cake/libs/http_socket.php
cake/libs/inflector.php
cake/libs/model/cake_schema.php
cake/libs/model/connection_manager.php
cake/libs/model/datasources/dbo/dbo_mysql.php
cake/libs/model/datasources/dbo_source.php
cake/libs/router.php
cake/libs/view/helper.php
cake/libs/view/helpers/form.php
cake/libs/view/helpers/html.php
cake/libs/view/helpers/js.php
|
2009-11-22 20:38:50 -05:00 |
|
mark_story
|
2e0acbf505
|
Making habtm join conditions used by __saveMulti when finding link records to remove. It should be noted that having conditions on non-joinTable tables, and not having a model on the joinTable can cause SQL issues. Fixes #304
|
2009-11-22 17:56:46 -05:00 |
|
mark_story
|
6c3bcdd7e6
|
Removing commented code.
|
2009-11-22 17:34:11 -05:00 |
|
Juan Basso
|
71df8dbbba
|
Replace function sizeof (alias) by count.
Signed-off-by: Mark Story <mark@mark-story.com>
|
2009-11-21 13:50:57 -05:00 |
|
mark_story
|
acd2c15690
|
Merge branch '1.3-misc' into 1.3-merger
Conflicts:
cake/tests/cases/libs/configure.test.php
|
2009-11-15 20:09:12 -05:00 |
|
mark_story
|
58383d3cb9
|
Merge branch '1.2' into 1.3-merger
Conflicts:
cake/console/libs/tasks/controller.php
cake/console/libs/tasks/model.php
|
2009-11-15 20:05:55 -05:00 |
|
predominant
|
0977b3fe15
|
Standardising docblock endings throughout.
|
2009-11-14 23:19:25 +11:00 |
|
mark_story
|
d302ed1bfa
|
Fixing comment block formatting.
|
2009-11-13 09:44:51 -05:00 |
|
mark_story
|
2c5fa171e0
|
Updating CakeSchema to pass a Model object into DboSource::fullTableName(); Fixes schema's not correctly reading tablePrefixes.
Fixes #290
|
2009-11-13 00:43:40 -05:00 |
|
nate
|
1c8a2f232b
|
Changes Model::find() to allow modification of DataSource connection during callbacks.
|
2009-11-12 14:48:03 -05:00 |
|
mark_story
|
6b5c247162
|
Merge commit 'origin/1.2' into mergers
Conflicts:
cake/bootstrap.php
cake/console/cake.php
cake/console/libs/tasks/model.php
cake/libs/configure.php
cake/libs/view/helpers/cache.php
cake/libs/view/helpers/paginator.php
cake/tests/cases/console/libs/tasks/model.test.php
cake/tests/cases/libs/view/helpers/cache.test.php
|
2009-11-08 22:21:21 -05:00 |
|
mark_story
|
6db91b0f49
|
Fixing issues in ContainableBehavior that could leave models unbound when 'fields' was used as part of containment conditions. Fixes #253
|
2009-11-07 17:43:18 -05:00 |
|
ceeram
|
dd0c4a64c5
|
Test to prove ticket #253
|
2009-11-07 11:02:43 -05:00 |
|
predominant
|
884490f1a1
|
Removing leftover SVN tags.
|
2009-11-06 18:35:14 +11:00 |
|
predominant
|
62810fb4f4
|
Updating more Copyright dates.
|
2009-11-06 18:04:38 +11:00 |
|
predominant
|
1185681549
|
Removing newline caused by Subversion line removal.
|
2009-11-06 18:01:22 +11:00 |
|
predominant
|
384bb7a0e0
|
Update license lines throughout.
|
2009-11-06 17:51:51 +11:00 |
|
predominant
|
d7b604c8ed
|
Fixing links throughout
|
2009-11-06 17:46:59 +11:00 |
|
predominant
|
8ff6505fe8
|
Removing excess whitespace
|
2009-11-06 17:08:23 +11:00 |
|
predominant
|
6782cb019c
|
Update CakePHP Project link.
|
2009-11-06 17:00:11 +11:00 |
|
predominant
|
5dfe1777af
|
Removing Subversion file headers.
|
2009-11-06 16:51:09 +11:00 |
|
predominant
|
ceee56013c
|
Remove Subversion $Date$ lines.
|
2009-11-06 16:17:01 +11:00 |
|
predominant
|
04f1b6cdfe
|
Remove Subversion $LastChangedBy$ lines.
|
2009-11-06 16:11:16 +11:00 |
|
predominant
|
42f3f16d60
|
Remove subversion $Revision$ lines.
|
2009-11-06 16:08:02 +11:00 |
|
predominant
|
1b9b0aae5e
|
Updating Copyright date to include 2009.
|
2009-11-06 15:34:28 +11:00 |
|
predominant
|
8f75ff58c7
|
Removing @filesource
|
2009-11-06 15:24:02 +11:00 |
|
mark_story
|
e609875754
|
Updating Model::invalidFields, so returning false from beforeValidate() will abort both the validation and saving() of the record.
Tests added to check beforeSave, beforeValidate, and beforeDelete return values.
Fixes #257
|
2009-11-04 12:36:17 -05:00 |
|
mark_story
|
dc07a05fca
|
Merge branch '1.3' into 1.3-misc
|
2009-11-04 09:20:21 -05:00 |
|
tPl0ch
|
f5ca3ace1f
|
Modified Model::find() to make Model::findQueryType available in Model callbacks. Fixes https://trac.cakephp.org/ticket/5847. Tests added
Signed-off-by: Mark Story <mark@mark-story.com>
|
2009-11-04 09:16:04 -05:00 |
|
mark_story
|
a3bb77c4f3
|
Merge branch '1.2' into 1.3-merger
Conflicts:
cake/console/libs/acl.php
cake/console/libs/tasks/controller.php
cake/console/libs/tasks/db_config.php
cake/console/libs/tasks/model.php
cake/console/libs/templates/skel/views/layouts/xml/default.ctp
cake/libs/model/datasources/dbo/dbo_mysql.php
cake/libs/model/datasources/dbo/dbo_mysqli.php
cake/libs/validation.php
cake/libs/view/helpers/form.php
cake/tests/cases/basics.test.php
cake/tests/cases/console/libs/tasks/model.test.php
cake/tests/cases/libs/cake_test_case.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_mysql.test.php
cake/tests/cases/libs/model/datasources/dbo/dbo_mysqli.test.php
cake/tests/cases/libs/view/helpers/javascript.test.php
cake/tests/cases/libs/view/helpers/session.test.php
cake/tests/groups/controller.group.php
cake/tests/groups/lib.group.php
cake/tests/groups/no_database.group.php
|
2009-11-01 12:11:49 -05:00 |
|
mark_story
|
5f1e6ba6a0
|
Making DboSource::fetchAll return $this->_result if it is a boolean and $out is empty. Allows for Model::query() to return boolean values for operations that do not return recordsets. Fixes #6404
|
2009-10-29 20:31:29 -04:00 |
|
mark_story
|
aa03756238
|
Updating tests to expand coverage of buildcolumn.
|
2009-10-29 09:26:23 -04:00 |
|
mark_story
|
23831546b5
|
Adding valid options for sqlite collation. Tests added.
|
2009-10-29 02:03:50 -04:00 |
|
mark_story
|
a33457155f
|
Adding valid option checking to fieldParameters.
Test case added.
|
2009-10-29 02:03:21 -04:00 |
|
mark_story
|
2a8858e928
|
Adding tests to DboSqlite::buildColumn
Adding collate field parameter to DboSqlite.
Removing duplicated code from DboSource, adding parent call instead.
|
2009-10-29 01:36:15 -04:00 |
|
mark_story
|
5a093e5627
|
Fixing issues in postgres with time columns and '' values.
Tests added.
Fixes #213
|
2009-10-27 13:22:34 -04:00 |
|
mark_story
|
79fdd8b341
|
Adding test to ensure blob integrity. Disproves #199
|
2009-10-24 12:53:22 -04:00 |
|
mark_story
|
14bd47842c
|
Removing length() from DboMysqli, fixes incorrect float length parsing.
Test case added.
|
2009-10-24 11:06:27 -04:00 |
|
mark_story
|
0e23fdfbb3
|
Fixing infinitely nesting stack frames when TreeBehavior::reorder() is called and the models $cacheQueries = true and there are a sizable number of records being manipulated.
Test cases added.
Fixes #188
|
2009-10-21 00:22:36 -04:00 |
|
mark_story
|
3922f136da
|
Making DboMysqlTest pass when a connection with a prefix is used. Fixes #185
|
2009-10-19 20:54:02 -04:00 |
|
mark_story
|
a36c2ec5bb
|
Removing self inclusions for test cases. Refs #174
|
2009-10-16 09:21:33 -04:00 |
|
mark_story
|
3a85197f25
|
Removing self inclusions for test cases. Refs #174
|
2009-10-16 09:19:23 -04:00 |
|
mark_story
|
d1f5acd0e0
|
Merge commit 'origin/1.2' into 1.2-merge-in
Conflicts:
cake/console/libs/shell.php
cake/libs/model/connection_manager.php
cake/libs/view/helpers/html.php
cake/libs/view/helpers/javascript.php
cake/tests/cases/libs/i18n.test.php
cake/tests/cases/libs/model/connection_manager.test.php
cake/tests/cases/libs/model/model_read.test.php
cake/tests/cases/libs/view/helpers/html.test.php
cake/tests/groups/database.group.php
|
2009-10-14 00:51:55 -04:00 |
|
mark_story
|
f2cba2f066
|
Updating model_write.test to not use removed validation constants.
|
2009-10-13 00:44:28 -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
|
ace784aab5
|
Adding conditional check for errors only generated in PHP5.3
|
2009-10-04 22:22:39 -04:00 |
|
mark_story
|
0ba93bd579
|
Updating file headers, reformatting comments.
|
2009-10-04 22:12:13 -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
|
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
|
76a88fc477
|
Updating help() for Schema shell.
|
2009-10-04 10:04:48 -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
|
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
|
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
|
32d5b40cd0
|
Adding error triggering while in debug mode for unhandled validation methods.
|
2009-09-30 22:34:29 -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 |
|
SkieDr
|
627eff5f24
|
Implementation of table level and field level parameters support
|
2009-09-29 22:54:48 +04:00 |
|
SkieDr
|
a445a12020
|
Implement tests for new dbo source methods for additional table and field parameters support
|
2009-09-29 22:54:36 +04:00 |
|
mark_story
|
bcb5e42aab
|
Adding test for previous commit.
|
2009-09-28 18:11:04 -04:00 |
|
jperras
|
c2ec96067a
|
Refactoring ConnectionManager & tests.
|
2009-09-25 11:08:34 -04:00 |
|
jperras
|
c3cd98af42
|
Implementing loading datasources from plugins.
|
2009-09-24 22:56:02 -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
|
ed74653d72
|
Adding tests for ConnectionManager, and fixing a missing return value for ConnectionManager::loadDataSource().
|
2009-09-24 16:23:39 -04:00 |
|
mark_story
|
d5376e64aa
|
Adding patch from 'Ceeram' and 'TehTreag' to implement automatic updating of Aro/Aco nodes created AclBehavior. Test cases added. Fixes #33 and #4261
|
2009-09-19 01:17:20 -04:00 |
|
mark_story
|
5717e3b59c
|
Merge branch '1.2' into 1.2-merger
Conflicts:
app/webroot/test.php
cake/VERSION.txt
cake/bootstrap.php
cake/config/config.php
cake/console/cake.php
cake/console/libs/schema.php
cake/console/templates/skel/webroot/test.php
cake/libs/configure.php
cake/tests/cases/console/libs/schema.test.php
cake/tests/cases/libs/debugger.test.php
cake/tests/cases/libs/model/model_write.test.php
cake/tests/fixtures/aco_fixture.php
|
2009-09-16 01:23:49 -04:00 |
|
mark_story
|
4b4f3b1b82
|
Removing deprecated methods from test cases.
|
2009-09-16 00:33:29 -04:00 |
|
mark_story
|
326424592d
|
Merge branch '1.2' into 1.2-merger
Conflicts:
cake/VERSION.txt
cake/config/config.php
cake/dispatcher.php
cake/libs/controller/scaffold.php
cake/libs/inflector.php
cake/libs/view/view.php
cake/tests/cases/libs/controller/scaffold.test.php
cake/tests/cases/libs/inflector.test.php
cake/tests/cases/libs/view/view.test.php
cake/tests/fixtures/counter_cache_post_fixture.php
cake/tests/fixtures/counter_cache_user_fixture.php
|
2009-09-13 13:52:58 -04:00 |
|
nate
|
fd6538fc72
|
Changes Model::find() to allow modification of DataSource connection during callbacks.
|
2009-09-10 09:28:55 -04:00 |
|
jperras
|
c48d9794f6
|
Fixing incorrect optional parameters passed to TreeBehavior::children() in TreeBehavior test case. Fixes errors & test failures when running under PHP 5.3.
|
2009-09-09 21:15:22 -04:00 |
|
jperras
|
5a432c6f71
|
Applying fix from Ceeram for updateAll joins on model relations with no foreign key. Fixes #69.
|
2009-09-09 00:00:53 -04:00 |
|
mark_story
|
11ceae2e96
|
Merge branch '1.3' into 1.3-logging
|
2009-09-07 22:41:31 -04:00 |
|
jperras
|
2484179e36
|
DboMssql::value() now returns NULL for numeric column types (float, integer, binary) when the column data is empty. Fixes #28.
|
2009-09-06 13:57:24 -04:00 |
|
AD7six
|
e47316e74f
|
Correcting App::import usage
|
2009-09-04 11:58:20 -07:00 |
|
renan.saddam
|
0e9007e060
|
Making sure we are not making non-uniques and non-primary keys index. Also changing basic fixture schema to make tests pass.
|
2009-09-02 22:07:58 -03:00 |
|
mark_story
|
c0a19ced14
|
Adding DboSource::getLog() and test case.
|
2009-09-01 23:23:47 -04:00 |
|
mark_story
|
1bedd8418b
|
Merge branch '1.3-deprecation' into 1.3-misc
|
2009-08-31 23:41:41 -04:00 |
|
mark_story
|
3dc12cb6da
|
Updating model tests to reflect deprecation of Model::bind() and Model::delete() aliases.
|
2009-08-31 23:40:47 -04:00 |
|
mark_story
|
c19c1a7828
|
Fixing issues with cakeError call.
Adding tests for cakeError being called with non-existant Behaviors.
|
2009-08-30 19:33:21 -04:00 |
|
mark_story
|
cca3281f8c
|
Fixing complex expression handling in DboSource::fields(). Making AS a variable controlled by implementing dbo.
Test cases added.
Fixes #38
|
2009-08-19 13:03:36 -04:00 |
|
gwoo
|
6775e0997e
|
Merge branch '1.2' into 1.3
|
2009-08-03 13:13:18 -07:00 |
|
mark_story
|
303b488bc1
|
fixing doc block indentation.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8279 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-08-03 18:13:46 +00:00 |
|
mark_story
|
bab62df0d8
|
Fixing fails caused by PHP4 and all lowercase classnames.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8278 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-08-03 18:12:42 +00:00 |
|
jperras
|
74e6b30d7b
|
Removing duplicate classes & methods from a lost merge.
|
2009-08-02 22:59:15 -04:00 |
|
gwoo
|
d0c7397d5d
|
added unlink to SchemaTest::tearDown()
|
2009-08-02 16:47:15 -07:00 |
|
gwoo
|
07d1ecdf6d
|
adding change to DboSource test that was not committed in [8267]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8275 3807eeeb-6ff5-0310-8944-8be069107fe0
|
2009-08-02 23:21:24 +00:00 |
|
gwoo
|
d905c274c8
|
Merge branch '1.2' into 1.3
|
2009-08-02 16:18:25 -07:00 |
|
AD7six
|
b9987e1712
|
whitespace normalization
|
2009-08-02 16:09:39 -07:00 |
|
gwoo
|
15ed658a27
|
Revert "Merge branch '1.3-newlines' into 1.3"
This reverts commit c088131cd8e9f53396852e8a320e2b0396807d20, reversing
changes made to 9341a2bb5eda1db208019aa8a9171224fb76fc6b.
|
2009-08-02 15:59:54 -07:00 |
|