Commit graph

1034 commits

Author SHA1 Message Date
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
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
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
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
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
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
nate
1a10bf9b8a Fixing return value in Session::check()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4707 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 13:43:06 +00:00
nate
15bae17de2 Removing column length from INT column type in DboMssql (Ticket #2308)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4706 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 02:21:50 +00:00
nate
381ec92b4c Adding tests and fixtures for self-join associations, and fixing JS syntax for 'indicator' (Ticket #2302)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4705 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 02:16:00 +00:00
nate
0c2b92a650 Fixing NOT operations in query conditions in DboSource (Ticket #2307)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4704 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 01:45:13 +00:00
nate
f32cc3eb79 Adding DboSource destructor rollback fix (Ticket #2110)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4703 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-29 00:49:53 +00:00
phpnut
f1c1c70664 Adding fix for Ticket #2298.
Added encoding wrapper for email addresses.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4702 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 22:57:07 +00:00
nate
823dac8166 Additional URL-parsing fixes for IIS
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4701 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 16:42:11 +00:00
nate
43297e3abd Fixing limit / offset for SQL Server
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4700 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 16:39:15 +00:00
nate
1f0d3d7145 Refactoring Controller::paginate() to remove duplicate code.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4698 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 16:31:16 +00:00
nate
8b7f46acaa Adding field quoting fix in DboSource::name() (Ticket #2300)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4697 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-28 00:53:37 +00:00
nate
1685fe8fc4 Refactoring RequestHandler
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4694 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-27 05:02:40 +00:00
phpnut
70e11838a7 Adding fix for Ticket #2295
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4690 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-27 03:47:19 +00:00
phpnut
9ace567e8e Adding test for Validate::ip().
Fixed Ticket #2298.
Fixed issue with I10n class not setting default language

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4689 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-27 02:59:22 +00:00
nate
dbbe90c22c Fixing issue in DboSource with left joins on self joins
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4687 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-27 01:59:39 +00:00
nate
f2c7c5a677 Fixing calculated field parsing for DboSource::fields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4686 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-27 01:34:59 +00:00
phpnut
804e21e869 Reverting changes made in last revision
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4685 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-26 19:15:55 +00:00
nate
282bfbf4fc Fixing SQL expression handling in Model::field() (TIcket #2283)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4684 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-26 18:38:54 +00:00
nate
994cfd3c89 Fixing token key regeneration on requestAction calls (Ticket #2282)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4682 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-26 18:13:52 +00:00
nate
2c906bc4c8 Fixing query order in Controller::paginate() (Ticket #2201)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4681 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-26 18:06:45 +00:00
nate
8e92df3bbb Adding JavascriptHelper::object() fix for 0 being converted to null (Ticket #2296)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4680 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-26 17:22:02 +00:00
nate
bb2a68caec Rewriting SQL generation for self-joins
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4679 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-26 17:16:43 +00:00
nate
6afca88bb2 Patching SELECT query test in DboSource::fetchAll() (Ticket #2288)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4678 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 19:46:16 +00:00
nate
f48b908ac6 Disabling ORDER BY clause for Model::findCount (Ticket #2227) and updating test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4677 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 18:17:15 +00:00
phpnut
7737224368 Adding fix for Ticket #2291
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4676 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 18:16:24 +00:00
phpnut
b899bb58b4 Adding fix for Ticket #2183
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4674 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 03:14:41 +00:00
phpnut
f072902d80 Added fix for Ticket #2098
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4673 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 03:02:10 +00:00
phpnut
3292a8efdb Adding enhancement idea from Ticket #2201.
Fixed the use of parseHtmlOptions which is deprecated.
Fixed an undefined index on check box when there is no model.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4672 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 02:03:34 +00:00
phpnut
8fa50d9100 Adding fix for Ticket #2285
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4671 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 01:16:29 +00:00
phpnut
12f99cd1e9 Adding fix for Ticket #2287
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4670 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-25 00:33:57 +00:00
phpnut
719d704360 Reformatting code comments
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4666 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 18:07:35 +00:00
phpnut
2d0eaf517b Adding test for Validation::alphaNumeric() to check empty $check.
Corrected Validation::alphaNumeric() to return false if $this->check; is empty

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4665 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 18:01:36 +00:00
nate
e03c12eea3 Fixing default input values for form inputs, and adding test case
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4664 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 17:32:02 +00:00
nate
1bf81bbee9 Fixing URL normalization for AuthComponent redirects
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4663 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 16:46:19 +00:00
nate
88563ebe46 Adding test cases for FormHelper::error()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4662 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 16:06:48 +00:00
phpnut
f8023ff0dc Added $config['database'] mysqli_connect() in DboMysqli::connect(), removed mysqli_select_db()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4661 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 10:56:42 +00:00
phpnut
7cee084212 Refactoring Helper::setFormTag()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4660 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 10:50:41 +00:00
phpnut
c20a8c80f3 Corrected view tests.
Added fix for Ticket #2245
Refactored loading of components and helpers to allow for use of dot notation with plugins.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4659 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 10:34:21 +00:00
phpnut
3b90fdbe2e Adding fix for Ticket #2235
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4657 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 09:09:28 +00:00
phpnut
330630c9d0 Adding fix for Ticket #2214
Removed persistent connection setting in DboMysqli::connect() since there is no persistent connection function for mysqli

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4656 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 08:57:42 +00:00
phpnut
2925df7c54 Adding fix for #2210
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4655 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-03-23 07:08:40 +00:00