From 5ae806f9639c51d541052d47f25a024bf3e05c7a Mon Sep 17 00:00:00 2001 From: JT Smith Date: Mon, 13 May 2002 23:22:56 +0000 Subject: [PATCH] Added wobject superclass. --- docs/gotcha.txt | 5 +++++ docs/upgrades/upgrade_3.7.0-3.8.0.sql | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/docs/gotcha.txt b/docs/gotcha.txt index 6c074b99d..bcd1426b8 100644 --- a/docs/gotcha.txt +++ b/docs/gotcha.txt @@ -14,6 +14,11 @@ save you many hours of grief. they will cease to function. Please contact the developer of the widget immediately to have them upgrade it to a Wobject. + * The "Registered Users" group no longer has the privilege of + doing whatever "Visitors" can do. Instead we have created + a new group called "Everyone", which means registered users + and visitors alike can do whatever is assigned those + privileges. 3.6.0 -------------------------------------------------------------------- diff --git a/docs/upgrades/upgrade_3.7.0-3.8.0.sql b/docs/upgrades/upgrade_3.7.0-3.8.0.sql index 91ba9e922..d38e24950 100644 --- a/docs/upgrades/upgrade_3.7.0-3.8.0.sql +++ b/docs/upgrades/upgrade_3.7.0-3.8.0.sql @@ -5,8 +5,10 @@ INSERT INTO international VALUES (496,'WebGUI','English','Editor To Use'); INSERT INTO international VALUES (494,'WebGUI','English','Real Objects Edit-On Pro'); INSERT INTO international VALUES (497,'WebGUI','English','Start Date'); INSERT INTO international VALUES (498,'WebGUI','English','End Date'); +INSERT INTO international VALUES (499,'WebGUI','English','Wobject ID'); INSERT INTO groups VALUES (7,'Everyone','A group that automatically includes all users including Visitors.',314496000); +update Poll set voteGroup=7 where voteGroup=1; DELETE FROM help WHERE helpId=1 AND namespace='SQLReport' AND language='English' ; INSERT INTO help VALUES (1,'SQLReport','English','Add/Edit','SQL Report','SQL Reports are perhaps the most powerful widget in the WebGUI arsenal. They allow a user to query data from any database that they have access to. This is great for getting sales figures from your Accounting database or even summarizing all the message boards on your web site.\r\n

\r\n\r\nTitle
\r\nThe title of this report.\r\n

\r\n\r\nDisplay the title?
\r\nDo you wish to disply the title?\r\n

\r\n\r\nProcess macros?
\r\nDo you wish to process WebGUI macros? Unchecking this box will not process macros and will speed up page execution.\r\n

\r\n\r\nPosition
\r\nSelect the position in the current page template where this widget should be placed.\r\n

\r\n\r\nDescription
\r\nDescribe the content of this report so your users will better understand what the report is all about.\r\n

\r\n\r\nPreprocess macros on query?
\r\nIf you\'re using WebGUI macros in your query you\'ll want to check this box.\r\n

\r\n\r\nDebug?
\r\nIf you want to display debugging and error messages on the page, check this box.\r\n

\r\n\r\nQuery
\r\nThis is a standard SQL query. If you are unfamiliar with SQL, Plain Black Software provides training courses in SQL and database management. You can make your queries more dynamic by using the ^FormParam(); macro.\r\n

\r\n\r\nTemplate
\r\nLayout a template of how this report should look. Usually you\'ll use HTML tables to generate a report. An example is included below. If you leave this field blank a template will be generated based on your result set.\r\n

\r\n\r\nThere are special macro characters used in generating SQL Reports. They are ^-;, ^0;, ^1;, ^2;, ^3;, etc. These macros will be processed regardless of whether you checked the process macros box above. The ^- macro represents split points in the document where the report will begin and end looping. The numeric macros represent the data fields that will be returned from your query. There is an additional macro, ^rownum; that counts the rows of the query starting at 1 for use where the lines of the output need to be numbered.\r\n

\r\n

\r\nSample Template:\r\n<table>\r\n<tr><th>Employee Name</th><th>Employee #</th><th>Vacation Days Remaining</th><th>Monthly Salary</th></tr>\r\n^-;\r\n<tr><td>^0;</td><td>^1;</td><td>^2;</td><td>^3;</td></tr>\r\n^-;\r\n</table>\r\n
\r\nDSN
\r\nData Source Name is the unique identifier that Perl uses to describe the location of your database. It takes the format of DBI:[driver]:[database name]:[host]. \r\n

\r\n\r\nExample: DBI:mysql:WebGUI:localhost\r\n

\r\n\r\nDatabase User\r\nThe username you use to connect to the DSN.\r\n

\r\n\r\nDatabase Password\r\nThe password you use to connect to the DSN.\r\n

\r\n\r\nPaginate After\r\nHow many rows should be displayed before splitting the results into separate pages? In other words, how many rows should be displayed per page?\r\n

\r\n\r\nConvert carriage returns?\r\nDo you wish to convert the carriage returns in the resultant data to HTML breaks (<br>).\r\n','1,2,3,4,5'); @@ -43,6 +45,9 @@ from where namespace='Item'; +alter table Item drop column description; +alter table Item change widgetId wobjectId int not null; + delete from international where language='Svenska';