Added prequery statements to SQLReport and per-dbLink allowed keywords.
This commit is contained in:
parent
929df9cbf9
commit
72b999b0ea
10 changed files with 218 additions and 68 deletions
|
|
@ -14,6 +14,8 @@
|
|||
sending attachments, HTML messages, and more. This will introduce many new
|
||||
options for developers.
|
||||
- The group mail screen now allows sending of HTML messages.
|
||||
- Added prequery statements to the SQLReport and configurable allowed statements
|
||||
to the databas link properties. (Martin Kamerbeek / Procolix)
|
||||
|
||||
6.8.6
|
||||
- Added logic to deal with case sensitivity and whitespace problems in LDAP
|
||||
|
|
|
|||
|
|
@ -26,9 +26,22 @@ addSearchEngine();
|
|||
addEMSTemplates();
|
||||
addEMSTables();
|
||||
updateTemplates();
|
||||
updateDatabaseLinksAndSQLReport();
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
#-------------------------------------------------
|
||||
sub updateDatabaseLinksAndSQLReport {
|
||||
print "\tUpdating the Database link and SQLReport Tables.\n";
|
||||
$session->db->write('alter table databaseLink add column allowedKeywords text');
|
||||
$session->db->write('update databaseLink set allowedKeywords="select\ndecsribe\nshow"');
|
||||
$session->db->write('alter table SQLReport add column prequeryStatements1 text');
|
||||
$session->db->write('alter table SQLReport add column prequeryStatements2 text');
|
||||
$session->db->write('alter table SQLReport add column prequeryStatements3 text');
|
||||
$session->db->write('alter table SQLReport add column prequeryStatements4 text');
|
||||
$session->db->write('alter table SQLReport add column prequeryStatements5 text');
|
||||
}
|
||||
|
||||
#-------------------------------------------------
|
||||
sub updateTemplates {
|
||||
print "\tUpdating base templates for XHTML compliance, and a cleaner look.\n" unless ($quiet);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue