Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | minor: Make log class names in InventoryAccessModule uniform | Justin Clark-Casey (justincc) | 2012-05-23 | 1 | -10/+10 |
| | |||||
* | Fix bug where an avatar that had an object they owned attached through ↵ | Justin Clark-Casey (justincc) | 2012-05-23 | 1 | -23/+36 |
| | | | | | | | llAttachToAvatar() or osForceAttachToAvatar() would wrongly have next permissions come into play when they detached that object and rezzed it in scene. This is because the attachments module code was setting the 'object slam' bit by using PermissionMask.All Solution here is to route the attachment item creation call through the existing inventory code in BasicInventoryAccessModule rather than copy/pasted code in AttachmentsModule itself. | ||||
* | Add regression test for teleporting between neighbouring regions on the same ↵ | Justin Clark-Casey (justincc) | 2012-05-01 | 1 | -3/+4 |
| | | | | | | | simulator This adds a non-advertised wait_for_callback option in [EntityTransfer]. Default is always true. Teleport tests disable the wait for callback from the destination region in order to run within a single thread. | ||||
* | Add regression test for teleporting an agent between separated regions on ↵ | Justin Clark-Casey (justincc) | 2012-04-27 | 1 | -1/+1 |
| | | | | | | | | the same simulator. This involves a large amount of change in test scene setup code to allow test scenes to share shared modules SetupScene is now an instance method that requires an instantiation of SceneHelpers, though other SceneHelpers methods are still static May split these out into separate classes in the future. | ||||
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim | Diva Canto | 2012-04-06 | 1 | -4/+4 |
|\ | |||||
| * | Rather than having a FromFolderID property on every single prim and only ↵ | Justin Clark-Casey (justincc) | 2012-04-07 | 1 | -3/+3 |
| | | | | | | | | | | | | ever using the root prim one, store on SOG instead. This reduces pointless memory usage. | ||||
| * | Store FromItemID for attachments once on SOG instead of on every SOP and ↵ | Justin Clark-Casey (justincc) | 2012-04-07 | 1 | -1/+1 |
| | | | | | | | | | | | | only ever using the root part entry. This eliminates some pointless memory use. | ||||
* | | Moved the inventory manipulation from HGEntityTransferModule to ↵ | Diva Canto | 2012-04-06 | 1 | -3/+149 |
|/ | | | | HGInventoryAccessModule where it belongs. They need to exchange some events, so added those to EventManager. Those events (TeleportStart and TeleportFail) are nice to have anyway. | ||||
* | minor: small message adjustment and unnecessary code elimination when ↵ | Justin Clark-Casey (justincc) | 2012-03-31 | 1 | -1/+1 |
| | | | | notifying client of no build permission | ||||
* | fix Infinite loading on No Rez http://opensimulator.org/mantis/view.php?id=5932 | PixelTomsen | 2012-03-31 | 1 | -0/+5 |
| | |||||
* | More on HG inventory transfers. Move the FireAndForget higher up. | Diva Canto | 2012-03-09 | 1 | -1/+1 |
| | |||||
* | More on the freeze on HG inventory transfers: spawn a threadlet on the ↵ | Diva Canto | 2012-03-08 | 1 | -1/+1 |
| | | | | functional asset posts so that the client threads doesn't freeze (but the network posts are serialized). | ||||
* | HG: Remove async in posting assets to foreign grid. Mono hates concurrency ↵ | Diva Canto | 2012-02-25 | 1 | -1/+1 |
| | | | | there. | ||||
* | minor formatting changes from last commit (4486n7d) | Justin Clark-Casey (justincc) | 2012-02-16 | 1 | -4/+3 |
| | |||||
* | Fix: Object owned by the group does not return to the last owner ↵ | PixelTomsen | 2012-02-16 | 1 | -0/+6 |
| | | | | http://opensimulator.org/mantis/view.php?id=5404 | ||||
* | Fix bug where somebody taking a copy of an object they didn't own that was ↵ | Justin Clark-Casey (justincc) | 2012-02-10 | 1 | -2/+10 |
| | | | | | | rezzed before the region was restarted would wrongly place the copy in the object owner's inventory. Addresses http://opensimulator.org/mantis/view.php?id=5825 | ||||
* | When an asset is uploaded (e.g. a mesh) set individual copy/move/transfer ↵ | Justin Clark-Casey (justincc) | 2012-02-10 | 1 | -4/+15 |
| | | | | | | | | permissions, not PermissionMask.All Setting PermissionMask.All will cause next permissions to replace current permissions when the object is rezzed, since bit 4 will be set. This is not correct behaviour for a freshly uploaded mesh. Freshly rezzed in-world prims also do not have bit 4 set (don't yet know exactly what this is). Should resolve http://opensimulator.org/mantis/view.php?id=5651 | ||||
* | HG: normalize all externalized user ULRs to be the Home URL, i.e. the ↵ | Diva Canto | 2012-01-12 | 2 | -8/+11 |
| | | | | location of the user's UAS. This corrects an earlier design which had some cases pointing to the profile server. WARNING: CONFIGURATION CHANGES in both the sims (*Common.ini) and the Robust configs (Robust.HG.ini). Please check diff of the example files, but basically all vars that were pointing to profile should point to the UAS instead and should be called HomeURI. | ||||
* | Added UserManagementModule.IsLocalGridUser(UUID) to be used throughout ↵ | Diva Canto | 2011-12-29 | 1 | -7/+3 |
| | | | | region Scenes and Modules. Changed existing modules to use it instead of assuming that foreign = null account. | ||||
* | HG: one more adjustment with trailing /s | Diva Canto | 2011-12-23 | 1 | -2/+8 |
| | |||||
* | Add Enabled switch in new [Attachments] section in OpenSimDefaults.ini to ↵ | Justin Clark-Casey (justincc) | 2011-09-30 | 1 | -1/+0 |
| | | | | | | allow attachments to be temporarily turned off. This is for debugging purposes. Defaults to Attachments Enabled | ||||
* | Use scene presence agent id for rezzed object ownership rather than item owner. | Justin Clark-Casey (justincc) | 2011-09-08 | 1 | -7/+12 |
| | | | | These should be identical. However, the item isn't available when rezzing npc attachments. | ||||
* | Stop NPCs losing attachments when the source avatar takes them off. | Justin Clark-Casey (justincc) | 2011-09-03 | 1 | -32/+35 |
| | | | | | | | This was happening because we were using the source avatar's item IDs in the clone appearance. Switch to using the asset IDs of attachments instead for NPCs. The InventoryAccessModule and AttachmentModule had to be changed to allow rezzing of an object without an associated inventory item. Hopefully goes some way towards resolving http://opensimulator.org/mantis/view.php?id=5653 | ||||
* | Remove redundant RootPart.CreatedSelected = true in IAM.RezObject() since ↵ | Justin Clark-Casey (justincc) | 2011-09-02 | 1 | -2/+0 |
| | | | | this is done through parts iteration | ||||
* | Go back to resetting the State parameter for all parts of a SOG when ↵ | Justin Clark-Casey (justincc) | 2011-09-02 | 1 | -5/+8 |
| | | | | | | | SOG.ClearPartAttachmentData() is called. Even though we don't use these on rez they are still present after an unlink, after which selecting them causes various viewers to crash Hopefully really does address http://opensimulator.org/mantis/view.php?id=5664 | ||||
* | stop passing FromUserInventoryItemID right down into the deserializer. | Justin Clark-Casey (justincc) | 2011-09-02 | 1 | -4/+2 |
| | | | | the code becomes simpler if this is set from the outside - only one place needs to do this. | ||||
* | Move more of IAM.RezObject() into DoPreRezWhenFromItem() | Justin Clark-Casey (justincc) | 2011-09-02 | 1 | -24/+27 |
| | |||||
* | move more of IAM.RezObject() into DoPreRezWhenFromItem() | Justin Clark-Casey (justincc) | 2011-09-02 | 1 | -63/+85 |
| | |||||
* | factor out a section of IAM.RezObject() into DoPreRezWhenFromItem() | Justin Clark-Casey (justincc) | 2011-09-02 | 1 | -40/+48 |
| | |||||
* | refactor: factor out DoPostRezWhenFromItem() from IAM.RezObject() | Justin Clark-Casey (justincc) | 2011-09-01 | 1 | -3/+8 |
| | |||||
* | remove the pointless m_Scene.GetNewRezLocation() call at the top of ↵ | Justin Clark-Casey (justincc) | 2011-09-01 | 1 | -7/+4 |
| | | | | IAM.RezObject() since its always recalculated later on anyway | ||||
* | refactor: Move sanity checks to the top of IAM.RezObject() to make the code ↵ | Justin Clark-Casey (justincc) | 2011-09-01 | 1 | -219/+215 |
| | | | | more readable | ||||
* | use group.RootPart in IAM.RezObject() rather than ↵ | Justin Clark-Casey (justincc) | 2011-09-01 | 1 | -1/+1 |
| | | | | group.GetChildPart(group.UUID); | ||||
* | Remove pointless NRE check in IAM.RezObject() since this can never occur | Justin Clark-Casey (justincc) | 2011-09-01 | 1 | -15/+1 |
| | |||||
* | Remove code which was automatically deleting non-root prims from scene ↵ | Justin Clark-Casey (justincc) | 2011-09-01 | 1 | -0/+4 |
| | | | | | | | objects that had previous been attachments. Looks like this code was accidentally uncommented in e1b5c612 from feb 2010. Appears to resolve the rest of http://opensimulator.org/mantis/view.php?id=5664 | ||||
* | refactor: move SOP.IsAttachment and AttachmentPoint up into SOG to avoid ↵ | Justin Clark-Casey (justincc) | 2011-08-27 | 1 | -1/+1 |
| | | | | pointless duplication of identical values | ||||
* | Add new regression TestRezAttachmentsOnAvatarEntrance() to do simple ↵ | Justin Clark-Casey (justincc) | 2011-08-17 | 1 | -0/+12 |
| | | | | attachments check | ||||
* | rename TestHelper => TestHelpers for consistency | Justin Clark-Casey (justincc) | 2011-08-06 | 1 | -2/+2 |
| | |||||
* | rename test SceneSetupHelpers -> SceneHelpers for consistency | Justin Clark-Casey (justincc) | 2011-08-06 | 1 | -5/+5 |
| | |||||
* | Remove manually permissions settings on all current library items so that ↵ | Justin Clark-Casey (justincc) | 2011-07-23 | 1 | -0/+4 |
| | | | | | | | they use the defaults instead. Some items had completely wrong permissions - this is easier than correcting them all. The ability to set permissions in xml is retained since there are use cases for this (e.g. to create no-mod library scripts) | ||||
* | Revert "Don't load current/next/everyone/base permissions from the library ↵ | Justin Clark-Casey (justincc) | 2011-07-23 | 1 | -4/+0 |
| | | | | | | | | item xml files - always use PermissionMask.All instead (which was the existing default)." There actually are uses for this. I will correct the perms instead since some entries appear to be wrong. This reverts commit 667b54f5a2a04fa5a2859397868d270eab3913f1. | ||||
* | Don't load current/next/everyone/base permissions from the library item xml ↵ | Justin Clark-Casey (justincc) | 2011-07-23 | 1 | -0/+4 |
| | | | | | | files - always use PermissionMask.All instead (which was the existing default). Library items always need the same permissions, so it doesn't make sense to load them from the xml files. This just opens the door to permissions mistakes. | ||||
* | minor: remove mono compiler warnings | Justin Clark-Casey (justincc) | 2011-07-16 | 1 | -2/+5 |
| | |||||
* | fix bug where opening a library script would fail | Justin Clark-Casey (justincc) | 2011-07-08 | 1 | -2/+2 |
| | |||||
* | refactor: rename bool returning GetAgentInventoryItem() to ↵ | Justin Clark-Casey (justincc) | 2011-07-08 | 1 | -1/+1 |
| | | | | CanGetAgentInventoryItem() to improve code readability | ||||
* | Added prefix HG to the name of the landmark item in inventory, as a soft ↵ | Diva Canto | 2011-06-03 | 2 | -4/+11 |
| | | | | reminder that the landmark belongs to a place in another grid. People can change the name, but that's their decision. | ||||
* | HG Landmarks now working. | Diva Canto | 2011-06-03 | 1 | -1/+1 |
| | |||||
* | HG Landmarks being created. WARNING: new config var under ↵ | Diva Canto | 2011-06-03 | 2 | -2/+20 |
| | | | | [HGInventoryAccessModule], Gatekeeper. | ||||
* | Moved CreateNewInventoryItem to the InventoryAccessModule in preparation for ↵ | Diva Canto | 2011-06-03 | 1 | -1/+78 |
| | | | | supporting HG landmarks. | ||||
* | Added necessary code to drop inventory on hg friends using the profile ↵ | Diva Canto | 2011-05-24 | 1 | -4/+10 |
| | | | | window, but can't test because this mechanism doesn't seem to work without a profile service. |