aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-04-06Moved the inventory manipulation from HGEntityTransferModule to ↵Diva Canto3-150/+159
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.
2012-04-07Rather than having a FromFolderID property on every single prim and only ↵Justin Clark-Casey (justincc)1-3/+3
ever using the root prim one, store on SOG instead. This reduces pointless memory usage.
2012-04-07Store FromItemID for attachments once on SOG instead of on every SOP and ↵Justin Clark-Casey (justincc)1-1/+1
only ever using the root part entry. This eliminates some pointless memory use.
2012-04-06Deleted the unused and commented code from 2 commits ago.Diva Canto1-241/+1
2012-04-06WARNING: LOTS OF COMMENTED AND UNUSED CODE IN THIS COMMIT. This is on ↵Diva Canto1-21/+295
purpose; it's an historical record of what works and what doesn't wrt manipulating inventory at the viewer. I'll remove the unused code in a subsequent commit, but wanted to place it in history. The uncommented code works.
2012-04-03Eliminate race condition where many callers would check SOP.PhysicsActor != ↵Justin Clark-Casey (justincc)1-4/+4
null then assume it was still not null in later code. Another thread could come and turn off physics for a part (null PhysicsActor) at any point. Had to turn off localCopy on warp3D CoreModules section in prebuild.xml since on current nant this copies all DLLs in bin/ which can be a very large number with compiled DLLs No obvious reason for doing that copy - nothing else does it.
2012-03-31minor: small message adjustment and unnecessary code elimination when ↵Justin Clark-Casey (justincc)1-1/+1
notifying client of no build permission
2012-03-31fix Infinite loading on No Rez http://opensimulator.org/mantis/view.php?id=5932PixelTomsen1-0/+5
2012-03-28HG 2.0 Suitcase inventory: proof of concept now working properly with the ↵Diva Canto1-10/+11
heavy SendBulkInventoryUpdate message. Waiting for Melanie to finish the light-weight version of that message.
2012-03-28HG 2.0: added the beginning of HGSuitcaseInventoryService. Plus moved the ↵Diva Canto1-7/+61
hack away from ScenePresence. This is better but it still doesn't restore the inventory upon arrival.
2012-03-27HG: Switch root folders from under the viewer. Towards HG 2.0. This is ↵Diva Canto1-10/+44
guarded by an obscure config that no one but me should be using at this point.
2012-03-28Add "friends show cache <first-name> <last-name>" command for debugging ↵Justin Clark-Casey (justincc)1-0/+29
purposes. This adds a reverse lookup (name -> ID) to IUserManagement instead of hitting the UserAccountService directly.
2012-03-27User level based restrictions for HyperGrid teleports, asset uploads, group ↵Snoopy Pfeffer1-0/+15
creations and getting contacted from other grids. Incoming HyperGrid teleports can also be restricted to local users.
2012-03-27HG: beginning of a more restrictive inventory access procedure (optional). ↵Diva Canto2-3/+29
Experimental: we'll try switching the root folder from under the viewer.
2012-03-20HG Friends: allow the establishment of HG friendships without requiring ↵Diva Canto2-42/+54
co-presence in the same sim. Using avatar picker, users can now search for names such as "first.last@grid.com:9000", find them, and request friendship. Friendship requests are stored if target user is offline. TESTED ON STANDALONE ONLY.
2012-03-17Added GetUUID(first, last) on UserAgentsService so that we can finally make ↵Diva Canto2-7/+34
direct user connections.
2012-03-17Amend to previous commit: normalize strings ToLower.Diva Canto1-2/+6
2012-03-17More on HG access control. This commit splits the UserManagementModule into ↵Diva Canto2-40/+181
the Basic one and the HG one, so that we can do everything that needs to be done for HG ACLs to work without interfering with the vanilla opensim. For the moment, it finds foreign users who have left a trace in the region, e.g. an object. This makes it possible to ban/IM/etc these users using the regular avatar picker. TODO: contact the UAS directly given a name of the form First.Last @foo.com.
2012-03-17Moved HandleAvatarPickerRequest from the generic Scene.PacketHandlers to the ↵Diva Canto1-0/+62
UserManagementModule where it belongs. No functional changes.
2012-03-13Teleports: bounce off repeated requests of teleporting the same agent. Some ↵Diva Canto1-0/+13
scripts do that, and that fails the whole thing.
2012-03-09More on HG inventory transfers. Move the FireAndForget higher up.Diva Canto1-1/+1
2012-03-08More on the freeze on HG inventory transfers: spawn a threadlet on the ↵Diva Canto1-1/+1
functional asset posts so that the client threads doesn't freeze (but the network posts are serialized).
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)3-4/+5
<category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
2012-02-25HG: Remove async in posting assets to foreign grid. Mono hates concurrency ↵Diva Canto1-1/+1
there.
2012-02-23Add a position parameter to region crossing of objects. This avoids theMelanie1-5/+4
potential bad update that places an object at the opposite side of the origin sim for a moment before actually crossing it. Especially important in grids like OSG where lag between sims is high.
2012-02-19One more tweak related to the previous 2 commits.Diva Canto1-1/+3
2012-02-19A few more tweaks on position updates and create child agents. Mono hates ↵Diva Canto1-4/+8
concurrent uses of the same TCP connection, and even of the connections to the same server. So let's stop doing it. This patch makes movement much smoother when there are lots of neighbours.
2012-02-16minor formatting changes from last commit (4486n7d)Justin Clark-Casey (justincc)1-4/+3
2012-02-16Fix: Object owned by the group does not return to the last owner ↵PixelTomsen1-0/+6
http://opensimulator.org/mantis/view.php?id=5404
2012-02-10Fix bug where somebody taking a copy of an object they didn't own that was ↵Justin Clark-Casey (justincc)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
2012-02-10When an asset is uploaded (e.g. a mesh) set individual copy/move/transfer ↵Justin Clark-Casey (justincc)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
2012-01-31HG: This hopefully fixes the HG teleports back home to OSGrid. Looks like ↵Diva Canto1-1/+1
Uri.ToString() drops the port when it's port 80.
2012-01-28Send CHANGED_TELEPORT during local TP again - partially revert ↵Bo Iwu1-2/+1
cf73afec356eed30e169be3ce71edad89b4fdb37 Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-01-13Fix improper code formatting introduced in 6214e6a217cfBo Iwu1-24/+40
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-01-12Undo some prior workBlueWall1-93/+0
Move some added fuctions out of core into the addon module to keep things clean
2012-01-12Renamed one var and deleted commented code. No functional changes.Diva Canto1-33/+2
2012-01-12HG: normalize all externalized user ULRs to be the Home URL, i.e. the ↵Diva Canto2-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.
2012-01-12Allow update of stored entries within User Management Module-this is needed ↵Bo Iwu1-48/+52
for proper work of HG friends. See http://opensimulator.org/mantis/view.php?id=5847
2012-01-03Profile UpdatesBlueWall1-0/+93
Update basic profile to use the replaceable interface, making configuration less error-prone. Add support to query avatar's home user account and profile service for regions usng the updated OpenProfileModule with Hypergrid.
2011-12-29Added UserManagementModule.IsLocalGridUser(UUID) to be used throughout ↵Diva Canto3-10/+16
region Scenes and Modules. Changed existing modules to use it instead of assuming that foreign = null account.
2011-12-29HG: more adjustments for making HG Simian work. Added server_uri as new key ↵Diva Canto1-2/+3
on get_agent_home in UAS.
2011-12-23HG: one more adjustment with trailing /sDiva Canto1-2/+8
2011-12-23remove the old region crossing handlerMic Bowman1-10/+0
2011-12-22Fixes some problems with objects that attempt to cross a region boundaryMic Bowman1-0/+24
into a region that does not exist. This is particularly problematic for physical objects where the velocity continues to move them out of the region causing an infinite number of failed region crossings. The patch forces an object that fails a crossing to be non-physical and moves it back into the starting region.
2011-12-22Region crossings redone: (1) removed WaitForCallback. Now that we are ↵Diva Canto1-39/+32
passing the entire agent with attachs in one big message we don't necessarily need to wait for confirmation. The callback sometimes is problematic and it adds delay to the process. (2) Z velocity sent to the viewer = 0. This is an heuristic; the Z velocity usually is negative, and it makes the viewer move the avie down. This only matters while the agent is in transit and therefore not being physically simulated by neither region. As soon as the receiving region receives CompleteMovement from the viewer, the position and velocity get corrected.
2011-12-16Sends the consistent child agent position upon creation of the child agent ↵Diva Canto1-1/+12
in other regions, as opposed to <128, 128, 70>
2011-12-16HG minor bug fix and marked one method obsolete in UAS.Diva Canto1-1/+4
2011-12-03Add beginning of ScenePresenceAgentTests.TestCreateChildScenePresence()Justin Clark-Casey (justincc)1-1/+0
This required an option to be added to NullRegionData via ConnectionString for it to act as a non-static instance, so that regression tests (which only load this class once) don't get hopeless confused and complex to compensate. Normal standalone operation unaffected.
2011-12-02Stop some places where we're trying to reset animations in child agents ↵Justin Clark-Casey (justincc)1-100/+110
where such requests are ignored.
2011-11-29On "show caps", stop excluding the seed cap but do exclude it elsewhereJustin Clark-Casey (justincc)1-1/+1