aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* - fixes comparison of struct against null (no no no)Dr Scofield2008-11-061-1/+1
| | | | | | | | | | - fixes IRCBridgeModule's XmlRpc method really paying attention to region parameter - cleans up indentation in IRCBridge code - fixes ConciergeModule exception on client logout
* - create entries in avatarattachments table when first attaching an object; ↵Mike Mazur2008-11-061-1/+36
| | | | | | | | | fix issue 2512 - correct attachment offset; fix issue 2513 - thanks Thomas for the patches
* Cause inventory to be fetched on scripted item gives if the destinationMelanie Thielker2008-11-021-0/+2
| | | | | | avatar is remote or offline.
* Correct the handling of the creator field on inventory givesMelanie Thielker2008-11-011-3/+3
|
* Fix thingd so that autoreturn also works when the user is not in the sim.Melanie Thielker2008-10-181-8/+19
| | | | | | Also add experimental distance ordering for prims
* Megapatch. :) Fix skull attachment editing. Streamline Object terse updates.Melanie Thielker2008-10-181-95/+107
| | | | | | | | Add rezzing time to objects. Add Object return and traffic fields to land database. Add plumbing for auto return. Implement auto return. Contains a migration. May contain nuts.
* * refactor: Move error logging from GetUserDetails up to callers, since ↵Justin Clarke Casey2008-10-151-0/+13
| | | | there are some circumstances in which not finding a user is not an error
* * Make KillObjectPackets reliableJustin Clarke Casey2008-10-141-0/+1
| | | | | | | * This may help http://opensimulator.org/mantis/view.php?id=2377 where large linksets do not always correctly delete - since a lost kill packet to the client could result in the symptoms described
* - move comment about assetID and 'attached' in inventory where it belongsMike Mazur2008-10-141-16/+15
| | | | | | - objectGroup isn't needed here, just use the passed in argument
* Fixed renaming of in-prim items (Mantis #2366)Homer Horwitz2008-10-091-1/+3
|
* Add some permissions checks and fixesMelanie Thielker2008-10-081-3/+24
|
* Implement ForceOwnerPermissive and God TakeCopyMelanie Thielker2008-10-061-0/+6
|
* Fix a number of errors in transfer of objectsMelanie Thielker2008-10-061-0/+1
|
* Implements ObjectOwner god mode packet (Set Owner To Me admin option)Melanie Thielker2008-10-061-0/+16
|
* Update svn properties, minor formatting cleanup.Jeff Ames2008-10-051-2/+2
|