Commit Graph

462 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 66737b9c0c Added two new "trusted" url handlers to the Inventory server, to allow the user server to get a list of items in a folder and add a new item.
Not really bug fixes but as trunk is so unstable at the moment am adding them to 0.6.0-stable branch as well
2008-12-02 10:43:01 +00:00
MW fdbe41926b made the messaging server OpenMessage_Main constructor public (from private) so it can be subclassed. Not exactly a bug fix per se but makes is a small change that makes this branch more usable. 2008-11-25 15:21:51 +00:00
Charles Krinke 557c7de2ec Thank you kindly, Diva, for a patch that:
Removed unnecessary dependency from 
Get/PostAssetHandlers to OpenAsset_Main
2008-11-06 19:24:42 +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
Mike Mazur 3fd35f9fbe GridManager.GetRegions() now returns a List, not a Dictionary. Also removed some trailing whitespace. 2008-10-29 02:27:39 +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 97f4226666 * Apply a modified version of the part of http://opensimulator.org/mantis/view.php?id=2361 that allows region registration to be enabled/disabled on the grid server
* Region registration is enabled by default in the configuration unless the user chooses otherwise
* On the console
* show status - shows grid status
* enable-reg - enables region registration to the grid
* disable-reg - disables region registration

* Enabling or disabling region registration will not affect any other grid functions or regions already on the grid
2008-10-13 20:35:45 +00:00
Charles Krinke f2ec151328 Mantis#2340. Thank you kindly, Sacha Magne for a patch that:
adding default_loginLevel in USerServer.xml to set a default 
login level to acces to the grid. Fixing one bug in login_reset
2008-10-06 14:02:42 +00:00
Jeff Ames aab6cdd8b0 Update svn properties, minor formatting cleanup. 2008-10-05 14:15:39 +00:00
Justin Clarke Casey 0b594a072c * Check in the second part of http://opensimulator.org/mantis/view.php?id=2334 since enough time has passed such that servers following head have probably updated
* This patch aims to store look at data when an avatar logs off in grid mode
* However, in my short test it doesn't appear to be working yet - numbers are being stored but they don't look correct
* But this doesn't appear to cause any login problems
* Thanks tyre
2008-10-04 18:46:34 +00:00
Homer Horwitz 16d68749a4 Add the missing bits for the new region-search:
- Added lookup in the data-layer
  - MySQL works
  - SQLite doesn't have a grid-db, so it won't work there
  - I added MSSQL-code to the best of my knowledge; but I don't know MSSQL :-)
- Added the plumbing up to OGS1GridServices. This speaks with the grid-server
  via XMLRPC.
- Modified MapSearchModule to use the new data. It's backward compatible; if
  used with an old grid-server, it just returns one found region instead of a
  list.
- Refactored a bit.
Note: This updates data, grid-server and region code. No new files.
2008-10-03 23:00:42 +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
Melanie Thielker 8963522aab Mantis #2314
Thank you, sacha magne, for a patch to add login level and message
commands to the user server
2008-10-02 15:36:10 +00:00
Melanie Thielker fecbb2febd Add a user server XMLRPC method to set the MOTD and the minimum GodLevel
required to log in. set_login_params accepts avatar_uuid and password of a
user with god level 200 or more, and allows setting either or both the
login_motd or login_level
2008-10-01 15:17:37 +00:00
Justin Clarke Casey 4daaac662f * Apply http://opensimulator.org/mantis/view.php?id=2295
* Updated MSSQL to reflect resend changes 
* Added the new columns in prims table.
* Created a implementation for getting gestures.
* Remove configurable table names for user. 
* Thanks Ruud Lathorp
2008-09-29 15:22:48 +00:00
Charles Krinke d3bb8e42a6 Mantis#2289. Thank you kindly, SMeans for a patch that:
Corrects the spurious reference to MySQL namespace in
GridManager.cs.
2008-09-28 17:17:14 +00:00
Teravus Ovares 16b6738cda * Patch from JHurliman
* Updates to libomv r2243, 
* Remove lots of unnecessary typecasts
* Improves SendWindData()
Thanks jhurliman. 
* Will update OpenSim-libs in 10 minutes..
2008-09-26 17:25:22 +00:00
Homer Horwitz fe9aea258f Add persistence of active gestures. This needs an UGAIM update to work.
Active gestures are sent as part of the login-response. Added
fetchActiveGestures to SQLite and MySQL; added an empty one for MSSQL and
NHibernate. Using the empty ones won't cause errors, but doesn't provide
persistence either, of course.
2008-09-24 21:12:21 +00:00
Tedd Hansen e94d6f12ee More ScriptEngine cleanup 2008-09-17 16:46:23 +00:00
Justin Clarke Casey d0aabcb186 * Add "reset user password" command to user server
* Some copy and pasting has occurred because it's difficult to properly refactor some bits at present.  I'm very ashamed and it will disappear at some future point.
2008-09-15 19:17:10 +00:00
Justin Clarke Casey ddaa90d270 * refactor: collapse UpdateUserProfileProperties() into existing UpdateUserProfile
* the methods were identical except that the Properties one did a check for the user profile beforehand.  However, every caller was doing this already anyway.
2008-09-15 19:02:34 +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
Homer Horwitz d7d1bee4a7 MessageServer gets the agent position (positionx/y/z) as float, not as int in
the login_to_simulator message. Changed parsing accordingly (#2190).
2008-09-14 13:57:25 +00:00
Melanie Thielker 2819559499 Mantis #2124
Thank you, RuudL, for a patch that brings MSSQL up to the same
implementation level as MySQL.
2008-09-14 13:23:02 +00:00
Justin Clarke Casey 52a4c4d82f * Check in first part of http://opensimulator.org/mantis/view.php?id=2073
* This patch aims to introduce look at direction persistence between logins.  It won't be active until the second part of the patch is committed in about two weeks time.  At 
this point, region servers that haven't upgraded past this revision may run into problems
* This checkin upgrades the user database.  As always, we recommend you have backups in case something goes wrong.
* Many thanks to tyre for this patch.
2008-09-12 20:12:03 +00:00
Tedd Hansen 85a0e03984 Note to self: VisualSVN not fully compatible with OpenSim prebuild :) 2008-09-12 18:46:52 +00:00
Tedd Hansen b41acfb4cf Cut of remote server as AppDomains and even WCF can do it better (better means less code in this case) 2008-09-12 18:42:02 +00:00
Sean Dague f141751cf9 From: alan_webb@us.ibm.com
Make CHANGED constants consistent with LSL, and consistent across the
code base
2008-09-09 14:51:41 +00:00
Jeff Ames fae34bb10c Update svn properties, formatting cleanup. 2008-09-09 01:26:48 +00:00
Justin Clarke Casey 108f3b89f5 * On a failing login, don't bother trying the default region if it's the same as the original login region 2008-09-07 05:29:12 +00:00
Justin Clarke Casey 42661a8a97 * Increase expect_user XMLRPC timeout from 6 to 30 seconds
* This may possibly (est. 20% change) help the situation that we see on OSGrid meetings when a region stops accepting logins, which appears to be because it never receives the expect_user request
2008-09-07 05:21:03 +00:00
Justin Clarke Casey 815278531a * Improve login failure handling.
* Now it should properly inform the user and stop a login if a region server could not be contacted in order to expect a user (the last commit didn't actually quite work correctly)
2008-09-07 05:07:57 +00:00
Justin Clarke Casey 260b141306 * refactor: Remove duplication in UserLoginService where most of the emergency region login code is a cut and paste job of the preceding normal region login code
* also, properly tell the user if no region can be contacted, rather than letting the login proceed only to fail later when authentication fails on the region side
* copying and pasting code... it makes me cry inside... so sad...
2008-09-07 04:20:47 +00:00
Justin Clarke Casey b9acf3ac5e * minor: for now, print out the exception if logging into the initially selected region fails, rather than swallowing it 2008-09-07 03:34:44 +00:00
Justin Clarke Casey 78f831ef52 * minor: Clean up of logging messages to make following the client login process easier
* documentation
2008-09-07 03:22:33 +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
Charles Krinke da244d1e90 Mantis#2048. Thank you kindly, HomerHorwitz for a patch that:
The attached patch (against r6075) fixes it for grid-mode. If the 
home-region isn't available, the stored regionHandle will be used 
to compute the region-coordinates of the home. This will be wrong 
if the home-region has moved, of course, but without the region 
being online we can't request the RegionInfo of it for finding out. 
Doing that (before the patch) and accessing the (null) RegionInfo 
led to a NullReferenceException, which prevented logging in to the 
last location.
2008-09-05 23:38:42 +00:00
Justin Clarke Casey 3faadb3f5c * minor: Tiny doc addition to trigger another build that hopefully won't fail
* I can't see why the last compile failed - hoping it's some kind of glitch
2008-08-30 18:29:37 +00:00
Adam Frisby 618ccd4ebc * Ditto, UserServer/Main.cs 2008-08-30 13:06:58 +00:00
Adam Frisby d0397af998 * More cleanup, including UserManager. 2008-08-30 13:03:38 +00:00
Adam Frisby 50a62145ad * Initial inspection of UserLoginService.cs, cleaned up source code slightly to make it easier to work with. 2008-08-30 12:58:54 +00:00
Jeff Ames 3bf8858727 Update svn properties, formatting cleanup. 2008-08-28 14:41:54 +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
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
Charles Krinke d190f1d2dc Mantis#2041. Thank you kindly, HomerHorwitz for a patch that:
The attached patch fixes that your home-location icon is 
displayed on the region you logged in, not on your home-region.
2008-08-24 15:54:10 +00:00
Charles Krinke 89f2148f56 Mantis#2036. Thank you kindly, HomerHorwitz for a patch that:
Not enough logging. Added IP endpoing of request to the log 
messages on lookup-failure
2008-08-23 21:44:57 +00:00