aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Cause permissions on root prims to not override folded permissions anymoreMelanie Thielker2009-01-121-4/+10
| | | | | | | Fix propagation of folded permissions from object inventory to agent inventory.
* Revert progressive texture patch from r8001 until issues can be addressedDahlia Trimble2009-01-101-69/+70
|
* Thanks jhurliman for a patch that implements progressive texture downloading ↵Dahlia Trimble2009-01-101-1/+0
| | | | - Mantis #2655
* * Remove mono compiler warningsJustin Clarke Casey2008-12-301-8/+1
| | | | | | * Leaving the 23 warnings in ChildAgentDataUpdate.cs for Diva to look at
* Revamp the return logic to close a privilege escalation loophole.Melanie Thielker2008-12-281-46/+143
| | | | | | | | Estate owner / Master avatar returns would place the item in the returner's inventory rather than the owner's if the owner was not in sim.
* Fix attachment persistence which got broken with some inventoryMelanie Thielker2008-12-171-1/+6
| | | | | | changes a few revs back.
* * Implement 'Save Object Back to My Inventory'. On the Linden client this ↵Justin Clarke Casey2008-12-171-60/+110
| | | | | | | | | is in the Tools menu available when editing an object * This facility allows you to save changes to an object that you've rezzed into a region back into their original inventory item without having to take a copy of the rezzed object.
* Attempt at restoring inventory access after TPs/crossings. RemoveClient in ↵diva2008-12-151-1/+5
| | | | | | | | Scene was being too aggressive at nixing the user out of the cache. We're now relying on NeedSceneCacheClear to decide whether to nix it or not. All other mods in other files are for better debugging messages.
* * minor: method documentation and miscellaneous tidyJustin Clarke Casey2008-12-151-20/+24
|
* Make scripted item and folder gives pop up a "accept, decline" messageMelanie Thielker2008-12-141-7/+12
| | | | | | and allow deletion of the just received item.
* * refactor: Stop exposing InventoryFolderImpl.SubFolders publiclyJustin Clarke Casey2008-12-111-3/+7
|
* Make object return actually use the CanReturnObject permission, rather thanMelanie Thielker2008-12-111-9/+3
| | | | | | the CanDelete one.
* * minor: remove some old logging messagesJustin Clarke Casey2008-12-091-2/+4
|
* Allow no-copy attachments to be worn without losing themMelanie Thielker2008-12-051-3/+7
|
* * Put in the code necessary to allow inventory transfer of whole folders ↵Justin Clarke Casey2008-12-041-4/+115
| | | | | | | | (and their contents) between agents, not just single items * However, this is not currently activated since it's not absolutely fully tested and there's a bug lurking in there to do with the sending of the BulkInventoryUpdate packets
* Start scripts in attachments only after a successful attach. ElimininateMelanie Thielker2008-11-291-2/+3
| | | | | | a gratuitious asset fetch when region crossing.
* * refactor: Replace derez destiation magic numbers with an enumerationJustin Clarke Casey2008-11-281-19/+19
|
* Reinstate a check that i overzealously removed. Permissions are not slammedMelanie Thielker2008-11-281-1/+1
| | | | | | without owner change anymore
* Unconditionally set the slam bit oon all object to agent inventory transfers.Melanie Thielker2008-11-271-1/+1
| | | | | | Closes a possible exploit with prims containing other prims
* * Swaps Scene.Entities Dictionary for EntityManager.Adam Frisby2008-11-241-1/+1
| | | | | | * Important Changes: Scene.Entities is now IEnumerable directly. You do not need to use Entities.Values, you can Enumerate on .Entities directly. (So 'foreach Scene.Entities' vs 'foreach Scene.Entities.Values'). * Locks: Entities maintains it's own internal locking states. This means you do not need to lock entities anymore. I'll be going through and removing locks on it systematically.
* Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make allMelanie Thielker2008-11-211-33/+33
| | | | | | the internals of the permissions module adapter sane
* * refactor: Rip out SOP inventory from the partial into a separate classJustin Clarke Casey2008-11-211-20/+20
| | | | | | | | * SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life * A proper inventory interface to follow * Parallel changes for other inventory partial classes to follow at a later date
* Fully implement object return from the parcel dialogMelanie Thielker2008-11-211-136/+8
|
* Reverting the texture sending patch and the new libOMV. This makes thisMelanie Thielker2008-11-191-0/+1
| | | | | | | | | release a direct descendant of the stable 7364, with all the features and none of the issues. This omits the following patch chain: r7383 r7382 r7381 r7377 r7375 r7373 r7372 r7370 r7369 r7368 r7367 r7366
* Fix deleting object that have been persisted already from the DBMelanie Thielker2008-11-191-1/+2
|
* Patch from jhurliman. Fixing the texture decoding issues in progressiveMelanie Thielker2008-11-181-1/+0
| | | | | | texture sending. Grain of salt not included.
* Set group on newly rezzed objects to the rezzer's (or rezzing object's)Melanie Thielker2008-11-171-0/+3
| | | | | | group
* * minor: eliminate propogation of now unused permissionToDelete flagJustin Clarke Casey2008-11-171-3/+1
|
* * Fix probable partial breakage of delete to inventory in last commitJustin Clarke Casey2008-11-171-5/+1
| | | | | | * Not nulling out parts and the root part allows the code to be simplified
* * Stop nulling SOG.m_rootPart and parts on object deletionJustin Clarke Casey2008-11-171-2/+2
| | | | | | | | | | * This renders RootPart == null checks useless - the replacement is to check SOG.IsDeleted. However, in many cases this will not be necessary since updates to deleted parts will not be sent to the client * This should remove any remaining race conditions where an object is deleted while another thread is yet to obtain the root part to perform some operation * Doing this is probably a necessary prerequisite to moving to a model without a separate SOG and SOP * Unfortunately it's not possible to eliminate all RootPart == null checks since in some contexts it is currently used to check whether an object was created successfully
* Make return object actually use the return object permissionsMelanie Thielker2008-11-161-1/+1
|
* Update svn properties, minor formatting cleanup.Jeff Ames2008-11-151-2/+2
|
* Add group permissions to agent inventory.Melanie Thielker2008-11-141-8/+23
| | | | | | | | | | Contains a migration. May contain nuts. Please back up your inventory data store. This revision changes the interface version!! No older regions can connect to these new UGAIM, and the new regions can't connect to the old UGAIM. Fixes a long-standing issue of permissions loss Currently persisted on MySQL only.
* Reapplying a revised version of Christopher Yeoh's (IBM) patch for allowMelanie Thielker2008-11-141-6/+13
| | | | | | | inventory drop. Also adds a new flags, "propagate_permissions" to OpenSim.ini to control that feature.
* * Hook up create new object event in the permissions moduleJustin Clarke Casey2008-11-141-1/+1
| | | | | | | * Switch default for serverside_object_permissions from false to true - it seems more natural that we enforce permissions by default rather than not! * Add some explanation in OpenSim.ini.example for serverside_object_permissions
* reverting #7295, as it still fails a test case (as pointed out veryDr Scofield2008-11-141-12/+6
| | | | | | | | kindly by sean) --- lesson learned: just running a "make test" is not sufficient, you need to precede it by a "make clean".
* From: Christopher Yeoh <cyeoh@au1.ibm.com>Dr Scofield2008-11-141-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes llAllowInventoryDrop work with the permissions module enabled. Changes include: - Enabled PropagatePermissions when permissions module serverside perms is on - change ownership of item when item is dropped into an object. Ownership changes to the owner of the object the item is dropped into - propagation of permissions if the permissions module enabled (eg next-owner mask applied) - CHANGED_ALLOWED_DROP is now passed to the change script event if an item was allowed to be dropped into the object only because llAllowInventoryDrop is enabled (instead of CHANGED_INVENTORY being passed). - Sets object flags correctly when llAllowInventoryDrop is called so clients are notified immediately of the change in state. Am not sure that calling aggregateScriptEvents is the right way to do it, but it works and seems to be the only way without making further changes to update LocalFlags
* * Rename all the previous methods to be User rather than Avatar (for extra ↵Justin Clarke Casey2008-11-131-1/+1
| | | | | | | | | | | bonus points) public bool ExternalChecksCanCreateUserInventory(int invType, UUID userID) public bool ExternalChecksCanCopyUserInventory(UUID itemID, UUID userID) public bool ExternalChecksCanCopyUserInventory(UUID itemID, UUID userID) public bool ExternalChecksCanDeleteUserInventory(UUID itemID, UUID userID)
* * Add Justin Clarke Casey2008-11-131-9/+9
| | | | | | | | | | | public bool ExternalChecksCanCreateAvatarInventory(int invType, UUID userID) public bool ExternalChecksCanCopyAvatarInventory(UUID itemID, UUID userID) public bool ExternalChecksCanCopyAvatarInventory(UUID itemID, UUID userID) public bool ExternalChecksCanDeleteAvatarInventory(UUID itemID, UUID userID) to ExternalChecks to handle avatar inventory checks (as opposed to object inv checks). * opensim-dev e-mail to follow concerning this shortly
* * refactor: rename object inventory permission checks to distinguish between ↵Justin Clarke Casey2008-11-131-1/+2
| | | | task inventory and agent inventory
* Make scripts in objects rezzed from script compile synchronously to closeMelanie Thielker2008-11-131-1/+1
| | | | | | a timing gap. Still not 100%, but getting there
* * First part of a series of patchesJustin Clarke Casey2008-11-131-12/+12
| | | | | | | * Intension is to provide a way to lock down script creation to administrators/gods only * Defaults will remain as they are at the moment
* * refactor: as per a recent opensim-dev thread, rename InnerScene to ↵Justin Clarke Casey2008-11-121-3/+4
| | | | SceneGraph to make it more descriptive of its intended function
* Revamp inventory transfer module, step 1. Inventory will now be saved ifMelanie Thielker2008-11-121-10/+21
| | | | | | | | destination user is offline/out of range. No more eternal cache is needed for tracking IDs. Code cleanup. Removed some casts from IScene to Scene. Decline now properly places item in trash rather than deleting it outright.
* * Create TestScene to get at the async object deleter for use in a future testJustin Clarke Casey2008-11-111-1/+1
|
* Mantis#2604. Thank you kindly, Diva for a patch that:Charles Krinke2008-11-111-4/+10
| | | | | | | | | | This patch changes a couple of methods in Scene.Inventory to virtual, so they can be overridden in subclasses. DeleteToInventory now returns the UUID of the newly created asset, so that further actions on it can be pursued in subclasses. This will make my life easier for making inventory accessible in the hypergrid.
* Stop attachments from causing an update to be sent on every frame in whichMelanie Thielker2008-11-101-2/+2
| | | | | | an avatar moves.
* Script region crossing. This has not user functionality, but lays all theMelanie Thielker2008-11-091-7/+7
| | | | | | groundwork.
* * refactor: allocate local ids to prims only when an object is attached to a ↵Justin Clarke Casey2008-11-071-3/+5
| | | | scene
* Attachments, attachments, and, did I say attachments?Melanie Thielker2008-11-071-8/+9
| | | | | | Too many fixes to list.