Commit graph

1727 commits

Author SHA1 Message Date
mariano.iglesias
5757d3b07b Fixed tests to include parenthesis used in ON clauses
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4764 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 22:14:45 +00:00
phpnut
cc46c03f31 Adding fixes for association conditions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4763 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 21:40:59 +00:00
gwoo
06d6bbdbae adding fix to FormHelper::create() for plugin path with action, see #2342. Adding default sizes, maxlengths, and values to input. FormHelper::inputs() will now return all the fields in the model without the need to pass anything from the controller, uses a blacklist so some fields can be skipped. Added PaginatorHelper::numbers(), will output current page numbers, uses a modulus to decide how many to show on each side of the current page. Paginator::options() now allows setting default paging params
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4762 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 20:38:26 +00:00
phpnut
da35cf3193 Adding fix for ModelTest::testRecursiveFindAll()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4761 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 19:55:57 +00:00
phpnut
46768f219e Commenting debug code in model.test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4760 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 18:24:17 +00:00
phpnut
49e58cec49 Adding fix for scaffold when using self associated HABTM
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4759 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 17:25:18 +00:00
phpnut
0d373a0c16 Merging fixes into the trunk:
Revision: [4756]
Adding fix for Ticket #2343
Corrected test case for InflectorTest:testInflectingPlurals() house, original test used wrong method from Inflector

Revision: [4755]
Adding fix to EmailComponent::_ _createHeader() that corrects addresses that are set in CC being added to BCC also

Revision: [4754]
Adding check for config/inflections.php back to Inflector

Revision: [4752]
Adding fix for Ticket #2339
Adding fix for Ticket #2335
Adding fix for Ticket #2344

Merged changes in dbo from 1.2 to 1.1
Merged changes to session handling in 1.2 to 1.1
Merged changes to Model::_ _saveMulti() in 1.2 to 1.1
Added Set::pushDiff() to append differences in array 2 to array 1
Added SessionComponent::activate() and SessionHelper::activate() to turn sessions usage on if AUTO_SESSION is set to false
Added test for Ticket #2343
Added change to AclNode to use correct table naming
Added garbage clean up to CakeSession::_ _close(); some installs, like Debian, have removed garbage clean
up and use a cron job instead. Currently this change is only supported for database session.

Revision: [4751]
Removing unnecessary requirements

Revision: 4750
Removing unnecessary requirements

Revision: [4749]
Implementing AclNodeTest through fixtures

Revision: [4748]
Adding test to reproduce ticket #2343

Revision: [4747]
Adding fix from Ticket #2336

Revision: [4746]
fixing check in magic methods for a value otherwise it will return false adding test to dbosource

Revision: [4745]
Adding fix for Ticket #2328

Revision: [4744]
Adding test for Ticket #2333.
Added fix for Ticket #2333

Revision: [4743]
Adding var $layout to EmailComponent

Revision: [4742]
Fixing EmailComponent::_ _formatAddress() was not returning $string

Revision: [4741]
Refactoring AuthComponent password hashing

Revision: [4740]
fixing router when affected by requestAction #2319, adding check in magic methods for a value otherwise it will return false

Revision: [4738]
Added test in testGenerateAssociationQuerySelfJoinWithConditions() to replicate issue when 'conditions' is not used after doing bindModel() for a $belongsTo relation

Revision: [4737]
Simplified failing test in model.test.php

Revision: [4736]
Simplified failing test in model.test.php

Revision: [4735]
Adding Ajax rendering fix for Ticket #2323

Revision: [4734]
Adding test for #2325

Revision: [4733]
Fixing Controller::cleanUpFields() formatting bug introduced in [4596] (Ticket #2322)

Revision: [4732]
Adding fix for TIcket #2325

Revision: [4731]
Adding patch from ticket #2324 plus test

Revision: [4730]
Adding patch from Ticket #2320

Revision: [4729]
Additional timestamp fix for Controller::cleanUpFields()

Revision: [4728]
Fixing typos

Revision: [4727]
Misc. fixes to DboPostgres, added basic schema generation, and fixed getting insert IDs from sequence (Ticket #2309)

Revision: [4726]
Refactoring FormHelper and fixing 'empty' option for date/time elements in FormHelper::input() (Ticket #2311)

Revision: [4725]
Fixed typo in function name

Revision: [4724]
Identified line that allows bakery issue test to succeed

Revision: [4723]
Added test that replicates issue in bakery with nested models after doing some bindModel() and unbindModel()

Revision: [4722]
Fixing Controller::cleanUpFields() to handle timestamp fields, and properly unset meridian values

Revision: [4721]
Added test for ticket #2321

Revision: [4720]
Adding Model::saveField() fix for triggering invalid hasAndBelongsToMany saves

Revision: [4719]
Moving session flash rendering from component to helper (fixes errors when using setFlash() in beforeFilter)

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4758 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 08:36:00 +00:00
phpnut
789f1f4f3d Adding fix for Ticket #2343
Corrected test case for InflectorTest:testInflectingPlurals() house, original test used wrong method from Inflector

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4756 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 08:01:38 +00:00
phpnut
6593be8239 Adding fix to EmailComponent::_ _createHeader() that corrects addresses that are set in CC being added to BCC also
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4755 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 07:46:04 +00:00
phpnut
4fb14b1506 Adding check for config/inflections.php back to Inflector
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4754 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 07:42:19 +00:00
phpnut
dcac88825a Adding fix for Ticket #2339
Adding fix for Ticket #2335
Adding fix for Ticket #2344

Merged changes in dbo from 1.2 to 1.1
Merged changes to session handling in 1.2 to 1.1
Merged changes to Model::_ _saveMulti() in 1.2 to 1.1
Added Set::pushDiff() to append differences in array 2 to array 1
Added SessionComponent::activate() and SessionHelper::activate() to turn sessions usage on if AUTO_SESSION is set to false
Added test for Ticket #2343
Added change to AclNode to use correct table naming
Added garbage clean up to CakeSession::_ _close(); some installs, like Debian, have removed garbage clean
up and use a cron job instead. Currently this change is only supported for database session.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4752 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 07:25:48 +00:00
mariano.iglesias
f4df563a84 Removing unnecessary requirements
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4751 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 07:16:37 +00:00
mariano.iglesias
44fb9aa60d Removing unnecessary requirements
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4750 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 07:15:27 +00:00
mariano.iglesias
f12d025a23 Implementing AclNodeTest through fixtures
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4749 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 07:13:33 +00:00
dho
87bb47b5af Adding test to reproduce ticket #2343
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4748 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-04 06:55:09 +00:00
phpnut
065b93c29a Adding fix from Ticket #2336
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4747 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-03 21:12:09 +00:00
gwoo
ed342c307d fixing check in magic methods for a value otherwise it will return false adding test to dbosource
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4746 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-03 05:43:31 +00:00
phpnut
a1e535a05d Adding fix for Ticket #2328
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4745 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-03 03:10:36 +00:00
phpnut
a46e1caa9e Adding test for Ticket #2333.
Added fix for Ticket #2333

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4744 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-03 03:03:42 +00:00
phpnut
8cead38c69 Adding var $layout to EmailComponent
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4743 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-03 01:15:24 +00:00
phpnut
32c3001fbe Fixing EmailComponent::_ _formatAddress() was not returning $string
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4742 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-03 01:08:49 +00:00
nate
456baf5da1 Refactoring AuthComponent password hashing
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4741 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-02 20:00:56 +00:00
gwoo
923303b462 fixing router when affected by requestAction #2319, adding check in magic methods for a value otherwise it will return false
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4740 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-02 19:20:50 +00:00
mariano.iglesias
94f57cef86 Added test in testGenerateAssociationQuerySelfJoinWithConditions() to replicate issue when 'conditions' is not used after doing bindModel() for a $belongsTo relation
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4738 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 23:09:56 +00:00
mariano.iglesias
a48f9cd908 Simplified failing test in model.test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4737 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 16:15:44 +00:00
mariano.iglesias
2f5fa26e29 Simplified failing test in model.test.php
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4736 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 16:03:42 +00:00
nate
a702d4d41a Adding Ajax rendering fix for Ticket #2323
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4735 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 15:19:54 +00:00
dho
20be70a22e Adding test for #2325
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4734 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 15:07:27 +00:00
nate
c276d65d6f Fixing Controller::cleanUpFields() formatting bug introduced in [4596] (Ticket #2322)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4733 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 15:01:28 +00:00
nate
20645337f7 Adding fix for TIcket #2325
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4732 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 14:47:39 +00:00
dho
d4c5eea261 Adding patch from ticket #2324 plus test
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4731 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 14:31:23 +00:00
phpnut
3af3f242f6 Adding patch from Ticket #2320
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4730 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 08:18:05 +00:00
nate
e98b37e7cf Additional timestamp fix for Controller::cleanUpFields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4729 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 07:47:56 +00:00
dho
408df0118a Fixing typos
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4728 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 07:43:52 +00:00
nate
a64434c636 Misc. fixes to DboPostgres, added basic schema generation, and fixed getting insert IDs from sequence (Ticket #2309)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4727 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 05:42:31 +00:00
nate
23fc1e8e53 Refactoring FormHelper and fixing 'empty' option for date/time elements in FormHelper::input() (Ticket #2311)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4726 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 04:55:56 +00:00
mariano.iglesias
76efc2acbc Fixed typo in function name
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4725 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 04:51:29 +00:00
mariano.iglesias
2a4fb7bc50 Identified line that allows bakery issue test to succeed
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4724 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 04:50:06 +00:00
mariano.iglesias
024fc47407 Added test that replicates issue in bakery with nested models after doing some bindModel() and unbindModel()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4723 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 04:40:18 +00:00
nate
0039859101 Fixing Controller::cleanUpFields() to handle timestamp fields, and properly unset meridian values
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4722 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-04-01 03:34:39 +00:00
mariano.iglesias
4da63e762f Added test for ticket #2321
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4721 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-31 20:49:26 +00:00
nate
f8995e0bde Adding Model::saveField() fix for triggering invalid hasAndBelongsToMany saves
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4720 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-31 20:27:47 +00:00
nate
9e1019787b Moving session flash rendering from component to helper (fixes errors when using setFlash() in beforeFilter)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4719 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-31 19:37:59 +00:00
phpnut
e569b97867 Merging fixes into the trunk:
Revision: [4716]
Adding fix for Ticket #2316

Revision: [4714]
Adding fix for Ticket #2232.
Added tests for ticket

Revision: [4713]
Adding fix for Ticket #2310

Revision: [4709]
Fixing typos.
Adding fix for $ID: search in I18nExtractor::_ _findVersion(), svn replaced this with the file name.

Revision: [4708]
Updating I18nExtractor. Added methods to extract translation strings from files.

Revision: [4707]
Fixing return value in Session::check()

Revision: [4706]
Removing column length from INT column type in DboMssql (Ticket #2308)

Revision: [4705]
Adding tests and fixtures for self-join associations, and fixing JS syntax for 'indicator' (Ticket #2302)

Revision: [4704]
Fixing NOT operations in query conditions in DboSource (Ticket #2307)

Revision: [4703]
Adding DboSource destructor rollback fix (Ticket #2110)

Revision: [4702]
Adding fix for Ticket #2298.
Added encoding wrapper for email addresses.

Revision: [4701]
Additional URL-parsing fixes for IIS

Revision: [4700]
Fixing limit / offset for SQL Server

Revision: [4699]
Fixing URL parsing/dispatching for IIS installs without rewrite support

Revision: [4698]
Refactoring Controller::paginate() to remove duplicate code.

Revision: [4697]
Adding field quoting fix in DboSource::name() (Ticket #2300)

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4718 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-31 17:34:42 +00:00
phpnut
095574ecc8 Adding fix for Ticket #2316
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4716 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-30 12:18:23 +00:00
phpnut
918c6e7e93 Backporting changes to dbo drivers
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4715 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-30 02:54:23 +00:00
phpnut
3a62793d0e Adding fix for Ticket #2232.
Added tests for ticket

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4714 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-30 00:08:10 +00:00
phpnut
41012b86ba Adding fix for Ticket #2310
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4713 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 23:38:53 +00:00
phpnut
575b27d586 Backporting changes from 1.2 to 1.1
Adding Set class

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4711 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 22:48:24 +00:00
phpnut
eac541cfe4 Fixing typos.
Adding fix for $ID: search in I18nExtractor::_ _findVersion(), svn replaced this with the file name.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4709 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 17:01:07 +00:00