Commit graph

148 commits

Author SHA1 Message Date
Colin Kuskie
b323f74121 Update copyright notice 2011-12-28 11:30:38 -08:00
Graham Knop
1f201260ba remove session from WebGUI::SQL 2011-07-05 09:05:36 -05:00
Colin Kuskie
5f3014aaee Merge branch 'master' into WebGUI8. Merged up to 7.10.4 2010-11-03 09:47:36 -07:00
Doug Bell
4864a75340 fix 11940: quickCSV chokes on newlines in data 2010-11-01 14:39:44 -05:00
Graham Knop
ed04b99872 remove WebGUI::Utility 2010-09-07 13:18:49 -05:00
Graham Knop
55bd411e2c remove WebGUI::Utility::makeArrayTabSafe 2010-08-20 12:39:20 -05:00
Colin Kuskie
385931aaab Merge commit 'f2e0fb509a' into WebGUI8. Some tests still failing. 2010-06-27 22:32:31 -07:00
Graham Knop
26efb0e6b0 fix setRow for when only id provided 2010-06-15 03:56:26 -05:00
Graham Knop
9c6b4201f7 fix SQL methods 2010-06-13 06:16:32 -05:00
Graham Knop
7b9e230409 improving setRow 2010-06-08 17:55:13 -05:00
Doug Bell
cc87552a22 weaken all session refs 2010-06-01 16:23:48 -05:00
Graham Knop
65dfb6e683 Merge branch 'WebGUI8' into psgi 2010-05-10 17:03:17 -05:00
Graham Knop
9c725aa237 fix error handling in SQL 2010-05-10 17:01:39 -05:00
Colin Kuskie
ad88c37581 Revert back to the old setRow that handles sparse updates, like the one used by Group. 2010-05-06 20:48:39 -07:00
Colin Kuskie
7032e86cf1 Change cache strategy for User.t. Fix setRow in SQL.pm to accept overrides in row identifiers. 2010-05-06 15:50:43 -07:00
Graham Knop
7ff307cabe fix double sub def in WebGUI::SQL 2010-04-16 20:57:13 -05:00
Graham Knop
907a148313 remove webgui specific dbi tracing code, simplify errorhandler 2010-04-16 20:55:49 -05:00
Graham Knop
0bff8a0fa4 WebGUI::SQL as DBI subclass 2010-04-16 20:54:04 -05:00
Graham Knop
5b25692561 first shot at DBI tracing code 2010-04-16 20:53:35 -05:00
Graham Knop
2400f19099 Merge branch 'master' into WebGUI8 2010-04-13 07:50:02 -05:00
Doug Bell
8701842829 Merge branch 'innodb' into 8
Conflicts:
	lib/WebGUI/Asset/Wobject/DataForm.pm
2010-02-17 15:09:04 -06:00
Colin Kuskie
1ce5e4ebab Give SQL.pm a quote_identifier wrapper. 2010-01-13 16:42:29 -08:00
Yung Han Khoe
2987ed44bc Changing some SQL methods to quote table names 2009-11-16 12:11:45 +01:00
JT Smith
acf8e7816d fixed to work with constraints 2009-10-20 15:01:01 -05:00
Graham Knop
626e3abf96 make buildHashRef faster 2009-09-16 18:28:32 -05:00
Colin Kuskie
1665af184d Prevent closing dbh handles twice. 2009-04-10 16:31:54 +00:00
Paul Driver
b66a2b1641 Documentation bug in buildArrayRefOfHashRefs 2009-03-09 14:31:35 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Graham Knop
b6cfd088c7 buildArray, buildArrayRef should only use the first column of results 2008-11-24 16:23:00 +00:00
Graham Knop
848cf3b6db make WebGUI::SQL a little faster 2008-11-24 04:01:01 +00:00
Graham Knop
1cf8d00d4a document return values of WebGUI::SQL->write and WebGUI::SQL::ResultSet->execute 2008-11-04 22:46:49 +00:00
Graham Knop
0ec07bc967 get setRow to work with field names with non-word characters 2008-11-04 22:46:44 +00:00
Graham Knop
fee64b013f better error message for database connection failure 2008-06-26 20:51:04 +00:00
JT Smith
5fb4807edc merging commerce branch back into head 2008-04-20 18:08:26 +00:00
JT Smith
23ea56bbe6 Added the viewcart macro.
Lookup registrant now works.
Fixed some bugs.
2008-04-11 22:00:17 +00:00
JT Smith
ac3c7d18b9 fixed a limitation with buildSearchQuery in SQL
started working on registrant search in EMS
2008-04-04 18:37:53 +00:00
Colin Kuskie
3f5d947282 Get rid of buildDataTableStructure. 2008-03-24 16:13:24 +00:00
Colin Kuskie
f3fd67378f Add a SQL method for building searchable queries.
Add tests for that method.
Convert Shop/Tax and Shop/Transaction to use that for their JSON generating methods.
2008-03-19 19:35:43 +00:00
Colin Kuskie
875187ee74 Fix the Shop/Transaction tests for JSON.
Convert Shop/Transaction and Shop/Tax to use buildDataTableStructure.
Change SQL.pm to return a hash instead of a hashref for buildDataTableStructure.
2008-03-19 04:45:02 +00:00
Colin Kuskie
4db53bb8ed Reformat the JSON test for Shop/Tax.t
Add JSON tets to Shop/Transaction.t
Reindent several methods in SQL/ResultSet.pm
add a method for returning a YUI Data Table structure to SQL.pm
2008-03-19 04:33:24 +00:00
Colin Kuskie
c4bd646ca3 More POD for SQL, read method 2008-03-10 04:23:36 +00:00
Graham Knop
d9d524a2fe Use UTF8 for database connection when connecting to MySQL 2008-03-07 17:45:19 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +00:00
Graham Knop
15b22ab4ca Merged revisions 5264 via svnmerge from
https://svn.webgui.org/plainblack/branch/WebGUI_7.4

........
  r5264 | graham | 2008-01-09 10:59:46 -0600 (Wed, 09 Jan 2008) | 1 line
  
  reverting UTF-8 change
........
2008-01-09 17:16:20 +00:00
Graham Knop
71192f3c8b Merged revisions 5259 via svnmerge from
https://svn.webgui.org/plainblack/branch/WebGUI_7.4

........
  r5259 | graham | 2008-01-09 06:35:57 -0600 (Wed, 09 Jan 2008) | 1 line
  
  Use UTF8 for database connection when connecting to MySQL
........
2008-01-09 12:40:54 +00:00
Colin Kuskie
96178fd70c first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead 2007-12-05 00:30:43 +00:00
Graham Knop
6c5453cf9b i'm dumb 2007-10-05 16:21:13 +00:00
Colin Kuskie
a9f45865e6 Add optional database connection parameters to the DatabaseLink. This
replaces the old, automatic setting of LongReadLen and LongTruncOk in
SQL.pm, and is much more flexible.
Fix some documentation with allowMacroAccess in the DatabaseLink.
Additional tests for DatabaseLink.
Document the new parameter behavior in the changelog and gotchas file.
2007-07-25 23:46:20 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00