aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of some unnecessary casts in RemoteAdminPlugin.Justin Clark-Casey (justincc)2012-09-291-5/+5
| | | | | This was stopping http://code.google.com/p/opensimtools/wiki/RemoteAdminPHPClass from working with some methods (e.g. create_user). However, this casting has been around for at least 2 years so I'm puzzled that it worked in the first place, though it probably is extremely old sample code.
* Remove deprecated parameters for region_id.Michelle Argus2012-09-221-74/+0
| | | | Remove deprecated parameters for region_id as anounced in january 2012.
* Comment out the long unused afaik HTTP agent handlers.Justin Clark-Casey (justincc)2012-09-212-19/+25
| | | | | | As far as I know, this was only used by the IBM Rest modules, much of which has been commented out for a very long time now. Other similar code uses HTTP or stream handlers instead. So commenting this out to reduce code complexity and the need to make this facility consistent with the others where it may not be used anyway. If this facility is actually being used then please notify me or uncomment it if you are core.
* Support multi-region OAR filesOren Hurvitz2012-09-141-0/+7
| | | | Merged ArchiveWriteRequestPreparation.cs and ArchiveWriteRequestExecution.cs. This simplifies the code, and it's faster to write each scene to the archive as it's found rather than all at once at the end.
* Don't include time to transmit response back to requester when assessing ↵Justin Clark-Casey (justincc)2012-06-131-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.
* Saving estate state is really slow (relatively) and it getsMic Bowman2012-05-101-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.
* Changed save oar and save iar parameter -p|--profile to -h|--home, including ↵Snoopy Pfeffer2012-02-031-2/+2
| | | | corresponding RemoteAdmin parameter
* Allow RemoteAdmin to deal with all the different kinds of region id ↵Justin Clark-Casey (justincc)2012-01-061-215/+191
| | | | | | | parameter that have been used in different methods. See http://opensimulator.org/mantis/view.php?id=5814 Thanks Michelle Argus!
* addresses mantis #5827nebadon2011-12-191-1/+1
| | | | | RAdmin - admin_save_oar fails if noassets parameter missing thanks Michelle Argus
* Remove a left over log outputMelanie2011-12-081-2/+1
|
* Remove warning in admin_save_oar xmlrpc method where noassets == true was ↵Justin Clark-Casey (justincc)2011-12-071-1/+1
| | | | comparing against an object rather than a string
* Have admin_load_heighmap and admin_save_heightmap xmlrpcadmin methods return ↵Justin Clark-Casey (justincc)2011-12-071-2/+2
| | | | success = true on success rather than false
* Refactor RemoteAdminPlugin so that every xmlrpc method calls a common block ↵Justin Clark-Casey (justincc)2011-12-071-1711/+1370
| | | | of code to do password checks, etc., instead of copy/pasting this code into every method
* Implement XMLRPCAdmin command admin_teleport_agent.Justin Clark-Casey (justincc)2011-12-071-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.
* Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)2011-12-054-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.
* Rename ForEachAvatar back to ForEachScenePresence. The other changesDan Lake2011-11-031-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.
* Renamed ForEachRootScenePresence to ForEachAvatar. Cleaned up calls toDan Lake2011-11-031-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.
* RemoteAdmin - Added optional terrain loading on region create using ↵Michelle Argus2011-10-211-21/+41
| | | | parameter heightmap_file to specify the terrain file to be loaded
* Slightly change log message in LoadRegionsPluginJustin Clark-Casey (justincc)2011-10-191-1/+1
|
* Region-UUID - can not be zero-uuidPixel Tomsen2011-10-191-1/+13
| | | | http://opensimulator.org/mantis/view.php?id=3426
* Remove the inconsistently applied now pointless FailIfRemoteAdminDisabled() ↵Justin Clark-Casey (justincc)2011-10-081-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.
* replace List used by m_accessIP in RemoteAdminPlugin with the more efficient ↵Justin Clark-Casey (justincc)2011-10-081-5/+4
| | | | HashSet
* Add option to allow only explicitly listed IPs to access RemoteAdmin facilities.Justin Clark-Casey (justincc)2011-10-081-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.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2011-10-041-1/+1
|\
| * Turn off keepalives when commands are specifiedMic Bowman2011-10-041-1/+1
| |
* | When creating a new user on the comand line, give the option of allowing a ↵Justin Clark-Casey (justincc)2011-10-041-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.
* Add ability to pass in the permissions option (perm) to save oar via RemoteAdminJustin Clark-Casey (justincc)2011-10-011-1/+8
| | | | | Applies patch in http://opensimulator.org/mantis/view.php?id=5686 Thanks Michelle Argus!
* Removed uncalled region load method.Kevin Houlihan2011-09-241-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.
* Reinstate option to land an npc when it reaches a target.Justin Clark-Casey (justincc)2011-09-221-1/+1
| | | | This is moved into ScenePresence for now as a general facility
* Reattaching a region was failing if the estate name had not changed (issue ↵Kevin Houlihan2011-09-161-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.
* Added a check to the CreateRegion method of the RemoteAdmin module that the ↵Kevin Houlihan2011-09-091-0/+13
| | | | | | specified user exists. A meaningful exception message is returned if the user is not found. Previously it was returning "Object not set..."
* early code to allow scripts to force npcs not to fly when moving to targetJustin Clark-Casey (justincc)2011-08-101-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.
* refactor: rename the move to position methods to move to target to be ↵Justin Clark-Casey (justincc)2011-08-031-1/+1
| | | | consistent with terminology used by scene object part and elsewhere
* get rid of vestigal move to parametersJustin Clark-Casey (justincc)2011-08-031-2/+2
|
* Partially fix autopilot/go hereJustin Clark-Casey (justincc)2011-08-021-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.
* Get rid of AvatarAppearance.Owner to simplify the code.Justin Clark-Casey (justincc)2011-08-021-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.
* Add profile, merge, noassets and skip-assets options for loading/saving oars ↵Justin Clark-Casey (justincc)2011-07-021-2/+39
| | | | | | | via RemoteAdmin This is http://opensimulator.org/mantis/view.php?id=5453 Thanks Michelle Argus!
* Mantis #5442: Add admin_save_heightmapMelanie2011-04-171-0/+56
|
* Make remote admin error messages more helpful on windows.Justin Clark-Casey (justincc)2011-04-151-88/+73
| | | | Also, make log messages conform more with convention.
* Thanks Snoopy for a patch that allows setting of perms on items given to new ↵BlueWall2011-04-151-1/+34
| | | | avatars
* minor: make it clearer in the log where we're loading region config files ↵Justin Clark-Casey (justincc)2011-03-251-15/+13
| | | | and not the regions themselves
* Thanks Kevin Cozens for a patch that:BlueWall2011-03-171-3/+3
| | | | Fixes several spelling mistakes
* Fix bug where "My estate" name was always used even if the user entered a ↵Justin Clark-Casey (justincc)2011-02-121-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.
* minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2011-02-042-5/+5
|
* Merge branch 'master' of melanie@opensimulator.org:/var/git/opensimMelanie2010-12-041-55/+45
|\
| * refactor some common code in RegionModulesControllerPluginJustin Clark-Casey (justincc)2010-12-041-55/+45
| | | | | | | | also some minor doc changes in BareBonesNonSharedModule
* | Convert the agent asset transactions module to a new style module.Melanie2010-12-041-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.
* Change all restarting to use the restart module. Remove hardcoded behaviorMelanie2010-11-251-5/+12
|
* Added creator info across the board -- TaskInventoryItems and InventoryItems ↵Diva Canto2010-11-212-1/+6
| | | | | | themselves. Tested. Seems to be working, main tests pass. Nothing done for IARs or HG transfers yet -- this only works for OARs for the time being. New migration in inventory table in order to make CreatorID varchar(255).
* Formatting cleanup.Jeff Ames2010-11-081-1/+1
|