aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * 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
|
* Unclutter rezzing methods by removing the ad hoc permissions parameters.Melanie Thielker2008-10-041-16/+7
| | | | | | Thise were client supplied untrusted values we never used anyway.
* Guard against negative scale set through LSL functionsMelanie Thielker2008-10-041-0/+5
|
* Add "Drop" functionality to pie menuMelanie Thielker2008-10-041-0/+31
|
* Fix: Mantis#2326: Fix: privilege escalation through attach from groundMelanie Thielker2008-10-031-42/+27
| | | | | | | | | | Fix: objects being duplicated inventory on detach. Fix: Mad jumping around of attachments while editing. Fix: Attachments being persisted to database on login. Fix: Attachments being persisted when changed by a script like invisprim refresh. Fix: Attachpoint set, but not reset correctly. Fix: prevent spurious full updates while editing attachments. Several other fixes
* * refactor: move asynchronous scene object deletion to inventory queueing ↵Justin Clarke Casey2008-09-291-83/+18
| | | | out to a separate class
* And actually do what I intended to do with the last commit. Message is gone.Melanie Thielker2008-09-261-5/+5
|
* Kill "Compile successful" message when rezzing prims/wearing attachmentsMelanie Thielker2008-09-261-2/+3
| | | | | | | Changes behavior to send on_rez event to prims when rezzed from agent inventory.
* * Patch from JHurlimanTeravus Ovares2008-09-261-2/+2
| | | | | | | | | * Updates to libomv r2243, * Remove lots of unnecessary typecasts * Improves SendWindData() Thanks jhurliman. * Will update OpenSim-libs in 10 minutes..
* * Implment task inventory item asset update for the old non CAPS transaction ↵Justin Clarke Casey2008-09-261-6/+7
| | | | | | | | | | | system * This means that saving notecards in prim inventories should now work. * Not the nicest code in the world - the transactions system is pretty fugly right now * PLEASE NOTE: Currently, the prim will not repersist until up to 15 seconds after it is unselected. * What we really need is a proper mechanism so that any prim updates still waiting when the simulator is quit are performed before exit.
* Add an extension to allow registering multiple interfaces of a type withMelanie Thielker2008-09-251-0/+6
| | | | | | | | | | Scene. Make the script engines check that the engine name in the //Engine:language comment is a valid engine and treat it as a normal comment if it's not. //DotNetEngine: needs to be written as //ScriptEngine.DotNetEngine: now, since that is it's real internal name. //XEngine: still works
* Convergence is almost complete. This brings the diff between the API to < 10kMelanie Thielker2008-09-251-11/+8
| | | | | | | | and makes it use a common set of types in both engine. Fixes the issues with running both engines and HTTP requests / listens / timers etc.. Also fixes a couple of minor Scene issues and a CTB by nullref.
* Update svn properties, formatting cleanup.Jeff Ames2008-09-231-7/+7
|