phpBMS

Changeset 570 for trunk/phpbms/install

Show
Ignore:
Timestamp:
06/03/09 19:08:38 (3 years ago)
Author:
nate
Message:
  • Files now uses uuid files correctly.
  • Initial implementation of uuids for attachments.
Location:
trunk/phpbms/install
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/install/files.sql

    r542 r570  
    1 INSERT INTO `files` (`id`, `uuid`, `name`, `description`, `file`, `type`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`, `roleid`, `custom1`, `custom2`, `custom3`, `custom4`, `custom5`, `custom6`, `custom7`, `custom8`) VALUES ('1', '', 'logo.png', 'Company Logo Used in PDF reports', '‰PNG\r\n\Z\n\0\0\0\rIHDR\0\0\0\0\0]\0\0\0ŸS°\0\0\0gAMA\0\0¯È7Šé\0\0\0tEXtSoftware\0Adobe ImageReadyqÉe<\0\0\0`PLTE666ÑÑѶ¶¶óó󪪪kkk   rrrœœœÅÅŎŽŽèèèÛÛۄ„„¿¿¿|||XXXÞÞÞðððˆˆˆÉÉÉââ╕•€€€KKK&&&QQQPPP%%%bbbcccÿÿÿV\"l\0\0\0ØIDATxÚb \0@£A\0\0D£påΡ\0D£pà”®¡\04ˆÃA‘‘‘‰˜±I#€<^inT)&1^v99YYv^.f°@\0a†ƒ /¿¬ 
     1INSERT INTO `files` (`id`, `uuid`, `name`, `description`, `file`, `type`, `createdby`, `creationdate`, `modifiedby`, `modifieddate`, `roleid`, `custom1`, `custom2`, `custom3`, `custom4`, `custom5`, `custom6`, `custom7`, `custom8`) VALUES ('1', 'file:ad761197-e5a2-3fdf-f330-d1508f10813e', 'logo.png', 'Company Logo Used in PDF reports', '‰PNG\r\n\Z\n\0\0\0\rIHDR\0\0\0\0\0]\0\0\0ŸS°\0\0\0gAMA\0\0¯È7Šé\0\0\0tEXtSoftware\0Adobe ImageReadyqÉe<\0\0\0`PLTE666ÑÑѶ¶¶óó󪪪kkk   rrrœœœÅÅŎŽŽèèèÛÛۄ„„¿¿¿|||XXXÞÞÞðððˆˆˆÉÉÉââ╕•€€€KKK&&&QQQPPP%%%bbbcccÿÿÿV\"l\0\0\0ØIDATxÚb \0@£A\0\0D£påΡ\0D£pà”®¡\04ˆÃA‘‘‘‰˜±I#€<^inT)&1^v99YYv^.f°@\0a†ƒ /¿¬ 
    22X#%á I~8°\0] +t*‚#ËÏ&‚¬†WVVN®‚ÝV~šŽ¬Bœ› 
    33\"\n0àgj Žp\0«’“ 
     
    122122܀€\0Â(­Uº 
    123123H•B=óÄ u¶±*€\0\ZYóÜšå0\0 Ñy 
    124 \0 Ñp€\0€\0\Z\r\00\0tP|O;ë\0\0\0\0IEND®B`‚', 'image/png', 1, NOW(), 1, NOW(), '90', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); 
     124\0 Ñp€\0€\0\Z\r\00\0tP|O;ë\0\0\0\0IEND®B`‚', 'image/png', 1, NOW(), 1, NOW(), 'Admin', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); 
  • trunk/phpbms/install/generateuuids.php

    r569 r570  
    110110        $this->roleList[0] = ""; 
    111111 
     112        $this->tabledefList = $this->generateUUIDList("tabledefs"); 
     113        // 
     114        //$this->moduleList= $this->generateUUIDList("modules"); 
     115 
    112116        $menuList = $this->generateUUIDList("menu"); 
    113117        $menuList[0] = ""; 
     
    128132        //$this->updateFields("usersearches", array("tabledefid"=>$this->tabledefList, "userid"=>$this->userList, "roleid"=>$this->roleList)); 
    129133        //$this->updateFields("relationships", array("fromtableid"=>$this->tabledefList, "totableid"=>$this->tabledefList)); 
     134 
     135        //$this->updateFields("files", array("roleid"=>$this->roleList)); 
    130136        //$this->updateFields("menu", array("parentid"=>$menuList, "roleid"=>$this->roleList)); 
    131137        //$this->updateFields("smartsearches", array("tabledefid"=>$this->tabledefList, "moduleid"=>$this->moduleList)); 
  • trunk/phpbms/install/updatev0.98.sql

    r569 r570  
    232232--end usersearches ALTER-- 
    233233 
     234--files UPDATE-- 
     235UPDATE `files` SET 
     236    `uuid`='file:ad761197-e5a2-3fdf-f330-d1508f10813e', 
     237    `roleid` = 'Admin' 
     238WHERE 
     239    `id`='1'; 
     240--end files UPDATE-- 
    234241--menu INSERT-- 
    235242DELETE FROM `menu`; 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.