aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-02-27Fix a few little thingsMelanie1-0/+2
2011-01-12Dont' trust the viewer! Fix a permission slam error caused by trustingMelanie1-1/+0
the viewer too much.
2011-01-12Fix direct item give permissionsMelanie1-5/+39
2011-01-12Partial permissions fix for boxed items.Melanie1-0/+10
2010-12-30Fix up a prior fix (refix the fixed fix :)Melanie1-1/+1
2010-12-23* Cleanup from a commit a while ago.Teravus Ovares (Dan Olivares)1-4/+10
2010-12-21Make prim inventories a bit more saneMelanie1-17/+6
2010-11-25WARNING: LOTS OF CONFIGURATION CHANGES AFFECTING PRIMARILY HG CONFIGS. Added ↵Diva Canto1-0/+4
capability to preserve creator information on HG asset transfers. Added a new HGAssetService that is intended to be the one outside the firewall. It processes and filters the assets that go out of the grid. Also fixed the normal AssetService to do special things for the main instance (console commands, etc). Moved HGInventoryService to OpenSim.Services.HypergridService. Changed the way the login service gets the ServiceURL configs.
2010-11-22add basic tests to check that under default permissions module owner can ↵Justin Clark-Casey (justincc)1-2/+7
delete objects and that non-owners (who are also not administrators, etc.) cannot
2010-11-21Added creator info across the board -- TaskInventoryItems and InventoryItems ↵Diva Canto1-7/+13
themselves. Tested. Seems to be working, main tests pass. Nothing done for IARs or HG transfers yet -- this only works for OARs for the time being. New migration in inventory table in order to make CreatorID varchar(255).
2010-10-06Plumb the path for multiple object deletesMelanie1-35/+9
2010-09-27Restrict inventory items added in a transaction to folder belongingMelanie1-0/+6
to the connected client.
2010-09-21Refactor script create permission into the perms moduleMelanie1-10/+0
2010-09-16Changed SceneObjectGroup to store parts with the fast and thread-safe ↵John Hurliman1-6/+2
MapAndArray collection
2010-09-12Formatting cleanup.Jeff Ames1-6/+6
2010-09-10First pass at cleaning up thread safety in EntityManager and SceneGraphJohn Hurliman1-1/+2
2010-09-07Fix deletion persistence when freshly delinked prims are removedJustin Clark-Casey (justincc)1-6/+1
Previously, Scene.Inventory.DeRezObjects() forced the persistence of prims before deletion. This is necessary so that freshly delinked prims can be deleted (otherwise they remain as parts of their old group and reappear on server restart). However, DeRezObjects() deleted to user inventory, which is not required by llDie() or direct region module unlink and deletion. Therefore, forced persistence has been pushed down into Scene.UnlinkSceneObject() to be more general, this is still on the DeRezObjects() path. Uncommented TestDelinkPersistence() since this now passes. Tests required considerable elaboration of MockRegionDataPlugin to reflect underlying storing of parts.
2010-09-07Fix deletion persistence when freshly delinked prims are removedJustin Clark-Casey (justincc)1-6/+1
Previously, Scene.Inventory.DeRezObjects() forced the persistence of prims before deletion. This is necessary so that freshly delinked prims can be deleted (otherwise they remain as parts of their old group and reappear on server restart). However, DeRezObjects() deleted to user inventory, which is required by llDie() or direct region module unlink and deletion. Therefore, forced persistence has been pushed down into Scene.UnlinkSceneObject() to be more general, this is still on the DeRezObjects() path. Uncommented TestDelinkPersistence() since this now passes. Tests required considerable elaboration of MockRegionDataPlugin to reflect underlying storing of parts.
2010-09-04Move code that allows llGiveInvetory() to move item into appropriate system ↵Justin Clark-Casey (justincc)1-8/+40
folder up from connectors into Scene.Inventory.cs This fixes the problem for all architectures (hg as well as local and grid) and means we don't have to dupe code between connectors. Not ideal in that it becomes non-modular, but methods in Scene.Inventory.cs should eventually be modularized anyway.
2010-09-04Create Scene.Inventory.cs.AddInventoryItem(InventoryItemBase item)Justin Clark-Casey (justincc)1-8/+27
The agentID in AddInventoryItem(UUID agentID, InventoryItemBase item) is redundant since it's contained in item.Owner, and it doesn't make sense for agentID != item.Owner, hence the method is deprecated.
2010-08-31Adjust the "Magic numbers" we use because we can't reference the actualMelanie Thielker1-1/+1
script state enum to reflect recent changes.
2010-08-28Improve liveness by operating on list copies of SOG.Children where appropriateJustin Clark-Casey (justincc)1-10/+12
2010-08-26refactor: Move Scene.Inventory.UpdateKnownItem() into Attachments module ↵Justin Clark-Casey (justincc)1-47/+0
since this appears to relate solely to attachments
2010-08-26Improve consistency of locking for SOG.m_parts in order to avoid race ↵Justin Clark-Casey (justincc)1-8/+13
conditions in linking and unlinking
2010-08-25refactor: Push item retrieval and fixing part of Scene.RezObject() down into ↵Justin Clark-Casey (justincc)1-53/+6
SceneObjectPartInventory
2010-08-24Split out actual scene object insertion code from Scene.Inventory.RezObject ↵Justin Clark-Casey (justincc)1-24/+9
and move into SceneGraph.AddNewSceneObject() The new SceneGraph method is more consumable by region modules that want to extract objects from inventory and add them to the scene in separate stages. This change also reduces the number of redundant client updates scheduled when an object is rezzed directly by a script or region module This code does not touch direct rez by a user
2010-08-24refactor: make RezObject() more readableJustin Clark-Casey (justincc)1-69/+68
2010-08-24Add automated test at the opensim 'api' level to check that a given item ↵Justin Clark-Casey (justincc)1-1/+1
goes to the correct directory Also removes some mono compiler warnings
2010-08-23minor: some doc for the MoveTaskInventoryItem method in Scene.Inventory.csJustin Clark-Casey (justincc)1-1/+5
2010-08-23Remove various warnings and improve logging messages. No functional changes.Justin Clark-Casey (justincc)1-2/+4
2010-08-19minor: Correct string format in "Can't find linkset root prim" messageJustin Clark-Casey (justincc)1-1/+1
2010-08-13refactor: move binary statistics logging from scene into separate region moduleJustin Clark-Casey (justincc)1-4/+5
2010-08-13refactor: move Scene.PerformObjectBuy into BuySellModuleJustin Clark-Casey (justincc)1-1/+1
2010-07-20When a god uses mass permission setting, the V bit is cleared from nextMelanie Thielker1-4/+7
perms, rendering the item unmoveable for the next owenr. Make god mods conform to the rules, too.
2010-07-20prevent hacked viewers from being able to delete arbitrary items from anyMelanie Thielker1-3/+18
prim. Allow friends with perms and shared group members to move or copy things out of prims
2010-07-20Fix a few permissions vulnerability. Owners could cause permissionsMelanie Thielker1-3/+32
escalation on items contained in prims using a hacked viewer
2010-07-14Fixes mantis #4870.Diva Canto1-1/+7
2010-07-14Fix a permissions issueMelanie Thielker1-4/+11
2010-07-14Revert "More on mantis #4869. This fixes the problem of objects showing up ↵Melanie1-7/+0
as no copy when they are copy-able. It works, but I have no idea what I'm doing." Cuauses a permission escalation. do NOT USE the preceding commit
2010-07-14Removed left-over debug messages.Diva Canto1-3/+1
2010-07-14More on mantis #4869. This fixes the problem of objects showing up as no ↵Diva Canto1-0/+9
copy when they are copy-able. It works, but I have no idea what I'm doing.
2010-07-13Revamp the permissions propagation. This MAY mess up. Please test.Melanie1-35/+99
Change the slam bit from 3 to 4. Assume the old slam bit is always set. The new slam bit is a "changed owner" bit, correcting a bug where an item passed from the creator to another with less than full perms, then back (sale test) would arrive back full perm. Lots of in-code docs.
2010-07-05One more buglet fixed related to mantis #4841 -- auto-returns were still ↵Diva Canto1-1/+1
chocking on a null pointer exception.
2010-07-04Fixes the obvious problem in mantis #4841. Melanie needs to look at other ↵Diva Canto1-1/+2
potential problems there, though.
2010-07-02Clean up IMoneyModule and adjust the other modules to the changesMelanie Thielker1-1/+1
2010-06-29Fix a nullref on autoreturnMelanie1-5/+17
2010-06-27Fix more perms weirdness. Preserve "Locked" status across gives and rez/take.Melanie1-8/+9
Preserve "Anyone can move" flag in most cases.
2010-06-27Fix permission propagation to prevent permanently locked objects from beingMelanie1-3/+3
created.
2010-06-11Inventory offers and subsequent notifications of acceptance/decline now ↵Diva Canto1-1/+1
working across the board.
2010-06-09Bug fix in attachments: when attaching from inworld the item's ↵Diva Canto1-1/+5
parentFolderID was wrong.