Commit graph

11 commits

Author SHA1 Message Date
Doug Bell
0957759fa9 fix 11779 SQLReport can run arbitrary queries 2010-08-11 14:48:38 -05:00
Colin Kuskie
dbf86bb850 Test cleanup and tracking of Database Links. 2009-11-08 22:40:27 -08:00
Graham Knop
67b729fee0 use note instead of diag in tests for non-error debug output 2009-09-23 08:29:05 -05:00
Colin Kuskie
9182ce5288 Fix queryIsAllowed to look at the first word in the query, regardless of punctuation or whitespace.
Add tests for queryIsAllowed.
2009-08-11 00:11:10 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +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
Colin Kuskie
8261c896a6 Add missing docs to ->set, for which params are allowed in the object/db.
Add missing allowMacroAccess to default dbLink.
Add several tests for create, get, delete, etc.
2007-07-24 23:50:22 +00:00
Colin Kuskie
cff3ac1816 Added the checkPrivileges method, borrowed from SQLForm.
Wrote tests based on SQLForm bugs to validate it, and it passes.
2007-07-14 23:11:03 +00:00
Colin Kuskie
3d016a366b finish up the databaseName method tests 2007-07-14 19:56:27 +00:00
Colin Kuskie
6b2ed836fb Add a method so that DatabaseLink can tell you what database it's
operating on.
Add tests for the method.
2007-07-14 19:33:14 +00:00