Commit Graph

280 Commits (f9984a9685ac92a34272f7231a0ec4097fc31a79)

Author SHA1 Message Date
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