aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-06-13Don't include time to transmit response back to requester when assessing ↵Justin Clark-Casey (justincc)1-1/+0
slow handling of requests. This is to avoid logging a 'slow' request when the source of delay is the viewer in processing a response. This is not something we can do much about on the server end - it's server-side delay that we're interested in. To ensure consistency, this commit also had to refactor and simplify inbound non-poll network request handling, though there should be no functional change. IOSHttpResponse no longer exposes the Send() method, only classes in OpenSim.Framework.Servers.HttpServer should be doing this. Only the GetTextureHandler was sending its own response. Now it leaves this to BaseHttpServer, like all other core handlers.
2012-06-03When regions are set to shut down the instance, always send notifications toMelanie1-6/+30
all affected regions and disregard the region id parameter.
2012-05-28If a region is not found on a simulator, make the health query returnMelanie1-4/+13
0 to indicate it's still starting rather than an error. There are other methods that can discover the presence of a region and slow starting regions may cause the watchdog to kill them while they start,
2012-05-10Saving estate state is really slow (relatively) and it getsMic Bowman1-2/+3
completely rewritten every time a region starts up. This makes the data write only when the data was not already read from the database. There is a still a major race condition whenever two regions share the same estate data, but at least it won't be triggered on startup.
2012-02-03Changed save oar and save iar parameter -p|--profile to -h|--home, including ↵Snoopy Pfeffer1-2/+2
corresponding RemoteAdmin parameter
2012-01-28Add the ability to abort a pending restart using the viewer UI or aMelanie1-1/+19
RemoteAdmin message
2012-01-06Allow RemoteAdmin to deal with all the different kinds of region id ↵Justin Clark-Casey (justincc)1-215/+191
parameter that have been used in different methods. See http://opensimulator.org/mantis/view.php?id=5814 Thanks Michelle Argus!
2011-12-19addresses mantis #5827nebadon1-1/+1
RAdmin - admin_save_oar fails if noassets parameter missing thanks Michelle Argus
2011-12-12Remove spammy log messages when querying sim healthMelanie1-8/+0
2011-12-08Remove a left over log outputMelanie1-2/+1
2011-12-08Remove superfluous try blockMelanie1-27/+14
2011-12-08Adapt to justincc's remote admin refactorMelanie1-1744/+1394
2011-12-07Remove warning in admin_save_oar xmlrpc method where noassets == true was ↵Justin Clark-Casey (justincc)1-1/+1
comparing against an object rather than a string
2011-12-07Have admin_load_heighmap and admin_save_heightmap xmlrpcadmin methods return ↵Justin Clark-Casey (justincc)1-2/+2
success = true on success rather than false
2011-12-07Refactor RemoteAdminPlugin so that every xmlrpc method calls a common block ↵Justin Clark-Casey (justincc)1-1711/+1370
of code to do password checks, etc., instead of copy/pasting this code into every method
2011-12-07Implement XMLRPCAdmin command admin_teleport_agent.Justin Clark-Casey (justincc)1-0/+113
This allows someone with access to this command on the XMLRPCAdmin interface to teleport an avatar to an arbitrary region and/or position.
2011-12-05Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)4-15/+15
of OSHttpRequest/OSHttpResponse. This is required for the substitution of different HTTP servers or the newer HttpServer.dll without having to commit to a particular implementation. This is also required to write regression tests that involve the HTTP layer. If you need to recompile, all you need to do is replace OSHttpRequest/OSHttpResponse references with IOSHttpRequest/IOSHttpResponse.
2011-11-03Rename ForEachAvatar back to ForEachScenePresence. The other changesDan Lake1-1/+1
from previous commit which sort out which iterator is used are left intact. A discussion is needed as to what constitutes an avatar vs a ScenePresence.
2011-11-03Renamed ForEachRootScenePresence to ForEachAvatar. Cleaned up calls toDan Lake1-1/+1
the 3 iteration functions so more of them are using the correct iteration for the action they are performing. The 3 iterators that seem to fit all actions within OpenSim at this time are: ForEachAvatar: Perform an action on all avatars (root presences) ForEachClient: Perform an action on all clients (root or child clients) ForEachRootClient: Perform an action on all clients that have an avatar There are still a dozen places or so calling the old ForEachScenePresence that will take a little more refactoring to eliminate.
2011-10-21RemoteAdmin - Added optional terrain loading on region create using ↵Michelle Argus1-21/+41
parameter heightmap_file to specify the terrain file to be loaded
2011-10-19Slightly change log message in LoadRegionsPluginJustin Clark-Casey (justincc)1-1/+1
2011-10-19Region-UUID - can not be zero-uuidPixel Tomsen1-1/+13
http://opensimulator.org/mantis/view.php?id=3426
2011-10-08Remove the inconsistently applied now pointless FailIfRemoteAdminDisabled() ↵Justin Clark-Casey (justincc)1-39/+1
check on XMLRPC RemoteAdmin handlers. If admin is disabled then the XMLRPC handlers are never registered, which means that they cannot be called anyway.
2011-10-08replace List used by m_accessIP in RemoteAdminPlugin with the more efficient ↵Justin Clark-Casey (justincc)1-5/+4
HashSet
2011-10-08Add option to allow only explicitly listed IPs to access RemoteAdmin facilities.Justin Clark-Casey (justincc)1-124/+116
Also adds password check to some functions where this was missing and fixes some parameter checking. This is a patch from http://opensimulator.org/mantis/view.php?id=5715 with a few small unrelated spacing tweaks from me. Thanks Michelle Argus.
2011-10-04When creating a new user on the comand line, give the option of allowing a ↵Justin Clark-Casey (justincc)1-1/+1
UUID to be specified to override the randomly generated one. This can be useful in some migration cases where recreating user accounts with known IDs will preserve region scene object ownership.
2011-10-04Turn off keepalives when commands are specifiedMic Bowman1-1/+1
2011-10-01Add ability to pass in the permissions option (perm) to save oar via RemoteAdminJustin Clark-Casey (justincc)1-1/+8
Applies patch in http://opensimulator.org/mantis/view.php?id=5686 Thanks Michelle Argus!
2011-09-24Removed uncalled region load method.Kevin Houlihan1-30/+0
The method LoadRegionsPlugin.LoadRegionFromConfig was no longer being referenced from anywhere, so I removed it. It's function has apparently been taken on by the PostInitialise of that module.
2011-09-22Reinstate option to land an npc when it reaches a target.Justin Clark-Casey (justincc)1-1/+1
This is moved into ScenePresence for now as a general facility
2011-09-16Reattaching a region was failing if the estate name had not changed (issue ↵Kevin Houlihan1-4/+13
5035). Using the RemoteAdmin API to close then recreate a region would fail if the estate name had not changed. If the estate name /was/ changed then the existing estate would be renamed rather than a new one being created. The problem really arose from a lack of distinction in the data storage layer between creating new estates and loading existing ones.
2011-09-09Added a check to the CreateRegion method of the RemoteAdmin module that the ↵Kevin Houlihan1-0/+13
specified user exists. A meaningful exception message is returned if the user is not found. Previously it was returning "Object not set..."
2011-08-10early code to allow scripts to force npcs not to fly when moving to targetJustin Clark-Casey (justincc)1-1/+1
this is to allow walking on prims. it will be up to the script writer to be sure that there is a continuous path. currently implemented in osNpcMoveToTarget(), but none of this is final.
2011-08-03refactor: rename the move to position methods to move to target to be ↵Justin Clark-Casey (justincc)1-1/+1
consistent with terminology used by scene object part and elsewhere
2011-08-03get rid of vestigal move to parametersJustin Clark-Casey (justincc)1-2/+2
2011-08-02Partially fix autopilot/go hereJustin Clark-Casey (justincc)1-1/+1
This now works again except that it requires a click or avatar mvmt to get going This is because the ScenePresence.HandleAgentUpdate() method doesn't trigger until the client does something significant, at which point autopilot takes over. Even clicking is enough to trigger. This will be improved presently.
2011-08-02Get rid of AvatarAppearance.Owner to simplify the code.Justin Clark-Casey (justincc)1-7/+7
This is not used for anything - appearances are always properties of objects with ids (ScenePresence, AgentCircuitData) and just has the potential to get out of sync when the appearance is cloned.
2011-07-02Add profile, merge, noassets and skip-assets options for loading/saving oars ↵Justin Clark-Casey (justincc)1-2/+39
via RemoteAdmin This is http://opensimulator.org/mantis/view.php?id=5453 Thanks Michelle Argus!
2011-04-17Mantis #5442: Add admin_save_heightmapMelanie1-0/+56
2011-04-15Make remote admin error messages more helpful on windows.Justin Clark-Casey (justincc)1-88/+73
Also, make log messages conform more with convention.
2011-04-15Thanks Snoopy for a patch that allows setting of perms on items given to new ↵BlueWall1-1/+34
avatars
2011-03-25minor: make it clearer in the log where we're loading region config files ↵Justin Clark-Casey (justincc)1-15/+13
and not the regions themselves
2011-03-17Thanks Kevin Cozens for a patch that:BlueWall1-3/+3
Fixes several spelling mistakes
2011-02-12Fix bug where "My estate" name was always used even if the user entered a ↵Justin Clark-Casey (justincc)1-0/+2
different name on initial setup. Turns out we had stopped saving estate settings immediately after the name change. The scene constructor then reloade the settings and oblitereted the different name. This code could be more efficient since there's no reason for scene to reload the settings when they are already known to be valid. Thanks to Thoneve for the spot on this.
2011-02-04minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2-5/+5
2010-12-04Convert the agent asset transactions module to a new style module.Melanie1-2/+2
Refactor to remove the property "MyScene" and the pointless circular refs to the managing classes. Converted the module to a non-shared module. Reformatted source for 80 columns. Removed the special role the module had in the old loader.
2010-12-04Convert the agent asset transactions module to a new style module.Melanie1-2/+2
Refactor to remove the property "MyScene" and the pointless circular refs to the managing classes. Converted the module to a non-shared module. Reformatted source for 80 columns. Removed the special role the module had in the old loader.
2010-12-04refactor some common code in RegionModulesControllerPluginJustin Clark-Casey (justincc)1-55/+45
also some minor doc changes in BareBonesNonSharedModule
2010-12-03Fix status responses in remote adminMelanie1-2/+2
2010-12-03Improve health reportingMelanie1-1/+5