Commit Graph

247 Commits (65a25ee5104dee6dddb53f7afe3a103140f5bbd8)

Author SHA1 Message Date
John Hurliman b2ed348aa2 Implemented a Watchdog class. Do not manually create Thread objects anymore, use Watchdog.StartThread(). While your thread is running call Watchdog.UpdateThread(). When it is shutting down call Watchdog.RemoveThread(). Most of the threads in OpenSim have been updated 2009-10-22 12:33:23 -07:00
John Hurliman 2f394b7e7e * Allow SmartThreadPool to be initialized without setting max stack size (like the original implementation)
* Only initialize Util's SmartThreadPool if it is actually being used
* No longer initializing Util's SmartThreadPool with a custom max stack size. From MSDN: "Avoid using this constructor overload. The default stack size used by the Thread(ThreadStart) constructor overload is the recommended stack size for threads."
2009-10-22 01:30:12 -07:00
Melanie b35fbe1f98 Merge branch 'melanie_test' into prioritization
This makes SmartThreadPool configurable and also makes it the default, since
the regular thread pool simply stinks.
2009-10-22 07:02:21 +01:00
John Hurliman 32ccd5bb40 * Changed the misc. methods calling ThreadPool.UnsafeQueueUserWorkItem() to Util.FireAndForget()
* Changed Util.FireAndForget() to use any of five different methods set with async_call_method in the [Startup] section of OpenSim.ini. Look at the example config for possible values
2009-10-21 23:03:18 -07:00
Melanie 8ce4fd7234 Reduce the default pool threads to 15 (from 30) and the minimum from 5 to 2 2009-10-22 04:02:26 +01:00
Melanie 8a336c6860 Add MaxPoolThreads in startup to limit the size of the thread pool used
for FireAndForget. This lets us limit concurrency to make OpenSim play nice
2009-10-22 02:28:53 +01:00
Melanie 26863c04a5 Change "config save" to "config save <filename>", which is mandatory.
File name is enforced to NOT be OpenSim.ini
2009-10-20 14:02:11 +01:00
John Hurliman 1e9e9df0b3 * Switched to a plain lock for the ClientManager collections and protected the TryGetValues with try/catch instead of a lock
* Added ClientManager.ForEachSync() for operations that need to run synchronously, such as "show connections"
2009-10-14 14:25:58 -07:00
John Hurliman 25878d6828 * Added the "show connections" command to print out all of the currently tracked IClientAPIs 2009-10-14 13:00:42 -07:00
Melanie 31d8cec0f8 Merge branch 'master' into diva-textures 2009-10-02 08:23:38 +01:00
Melanie 67fefdb5a0 Remove predecode-j2k and it's assoaciated logic 2009-09-30 21:33:00 +01:00
Jeff Ames ee205e7e81 Formatting cleanup. 2009-10-01 01:17:47 +09:00
Melanie 94aa7e677c Change command help text to show .ini in place of .xml when creating regions 2009-09-30 09:12:43 +01:00
Diva Canto 5757afe766 First pass at the heart surgery for grid services. Compiles and runs minimally. A few bugs to catch now. 2009-09-26 07:48:21 -07:00
Diva Canto 902279f0fd Moved the property RegionLoginsEnabled from GridComms to the Scene -- not the scene itself but SceneCommunicationService, for now. Beginning to clear the code from using Region.Communications. grid stuff. 2009-09-25 08:39:09 -07:00
Melanie 496b368334 Add a using() block around the timer script 2009-09-11 21:52:49 +01:00
Diva Canto 5bf288745d De-hardcode default home locations on create user (standalone). 2009-09-09 11:02:31 -07:00
Melanie 3d7bb7567c Add the ability to use -console=rest to the region server. User
and pass are specified the same way as for the ROBUST server
2009-08-17 09:21:39 +01:00
Teravus Ovares (Dan Olivares) b47e405420 * minor: Comments 2009-08-12 22:54:57 -04:00
Diva Canto 5d2a157e64 First pass at cleaning up old OGS1 and Local Inventory: removed everything-inventory in CommsManager, which wasn't actively used anymore. 2009-08-10 10:48:21 -07:00
Diva Canto 0d8284c7a1 Removed IAssetCache.
WARNING: PLEASE MAKE SURE TO USE THIS NEW bin/OpenSim.addin.xml
2009-08-10 08:14:57 -07:00
Melanie cb10700a1f Make the opensim.ini logfile option really work (port of a fix from ROBUST) 2009-08-07 14:15:59 +01:00
MW 78d7f4696e Now we are past revision 10000, I think its time to start to fix that massive bug that was introduced in revision 1. So here is the first part of that fix. 2009-07-10 11:03:38 +00:00
Melanie Thielker 7cc69ac97f Make create region save the new region to ini file format if the name
specifies an ini file.
If the ini file exists, the region will be added.
2009-06-25 23:31:55 +00:00
Charles Krinke 23bf1bf6e0 Thank you kindly, MattSetzer, for a patch that solves a Mantis:
This appears to be due to the fact that no asset cache has been 
configured, possibly as a result of the configuration changes that 
have been made recently. I've attached a patch to display a message 
to that effect rather than throwing an error.
2009-06-02 21:13:29 +00:00
Jeff Ames 840de6c036 Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt. 2009-06-01 06:37:14 +00:00
Melanie Thielker e5f3337c3f Implement .ini file includes. Anything that begins with "Include-" will be
treated as another ini source to load.
For example:
Include-Asset = AssetSetup.ini
will load AssetSetup.ini after all other ini files are done.
This works recursively, too
2009-05-21 23:06:10 +00:00
Melanie Thielker 4065ebff15 Remove the pre-log4net, discrete output methods from the consoles 2009-05-20 13:50:33 +00:00
Justin Clarke Casey 1cc9d1fd8d * minor: another attempt at http://opensimulator.org/mantis/view.php?id=3191
* didn't realize that we were getting back plain old exceptions
2009-05-18 18:44:55 +00:00
Justin Clarke Casey 29671fc103 * Resolve http://opensimulator.org/mantis/view.php?id=3191
* Catch directory exception on load oar as well as file exception
2009-05-18 18:22:15 +00:00
Charles Krinke e08d0a7ba5 Thank you kindly, Patnad, for a patch that:
This patch allow you to see region rating from 
the console. Type "show ratings" and it will 
show you the rating of all your regions.
2009-05-12 03:35:07 +00:00
Melanie Thielker c1e7352d75 Add the asset service connectors and sample config. READ WARNINGS!!! 2009-05-09 02:49:55 +00:00
Melanie Thielker acfb5051cd Intermediate commit. WILL NOT COMPILE! 2009-05-04 20:15:39 +00:00
Melanie Thielker 1b877234da Refactor. Make ConsoleBase a true base class. Create CommandConsole as a simple
console capable of processing commands. Create LocalConsole as a console
that uses cursor control and context help. Precursor to a distributed
console system for the new grid services. No functional change intended :)
2009-05-04 12:15:55 +00:00
diva d8313e314f Getting rid of -hypergrid=true on the command line. This config now goes inside OpenSim.ini in the Startup section. This makes the HG compatible with -background, and prepares the way for further work on HG-related config vars. Might help with mantis #3527. 2009-04-27 00:16:59 +00:00
Justin Clarke Casey 83c9a6a230 * Change profile check for add user to run through the cache service 2009-04-17 16:06:35 +00:00
Dr Scofield bd2ca2d9c1 - turn private m_gui into protected m_gui to allow manipulation in
derived classes
- make OpenSimBackground inherit from OpenSim instead of OpenSimBase
  so that it will have a MainConsole instance and we can use console
  commands, setting m_gui to false
2009-04-16 12:10:50 +00:00
idb 4e8723ad3f Directory defaults for region xml files when creating a new region got changed/lost with svn 8550 when a check was added for the file name having .xml extension. The extension check has been moved slightly earlier and the original directory logic restored.
Fixes Mantis #3386
2009-04-05 10:31:18 +00:00
Justin Clarke Casey e694e1a657 * minor: Adjust exception catching on load/save xml[2]/oar.
* Allow non FileNotFoundExceptions to propogate rather than post a misleading error message
2009-03-25 19:21:28 +00:00
Dr Scofield 09d2c6fe5d adding presence.ControllingClient.Kick(msg) to the brew. 2009-03-25 18:48:30 +00:00
Dr Scofield 0419f29856 enhances the console command "kick user" with an optional alert
message which will be dialog-ed to the user just before being kicked.
2009-03-25 18:04:33 +00:00
Justin Clarke Casey 5e9682cef7 * Fix edit scale command - was looking for one too few arguments 2009-03-24 19:04:28 +00:00
Dahlia Trimble 669aa46bff update some ini defaults in code - all defaults from beginning of OpenSim.ini.example thru DefaultScriptEngine = "XEngine" 2009-03-11 09:31:02 +00:00
lbsa71 91a096dca6 * Cleanup and CCC (Code Convention Conformance) 2009-03-10 20:27:41 +00:00
Justin Clarke Casey 7b04d1da5e * Apply http://opensimulator.org/mantis/view.php?id=3191
* Make load/save oar and load/save xml2 behave a little better when there is an io problem
* Thanks dslake
2009-02-26 21:00:33 +00:00
MW 33e7c09b7b Added IRegistryCore and RegistryCore to OpenSim.Framework.
Added a ApplicationRegistry to OpenSimBase.
Changed LoadRegionsPlugin so it registers itself to that application registry.
Added a event to LoadRegionsPlugin, that is triggered when it creates a new scene ,although maybe this event should actually be in opensimBase incase other plugins are creating regions (like the RemoteAdminPlugin).
2009-02-26 20:01:20 +00:00
MW ea26bd4153 First step in separating out the Userserver console command handling to a "module".
Added OpenSim.Grid.UserServer.Modules project/dll which now contains the components of the userserver. With the OpenSim.Grid.UserServer being the setup and initiate exe.
2009-02-24 15:37:03 +00:00
Jeff Ames 551bebdc84 Update svn properties, add copyright headers, minor formatting cleanup. 2009-02-22 01:18:49 +00:00
MW a2546d58a8 Applied patch from mantis #3213. Which adds a check to create region command, to make sure the .xml is passed in the command arguments. Thanks BlueWall 2009-02-21 14:45:10 +00:00
Justin Clarke Casey d307109e1a * refactor: move alert commands from Scene to DialogModule 2009-02-13 19:03:18 +00:00
Justin Clarke Casey 88b273bc71 * refactor: Move export map function to world map module from scene 2009-02-13 16:43:20 +00:00
lbsa71 801da4346a * optimized usings. 2009-02-12 09:53:12 +00:00
Justin Clarke Casey 04d6a810b6 * More inventory archive invocation to a proper region module
* Not ready for use yet
2009-02-11 17:34:12 +00:00
Melanie Thielker c754160dee If an instance contains only one region, select it in the console by default 2009-02-10 23:40:22 +00:00
Melanie Thielker 9bfbfa381a Add proper handling for shared vs. unshared modules to the command
interface. Shared modules will now only get added once, so the command
handler is called once per module, not once per scene. Removal of scenes
has no adverse effects. Nonshared modules will be called for each scene.
2009-02-10 23:15:48 +00:00
Justin Clarke Casey 8c157a7aae * Remove load and save inventory commands from the console since these are actually experimental and the storage format may soon undergo incompatible changes
* If you were using these please uncomment the code before rebuilding, but be aware that old files may become incompatible soon
2009-02-10 19:33:09 +00:00
Dr Scofield 180be7de07 this is step 2 of 2 of the OpenSim.Region.Environment refactor.
NOTHING has been deleted or moved off to forge at this point.  what
has happened is that OpenSim.Region.Environment.Modules has been split
in two:

- OpenSim.Region.CoreModules: all those modules that are either
  directly or indirectly referenced from  other  OpenSim packages, or
  that provide functionality that the OpenSim developer community
  considers core functionality:

      CoreModules/Agent/AssetTransaction
      CoreModules/Agent/Capabilities
      CoreModules/Agent/TextureDownload
      CoreModules/Agent/TextureSender
      CoreModules/Agent/TextureSender/Tests
      CoreModules/Agent/Xfer
      CoreModules/Avatar/AvatarFactory
      CoreModules/Avatar/Chat/ChatModule
      CoreModules/Avatar/Combat
      CoreModules/Avatar/Currency/SampleMoney
      CoreModules/Avatar/Dialog
      CoreModules/Avatar/Friends
      CoreModules/Avatar/Gestures
      CoreModules/Avatar/Groups
      CoreModules/Avatar/InstantMessage
      CoreModules/Avatar/Inventory
      CoreModules/Avatar/Inventory/Archiver
      CoreModules/Avatar/Inventory/Transfer
      CoreModules/Avatar/Lure
      CoreModules/Avatar/ObjectCaps
      CoreModules/Avatar/Profiles
      CoreModules/Communications/Local
      CoreModules/Communications/REST
      CoreModules/Framework/EventQueue
      CoreModules/Framework/InterfaceCommander
      CoreModules/Hypergrid
      CoreModules/InterGrid
      CoreModules/Scripting/DynamicTexture
      CoreModules/Scripting/EMailModules
      CoreModules/Scripting/HttpRequest
      CoreModules/Scripting/LoadImageURL
      CoreModules/Scripting/VectorRender
      CoreModules/Scripting/WorldComm
      CoreModules/Scripting/XMLRPC
      CoreModules/World/Archiver
      CoreModules/World/Archiver/Tests
      CoreModules/World/Estate
      CoreModules/World/Land
      CoreModules/World/Permissions
      CoreModules/World/Serialiser
      CoreModules/World/Sound
      CoreModules/World/Sun
      CoreModules/World/Terrain
      CoreModules/World/Terrain/DefaultEffects
      CoreModules/World/Terrain/DefaultEffects/bin
      CoreModules/World/Terrain/DefaultEffects/bin/Debug
      CoreModules/World/Terrain/Effects
      CoreModules/World/Terrain/FileLoaders
      CoreModules/World/Terrain/FloodBrushes
      CoreModules/World/Terrain/PaintBrushes
      CoreModules/World/Terrain/Tests
      CoreModules/World/Vegetation
      CoreModules/World/Wind
      CoreModules/World/WorldMap

- OpenSim.Region.OptionalModules: all those modules that are not core
  modules:

      OptionalModules/Avatar/Chat/IRC-stuff
      OptionalModules/Avatar/Concierge
      OptionalModules/Avatar/Voice/AsterixVoice
      OptionalModules/Avatar/Voice/SIPVoice
      OptionalModules/ContentManagementSystem
      OptionalModules/Grid/Interregion
      OptionalModules/Python
      OptionalModules/SvnSerialiser
      OptionalModules/World/NPC
      OptionalModules/World/TreePopulator
2009-02-10 13:10:57 +00:00
Melanie Thielker a1393db7f0 Stopgap measure: To use gridlaunch, or GUI, start opensim with
OpenSim.exe -gui=true
2009-02-10 12:25:29 +00:00
Justin Clarke Casey a034b640da * Add the ability to type help <command> for more detailed help about a specific command if any is available 2009-02-09 20:52:04 +00:00
Justin Clarke Casey d1d93fae6c * Restore show information for the OpenSim region server (version, info, threads, etc.) 2009-02-09 18:11:09 +00:00
Melanie Thielker 2fe9915951 Reinstate the KickUserCommand handler, which was commented out by
another dev whiel I was putting the reference to it back in
2009-02-09 16:34:21 +00:00
Melanie Thielker 8a9128ccce Correct a delegate in OpenSim.cs
Fixes Mantis #3117
2009-02-09 16:21:13 +00:00
Dr Scofield b1739cbbfd fixing warnings. 2009-02-09 10:40:12 +00:00
Melanie Thielker 54c6a920ba Replace the console for all OpenSim apps with a new console featuring command
line editing, context sensitive help (press ? at any time), command line
history, a new plugin command system and new appender features thet let you
type while the console is scrolling. Seamlessly integrates the ICommander
interfaces.
2009-02-07 12:25:39 +00:00
Justin Clarke Casey 00a3cbd6fa * Implement help <command> from the region console
* So at the moment once can type 'help terrain fill' as well as 'terrain fill help'
* Current implementation is a transient hack that should be tidied up soon
2009-02-06 18:18:01 +00:00
Dr Scofield 9b66108081 This changeset is the step 1 of 2 in refactoring
OpenSim.Region.Environment into a "framework" part and a modules only
part. This first changeset refactors OpenSim.Region.Environment.Scenes,
OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces
into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region
modules in OpenSim.Region.Environment.

The next step will be to move region modules up from
OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and
then sort out which modules are really core modules and which should
move out to forge.

I've been very careful to NOT BREAK anything. i hope i've
succeeded. as this is the work of a whole week i hope i managed to
keep track with the applied patches of the last week --- could any of
you that did check in stuff have a look at whether it survived? thx!
2009-02-06 16:55:34 +00:00
Justin Clarke Casey 732cd838b1 * Make existing module commanders register as help topics
* Typing help will now give a list of these topics at the top (as well as the rest of the current help stuff)
* Typing help <topic> will give information about commands specific to that topic
2009-02-05 21:35:59 +00:00
Justin Clarke Casey 577064fb9d * minor: remove deprecated and unused terrain method from SceneManager
* other minor tidy up
2009-02-04 20:37:20 +00:00
Teravus Ovares 76206543e8 * Adds console command, 'predecode-j2k <number of threads>' to load all of the texture assets from the scene and decode the j2k layer data to cache. The work is split between the number of threads you specify. A good number of threads value is the number of cores on your machine minus 1.
* Increases the number of ImageDataPackets we send per PriorityQueue pop and tweak it so that the number of packets is ( (2 * decode level) + 1 ) * 2, and (((2 * (5-decode level)) + 1) * 2).  The first one sends more data for low quality textures, the second one sends more data for high quality textures.
2009-01-25 04:34:00 +00:00
Justin Clarke Casey feba3cc3ff * Removing set-time command since it doesn't actually do anything at all
* If this was crucial to someone then it should be reinsertable as a module
2009-01-13 17:01:57 +00:00
Sean Dague 77f0df6394 Caught exceptions in some console commands
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-12 15:34:05 +00:00
Melanie Thielker 0138fdc5fd Allow some values that are set in OpenSim.ini to be set from region config
XML as well.
2009-01-02 17:41:12 +00:00
diva d8ebf2fc9d Major changes in interregion communications. This breaks compatibility with older versions, and may result is all sorts of weirdnesses when interacting with sims in older versions. Changes:
- Introducing synchronous Teleports. Now the receiving region calls back the sending region after the client has been made a root agent there, that is, after client sends CompleteMovement to the destination.
- SendCloseAgent moved from OGS1 Remoting to RESTComms.
2009-01-01 19:42:24 +00:00
Dahlia Trimble 1fbbdb6714 test commit - no functional change 2008-12-22 07:48:43 +00:00
lbsa71 56f1b03cd0 * Added "show queues" command that shows throttling queues for all clients.
*** This only works for LLCLientView at the moment ***
2008-12-18 13:16:41 +00:00
MW fa28d1ab7d Reimplemented running of ShutdownCommandFile. Mantis #2800 2008-12-11 14:31:58 +00:00
Tedd Hansen c826570751 Fixed Mantis #2756 2008-12-05 16:20:12 +00:00
Tedd Hansen 336daa1aa8 save file before commit is often useful 2008-12-05 13:12:16 +00:00
Tedd Hansen a20d6b4b42 Fix: removed m_log.InfoFormat("[OPENSIM MAIN]: GC Latency Mode: {0}", GCSettings.LatencyMode.ToString()); 2008-12-05 12:59:50 +00:00
Tedd Hansen 081383c8cb Garbage Collector
* Enabled GC server
* Enabled concurrent collections
2008-12-05 12:42:32 +00:00
Justin Clarke Casey 8527f23c59 * Stop console misleadingly reporting an error if it cannot find a startup commands file 2008-11-28 21:09:20 +00:00
Justin Clarke Casey 18974b7766 * refactor: rename UserServiceAdmin to UserAdminService 2008-11-28 16:04:01 +00:00
Justin Clarke Casey 63851f1441 * refactor: move ResetUserPassword into UserServiceAdmin 2008-11-28 15:47:01 +00:00
Justin Clarke Casey 0862627b34 * refactor: move CreateUser into UserServiceAdmin 2008-11-28 15:34:30 +00:00
Dahlia Trimble d8bb20fc1c Thanks SachaMagne for a patch which adds the following console commands:
login-enable : Allow login at sim level (opensim.exe)
login-disable: Stop any login BUT keep the logged avt 
login-status : Return the actual status
2008-11-24 09:53:49 +00:00
Charles Krinke 02fd7751d9 Mantis#2660. Thank you kindly, Ruud Lathrop for a patch that:
This patch adds the option of adding the email when you create 
a new user. This works in Gridmode as none Gridmode. This 
option is also added to RemoteAdminPlugin. With a new handler 
you can create a user with a email.
2008-11-23 03:38:40 +00:00
Justin Clarke Casey b636bb0f9e * Stop the pointless passing of a scene's own region handler back to it in region comms
* Some scene methods ignored it, others did nothing if the region handler given did not match their own (which would never be triggered)
2008-11-12 19:12:33 +00:00
MW c932aae4c3 a little bit more refactoring of startup 2008-11-06 20:17:20 +00:00
MW 571b94f537 moved the initial loading/setting of the config settings to its own class, ConfigurationLoader. To make it easier to customise the loading of those settings and possible in the future move it to a plugin. 2008-11-05 20:14:52 +00:00
MW 6e017ca842 fixed/refactored the Get/Set Config console commands. 2008-11-05 19:47:29 +00:00
MW 079469b3f5 more startup/initialisation refactoring 2008-11-05 17:45:56 +00:00
MW 2a249373d3 Moved most of the configuration fields from Opensimbase to their own Class... Framework/ConfigSettings. 2008-11-05 17:18:16 +00:00
Justin Clarke Casey 3b381523eb * refactor: move loadInv and saveInv command line param functions up to the interactive OpenSim class
* direct module import is temporary
2008-10-19 18:26:44 +00:00
Justin Clarke Casey 58f8c042f6 * minor: change m_debug to m_debugPacketLevel since that's what it is 2008-10-14 18:53:56 +00:00
Justin Clarke Casey e062b28606 * minor: Remove highly experimental tags from oar loading and saving functions 2008-10-10 20:25:22 +00:00
Justin Clarke Casey 3ffd77f70b * oops, fix region startup to be in the correct sequence (though it appeared to work anyway) 2008-10-03 15:41:27 +00:00
Melanie Thielker f00b24ff9e Allow create-region to load files from arbitrary locations 2008-09-30 10:50:41 +00:00
Justin Clarke Casey 7ec065198a * Apply http://opensimulator.org/mantis/view.php?id=2294
* This is an initial basic experimental code for inventory import and export from the region server
* Probably not yet ready for general use
* Thanks Kayne!
2008-09-29 14:41:16 +00:00
Dr Scofield e0795e44ac fixes future mantis from SachaMagne. 2008-09-29 12:29:11 +00:00
Dr Scofield 03f246d6fe adds support to delete a region completely and offers that
functionality via the console command "delete-region" and also via
RemoteAdminPlugin.

minor typo fix.
2008-09-18 15:44:05 +00:00
Justin Clarke Casey 9170361bee * Complete refactoring accidentally left unfinished so that all server help requests flow through the ShowHelp() method 2008-09-15 17:45:48 +00:00
Justin Clarke Casey 6d289c3ae0 * Add "reset user password" command to standalone region console
* Grid user server implementation to follow shortly
2008-09-15 17:29:11 +00:00
Homer Horwitz 8ae8bec4d1 Changed "show users" command to display only root agents, "show users full" to
display root and child agents (mantis #2171).
2008-09-12 22:39:17 +00:00
lbsa71 8388fe0669 * some if inversions and added {}'s for readability 2008-09-08 14:30:35 +00:00
Teravus Ovares 7d89e12293 * This is the fabled LibOMV update with all of the libOMV types from JHurliman
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point.  Regular people should let the dust settle.
* This has been tested to work with most basic functions. However..   make sure you back up 'everything' before using this.  It's that big!  
* Essentially we're back at square 1 in the testing phase..  so lets identify things that broke.
2008-09-06 07:52:41 +00:00
Charles Krinke 98da84c851 Mantis#2105. Thank you kindly, HomerHorwitz for a patch that addresses:
Due to the many problems with not cleaned up child-agents, I thought it 
might make sense to be able to see them on the console. 'show users' on 
the region-server's console now outputs root- and child-agents (with 
"root" or "child" column)
2008-09-03 03:32:29 +00:00
Dr Scofield 1828091528 create-region didn't know about regionload_regionsdir... 2008-08-28 10:01:56 +00:00
Justin Clarke Casey 4a475ca2be * minor: refactor thread report into a method that returns a string rather than displays information directly 2008-08-25 23:21:07 +00:00
Jeff Ames bea7d4d81a Update svn properties, formatting cleanup. 2008-08-19 02:59:27 +00:00
Justin Clarke Casey 9650632cd1 * It appears that sometimes some IClientAPI reference is not being released, resulting in continual execution of the CheckConnectivity timer method
* For now, just turn off this timer when we close the connection
* Also some minor help refactoring creeps in to this revision.
2008-08-18 21:14:38 +00:00
Jeff Ames 6ef9d4da90 Formatting cleanup. 2008-08-18 00:39:10 +00:00
Justin Clarke Casey c602d76b79 * Insert a new 'set log level [level] command on the console'
* The primary immediate use is to provide a means of temporarily reducing log output on the console when executing console commands
* Changing the log level on the console is not permanent and does not affect the log information being put into OpenSim.log
* This could have been done by putting in a threshold level on the Console appeneder in OpenSim.exe.config and implementing config watching in the code.
* But I think that it's a little more user friendly to make this doable via the console.
2008-08-16 20:24:08 +00:00
Justin Clarke Casey de0a6e7f2b * Try and make the contents of the region prompt more obvious by returning to printing the selected region after a change attempt has been made. 2008-08-05 17:52:06 +00:00
Justin Clarke Casey f2c456c23d * Make currently selected region appear in the region console prompt
* This region is used for single region commands (such as save-xml2)
2008-08-05 17:28:23 +00:00
Justin Clarke Casey b46e6e2130 * refactor: change method name 2008-08-05 17:03:06 +00:00
Justin Clarke Casey 1da9902294 * refactor: clean up code for selecting regions on the region console 2008-08-05 17:00:35 +00:00
Charles Krinke dba4d357c8 Mantis#1877. Thank you kindly, Sache Magne for a patch that:
This patch allows the operator to see the region currently served.
A message "Serving region : xxxxx" appears under help or any show commands.
2008-08-02 02:53:11 +00:00
Justin Clarke Casey d13c9161c9 * find user on save-inv 2008-07-29 18:11:58 +00:00
Justin Clarke Casey aa59dfb1d2 * minor: route create user through underlying super class method rather than calling communications manager directly 2008-07-29 18:01:12 +00:00
Justin Clarke Casey e595959d97 * refactor: move create user console command parsing down to OpenSim.cs from CommunicationsManager 2008-07-29 17:39:15 +00:00
Justin Clarke Casey e7b3e7b749 * Put in stub code for inventory backup.
* No user functionality yet (and not for quite some time)
2008-07-29 14:28:08 +00:00
Justin Clarke Casey a1d481d0f6 * minor: Make create user command appear on the region console only if the region is running standalone 2008-07-22 16:21:16 +00:00
Justin Clarke Casey b798a9b7a0 * minor: add wiki link to archiving function invocation 2008-07-21 17:33:03 +00:00
Justin Clarke Casey 5bceab785f * Minor: correct change-region typo 2008-07-21 17:23:32 +00:00
Dahlia Trimble f87d2d8a92 added region port number to output of "show regions" command 2008-07-18 02:08:14 +00:00
Justin Clarke Casey 8e3f83b1c8 * Change load-oar/save-oar status to highly experimental.
* See http://opensimulator.org/wiki/OpenSim_Archives for more details.
* These commands can now be used on an experimental basis.  save-oar saves the entire current region (prim data, assets, prim inventory items, terrain) to a single tar.gz file.
* load-oar loads an opensim archive and entirely replaces the current region (at the moment).
2008-07-14 20:56:53 +00:00
Justin Clarke Casey e30ca523ae * refactor: Move xml/archive loading and saving code into separate methods ready for future modularization 2008-07-12 20:14:17 +00:00
Justin Clarke Casey b835b1d7ec * refactor: collapse scene debug settings into same format as packet debug settings 2008-07-12 20:04:31 +00:00
Justin Clarke Casey 91a208b6a5 * Refactor: Minor cleanup of Debug method in OpenSim.cs 2008-07-12 19:47:45 +00:00
Justin Clarke Casey 451c3d1dd7 * Hive off ConsolePluginCommand into its own framework class 2008-07-12 19:29:49 +00:00
Justin Clarke Casey f7d9b0bab7 * Move thread tracking code to base opensim server so that it's available for all servers (UGAIM as well as Region)
* This will work as long as those servers are actually registering any threads they use (does not include stuff plucked from the thread pool)
* command is now "show threads" rather than threads
2008-07-11 16:24:52 +00:00
MW c9fe500212 Added "save-prims-xml2 <PrimName> <FileName>", as we were lacking a method to save a single primitive or small group of them. This command will save all prims in the current scene that name matches the "PrimName" parameter. The saved file is in standard xml2 format, so can be loaded using load-xml2 2008-07-01 19:23:45 +00:00
MW 5cfc468d95 more work on the support for multiple inventory servers.
The Login service should now read/create new inventory on the inventory server that is set in a users profile.
Also added "Add-InventoryHost" console command to add a support for a new server to a region.
So it would be good if someone could test this. Set up the grid as normal, but then also run extra inventory server on a different computer (well actually it just has to be on a different network hostname, so one using "http://localhost:8004" and one using "http://127.0.0.1:8005" should work) then you need to manually edit the user profile database to set the new servers url in a user's "userInventoryURI" field. 
Then on a region server, use the Add-InventoryHost to add the new server url (always include the full url, including http, but don't add a final /)
Login with that account and see if the inventory works.
Of course these needs to be made more user friendly.
2008-06-28 17:52:06 +00:00
MW 314181a70d small change to last commit 2008-06-26 17:23:05 +00:00
MW 682ec53420 As per the suggestion on the mailing list, added support for a OpenSim.xml config file, instead of a ini file. INI files still work the same as they did before, just now if a ini file isn't found, it looks for a OpenSim.xml file (of course in xml format) and if found uses that.
Includes a OpenSim.Example.xml for reference (the default settings saved as a xml file).
2008-06-26 17:20:08 +00:00
Jeff Ames a2b1a1787d Minor formatting cleanup. 2008-06-25 14:30:28 +00:00
Dahlia Trimble 064a2ea460 changed kickuser console command to use caseless compared substrings for first and last name parameters 2008-06-23 09:31:08 +00:00
Dahlia Trimble eecaf327b9 Changed the kickuser command to use the new console RegisterCmd feature. 2008-06-22 05:08:58 +00:00
Dahlia Trimble 55e7e7fc74 Added an experimental "kickuser" console command to log off a user by name. 2008-06-22 04:36:34 +00:00
Charles Krinke 5b159e957a Mantis#1580. Thank you kindly, Dmiles for a patch that:
solves an incorectly spliting and rejoining the passed in 
string[] cmdArgs and losing the double quoted separation 
of command arguments.
2008-06-21 23:17:15 +00:00
Charles Krinke b6667e7224 Mantis#1567. Thank you kindly, Dmiles for a patch that addresses:
Add a .Trim() that was forgotten in a previous patch titled:
[PATCH] Adds an API for for plugins to create new Console commands and Help
2008-06-18 21:07:40 +00:00
Jeff Ames dfb63b5623 Update svn properties. Formatting cleanup. 2008-06-09 08:46:33 +00:00
Charles Krinke 4ea9183b66 Mantis#1499. Thank you kindly, DMiles for a patch that:
was incorrectly sending the command along with the args to the CommandDelegate
help was getting lost on top of normal help & help was getting missed except 
in an exact match (and only returning the first)
2008-06-08 00:34:00 +00:00
Charles Krinke 6ce9a8ecdd Mantis#1495. Thank you kindly, Kinoc for:
0001495: [PATCH] Adds an API for for plugins to create 
new Console commands and Help
2008-06-07 22:02:28 +00:00
Justin Clarke Casey 15d41c2fc2 * Fix build break by eliminating remaining IScenePermissions references - must remember to nant clean
* Hook all server startups into base opensim server startup method
2008-06-01 01:34:46 +00:00
Justin Clarke Casey 45fef8589d * Move log version printing up into BaseOpenSimServer 2008-06-01 01:22:19 +00:00
Justin Clarke Casey 8e1d338656 * Refactor: Split opensim background server into a separate class 2008-06-01 01:01:16 +00:00