Commit Graph

50 Commits

Author SHA1 Message Date
Melanie Thielker
4065ebff15 Remove the pre-log4net, discrete output methods from the consoles 2009-05-20 13:50:33 +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
MW
07ee252cf3 Renamed IMessageUserServerService to IInterServiceUserService.cs
Renamed MessageUserServerModule to InterMessageUserServerModule
2009-02-25 21:00:58 +00:00
MW
c856da2ee6 Renamed IUGAIMCore to IGridServiceCore, still not really happy with this name as it could be confused with the Grid Server namespace or with the IGridService in the region servers. 2009-02-25 19:39:56 +00:00
MW
8645fa9215 Removed the additions from the last revision for the "ShowHelp" delegate handling, as it seems that system isn't in use anymore. 2009-02-24 18:06:06 +00:00
MW
1e2835a10c More refactoring of the Grid/user/messaging servers. 2009-02-24 17:57:26 +00:00
MW
98178b4e9f Same treatment for the MessagingServer... added OpenSim.Grid.MessagingServer.Modules for the modules/components of it. 2009-02-24 16:13:16 +00:00
MW
bc5018b3c6 Updated MessagingServer to use OpenSim.Grid.Framework 2009-02-24 14:12:25 +00:00
MW
bafbfcf090 Some cleaning up in the MesssagingServer and GridServer. 2009-02-24 14:00:29 +00:00
MW
f3a24e432f First step in giving the messaging server the modular refactoring treatment. As with the other two servers, this is very much a work in progress. 2009-02-22 19:19:24 +00:00
lbsa71
801da4346a * optimized usings. 2009-02-12 09:53:12 +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
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
MW
11169c0e71 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. 2008-12-02 11:40:22 +00:00
MW
3223a4d16d made the messaging server OpenMessage_Main constructor public (from private) so it can be subclassed. 2008-11-25 15:19:46 +00:00
Melanie Thielker
ed300f21f0 05:24:49 - [PRESENCE]: Logging off 888760cb-a3cf-43ac-8ea4-8732fd3ee2bb because the region they were in has gone
Or, in other words, a region crash/restart no longer messes up presence.
2008-11-23 06:44:43 +00:00
Melanie Thielker
cbd0221870 Plumb in the presence notifications and region shutdown/restart messages
from the presence module to the message server, through the user server
and on into the database. This should fix the "Already logged in" issue
that grids see after a sim crashes, or a user crashes out of a sim.
Not yet a 100% solution for friends, but getting there.
2008-11-23 05:16:07 +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
Jeff Ames
b2d6b0a3d4 Update svn properties, minor formatting cleanup. 2008-10-27 01:43:59 +00:00
Homer Horwitz
80689c98b4 - Added BaseHttpServer.Stop
- Added "register" command to MessagingServer to re-register with the
  UserServer after that crashed/was restarted.
2008-10-22 17:06:23 +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
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
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
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
Jeff Ames
6ef9d4da90 Formatting cleanup. 2008-08-18 00:39:10 +00:00
Melanie Thielker
0a18d544c5 Mantis #1936
Thank you, gsky, for a patch that corrects the threading model
to use the multithreaded apartment in the grid servers and
region server.
2008-08-13 19:22:32 +00:00
Dr Scofield
748f72326d last round of warning squashing. calling it a day now. 2008-06-27 23:03:39 +00:00
Teravus Ovares
3991908db5 * This update enables grid wide presence updates.
* You'll need to start-up the MessageingServer and set it up.   It sets up like any of the other grid servers.
* All user presence data is kept in memory for speed, while the agent is online.   That means if you shutdown the messaging server or the messaging server crashes, it forgets who's online/offline.
* Occasionally the region-cache will get stale if regions move around a lot. if it gets stale, run clear-cache on the messaging server console to clear the region cache.
2008-06-02 16:16:07 +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
6812de9af2 * Minor: For no particularly good reason, make all console prompts conform to the same prompt scheme 2008-05-16 18:19:02 +00:00
Jeff Ames
65c5efe43b Formatting cleanup. 2008-05-16 01:22:11 +00:00
Justin Clarke Casey
313a635d1e * Fix opensim region server shutdown. 2008-05-09 13:21:12 +00:00
Justin Clarke Casey
250fb6f5db * Move shutdown processing to base OpenSimServer, overriding the method where appropriate
* This also means that the command quit (as well as shutdown) will now close down grid servers (instead of only being in place for the region server)
2008-05-07 16:24:15 +00:00
Adam Frisby
20a9bf08f5 * Rolled back a few changes. 2008-05-01 18:04:42 +00:00
Adam Frisby
fc6c4dc399 * Cleaning code still. 2008-05-01 16:41:01 +00:00
Adam Frisby
fef3b36894 * Optimised using statements and namespace references across entire project (this took a while to run). 2008-04-21 07:09:17 +00:00
lbsa71
7f11079f57 * Refactored out common http handler operations 2008-03-28 21:43:46 +00:00
Jeff Ames
47180080f0 Formatting cleanup. 2008-03-18 05:16:43 +00:00
Adam Frisby
4d9ed39444 * Four more warnings bite the dust. 2008-03-05 21:50:58 +00:00
Teravus Ovares
cb828c9824 * More Message server stuff. Still not ready. 2008-02-26 08:31:00 +00:00
Teravus Ovares
b831a91852 * Message Server Linkages (still not ready for use so don't start it yet) 2008-02-25 06:33:14 +00:00
Jeff Ames
49622dfbc5 Update version numbers to 0.5 2008-02-07 04:41:08 +00:00
Jeff Ames
6ed5283bc0 Converted logging to use log4net.
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-05 19:44:27 +00:00
Justin Clarke Casey
baefa05b57 * Rebase all current servers on common abstract BaseOpenSimServer class
* The immediate upshot is that "show uptime" from the console will now show uptime on all server types (user, asset, grid, etc)
* DEV: This refactoring is far from complete - only just enough to makes the "show uptime" command common accross the servers.  More is needed, but in this case it's somewhat like eating cabbage, which I prefer not to do all at once
2008-02-04 18:52:24 +00:00
Teravus Ovares
04dbcee74c * A few more Message Server comms related updates 2008-01-06 20:10:29 +00:00
Teravus Ovares
b8efd5f294 * Added some userserver glue for communications with the message server
* Added some code for the message server, fixed a few references and starting to flesh it out.
2008-01-06 18:18:19 +00:00
Jeff Ames
3d7e6fc6d8 Set svn:eol-style. 2008-01-06 11:17:57 +00:00
Teravus Ovares
b86d119721 * Added shell Messaging Server. Don't run the MessagingServer yet or you might end up with problems later. 2008-01-05 02:41:30 +00:00