Files
opengenesislinkserver/OpenSim/Data/MySQL/Resources/InventoryStore.migrations
T
OpenGenesis (MPL 2.0) 7224b235ef feat(inventory): persistent Firestorm thumbnail upload and metadata (#124)
* feat(inventory): add authentic Firestorm InventoryThumbnailUpload two-stage JPEG2000 texture asset cap

* build(inventory): compile Firestorm thumbnail upload module in LindenCaps assembly

* docs(config): enable proper Firestorm inventory JPEG2000 upload capability by default

* test(inventory): enforce two-stage Firestorm thumbnail caps, ownership and non-temporary JPEG2000 storage

* ci(inventory): validate Firestorm thumbnail-cap registration and secure two-phase upload

* docs(release): track actual Firestorm missing thumbnail capability, asset upload and pending inventory association

* fix(inventory): disambiguate StructuredData OSDMap in Firestorm thumbnail module

* feat(inventory): add durable per-item and per-folder thumbnail UUID fields

* feat(inventory): add durable per-item and per-folder thumbnail UUID fields

* feat(inventory): add durable per-item and per-folder thumbnail UUID fields

* feat(inventory): add durable per-item and per-folder thumbnail UUID fields

* feat(inventory): round-trip thumbnail fields through XInventoryService and preserve on system-folder version updates

* db(inventory): migrate item/folder thumbnail UUIDs without dropping existing data

* db(inventory): migrate item/folder thumbnail UUIDs without dropping existing data

* db(inventory): migrate item/folder thumbnail UUIDs without dropping existing data

* feat(inventory): attach uploaded thumbnail UUID persistently to owned item/folder metadata

* feat(inventory): transmit persistent Firestorm thumbnail asset_id metadata on inventory fetch

* feat(inventory): transmit persistent Firestorm thumbnail asset_id metadata on inventory fetch

* test(inventory): verify durable thumbnail roundtrip, viewer LLSD and all three database migrations

* docs(release): record durable thumbnail metadata, additive DB migrations and mandatory relog test

* feat(inventory): carry thumbnail IDs in remote XInventory item/folder CRUD and fetch responses

* feat(inventory): persist/retrieve thumbnail UUID over Robust XInventory HTTP protocol

* test(inventory): verify thumbnail survives simulator↔Robust HTTP connector roundtrip

* docs(release): require coordinated Robust and simulator rollout for HTTP inventory thumbnail persistence

* test(inventory): execute SQLite thumbnail schema upgrade against existing inventory content

* docs(inventory): provide screenshot-specific Firestorm and outfit diagnostics plus safe schema rollout

* fix(inventory): require current root circuit and reject unsafe cross-grid thumbnail writes

* test(inventory): ensure thumbnail uploads reject HG guest inventories and stale root-agent circuits

* docs(inventory): clarify HG thumbnail ownership isolation in multi-grid deployments
2026-10-09 22:43:15 +02:00

54 lines
2.2 KiB
Plaintext

:VERSION 7 # ------------
BEGIN;
CREATE TABLE IF NOT EXISTS `inventoryitems` (
`assetID` varchar(36) DEFAULT NULL,
`assetType` int(11) DEFAULT NULL,
`inventoryName` varchar(64) DEFAULT NULL,
`inventoryDescription` varchar(128) DEFAULT NULL,
`inventoryNextPermissions` int(10) unsigned DEFAULT NULL,
`inventoryCurrentPermissions` int(10) unsigned DEFAULT NULL,
`invType` int(11) DEFAULT NULL,
`creatorID` varchar(255) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
`inventoryBasePermissions` int(10) unsigned NOT NULL DEFAULT '0',
`inventoryEveryOnePermissions` int(10) unsigned NOT NULL DEFAULT '0',
`salePrice` int(11) NOT NULL DEFAULT '0',
`saleType` tinyint(4) NOT NULL DEFAULT '0',
`creationDate` int(11) NOT NULL DEFAULT '0',
`groupID` varchar(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
`groupOwned` tinyint(4) NOT NULL DEFAULT '0',
`flags` int(11) unsigned NOT NULL DEFAULT '0',
`inventoryID` char(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
`avatarID` char(36) DEFAULT NULL,
`parentFolderID` char(36) DEFAULT NULL,
`inventoryGroupPermissions` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`inventoryID`),
KEY `inventoryitems_avatarid` (`avatarID`),
KEY `inventoryitems_parentFolderid` (`parentFolderID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `inventoryfolders` (
`folderName` varchar(64) DEFAULT NULL,
`type` smallint(6) NOT NULL DEFAULT '0',
`version` int(11) NOT NULL DEFAULT '0',
`folderID` char(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
`agentID` char(36) DEFAULT NULL,
`parentFolderID` char(36) DEFAULT NULL,
PRIMARY KEY (`folderID`),
KEY `inventoryfolders_agentid` (`agentID`),
KEY `inventoryfolders_parentFolderid` (`parentFolderID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
COMMIT;
:VERSION 8
-- OpenGenesisLINK 0.9.3.10 Firestorm inventory/outfit thumbnail metadata.
-- Backfill existing inventories with the null asset UUID.
ALTER TABLE inventoryitems
ADD COLUMN thumbnailID varchar(36) NOT NULL
DEFAULT '00000000-0000-0000-0000-000000000000';
ALTER TABLE inventoryfolders
ADD COLUMN thumbnailID varchar(36) NOT NULL
DEFAULT '00000000-0000-0000-0000-000000000000';