Commit Graph

7759 Commits (63a499c56938de708c6f79da24d1600f8842187f)

Author SHA1 Message Date
Adam Frisby 561d6c1cdc * Converts recently added OGSRadmin to IRegionModule because I cant be arsed figuring out Mono.Addins. 2009-05-28 18:59:18 +00:00
Adam Frisby 940b5567a0 * Adds OGS RAdmin class. Adds primitive remote admin functions for gridservers to perform on region servers. Used for grid-wide announcements, etc. 2009-05-28 18:27:08 +00:00
Adam Frisby a7b49084ad * May make the terrain flatten brush behave like Second Life(tm)'s client expects. May break everything. You decide! 2009-05-28 15:27:15 +00:00
diva 275e53b126 This may bring the missing texture back. 2009-05-28 15:05:00 +00:00
lbsa71 0787967f59 * So, giving up on my efforts to de-duplicate the asset handlers. I'll just service commit my current state, then start over and this time concentrating only on the new handlers.
* Fixed some erroneous refs in Tests.Common
2009-05-27 18:27:28 +00:00
Dr Scofield 901fdca13b From: Chris Yeoh <cyeoh@au1.ibm.com>
The attached patch implements llPassTouches. It has been added
to the export/import XML along with the flag for AllowedInventoryDrop.

The MySQL backend has been updated as well, though I haven't
done one of those before so could do with a check. I added
the migration mysql file as well.

The other data backends need updating as well.
2009-05-27 18:01:06 +00:00
Dr Scofield 9e37e291b0 making TarArchiveReader more resilient when faced with OARs created by
ancient tars.
2009-05-27 17:34:06 +00:00
diva e0ef697402 Adding the GlynnTucker cache module as the default choice in .ini's.
Minor log message change in the module itself.
2009-05-27 16:11:23 +00:00
Jeff Ames a576cca59e Update svn properties. 2009-05-27 14:30:33 +00:00
Sean Dague 85e91ddb67 Revert "* Added IntegrationTest Attribute and tagged the ODETestClass"
This reverts commit 8f0096cc7b112fea8f69f391224911f624482747.

To get us back to compiling on fresh checkouts.
2009-05-27 12:53:29 +00:00
lbsa71 17f0a4be53 * Added IntegrationTest Attribute and tagged the ODETestClass 2009-05-27 12:36:58 +00:00
lbsa71 892406248a * Added OpenSim.Server.Handlers.Tests project
* Added AssetServerGetHandlerTests - not really wired up yet; more to come.
* Ignored some gens
2009-05-27 11:54:17 +00:00
diva 7ab1986bf0 Catching weirdnesses on resolving External EndPoint in agent transfers. Will probably need to do more aggressively. 2009-05-26 22:39:01 +00:00
diva ce5225e6dc Experimental alternative cache module implementation, using GlynnTucker.Cache.dll. 2009-05-26 21:24:18 +00:00
diva c061b4cb49 Changed the order of things in Scene creation. This piece of code is very jibbery, widely different results with slightly different orders. This particular order produces the best results in the UC Irvine sim in osgrid. But clearly there's something messed up here.
Addresses mantis #3707, mantis #3713, mantis #3686.
2009-05-26 16:45:30 +00:00
lbsa71 b773a3a02f * We have strand flavours.
* The version string is now reported as "OpenSim 0.6.5 (Dev)"
* This has to be administrated manually.
2009-05-26 16:18:41 +00:00
lbsa71 5d23ecebeb * Introduced GetVersionString so we can harness the whole thing.
* Introduced 'Flavour' to spice things up.
2009-05-26 16:01:06 +00:00
lbsa71 f76615a66d * slowly getting there... 2009-05-26 15:46:09 +00:00
lbsa71 1cfcace30f * Changed Version to property for great justice 2009-05-26 15:43:43 +00:00
lbsa71 bac1194391 * Added test to make sure version info is 27 chars long (still don't know exactly why it has to be that, though) 2009-05-26 15:35:55 +00:00
diva bc2a22fb4b Catching exceptions on Store, including timeout. Store may fail, for whatever reason, but it won't crash the sim.
Addresses mantis #3707, mantis #3713, mantis #3686.
2009-05-26 15:26:22 +00:00
diva c66ef94a7b Commented a log message related to users not found, because it floods the log when the sims have prims from foreign users. 2009-05-26 02:47:02 +00:00
diva 49804f67dc Restoring the initial CAP Url to exactly what it used to be before Adam's changes. Adam's code is still there, but commented, until we figure out what's going on. 2009-05-26 02:24:38 +00:00
Melanie Thielker 0b9076cd17 Revert a change I made to get a better URL because it failes under mono 2009-05-26 01:38:32 +00:00
Melanie Thielker 2f74a7e3a6 Couple of tweaks to the URL module: handle script reset gracefully and
stop crashing http server threads.
2009-05-26 01:27:22 +00:00
diva 6ff01c774e Addresses mantis #3718. 2009-05-26 01:05:40 +00:00
Adam Frisby 3fdafc53bd * Fiddles with some login network code to attempt to fix login bug. 2009-05-26 00:53:49 +00:00
diva 27e7f0fa35 Fixed a typo. 2009-05-25 23:33:56 +00:00
Melanie Thielker c7a2632500 Correct a minor typo 2009-05-25 21:15:14 +00:00
diva cb704ecde1 Beginning of refactoring RESTComms/LocalComms in the new style of services and connectors. This commit has the beginning of the In connector, not the Out. Nothing of this is finished yet, and it doesn't run. But it should compile ok. 2009-05-25 20:30:24 +00:00
Justin Clarke Casey 582c20b1c4 * reseparate inventory item creator id and creator uuid
* unfortunately, while the client requires uuids and we want to be able to have arbitrary string ids, these cannot be kept in sync
* I think the problems last time were due to a serialization change
* So the major inteface version has been bumped to take care of any lingering issues here.
* This means that region servers beyond this revision can only connect to similarly uptodate grid services, and vice versa
2009-05-25 19:54:47 +00:00
diva 896c206718 One more utility. Not used yet. 2009-05-25 19:20:27 +00:00
Justin Clarke Casey ca9432d110 * Display normal log information in the console's default foreground colour, for those of us with white backgrounds 2009-05-25 16:29:01 +00:00
Dr Scofield eaa89f5a03 oops: wrong "path" in addin.xml 2009-05-25 12:27:17 +00:00
lbsa71 ba360ede8b * Upped version number to 0.6.5 2009-05-25 11:43:56 +00:00
Dr Scofield c18c1f6c7c Revert "From: Chris Yeoh <cyeoh@au1.ibm.com>"
This reverts r9666. for some reason the mysql update does not work.
2009-05-25 11:32:31 +00:00
Dr Scofield 0bff818d39 From: Chris Yeoh <cyeoh@au1.ibm.com>
The attached patch implements llPassTouches. It has been added
to the export/import XML along with the flag for AllowedInventoryDrop.

The MySQL backend has been updated as well, though I haven't
done one of those before so could do with a check. I added
the migration mysql file as well.

The other data backends need updating as well.
2009-05-25 11:26:36 +00:00
Dr Scofield d4d9d8ed8f converting CapabilitiesModule to new region module scheme 2009-05-25 11:11:04 +00:00
Dr Scofield 7929970257 letting TestClient implement IClientCore as well to fix test case
failure due to new NAT code
2009-05-25 10:40:09 +00:00
Dr Scofield b840535622 dropping attendee list keeping from Concierge, relying on
Scene.GetAvatars() instead now. [test #487]
2009-05-25 09:32:44 +00:00
Adam Frisby a38285f7f9 * Attaches debug info to some DNS resolution code. 2009-05-25 06:46:41 +00:00
Jeff Ames d4957dd9be Update svn properties. 2009-05-25 01:59:50 +00:00
Adam Frisby 9023b93e2f * Disabled NAT translation support for a little while. 2009-05-25 01:12:28 +00:00
Melanie Thielker 4e64bf9360 Prevent group deeded objects from being returned by the group return option
unless the user has that permission through the group.
2009-05-24 17:29:40 +00:00
Melanie Thielker ca75c101ec Allow the perms module to inspect and modify the list of objects to return
for more fine-grained control
2009-05-24 17:20:47 +00:00
Melanie Thielker c028d0a3c1 Make group permissions control what a user can return. 2009-05-24 16:55:34 +00:00
Melanie Thielker f3f7d60367 Add a new permissions check for bulk object returns. 2009-05-24 16:11:35 +00:00
diva 006c2c2e8f Fixes map image on link-region (HG). 2009-05-24 02:09:20 +00:00
Adam Frisby 2cfe44f13e * Mono sucks. (Fixes crash due to Mono not implementing NetworkInformation.IPv4Mask aka Subnet masks) 2009-05-24 02:07:54 +00:00
Adam Frisby ac79ff8dc6 * Adds NAT routing support for MXP Asset Delivery. (This means MXP should be fully NAT compatible.) 2009-05-24 01:36:13 +00:00
diva fb6d314d4d This should make HG asset transfers work much better. It now uses HGUuidGatherer, which is a subclass of UuidGatherer. Hence, on-line HG asset transfers use exactly the same UUID collection code as save oar/xml. If it doesn't work, it's Justin's fault :D 2009-05-23 17:51:13 +00:00
Adam Frisby 70f6a2852e * Fixes [irritating] edge case in Util.GetLocalHost which could return an IPv6 address if no non-loopback IPv4 address can be found.
* Restores internal IPv6 support to NetworkUtil.*
* Fixes bad login unit tests.
2009-05-23 07:51:29 +00:00
Adam Frisby 6fe55a7ff8 * Disables internal IPv6 Support - causing issues. 2009-05-23 07:29:14 +00:00
Adam Frisby bb363d9aa4 * "Fixed" an issue with NAT Login Handler, apparently an IPv4Mask can be null on an IPv4 address. Go figure. (!?!) 2009-05-23 07:07:02 +00:00
Adam Frisby 6b312d9340 * Implements automatic loopback handling for standalone regions.
* This /should/ make OpenSim behave properly when hosting behind a NAT router and utilizing port forwarding (but the router doesn't support Loopback)
2009-05-23 06:29:08 +00:00
Adam Frisby e9ea959263 * Pipes IPEndPoint through all Login methods, including LLSD/OSD login paths. 2009-05-23 06:14:02 +00:00
Adam Frisby 31baeef469 * Pipes requestors IP address through all XmlRpcRequest delegates. This is needed to be able to 'NAT-wrap' the login sequence.
* If you have something using XmlRpc that isn't in core, change your method signature from:
   (XmlRpcRequest request)
to:
   (XmlRpcRequest request, IPEndPoint remoteClient)
2009-05-23 06:05:20 +00:00
Adam Frisby 3b1b3ac9bb * Breaks OpenSim.. err I mean.. adds NAT translation support to EnableSimulator EventQueue methods.
* NB: This may actually break logins on certain regions. Shake well before consuming.
2009-05-23 05:44:18 +00:00
Adam Frisby f8c569dc7c * NetworkUtil now handles an error case in a way which is easier to debug. 2009-05-23 05:18:37 +00:00
Adam Frisby 2d06135166 * Adds new NetworkUtil class, contains methods for handling IP resolution when located on the same subnet. (Eg, can be used to avoid NAT Loopback requirements if fully utilized.)
* Adds a few new network-related methods to Util.
2009-05-23 05:09:10 +00:00
Justin Clarke Casey a3145e4e5a * Reintroduce save iar test, which wasn't working because the asset service hadn't been manually post intiailized 2009-05-22 19:59:45 +00:00
diva 6d6d8445b9 Bug fix in HGAssetService. POSTs back home (standalone) should now work. 2009-05-22 18:02:49 +00:00
Dr Scofield 3b689e506f From: Alan Webb <alan_webb@us.ibm.com>
Changes to support client-side image pre-caching in the region. This
  commit adds an additional calling sequence to the DynamicTexture data
  and URL calls. The new interface allows a dynamic image to be loaded
  into a specific object face (rather than the mandatory ALL_SIDES
  supported today.
  This is in part fulfilment of ticket #458.
2009-05-22 16:22:49 +00:00
Dr Scofield 6626937e9a From: Alan Webb <alan_webb@us.ibm.com>
- Fix typographical error in RPC response.
- Remove obsolete commentary.
2009-05-22 15:21:49 +00:00
Dr Scofield 55442f3644 From: Alan Webb <alan_webb@us.ibm.com>
RequestUserInventory is supposed to drive a supplied callback
  when it completes. In fact, it fails to do so if the user's
  inventory does not exist (e.g. the inventory database is
  unavailable for some reason), and the requestor is left
  sleeping forever.
  The code has been modified to return empty lists via the
  callback as an accurate reflection of what is there: nothing.
2009-05-22 15:18:41 +00:00
Dr Scofield 1d02636c27 cleaning out warnings.
NOTE: we currently have a gazillion warnings caused stuff flagged as
"obsolete" (OGS1 stuff) --- what's up with that?
2009-05-22 14:57:00 +00:00
Dr Scofield 912be7a2ac converting Chat module and Concierge module to new style region modules 2009-05-22 14:25:50 +00:00
Dr Scofield 1df80943b0 dropping sex from SceneBanner... 2009-05-22 14:21:44 +00:00
Dr Scofield 37726764be changing IRCBridgeModule to new region module scheme 2009-05-22 11:37:26 +00:00
Dr Scofield ac2fe53e89 adding RemoveXmlRpcHandler to IHttpServer 2009-05-22 11:37:14 +00:00
diva da170cde46 Cleaning up a few HG things. HG Posts may now work in grids, but if the home grid is a standalone, this still doesn't work -- something wrong with RegionAssetService's DB connection. 2009-05-22 04:23:59 +00:00
Melanie Thielker 8f8e20b39d Small update to make the command line work again 2009-05-21 23:07:26 +00:00
Melanie Thielker e5f3337c3f Implement .ini file includes. Anything that begins with "Include-" will be
treated as another ini source to load.
For example:
Include-Asset = AssetSetup.ini
will load AssetSetup.ini after all other ini files are done.
This works recursively, too
2009-05-21 23:06:10 +00:00
Arthur Valadares a85f496f4d * Upgraded LLStandaloneLoginModule, LLProxyLoginModule and LLClientStackModule to new
region modules. This was needed because the stand alone and grid modules weren't deleting
old scenes, which caused an issue when deleting and recreating a region with same name
on same x,y coordinates. Tested it on standalone and issue is fixed. Requires prebuild
to be run again.

Fixes Mantis #3699
2009-05-21 20:28:59 +00:00
Dahlia Trimble 3d0f110f21 normalize quats before applying llSetRot() 2009-05-21 19:44:20 +00:00
MW 8e6289b8ca Hooked up the RestRegionPlugin Get Region/xxx/terrain so it outputs xml containing the terrain heightmap rather than the old "terrain not implemented" message.
The format of the terrain data is: the floats encoded in Base64 and serialised into xml. So I think far from ideal, but as the support for outputting that format was already there...
Still need to hook up a method for remotely loading this data.
2009-05-21 10:54:49 +00:00
MW e4d68964dd Added ITeleportModule interface, and added a hook into scene so if a module has registered this interface then that handles teleport requests rather the SceneCommunicationService.
As by default there is no ITeleportModule registered, Teleports by default will still be handled by SceneCommunicationService.
2009-05-21 10:41:16 +00:00
Melanie Thielker 787d58ae7f Put some meat on the bones of the REST console. NO user functionality yet 2009-05-20 20:28:57 +00:00
Melanie Thielker 3ae9bb6d83 Move the color console logic from the appender into the local console, since
that is the only one that can use it. Change appender output to always go
through the console output functions.
2009-05-20 14:40:50 +00:00
Melanie Thielker 4065ebff15 Remove the pre-log4net, discrete output methods from the consoles 2009-05-20 13:50:33 +00:00
Dr Scofield 4c7da1421f refactoring instantiation of Location object: moving it out of the for
loop as it really is a "constant"
2009-05-20 13:37:25 +00:00
Melanie Thielker 20383a61b8 Thank you, StrawberryFride, for a patch to fix SceneBan behavior.
Applied with changes (commented the logging entirely, since Linux defaults
to debug level)
Fixes Mantis #3689
2009-05-20 11:27:15 +00:00
Melanie Thielker a3fed17956 Fix a slight oversight in SceneInventory that would not enable copy to
inventory when permissions are bypassed
2009-05-20 10:54:35 +00:00
Jeff Ames e0bc5c5db2 Add copyright headers, formatting cleanup. 2009-05-20 01:32:06 +00:00
Jeff Ames ecfad4944b Update svn properties. 2009-05-20 01:02:37 +00:00
Justin Clarke Casey cd90ea377e * minor: Tweak the command exception catcher of last resort to make a little more sense 2009-05-19 19:57:45 +00:00
Justin Clarke Casey 01ca3a91ad * Take another attempt at http://opensimulator.org/mantis/view.php?id=3191
* Return something more sensible if a file isn't found
2009-05-19 19:41:01 +00:00
Dr Scofield 14f0d5e77f trying to fix exception with in LLPacketQueue probably caused by
missing locks where the queue was modified.
2009-05-19 18:46:20 +00:00
Dr Scofield 8559f9bbba From: Alan Webb <alan_webb@us.ibm.com>
The image render module is returning everything twice. Once with
  data, once with null. This change adds a return to stop this
  behavior. This was not apparent until I added a message to the
  catching routine which issued a warning message when no data was
  returned.
2009-05-19 18:34:04 +00:00
Melanie Thielker 88f17010b7 Add initializing m_scene if it's not null. Marking MyScene as [Obsolete]
because it will be removed soonish. This is NOT the way to go.
Thanks, mpallari, for pointing this out.
Fixes Mantis #3684
2009-05-19 16:26:20 +00:00
Dahlia Trimble 87b95e324e Sculpt mesher refactor
adds some previously missing geometry to sculpties
new LOD improves vertex accuracy
fix torus mode mesh edge joining
sync with primmesher r37
2009-05-19 10:09:33 +00:00
Melanie Thielker 744100821d Refactor RegionAssetService to load the service connector rather than
duplicating it's functionality
2009-05-19 00:36:06 +00:00
Melanie Thielker 23d902be42 Remove the old asset cache and local services and the configurations for them 2009-05-18 23:18:04 +00:00
diva df16532858 Bug fix and config rename. 2009-05-18 23:15:50 +00:00
diva 75b8b60aa1 Removing the last reference to CommsManager.AssetCache. 2009-05-18 22:22:09 +00:00
Arthur Valadares ed28c89d96 * Adds code that allows you to save an outfit then tell bot to wear it.
* Still doesn't work due to a bug on LibOMV that should be out on 0.6.3.
* Released by request. Important Warning: Linden Viewer 1.2.3 changes the way appearance works and break bot's appearances. LibOMV is working on it
2009-05-18 22:00:43 +00:00
Melanie Thielker a2c9a0a188 Adding missing files 2009-05-18 21:07:58 +00:00
Melanie Thielker f7dbfe63e5 This commit changes the way the new server works. There is no longer a server
exe for each function, rather each function is a connector and the server ini
loads them. If you like your multiple processes, use -inifile with the server.
Otherwise, you get one server process that serves all configured funcions, see
example .ini. The new exe is OpenSim.Server.exe. Clean your bin, loads of names
have changed!
2009-05-18 21:04:25 +00:00
diva 13da5a9fba Finished HG Service Store. Not fully functional because of problems with asset.ID insisting on being a UUID string. 2009-05-18 20:04:59 +00:00
Justin Clarke Casey 1cc9d1fd8d * minor: another attempt at http://opensimulator.org/mantis/view.php?id=3191
* didn't realize that we were getting back plain old exceptions
2009-05-18 18:44:55 +00:00