committing first round of GUID changes
This commit is contained in:
parent
0ba6b7c911
commit
48fd2d44e9
48 changed files with 9012 additions and 8870 deletions
|
|
@ -20,6 +20,14 @@
|
|||
- bugfix [ 997916 ] Bug and solution in File.pm
|
||||
- Added the page.isMyAncestor condition to the Navigation system. (Thanks to
|
||||
Len Kranendonk)
|
||||
- Added automatic URL extensions.
|
||||
- Added a new global unique id generator to replace the old incrementer system.
|
||||
- Fixed a bug in userImport.pl, where it was using the old Auth system.
|
||||
- Added a UI Level of 9 to the WS Client.
|
||||
- Added missing documentation to Page API and fixed pod errors in that package as well.
|
||||
- Fixed a bug in the HTMLArea image picker where it would break if your gateway was not
|
||||
in the root of your virtual host, or you had multiple gateways, but none was the
|
||||
default page of your virtual host.
|
||||
- passing form param disableWobjects=$call shortcircuits most of
|
||||
WebGUI::Wobject::WSClient::www_view()
|
||||
- Added write permission checks to WebGUI::Template.
|
||||
|
|
|
|||
|
|
@ -7,6 +7,15 @@ upgrading from one version to the next, or even between multiple
|
|||
versions. Be sure to heed the warnings contained herein as they will
|
||||
save you many hours of grief.
|
||||
|
||||
6.2.0
|
||||
--------------------------------------------------------------------
|
||||
* WebGUI now requires Time::HiRes to operate. Be sure to have it
|
||||
installed prior to upgrading or the the upgrade will fail.
|
||||
|
||||
* Parts of the WebGUI API have changed once again, so be sure that
|
||||
any third-party plug-ins you have installed have been updated
|
||||
to work with 6.2 before upgrading.
|
||||
|
||||
|
||||
6.1.0
|
||||
--------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ QnD INSTALL INSTRUCTIONS:
|
|||
IO::Zlib
|
||||
SOAP::Lite
|
||||
Cache::Cache
|
||||
Time::HiRes
|
||||
Image::Magick (optional)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -17,9 +17,13 @@ CONTENTS
|
|||
1. Wobject Migration
|
||||
--------------------
|
||||
|
||||
1.1 Nothing Yet
|
||||
1.1 Global Unique Wobject IDs
|
||||
|
||||
There have currently been no changes to the Wobject API.
|
||||
In 6.2 we changed wobjects to use the new Global Unique ID system. See WebGUI::Id for
|
||||
details. This change means that wobject Ids are now 22 character text strings rather
|
||||
than integers. That means you'll need to update your database tables and code to account
|
||||
for the Ids being strings. Also, anything using the setCollateral method will start using
|
||||
GUIDs as well.
|
||||
|
||||
|
||||
|
||||
|
|
@ -152,4 +156,12 @@ belong in WebGUI::Session. The main changes of interest are that you no longer
|
|||
do HTTP redirects and set cookies via session. Take a look at WebGUI::HTTP for
|
||||
details.
|
||||
|
||||
5.9 Global Unique IDs
|
||||
|
||||
In 6.2 we added global unique Ids to WebGUI. This means that a lot of the integer-
|
||||
based incrementer IDs will now be replaced with 22 character text IDs. You should
|
||||
update your code and database tables to take advantage of this. Some of the more
|
||||
important ID's that have been changed are User Ids, Group Ids, and Wobject Ids.
|
||||
See WebGUI::Id for more information.
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -57,6 +57,75 @@ alter table IndexedSearch add column (forceSearchRoots smallint(1) default 1);
|
|||
alter table DataForm_field add column (vertical smallint(1) default 1);
|
||||
alter table DataForm_field add column (extras varchar(128));
|
||||
|
||||
insert into settings (name,value) VALUES ("urlExtension","");
|
||||
alter table users change userId userId char(22) not null;
|
||||
alter table DataForm_entry change userId userId char(22);
|
||||
alter table IndexedSearch_docInfo change ownerId ownerId char(22);
|
||||
alter table Poll_answer change userId userId char(22);
|
||||
alter table Survey_response change userId userId char(22);
|
||||
alter table USS_submission change userId userId char(22);
|
||||
alter table authentication change userId userId char(22);
|
||||
alter table collateral change userId userId char(22);
|
||||
alter table forumPost change userId userId char(22);
|
||||
alter table forumPostRating change userId userId char(22);
|
||||
alter table forumRead change userId userId char(22);
|
||||
alter table forumSubscription change userId userId char(22);
|
||||
alter table forumThreadSubscription change userId userId char(22);
|
||||
alter table groupings change userId userId char(22);
|
||||
alter table karmaLog change userId userId char(22);
|
||||
alter table messageLog change userId userId char(22);
|
||||
alter table page change ownerId ownerId char(22);
|
||||
alter table pageStatistics change userId userId char(22);
|
||||
alter table passiveProfileAOI change userId userId char(22);
|
||||
alter table passiveProfileLog change userId userId char(22);
|
||||
alter table userLoginLog change userId userId char(22);
|
||||
alter table userProfileData change userId userId char(22);
|
||||
alter table userSession change userId userId char(22);
|
||||
alter table wobject change ownerId ownerId char(22);
|
||||
alter table wobject change addedBy addedBy char(22);
|
||||
alter table wobject change editedBy editedBy char(22);
|
||||
alter table wobject change wobjectId wobjectId char(22);
|
||||
alter table wobject change forumId forumId char(22);
|
||||
alter table wobject change pageId pageId char(22);
|
||||
alter table wobject change groupIdView groupIdView char(22);
|
||||
alter table wobject change groupIdEdit groupIdEdit char(22);
|
||||
alter table wobject change bufferUserId bufferUserId char(22);
|
||||
alter table wobject change bufferPrevId bufferPrevId char(22);
|
||||
alter table wobject change templateId templateId char(22);
|
||||
alter table Article change wobjectId wobjectId char(22);
|
||||
alter table USS change wobjectId wobjectId char(22);
|
||||
alter table USS change groupToContribute groupToContribute char(22);
|
||||
alter table USS change groupToApprove groupToApprove char(22);
|
||||
alter table USS change submissionTemplateId submissionTemplateId char(22);
|
||||
alter table USS change submissionFormTemplateId submissionFormTemplateId char(22);
|
||||
alter table USS change submissionFormTemplateId submissionFormTemplateId char(22);
|
||||
alter table USS change USS_id USS_id char(22);
|
||||
alter table USS_submission change USS_submissionId USS_submissionId char(22);
|
||||
alter table USS_submission change forumId forumId char(22);
|
||||
alter table USS_submission change USS_id USS_id char(22);
|
||||
alter table DataForm change wobjectId wobjectId char(22);
|
||||
alter table DataForm change emailTemplateId emailTemplateId char(22);
|
||||
alter table DataForm change acknowlegementTemplateId acknowlegementTemplateId char(22);
|
||||
alter table DataForm change listTemplateId listTemplateId char(22);
|
||||
alter table DataForm_entry change wobjectId wobjectId char(22);
|
||||
alter table DataForm_entry change DataForm_entryId DataForm_entryId char(22);
|
||||
alter table DataForm_tab change wobjectId wobjectId char(22);
|
||||
alter table DataForm_tab change DataForm_tabId DataForm_tabId char(22);
|
||||
alter table EventsCalendar change wobjectId wobjectId char(22);
|
||||
alter table EventsCalendar_event change wobjectId wobjectId char(22);
|
||||
alter table FileManager change wobjectId wobjectId char(22);
|
||||
alter table FileManager_file change wobjectId wobjectId char(22);
|
||||
alter table FileManager_file change FileManager_fileId FileManager_fileId char(22);
|
||||
alter table EventsCalendar_event change EventsCalendar_eventId EventsCalendar_eventId char(22);
|
||||
alter table EventsCalendar change eventTemplateId eventTemplateId char(22);
|
||||
alter table EventsCalendar_event change EventsCalendar_recurringId EventsCalendar_recurringId char(22);
|
||||
alter table FileManager_file change groupToView groupToView char(22);
|
||||
|
||||
delete from template where namespace='style' and templateId='10';
|
||||
INSERT INTO template VALUES (10,'htmlArea Image Manager','<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n <html>\n <head>\n <title><tmpl_var session.page.title> - <tmpl_var session.setting.companyName></title>\n <tmpl_var head.tags>\n <style type=\"text/css\">\r\nTD { font: 8pt \'MS Shell Dlg\', Helvetica, sans-serif; }\r\nTD.delete { font: italic 7pt \'MS Shell Dlg\', Helvetica, sans-serif; }\r\nTD.label { font: 8pt \'MS Shell Dlg\', Helvetica, sans-serif; background-color: #c0c0c0; }\r\nTD.none { font: italic 12pt \'MS Shell Dlg\', Helvetica, sans-serif; }\r\n\r\n</style>\r\n\n </head>\n <script language=\"javascript\">\r\nfunction findAncestor(element, name, type) {\r\n while(element != null && (element.name != name || element.tagName != type))\r\n element = element.parentElement;\r\n return element;\r\n}\r\n</script>\r\n<script language=\"javascript\">\r\n\r\nfunction actionComplete(action, path, error, info) {\r\n var manager = findAncestor(window.frameElement, \'manager\', \'TABLE\');\r\n var wrapper = findAncestor(window.frameElement, \'wrapper\', \'TABLE\');\r\n\r\n if(manager) {\r\n if(error.length < 1) {\r\n manager.all.actions.reset();\r\n if(action == \'upload\') {\r\n manager.all.actions.image.value = \'\';\r\n manager.all.actions.name.value = \'\';\r\n manager.all.actions.thumbnailSize.value = \'\';\r\n\r\n }\r\n if(action == \'create\')\r\n manager.all.actions.folder.value = \'\';\r\n if(action == \'delete\')\r\n manager.all.txtFileName.value = \'\';\r\n }\r\n manager.all.actions.DPI.value = 96;\r\n manager.all.actions.path.value = path;\r\n }\r\n if(wrapper)\r\n wrapper.all.viewer.contentWindow.navigate(\'^/;?op=htmlAreaviewCollateral\');\r\n if(error.length > 0)\r\n alert(error);\r\n else if(info.length > 0)\r\n alert(info);\r\n}\r\n</script>\r\n\r\n<script language=\"javascript\">\r\nfunction deleteCollateral(options) {\r\n var lister = findAncestor(window.frameElement, \'lister\', \'IFRAME\');\r\n\r\n if(lister && confirm(\"Are you sure you want to delete this item ?\"))\r\n lister.contentWindow.navigate(\'^/;?op=htmlAreaDelete&\' + options);\r\n}\r\n</script>\r\n</head>\r\n<body leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\r\n\n <tmpl_var body.content>\n \r\n</body>\n </html>\n ','style',1,0);
|
||||
|
||||
|
||||
INSERT INTO groups VALUES (13,'Export Managers','Users in this group can export pages to disk.',314496000,1000000000,NULL,997938000,997938000,14,-14,NULL,0,NULL,0,0,0,3600,NULL,1,1);
|
||||
|
||||
INSERT INTO groupGroupings VALUES (3,13);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue