aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
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
2011-11-29tabulate "show caps" output for easier readabilityJustin Clark-Casey (justincc)1-5/+10
2011-11-16Fix the build breakJustin Clark-Casey (justincc)1-1/+1
2011-11-16Look up a homeURL only when it's not null, in addition to not being string.EmptyJustin Clark-Casey (justincc)1-1/+1
2011-11-15Enable log message to tell us what type of url is being requested from a ↵Justin Clark-Casey (justincc)1-3/+3
user's homeurl
2011-11-15fix build break on UserManagementModule.Justin Clark-Casey (justincc)1-7/+8
This also adds time since started to "show threads". Unfortunately these two changes got mixed in.
2011-11-15Do proper locking of UserManagementModule.m_UserCache when getting.Justin Clark-Casey (justincc)1-29/+57
This might help with [USER AGENT CONNECTOR]: new connector to () [USER AGENT CONNECTOR]: Unable to contact remote server for GetServerURLs [USER AGENT CONNECTOR]: Malformed Uri : Argument cannot be null. Parameter name: uriString
2011-11-06Convert SendKillObject to take a list of uint rather than sending oneMelanie1-1/+1
packet per prim. More to come as we change to make use of this.
2011-11-02Changes UpdateFlag in SOP to an enumeration of NONE, TERSE and FULL.Dan Lake1-1/+1
UpdateFlag is now referenced/used only within SOP and SOG. Outsiders are using ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule on SOP consistently now. Also started working toward eliminating those calls to ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule from outside SOP in favor of just setting properties on SOP and let SOP decide if an update should be scheduled. This consolidates the update policy within SOP and the client rather than everywhere that makes changes to SOP. Some places forget to call update while others call it multiple times, "just to be sure". UpdateFlag and Schedule*Update will both be made private shortly. UpdateFlag is intended to be transient and internal to SOP so it has been removed from XML serializer for SOPs.
2011-10-28set grp.RootPart.GroupPosition for code consistency (and readability) rather ↵Justin Clark-Casey (justincc)1-2/+2
than calling SOP.OffsetForNewRegion
2011-10-25Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵Justin Clark-Casey (justincc)2-0/+2
of the other way around. This is necessary so that code in HttpServer can use framework facilities such as the thread watchdog for monitoring purposes. Doing this shuffle meant that MainServer was moved into OpenSim/Framework/Servers Also had to make OpenSim.Framework.Console rely on OpenSim.Framework rather than the other way around since it in turn relies on HttpServer MainConsole and some new interfaces had to be moved into OpenSim/Framework to allow this. This can be reverted if parts of OpenSim.Framework stop relying on console presence (cheifly RegionInfo)
2011-10-11Start recording object updates per second statistic (analogue of agent ↵Justin Clark-Casey (justincc)1-0/+8
updates per secod) and expose via monitoring module as ObjectUpdatePerSecondMonitor A useful diagnostic to find out how object updates are burdening a scene
2011-10-10Allow monitoring of stats by region nameJustin Clark-Casey (justincc)1-0/+3
2011-10-10Add other region stats (total frame time, physics fps, etc.) currently ↵Justin Clark-Casey (justincc)15-20/+325
missing from MonitorModule Unlike the other 3 stats mechanisms, monitor data can be queried per individual region, which makes this useful. This doesn't affect an of the existing monitored stats.
2011-10-10Provide a way to turn the MonitorModule on and offJustin Clark-Casey (justincc)1-15/+35
Default is currently on since this is the historical setting
2011-10-06Refactored "known child region" in ScenePresence. There were 4 differentDan Lake1-1/+1
ways to access the list/dictionary of child regions and locking was inconsistent. There are now public properties which enforce locks. Callers are no longer required to create new copies of lists.
2011-10-07remove the pointless slashes on the end of the (5!) different server stat ↵Justin Clark-Casey (justincc)1-1/+1
retrieval mechanisms. Original request URLs that end with / will still work, but this will allow one to type /simstatus as well as /simstatus/ Can't do this with webstats yet since it does insane things to the path.
2011-10-06Simplified IsInTransit property on ScenePresence and removed InTransit() ↵Dan Lake1-6/+6
which called IsInTransit=true which called m_inTransit=true. Also removed NotInTransit().