Doug Bell
0957759fa9
fix 11779 SQLReport can run arbitrary queries
2010-08-11 14:48:38 -05:00
Colin Kuskie
1c20f132eb
100% coverage on t/Macro/SQL.t. Refactor DatabaseLink.
2009-11-08 22:55:57 -08: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
Graham Knop
46f6104d43
fixed: More permissive DSN checking to allow use of SQLite (thanks pathma)
2008-07-07 16:23:58 +00:00
Yung Han Khoe
f3b14a227c
Added Database link access for SQL Macro
2008-05-27 15:27:52 +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
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
Graham Knop
37367a6c9f
SQL Reports were broken in non-mysql
2007-10-05 14:46:48 +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
JT Smith
a7dde82421
updated copyright
2007-07-01 16:09:42 +00:00
JT Smith
fdf9c65ab5
- fix: a typo in DatabaseLink.pm
...
- fix: a typo in CleanTempSpace.pm
- fix: an unhandled exception in Asset/File.pm
2007-04-04 16:03:34 +00:00
JT Smith
172985e2a0
- fix: 7.4 Editing SQL Form seems to break site ...?
2007-03-09 05:38:44 +00:00
Doug Bell
50e7645322
fix: SQLReport now throws fatal if can't find DatabaseLink
...
DatabaseLink now warns if can't find DatabaseLink
2006-10-27 20:42:59 +00:00
JT Smith
fba5580d15
added "call" as an option for the default database
2006-04-07 01:07:37 +00:00
Colin Kuskie
910e191fb4
Add note to DatabaseLink->new that id 0 is reserved for WebGUI database.
...
Build SQL table to be used in Group membership test
2006-04-03 05:36:27 +00:00
Martin Kamerbeek
72b999b0ea
Added prequery statements to SQLReport and per-dbLink allowed keywords.
2006-02-02 13:23:32 +00:00
Matthew Wilson
4a3121960f
removal of dumpSession.
2006-01-26 05:39:16 +00:00
Matthew Wilson
09483e18c5
a ton of $session fixes (thanks to Colin), and a new $session checker, that supposedly, shouldn't be needed now. It can be backed out, however, easily.
2006-01-16 22:45:21 +00:00
Colin Kuskie
6d9ed4b3cd
Updated FormListEquiv.t, all tests pass
...
fix class method in DatabaseLink.pm
fix accessor method in Form/DatabaseLink.pm
2006-01-16 00:42:15 +00:00
Colin Kuskie
e1a90f66fd
Asset/Template: bad call to session->db->read
...
DatabaseLink, typo in sesssion
2006-01-16 00:39:30 +00:00
JT Smith
6779353b85
more session related bug fixes
2006-01-13 21:14:23 +00:00
Colin Kuskie
01d95a265e
new i18n api requiring $session
2006-01-12 17:49:20 +00:00
JT Smith
a194408513
changing copyright year
2006-01-09 23:51:04 +00:00
JT Smith
024514c549
more session related changes
2006-01-09 19:56:26 +00:00
Matthew Wilson
500796404b
someone made a boo boo.
2005-05-03 12:46:22 +00:00
JT Smith
a58f2786f7
merging 6.5.6 bugfixes
2005-04-19 20:55:11 +00:00
JT Smith
55c709a051
updated copyright
2005-02-07 00:52:47 +00:00
JT Smith
48caad2d74
merging 6.2.9 changes
2004-11-19 22:59:25 +00:00
JT Smith
6ddb7c49e6
merging 6.2.8 changes and initial draft of TinyMCE as rich editor
2004-10-30 15:49:59 +00:00
JT Smith
2b6eb201a9
changed POD formatting
2004-09-14 02:22:38 +00:00
JT Smith
c866d00c1b
changed company name
2004-09-03 17:01:59 +00:00
JT Smith
08f3fc841a
adding guid stuff
2004-08-11 03:20:22 +00:00
JT Smith
2e240b8cda
bugfix [ 912400 ] db link not working
2004-03-25 19:52:19 +00:00
JT Smith
403082ed23
updated copyright year
2004-02-29 15:40:11 +00:00
JT Smith
adef55be5f
migrating SQL reports
2003-12-10 23:35:41 +00:00
Andy Grundman
2788250eeb
Added new feature to validate groups against external databases
2003-07-03 05:11:40 +00:00
Andy Grundman
2fda426415
Added new Database Link tool, updated SQL Report to use database links
2003-06-21 02:02:34 +00:00