Commit Graph

79 Commits (8acb60df0d6695f17f08e5f4a9fc17247ce45e17)

Author SHA1 Message Date
MW 58f3fa71c2 Made BaseOpenSimServer.ShutdownSpecific() public. As the OpenSimBase.Shutdown() includes a Environment.Exit(0); which is not always wanted when shutting down, like from a windows service.
Again not really a bug fix per se, but its not going to change stablebility.
2008-12-02 11:26:38 +00:00
MW c932aae4c3 a little bit more refactoring of startup 2008-11-06 20:17:20 +00:00
Charles Krinke c8db23d456 Thank you kindly, Diva for a patch that:
Makies OpenSimBase even more friendly to subclassing
2008-11-06 19:21:50 +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 204ef95843 Moved a couple of more configuration fields to ConfigSettings 2008-11-05 18:00:45 +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 a88e850ccf * minor: eliminate unused config field 2008-11-03 18:36:04 +00:00
Justin Clarke Casey 8c71954e08 * Use nini to pass config information to the client stack, rather than the ClientStackUserSettings class
* This conforms better to other module usage
2008-11-03 18:33:35 +00:00
Homer Horwitz 38e8853e57 Megapatch that fixes/adds: friend offer/deny/accept, friendship termination,
on-/offline updates, calling cards for friends.
This adds methods in the DB layer and changes the MessagingServer, so a full
update (incl. UGAIM) is necessary to get it working. Older regions shouldn't
break, nor should older UGAIM break newer regions, but friends/presence will
only work with all concerned parts (UGAIM, source region and destination
region) at this revision (or later).
I added the DB code for MSSQL, too, but couldn't test that.
BEWARE: May contain bugs.
2008-11-01 22:09:48 +00:00
Justin Clarke Casey 269303d97d * test: Add basic scene test which merely instantiates the scene right now
* set debug scene name on scene registration, rather than within the Scene constructor
2008-10-31 18:39:51 +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 f7205da1d9 * move command line parsing code from inventory archive modules to opensim server
* use default inventory archive name if none is given
* other minor cleanups
* this facility is not useable yet
2008-10-19 17:51:42 +00:00
Adam Frisby 54d7be8a49 * Adding CrytoGridAssetClient support - allows encrypting assets that are stored on a potentially hostile grid. This is not DRM, not should be relied on until after it's been security audited. I'll write a blog post on this explaining how/why/when you should use this, and what it does. 2008-10-14 08:54:46 +00:00
Melanie Thielker 8bc724a418 Fix a path issue i caused in a prior commit 2008-10-11 20:23:54 +00:00
Melanie Thielker 143419ebb2 Add a "inimaster" switch to OpenSim.ini. It will load a master ini file
and then the OpenSim.ini only needs to contain instance specific data
2008-10-11 17:51:16 +00:00
Justin Clarke Casey c26f177cd4 * Fix http://opensimulator.org/mantis/view.php?id=2368
* This returns to writing the OpenSim.ini using default values if it (or OpenSim.xml) isn't found
2008-10-09 18:33:42 +00:00
Melanie Thielker c101dd2bad Provide a sane value for DefaultScriptEngine (ScriptEngine.DotNetEngine)
rather then the previous invalid string "DotNetEngine". Remove the
script_engine options, as it is not used anymore.
2008-10-09 18:12:15 +00:00
Justin Clarke Casey 31362a67df * Tidy up configuration stuff, eliminated default setting duplication along the way
* This revision also makes the exception catcher of last resort print to the log instead of just the console
* This means logs should now capture sim crashing exceptions, though not those which are caused by a crash of the virtual machine itself
2008-10-04 20:27:55 +00:00
Justin Clarke Casey 344e33b8fc * minor: both OpenSimBase and the Voice and RemoteAdmin modules were checking whether any config was set
* Resolve redundancy by removing the OpenSimBase check - if modules are recieve nini config directly they should probably be the ones to do the checking
2008-10-04 19:17:39 +00:00
Justin Clarke Casey 0f77a334bd * minor: slightly simplify code in setting up the default configuration
* we appear to both setup a default configuration and provude identical defaults when we later try to read the values - this is probably not really necessary
2008-10-03 19:52:29 +00:00
Justin Clarke Casey 4920e52f11 * oops, fix build break.
* refactoring
2008-10-03 19:42:35 +00:00
Justin Clarke Casey 170cb935cd * refactor: make shutdown a template method in the same manner as startup, for consistency's sake 2008-10-03 16:06:00 +00:00
Justin Clarke Casey 70124a3213 * refactor: make startup a template method 2008-10-03 15:11:29 +00:00
Justin Clarke Casey a888dbc60a * Fix http://opensimulator.org/mantis/view.php?id=2189 for real this time
* Ignore any exception encountered during shutdown rather than aborting the quit command
2008-09-29 15:40:16 +00:00
Justin Clarke Casey 104039b6c6 * reactor: move inventory archive classes into separate Inventory/Archiver directory
* This is not yet a real module (and is arguably not a region module anyway)
2008-09-29 15:14:57 +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
Melanie Thielker 94aaf67dfa Change the scirpt engine loading mechanism. Script engines are now
ordinary region modules and are able to coexist in one instance.
See http://opensimulator.org/wiki/ScriptEngines for details. There were
changes to OpenSim.ini.example, please note DefaultScriptEngine.
Also see the User docs and FAQ on the Wiki. Default is DotNetEngine.
2008-09-21 21:47:00 +00:00
Justin Clarke Casey e518fe5d34 * Enables logins to regions on a grid once they have finished starting up (this does not include script startup). 2008-09-19 20:02:19 +00:00
Justin Clarke Casey 5fb7b485b2 * Only allow logins on standalone when the sim has completed it's initial startup (script startup doesn't count here)
* There was a small window where region logins were allowed before modules were loaded - avatars logins that hit this window could have caused bad things to happen.
* A similar change will follow for grid mode sometime soon
2008-09-19 17:41:21 +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 c2ee263999 * refactor: Break out IUserServiceAdmin out of IUserService since admin methods don't need to be implemented on Grid hosted region servers 2008-09-15 18:23:36 +00:00
Justin Clarke Casey f3497d9f57 * Start loading prims after region module configuration rather than before
* In some circumstances, loading prims can invoke region modules
2008-09-11 13:56:25 +00:00
lbsa71 8388fe0669 * some if inversions and added {}'s for readability 2008-09-08 14:30:35 +00:00
Melanie Thielker 9e545c9984 Mantis #2133
Thank you, Xugu Madison and ChrisDown, for a patch that
fixes linux filename extensions from .Xml back to .xml
2008-09-06 14:58:23 +00:00
Teravus Ovares f342bd1e96 * Replace a Try/catch I commented out while testing/fixing issues. 2008-09-06 08:10:40 +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
Dr Scofield 109aa00150 fix: PostInitialise() not being called on script engines (nasty one that)
cleanup: warnings, readability
2008-09-02 12:07:23 +00:00
Adam Frisby f57f4d1ab8 * Added "File Asset Client" to OpenSim Asset Server-types.
* You can replace "grid" as the asset system with "file" to save and load all your assets from a directory on your hard disk. Files are serialised to XML and saved in the format "/<dir>/0x/0x/0x/0000-0000-000000-0000-0000.xml"
* Directory <dir> is sharing the Asset Server URL path, use a normal path here instead (ie C:\xyz or /var/assets/). 
* This probably wont work well in grid mode unless every sim has access to the same directory. This is mostly intended for standalone usage where quick and convenient access to assets is required.
2008-08-30 04:42:23 +00:00
Teravus Ovares 2912aafe25 * This commit incorporates the heart of the OpenGridProtocol patch that is currently on Forge in a nice, friendly modular format.
* There are a lot of changes and this is quite experimental.  It's off by default, but you can turn it on by examining the bottom of the opensim.ini.example for the proper OpenSim.ini settings.    Remember, you still need an agent domain..  
* Furthermore, it isn't quite right when it comes to teleporting to remote regions (place_avatar)
2008-08-25 07:35:17 +00:00
Dr Scofield d972d22788 bug fixes:
- GridInfoServices was not paying attention to location of ini file
- typo in RemoteAdminPlugin
2008-08-22 11:09:38 +00:00
Jeff Ames 6ef9d4da90 Formatting cleanup. 2008-08-18 00:39:10 +00:00
Justin Clarke Casey 992b04a23e * Move GridInfoService into Framework.Communications and eliminate Common.Communications for now (since this was the only class in that project) 2008-08-16 20:42:43 +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 6d15f25026 * Allow an individual item to be specified as well as a folder in save-inv
* No user functionality yet (and not for some time)
2008-07-31 18:32:57 +00:00
Justin Clarke Casey 900a656420 * refactor: rearrange path inventory manipulation so that input tidying can be used for item paths as well 2008-07-31 18:23:17 +00:00
Justin Clarke Casey a62b906a7b * allow inventory folders to be located by path
* first pass method impl
2008-07-31 17:32:13 +00:00
Justin Clarke Casey 58af0fabeb * minor: reduce coupling by passing in only session id to CachedUserInfo 2008-07-31 15:53:07 +00:00
Justin Clarke Casey d84a6bca55 * minor: temporarily command out variables to prevent compile warnings 2008-07-29 18:16:17 +00:00
Justin Clarke Casey 19a5e56d55 * add file path parameter to save-inv (in development) 2008-07-29 18:14:58 +00:00