Commit Graph

488 Commits (7ce8ccb043002520a82ce14325e991a22e0c292b)

Author SHA1 Message Date
Sean Dague ba6b3ade3b fix a bug with the Grid REST interface that was returning the classname
in the UUID field instead of the actual UUID because of an implicit use
of ToString()
2008-12-17 21:59:20 +00:00
Charles Krinke 6cf0b81864 Mantis#2811. Thank you kindly, Diva for a patch that resolves
some of our DNS/dotted decimal issues that plague teleporting.
We are increasing the MajorInterfaceVersion from 1 to 2 in the
gridserver, so sims will need to be updated on various grids.
2008-12-13 16:25:20 +00:00
Justin Clarke Casey 80f285a2aa * minor: Be a little more informative when a region fails to connect because it fails to implement the required OGS interface version 2008-12-12 21:21:35 +00:00
Homer Horwitz 7672bdb0a3 Add hostnames in addition to IP address to some more places. This continues r7676.
NOTE: Changes UGAIM.
2008-12-11 21:49:11 +00:00
Homer Horwitz d943abea57 Move from IP to hostname for seed caps on login, for gridmode and standalone.
All the other caps (except the initial one) are already sent with hostname
instead of IP.
NOTE: This changes gridserver and userserver
2008-12-11 19:52:29 +00:00
Homer Horwitz 33d7913341 - Fixed missing ToString() in map_blocks response in grid-server
- Added remoting_port to the non-fast if-branch, too
- Added httpPort field to map_blocks response. This isn't needed yet, but will be for correct crossing between regions.
Note: This touches the GridServer.
2008-12-05 17:31:20 +00:00
lbsa71 5588cb3e92 * reverted 7561 as the logger reference should always be private to the class. Thanks sdague for the protip! 2008-12-02 14:09:45 +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 b62b9af6b0 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. 2008-12-02 11:15:08 +00:00
lbsa71 5d290cda4a * Making log available for subclasses 2008-12-01 10:06:10 +00:00
Justin Clarke Casey 7b49c711e9 * minor: Eliminate unused paramter in LocalUserServices constructors 2008-11-28 15:40:44 +00:00
Justin Clarke Casey 0862627b34 * refactor: move CreateUser into UserServiceAdmin 2008-11-28 15:34:30 +00:00
lbsa71 4a54e3412d * Opened the registration of http handlers up for subclassing 2008-11-27 14:39:44 +00:00
Jeff Ames de052c48d1 Add copyright headers. Minor formatting cleanup. 2008-11-25 16:10:08 +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
lbsa71 dbe64197ae * Adding some virtual hooks and making some privaets protected for great justice. 2008-11-25 11:46:15 +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
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
Melanie Thielker 26cbe5649d Move user server -> message server notifications into a separate thread
to make the user server more responsive
2008-11-22 18:54:58 +00:00
Jeff Ames ecac5c9c5a Update svn properties, minor formatting cleanup. 2008-11-21 18:44:48 +00:00
Melanie Thielker f518ca7feb Reapply r7369 r7367 r7366 r7370 r7381. This brings it back up to the new
libOMV.
2008-11-19 06:25:34 +00:00
Melanie Thielker 3234472d62 Reverting the texture sending patch and the new libOMV. This makes this
release a direct descendant of the stable 7364, with all the features and
none of the issues.
This omits the following patch chain: r7383 r7382 r7381 r7377 r7375 r7373
r7372 r7370 r7369 r7368 r7367 r7366
2008-11-19 06:15:21 +00:00
Justin Clarke Casey c25a0ea792 * Update libOMV to r2359. This is necessary for the progressive texture patch
* Update libopenjpeg as well for this patch.
* Appears to be okay on a very short sniff test
* Source code will be placed in opensim-libs shortly
2008-11-17 21:00:34 +00:00
Justin Clarke Casey dcfd343a1e minor: remove mono compiler warnings 2008-11-17 16:22:21 +00:00
Melanie Thielker fa50156b4c Make the messageing server re-register with all it's user servers every five
minutes. This ensures that things don't get messy if a user server is restarted
and the user server's operator has no control over the host the message servers
run on.
2008-11-17 05:04:33 +00:00
Melanie Thielker 840ef17b8d Allow more then one user server in the user server config of the
message server. This is needed for larger grids
2008-11-17 03:28:38 +00:00
Justin Clarke Casey 2b97c84d1d * minor: remove log message that gives wrong user server 'version' 2008-11-11 18:15:30 +00:00
Justin Clarke Casey 97816f8c90 * Implement basic region filtering as described in https://lists.berlios.de/pipermail/opensim-dev/2008-November/003468.html
* This is done by sending a 'major interface version' number on sim registration.  Developers must increment this every time they make a change that would make the previous 
OpenSim revision failure incompatible with the new one (non-fatal incompatibilities are fine).
* This number resides in OpenSim.Framework.Servers.VersionInfo.MajorInterfaceVersion
* This allows the grid service to stop older, incompatible regions from connecting
2008-11-11 17:02:46 +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