Commit Graph

7782 Commits (99f3382c9c42140b27b8d58be0bbc2a7c11db812)

Author SHA1 Message Date
Melanie Thielker 9248300596 Remove a misleading event that was only used internally 2009-05-14 21:28:02 +00:00
Justin Clarke Casey 6277156044 * When saving an oar, save assets when immediately received rather than storing them all up in memory
* Hopefully this will remove out of memory problems when saving large oars on machines without much memory
* It may also speed up saving of large oars
2009-05-14 20:37:54 +00:00
Justin Clarke Casey 02bac7fea4 * refactor: move SceneXmlLoader into subpackage 2009-05-14 18:46:17 +00:00
MW 80c1c10407 Added a bool variable to OGS1GridServices to be able to turn off the use of the remoteRegionInfoCache as caching region data like that stops a dynamic grid (where regions could change port or host at any time, useful for load balancing among other things) from working.
The bool is currently hardcoded to be true (to use the cache). So need to hook this up to a config option later.
2009-05-14 18:29:47 +00:00
Justin Clarke Casey b2433d2b99 * Improve loadregions so that all region configs are checked for clashes (e.g. same uuid) rather than just one 2009-05-14 18:24:52 +00:00
Justin Clarke Casey 303aa4b65e * refactor: move bottom part of 'xml2' serializaton to separate class 2009-05-14 18:08:54 +00:00
Justin Clarke Casey d10b5e29bc * refactor: break some of xml2 serialization out of sog 2009-05-14 16:33:04 +00:00
Melanie Thielker 3aa6fd0d2c Move the server request handlers into a separate lib nunit can digest 2009-05-14 11:26:14 +00:00
lbsa71 95d87244b0 * Moved BaseRequestHandlerTestHelper to OpenSim.Tests.Common.Setup for great justice. 2009-05-14 08:21:14 +00:00
lbsa71 c6e2fc947b * Changed auto-properties to properties with backing field
* This fixes mantis #3650
2009-05-14 08:12:23 +00:00
Melanie Thielker d843b897b2 Move the connector for the new asset server to a connectors project. Inherit
the region module version from this. This enables inter-server connections
to reuse connetor code from region modules.
2009-05-14 06:18:18 +00:00
diva e22a250825 Small fix uncommenting something that got commented too much. 2009-05-14 04:37:26 +00:00
Melanie Thielker 50b305b006 Honor the temp and local asset flags 2009-05-14 03:07:00 +00:00
Arthur Valadares 09df50915d * Bug fix: Variable m_regionSettings can be null, using RegionSettings instead, that starts a new RegionSettings object if private variable is null.
Fixes Mantis #3634
2009-05-13 22:16:14 +00:00
Melanie Thielker 13298fef0b Fix up some URL details 2009-05-13 20:57:26 +00:00
Melanie Thielker 8bea196b5b Add the port to the generated URL. For some reson this still doesn't want to
receive requests.
2009-05-13 20:45:28 +00:00
Melanie Thielker fb3d5770dd Make the LSL HTTP server create and give out URLs to scripts 2009-05-13 20:32:14 +00:00
lbsa71 40e95cab02 * Added some more tests to the GetAssetStreamHandlers 2009-05-13 17:11:53 +00:00
Dr Scofield b95b7222f9 Disabling WebFetchInventoryDescendents CAPs for the time being as it
seems to screw up standalone mode.
2009-05-13 16:34:57 +00:00
Melanie Thielker 1196f3eac7 Add most of the meat to the LSL HTTP server 2009-05-13 04:04:26 +00:00
Melanie Thielker ba8850f254 Plumb request and return URL functions.
Implements llRequestURL, llRequestSecureURL, llReleaseURL
2009-05-13 03:09:30 +00:00
Melanie Thielker 80ce08d8b2 Add a skeleton for the LSLHttpServer 2009-05-13 02:54:13 +00:00
Melanie Thielker 6c2302637f Implement llAttachToAvatar() 2009-05-13 02:21:21 +00:00
Melanie Thielker 4cce1cc26e Implement llDetachFromAvatar() 2009-05-13 02:06:12 +00:00
Charles Krinke 94e2768cc7 Add interface, stub implementation and
script stub for llGetHTTPHeader().
2009-05-13 01:58:17 +00:00
Charles Krinke 6257bb8b09 Add interface, implementation stub and
script stub for llGetFreeURLs().
2009-05-13 01:47:29 +00:00
Charles Krinke a5feb0682a Thank you kindly, BlueWall sir, for a patch that:
Adding a jsonp wrapper to the user supplied status report 
uri if the key "callback" exists. It will work with many 
javascript toolkits to provide an ajax callback to allow 
the browser to update stats reports without the 
intervention of an intermediate server.
2009-05-13 01:27:23 +00:00
Charles Krinke 4db2f71c45 Added interface, implementation stub and
script stub for llReleaseURL().
2009-05-13 01:21:50 +00:00
Charles Krinke 2776afd83d Remove incorrect semicolon 2009-05-13 01:13:59 +00:00
Charles Krinke c23bd2d6ea Add interface, stubbed implementation and
script stub for llRequestSecureURL().
2009-05-13 01:06:06 +00:00
Melanie Thielker e206a9ce88 Remove some no longer needed debug.
Fixes Mantis #9520
2009-05-13 00:58:10 +00:00
Charles Krinke f63b83b085 Added interface, stub implementation and script
stub for llRequestURL().
2009-05-13 00:58:01 +00:00
Charles Krinke ba99f2a1a5 Add interface, stub and bare implmentation for llHTTPResponse(). 2009-05-13 00:29:50 +00:00
Melanie Thielker 88371e4f98 Fix interface registration/deregistration mechanics 2009-05-12 23:49:42 +00:00
Melanie Thielker 55dd6d4334 Make the accet cache module actually register the interface 2009-05-12 23:21:03 +00:00
diva 7bf1d111e2 Bug fix in SceneBase.RequestModuleInterface. Check that the list's count is greater than 0. 2009-05-12 23:06:43 +00:00
diva 12a470e6a7 Making SimStatsReporter a little more restrained in requesting the IEstateModule interface. 2009-05-12 22:48:54 +00:00
Adam Frisby 12d7063b0b * Adds additional check to MRM rezzing - the host object must be created by the sim owner, not just owned by it. 2009-05-12 21:42:20 +00:00
Adam Frisby 3a28f748d5 * Adds ScenePresence.TeleportWithMomentum - same as .Teleport, but preserves velocity. 2009-05-12 21:21:33 +00:00
Adam Frisby 9f5679e60f * EventManager's OnNewPresence event now fires correctly again. 2009-05-12 20:59:38 +00:00
Melanie Thielker c582d54272 Correct addin XML 2009-05-12 19:50:09 +00:00
Melanie Thielker c2bcd5845f Commit the addin XML for the Core Asset Cache 2009-05-12 17:01:04 +00:00
Melanie Thielker fca73f3ae4 Add more group notify glue 2009-05-12 15:52:28 +00:00
Dr Scofield 8039946c76 more fixes to default avatar appearance creation 2009-05-12 15:12:21 +00:00
Melanie Thielker 1b7d0a6c93 Paving the way for syncing group permissions across a grid 2009-05-12 14:59:11 +00:00
Dr Scofield c81c9e712c fixing SocketException when IP address cannot be resolved 2009-05-12 14:57:42 +00:00
Melanie Thielker 68da7d1a43 Correctly reset the group ownership flag when a parcel is reclaimed. 2009-05-12 13:48:55 +00:00
Melanie Thielker e1750c8c7c Hook up deed permissions checking to the land module 2009-05-12 13:41:30 +00:00
Melanie Thielker 32ac388363 Add permission mechanisms for group deeding land 2009-05-12 13:29:38 +00:00
Adam Frisby 559355189a * Applies Mantis #3630 - Adds support for outside MRM initialisation, makes MRMModule compatible with the Visual Studio MRMLoader ( http://forge.opensimulator.org/gf/project/mrmloader/ ) 2009-05-12 13:10:04 +00:00
Dr Scofield e96071eb6e From: Alan Webb <alan_webb@us.ibm.com>
Change updateAppearance so that nothing is done to the user's
  appearance unless explicitly requested.
2009-05-12 13:09:16 +00:00
Dr Scofield 13de24f707 partially fixing avatar appearance code 2009-05-12 11:51:19 +00:00
Charles Krinke e08d0a7ba5 Thank you kindly, Patnad, for a patch that:
This patch allow you to see region rating from 
the console. Type "show ratings" and it will 
show you the rating of all your regions.
2009-05-12 03:35:07 +00:00
Charles Krinke c1d680b6c3 Thank you kindly, Patnad, for a patch that:
This is to handle the changes in the v1.23 viewer 
of LL regarding the adult rating. With this patch 
a region can be changed to the adult rating from 
LL viewer v1.23 and above.
2009-05-12 03:30:37 +00:00
Melanie Thielker 16efb78698 Changes to the new user system to add the modularity developed for the asset
system
2009-05-11 22:54:09 +00:00
Melanie Thielker f948fab4da Add AssetService of type IAssetService to Scene 2009-05-11 21:04:27 +00:00
Melanie Thielker 59175847a9 Smooth out some .ini stuff, actually commit the example 2009-05-11 19:53:24 +00:00
Adam Frisby 6dcafec22d * Implements IP and DNS based ban facilities to OpenSim.
* User interface is ... primitive at best right now.
* Loads bans from bans.txt and region ban DB on startup, bans.txt is in the format of one per line. The following explains how they are read;

DNS bans are in the form "somewhere.com" will block ANY matching domain (including "betasomewhere.com", "beta.somewhere.com", "somewhere.com.beta") - make sure to be reasonably specific in DNS bans.

IP address bans match on first characters, so, "127.0.0.1" will ban only that address, "127.0.1" will ban "127.0.10.0" but "127.0.1." will ban only the "127.0.1.*" network
2009-05-11 19:23:51 +00:00
Melanie Thielker d7b2beea18 Add selling for $0 back to the sample economy module. This is disabled by
default but can be enabled in OpenSim.ini. If enabled, things can be sold
for $0. Other amounts will cause the buyer to see a message and the transaction
will fail.
2009-05-11 18:23:39 +00:00
Melanie Thielker 91bfd25ef8 Add a blue box to the stub money module to alert users that buying is
unimplemented
2009-05-11 18:06:50 +00:00
Jeff Ames 5164403676 Update svn properties. 2009-05-11 15:14:15 +00:00
Dr Scofield 85bbcf196f adding code to check for old-style responses ("True") 2009-05-11 09:58:36 +00:00
Dr Scofield ecc876bc18 Squashed commit of the following:
further ACL stuff:
- adding StrictAccessControl variable: DON'T set this to false if you
  want to enforce ACL, it will disable ACLs right now. Default is
  true.

  once we've got code added to allow child agents but prevent them
  from becoming root agents when the ACL denies access to the avatar,
  setting this to false will then allow avatars to see into a
  neighboring region but not enter it (currently ACL prevent both,
  seeing and entering).

- enhancing log statements
2009-05-11 07:46:12 +00:00
Melanie Thielker 461e213a39 Plumb the HG asset broker. More naming changes to clarify things. Lots more
config options.
2009-05-11 02:59:26 +00:00
Melanie Thielker 225252f48e Add the HG asset module skeleton 2009-05-10 22:55:44 +00:00
Melanie Thielker b2111f6a19 Enhance the submodule loader and port the enhancements to the services base 2009-05-10 22:31:10 +00:00
Adam Frisby 54ab7d7ceb * Rather than crash the region simulator, declare the teleport a failure if the "success" mapping doesn't exist. (also; I hate LLSD.) 2009-05-10 21:35:07 +00:00
Adam Frisby dd8c01d7a7 * Attempting to fix NullRef exception in inventory. 2009-05-10 21:00:07 +00:00
Adam Frisby 2d4166fecf * Debugging some inventory related NullRefException's. 2009-05-10 20:50:38 +00:00
Adam Frisby 53a350573e * Further testing against core packet issue. 2009-05-10 20:31:45 +00:00
Adam Frisby da948a992a * Attempting to diagnose a core packet issue on Windows/.NET. Adding additional locks to see if it fixes the problem. 2009-05-10 20:25:05 +00:00
Melanie Thielker 65c0996a9c Use the new async handling class to actually make the new asset service's
async request perform asynchronously
2009-05-10 16:51:14 +00:00
Melanie Thielker a983f2a3ac Create SynchronousRestObjectRequester and make SynchronousRestObjectPoster
use that. Mark SynchronousRestObjectPoster.BeginPostObject as obsolete.
2009-05-10 16:31:10 +00:00
Melanie Thielker dc4f31db1a Create an async form of the RestObjectPoster. Rename the file (but not the
class!) to SynchronousRestObjectRequester. Add CacheBuckets parameter to
cache
2009-05-10 16:20:25 +00:00
Melanie Thielker 1a910b6e1d Connect up the new asset cache and introduce an asynchronous call path
for asset retrieval (full asset only) to ease migration to the new system
2009-05-10 14:03:06 +00:00
Melanie Thielker d8e1842d25 Add some asset cache plumbing. Change the generic cache from UUID to string
keys to allow caching the new crop of URI identified objects.
2009-05-10 12:27:05 +00:00
Melanie Thielker 14a6880352 Fix the build break 2009-05-10 00:40:08 +00:00
Melanie Thielker 13b2ff83df Small asset cache addition. Comment a debug output left in CAPS 2009-05-10 00:30:51 +00:00
Melanie Thielker 89d921c3b2 COmmitting the asset cache skeleton 2009-05-09 23:47:20 +00:00
Homer Horwitz 1d234ca83f Fixed handling of inventory a bit
- AssetType isn't InventoryType. Those enums contain different numbers. Use AssetType for the asset type, InventoryType for the inventory type.
- The ToString method (or ToLower) of AssetType/InventoryType doesn't necessarily return the correct LLSD string.
- Replaced several magic numbers by their corresponding enum.
- Fixed the invType for gestures and animations in the library.
This should fix Mantis #3610 and the non-terminating inventory loading
2009-05-09 21:11:12 +00:00
Adam Frisby c534d7f614 * Code to make MRM debugging easier. 2009-05-09 17:44:12 +00:00
Melanie Thielker 93d54d7652 Prevent normal (Text) IM from being logged by the group message module in
debug mode.
Fixes Mantis #3609
2009-05-09 17:02:03 +00:00
Melanie Thielker e4236a4233 Fox a boo-boo in ExtraParams - a packet with no data blocks could crash
the session. Also allow multiple data blocks.
2009-05-09 12:04:40 +00:00
Teravus Ovares b76405f50a * Cripples the SampleMoneyModule code.
* The OpenSimulator core developers have voted to remove all currency functionality from OpenSimulator leaving the 'IMoneyModule' interface in.  This affects all systems that used the example money module.   This effects All systems that used the XMLRPC External Money Module Hooks interface.   If you previously used this interface, please consult with the OpenSimWi Redux folk who are keeping the old module with this interface up to date.
* A notice to the opensim-dev mailing list to come as well..  since this is likely a breaking change for some.
2009-05-09 05:56:10 +00:00
Teravus Ovares dac793ea47 * Break out the SampleMoneyModule to a new namespace
* Create the OpenSim.Region.ReplaceableModules namespace for modules that we intend to have people replace (see readme)
* Create the OpenSim.Region.ReplaceableModules.MoneyModule namespace
* Put our current Sample MoneyModule in this namespace. (more modifications here next commit)
2009-05-09 05:21:56 +00:00
Melanie Thielker b3d29aaeb3 Make remote assets work through the new server system 2009-05-09 04:03:32 +00:00
Melanie Thielker b2b13c5a42 Plumb the remote asset hookup, all but the actual requests 2009-05-09 03:08:11 +00:00
Melanie Thielker c1e7352d75 Add the asset service connectors and sample config. READ WARNINGS!!! 2009-05-09 02:49:55 +00:00
Melanie Thielker cc2b072f6e FInish basic asset server functionality on the new asset server 2009-05-09 01:00:21 +00:00
Melanie Thielker a582d1b1a2 Add the /data and /metadata retrieval modes to the new asset server.
Not functional yet.
2009-05-09 00:39:01 +00:00
Justin Clarke Casey 567e0d032c * break out 'xml2' deserialization from sog 2009-05-08 19:18:37 +00:00
Melanie Thielker c8d44971c4 Implement an ingenious solution to pacekt pool performance suggested by
dlslake.
2009-05-08 19:03:01 +00:00
Melanie Thielker a1631c496e The new asset server now actually serves existing assets 2009-05-08 18:45:52 +00:00
Sean Dague c1a54c02d3 fix up the comments a little
From: Sean Dague <sdague@gmail.com>
2009-05-08 18:09:48 +00:00
Sean Dague b333690969 added WebFetchInventoryDescendents CAP
From: Robert Smart <smartrob@uk.ibm.com>
2009-05-08 18:09:41 +00:00
Justin Clarke Casey 9f39a490b5 * refactor: break out sog original xml serialization to a separate class 2009-05-08 18:05:54 +00:00
Justin Clarke Casey fcfc97a4bf * minor: rename xml sog serialization method for readability 2009-05-08 16:44:00 +00:00
Justin Clarke Casey 032e3b49eb * refactor: Break out original xml object serialization into a separate class
* No functional change
2009-05-08 15:47:59 +00:00
lbsa71 54b5346f16 * Extracted common superclass for GetAssetStreamHandler and CachedGetAssetStreamHandler
* Added some more tests
2009-05-08 15:44:35 +00:00
Sean Dague 6b88a205d6 another possible cause of some of the inventory wierdness is the 1/2 implemented
OSP resolver, and the caching of the uuid seperate from the string that is a UUID.
Change this behavior back to something that ensures the data for the 2 is the same.
Put the 2 unit tests that depend on the new behavior into ignore state.
2009-05-08 15:40:39 +00:00
Sean Dague 51a9c91909 WARNING: contains migration
Since creatorID is no longer treated as a UUID type in the code from the database we need to make sure that it isn't null in the database.  This updates all empty string and null values for this column to the Zero UUID, and makes the column a not null definition with a default fo the Zero UUID.
2009-05-08 14:16:07 +00:00
Melanie Thielker aec069d161 More additions to the nextgen reference UGAIM 2009-05-08 14:08:41 +00:00
Sean Dague 3485b2b1c3 now that creatorID is no longer a strict UUID, and the column can still be NULL,
we lost protection from NULL strings.  This puts some protection in for that case.
This may address many of the inventory issues that are being seen intermitently.
2009-05-08 12:28:22 +00:00
lbsa71 8ac73be917 * Introduced new HttpServer.Tests project
* Split the GetAssetStreamHandler testing into separate tests for BaseRequestHandler
* Ignored some gens
2009-05-08 06:11:44 +00:00
Dahlia Trimble bf5fda8908 Thanks lulurun for a patch which addresses Mantis #3599: Exceptions when AssetInventoryServer receive a "DeleteItem" request 2009-05-08 04:39:45 +00:00
Dahlia Trimble bd3a4e5f01 Added a Copy() method to PrimMesh and SculptMesh as suggested by dmiles. Sync PrimMesher.cs and SculptMesh.cs with PrimMesher.dll r36. 2009-05-08 03:04:45 +00:00
Sean Dague f532767c6a fix svn properties 2009-05-08 00:47:32 +00:00
Sean Dague 6d36985bbc remove misleading comment 2009-05-07 19:37:25 +00:00
Justin Clarke Casey aaad2fc8ff * minor: use system ascii encoding rather than newing up our own object 2009-05-07 19:27:38 +00:00
Sean Dague ce0a84cbc0 instrument most of the tests with a new InMethod function that may help us figure
out where that pesky deadlock is during test runs.
2009-05-07 19:07:08 +00:00
Dr Scofield 84815ab271 RemoteAdminPlugin was using a mixture of both "true"/"false" and 0/1
(XmlRpc boolean encoding) to return boolean values --- sometimes both
variants in the SAME XmlRpc method! As XmlRpc DOES have a proper
encoding for boolean, i think we should use that --- having a mixture
of both is a bad thing in any case.

this patch changes all "true"/"false" boolean "encodings" to just
true/false which will be properly encoded by XmlRpc.

BIG FAT NOTE: this might/will break existing customers of
RemoteAdminPlugin --- make sure your scripts, apps, etc get updated
accordingly (unless you have already been dealing with this mess
before)
2009-05-07 15:54:13 +00:00
Justin Clarke Casey 48c2e7796f * minor: Quieten down temporary profile resolver to only log when it's actually dealing with a temporary profile 2009-05-07 14:23:26 +00:00
Justin Clarke Casey 2284c8509f * Consistently used dashed uuid format for mysql region data, as is done for all other tables
* This revision contains a mysql data migration.  Please backup your mysql region database as a precaution before using this code.
* I also advise that you do a runprebuild[.sh|.bat] and a clean build ("nant clean build" if you're using the command line).
* This change is needed for future id schemes
2009-05-07 14:20:32 +00:00
Justin Clarke Casey 7440681062 minor: Inconsquential change to provoke another build 2009-05-07 13:59:38 +00:00
Justin Clarke Casey e033f4028d * Consistently use dashed uuid format for sqlite region data, as was previously done for sqlite inventory data.
* This revision contains a data migration.  Please backup your sqlite region db as a precaution before using this code
* I also advise that you do a runprebuild[.sh|.bat] and a clean build ("nant clean build" if you're using the command line).
* This change is needed for future id schemes
2009-05-07 13:20:29 +00:00
Dr Scofield 547f883f74 From: Alan M Webb <alan_webb@us.ibm.com>
This update implements support for creation of one or more
      default avatars from information contained in a file
      default_appearance.xml. Each avatar may have any number of
      "outfits" with each outfit representing a different ensemble.

      The default avatars get created the first time the RemoteAdmin
      interface is used to define a user.

      I've tested this quite a bit, but it will benefit from lost of
      attention, I'm sure.
2009-05-07 12:33:53 +00:00
Melanie Thielker aa4e42069b Change avatar updates to be processed the same way object updates are, e.g.
packet length check. More changes to come
2009-05-07 12:06:07 +00:00
Dr Scofield 3312938f6b From: Alan Webb <alan_webb@us.ibm.com>
logs error message on empty data in DynamicTextureModule
2009-05-07 11:58:45 +00:00
lbsa71 f3db3d6a00 * Added some more GetAssetStreamHandlerTests
* In the process, caught a potential bug where the handler would allow paths not starting with the registered prefix
2009-05-07 06:31:16 +00:00
Dr Scofield 1352a19838 refactoring Scene.NewUserConnection() to be simpler and clearer. 2009-05-06 20:02:49 +00:00
lbsa71 1afdf2ee1f * Added some GetAssetStreamHandlerTests
* Minor tweaks to attain testability
2009-05-06 17:02:51 +00:00
Charles Krinke c84abfa9b1 Thank you kindly, Fly-Man- for a patch that:
Adding more SL likeness for Email module in CORE.
I've added some SL likeness to the Email module so 
that it looks more like emails going out in the 
same standard as SL uses
2009-05-06 02:29:29 +00:00
Homer Horwitz 7e731b024a Allow temp-on-rez prims to take part in physics (e.g. temp-on-rez bullets)
This makes re-rezzed temp-on-rez objects visible, too. Fixes Mantis #3405
2009-05-05 19:44:19 +00:00
Justin Clarke Casey 78425e392b * Change automatic properties back to manual get/set
* Automatic properties are only supported after .Net 2.0, causing these to fail when building via nant on Windows (and probably visual c# 2005 too)
* Hopefully these can be used once building support in Visual C# 2005 is dropped.
2009-05-05 17:09:46 +00:00
Justin Clarke Casey f8e0653e73 * If an item creator id contains an iar loaded name, create a temporary profile and hashed UUID to represent the user 2009-05-05 16:45:21 +00:00
Dr Scofield e0a06f6416 - moving banned check and public/private check to
Scene.NewUserConnection()
- adding reason reporting

this enforces estate bans very early on and prevents us from
circulating client objects that we'd then have to retract once we
realize that the client is not allowed into the region
2009-05-05 16:17:52 +00:00
Justin Clarke Casey b6ae8b7ba7 * Fix http://opensimulator.org/mantis/view.php?id=3585
* Make public variables properties instead, as there is a difference
2009-05-05 15:23:44 +00:00
Jeff Ames 8ea12ad6c0 Add copyright header. Formatting cleanup. Ignore some generated files. 2009-05-05 09:59:15 +00:00
Jeff Ames 6ae88d129a Update svn properties. 2009-05-05 09:32:30 +00:00
Jeff Ames 07d680a010 Remove bin directory from HttpServer. 2009-05-05 09:31:49 +00:00
Melanie Thielker 4c828e503c Add the remote user connector skeleton 2009-05-05 05:48:29 +00:00
Melanie Thielker 26efb55f37 Change local user connector into a shared module 2009-05-05 05:42:48 +00:00
Melanie Thielker 8b9f8be512 Some refactoring. Database is now active in the new user server 2009-05-05 05:35:22 +00:00
Melanie Thielker f51f552baa Plumb the database into the new server skel 2009-05-05 04:48:09 +00:00
Melanie Thielker d1c9a41be0 Plumb the new server connector logic 2009-05-05 04:37:06 +00:00
Melanie Thielker 5e28a5982d Committing the user server executable skeleton 2009-05-05 03:15:41 +00:00
Melanie Thielker 96774752c8 Add an interface skeleton for user services 2009-05-05 03:01:17 +00:00
Melanie Thielker 91ce6c90b5 Committing the HTTP (REST) server base 2009-05-05 02:37:04 +00:00
Melanie Thielker 5865018088 Fix crash on login 2009-05-05 01:36:51 +00:00
Melanie Thielker f28b380c4a Committing the new server base 2009-05-05 01:34:41 +00:00
Adam Frisby c45add5f31 * Attempting to find cause of NotSupportedException in Asset subsystem. 2009-05-04 22:37:38 +00:00
Melanie Thielker 2cded6d369 Fix the AsUuid thingy 2009-05-04 21:40:19 +00:00
Melanie Thielker ebb8111f6c Fox the InventoryItem.CreatorIdAsUuid property 2009-05-04 21:17:40 +00:00
Melanie Thielker 7f1c393bc3 Remove the csproj files that got into SVN 2009-05-04 21:05:15 +00:00
Melanie Thielker ec0d2c28fa Committing the changed tree 2009-05-04 20:19:21 +00:00
Melanie Thielker acfb5051cd Intermediate commit. WILL NOT COMPILE! 2009-05-04 20:15:39 +00:00
Justin Clarke Casey b3178c8079 * Resolve http://opensimulator.org/mantis/view.php?id=3573
* Override add user for HG user services to hit local services if present
2009-05-04 19:15:44 +00:00
Justin Clarke Casey 780f57d551 * Initial infrastructure for ospa only uuid hashing of retrieved inventory items 2009-05-04 18:32:01 +00:00
Justin Clarke Casey 3a27a05607 * refactor: move OspResolver to a different namespace 2009-05-04 17:32:20 +00:00
Justin Clarke Casey ee5774208f * Enhance some internal inventory data plugin behaviour to match what was probably intended
* (e.g returning combined results of plugin rather than always the first result)
* This will not affect any existing functionality
2009-05-04 17:16:01 +00:00
Justin Clarke Casey a61cbab799 * Insert profile references for creators for items saved into iars 2009-05-04 16:15:30 +00:00
Justin Clarke Casey 257fc5515a * minor: remove some mono compiler warnings, minor cleanup 2009-05-04 15:38:36 +00:00
Melanie Thielker f80ba373fa Prebuild changes to allow the console to reference the http server 2009-05-04 15:04:24 +00:00
Justin Clarke Casey 509ec2637b * Refactor: Simplify InventoryFolderImpl. No functional change. 2009-05-04 15:02:14 +00:00
Melanie Thielker 36dd346a91 Add a method to flush the prim update buffers once a frame, since the timer
appear to be too slow to be useful, or fail too fire. I may remove the timers
as a consequence if this.
2009-05-04 14:25:19 +00:00
Melanie Thielker eedf216eba Add a skeleton class, "RemoteConsole", for a console that uses REST 2009-05-04 12:29:44 +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
Dahlia Trimble 8a8fe65526 Thanks BlueWall for Mantis #3578 - adding Hypergrid connection to JSON Stats 2009-05-04 07:08:50 +00:00
Melanie Thielker b44a56e0b4 Add a parameter that limits the max size of the outbound packet. Defaulted
at 1400 since the headers get added to that (32 bytes plus UDP headers)
2009-05-04 02:24:30 +00:00
Melanie Thielker 8ac4ec738b Create a working configuration hook to allow LLClient parameters from
Opensim.ini to take force
2009-05-04 01:57:18 +00:00
Melanie Thielker 0ecd965b8c Some reorganization around service connectors. No functional change 2009-05-03 23:13:33 +00:00
Charles Krinke e957a29ab0 Thank you kindly, Thomax, for a patch that:
Does not set prims to fullbright when an
ossl dynamic texture function is called.
2009-05-03 17:53:43 +00:00
Melanie Thielker e8b532b26a Make a race condition in packet resending smaller 2009-05-03 09:43:52 +00:00
Dahlia Trimble 09522743cb alter behavior of sculpted prim "Inside out" setting. Addresses Mantis #3514 2009-05-03 06:25:52 +00:00
Adam Frisby 0c639e08ea * Reversing experimental change in previous rev. 2009-05-02 23:00:51 +00:00
Adam Frisby 1027668359 * Experimental: Speeds maximum resend per second from 80 packets to 400. (From maximum 117kbit to 585kbit) 2009-05-02 22:01:47 +00:00
Melanie Thielker 229a4d54ca If a packet pooling blows up, fail gracefully instead of disconnecting
the user
2009-05-02 21:21:20 +00:00
Melanie Thielker 780f34275b Handle resends better 2009-05-02 20:08:26 +00:00
Adam Frisby 0b2a34438c * Makes ObjectUpdate compressing tweakable in OpenSim.ini - introduces:
TerseUpdatesPerPacket=10
FullUpdatesPerPacket=14
TerseUpdateRate=10
FullUpdateRate=14
2009-05-02 19:09:48 +00:00
Melanie Thielker 66e25abbfe Plumb conifg into the client views. Add config option to configure packet
dropping.
2009-05-02 17:31:49 +00:00
Charles Krinke 011448f69a Thank you kindly, Fly-Man, for a patch that:
* Added the hostname so the email gets the 
right hostname when going outbound
2009-05-02 16:42:35 +00:00
Charles Krinke 61d3c551fd Thank you kindly, Thomax, for a patch that solves:
ConfigurableWind module doesn't show any effect as
time = DateTime.Now.TimeOfDay.Seconds / 86400;
calculates 0.
2009-05-02 16:38:59 +00:00
Charles Krinke 280d2cbf4a Thank you kindly, BlueWall, for a patch that:
Move json stats to non-published resource name
Remove well-known resource name for json stats, 
creating dynamic uris with private keys and add 
a user configurable resource name for region owner usage.
2009-05-02 16:28:30 +00:00
Charles Krinke 47640aca22 Thank you kindly, MCortez for a patch that solves:
Different people using Hippo 0.5.1 report that trying 
to send group instant messages crashes the viewer 
(Hippo 0.5.1). This is the case even for empty groups 
or if all group members are online.
2009-05-02 16:16:27 +00:00
diva 070cd35f00 Added the "out" connector (aka client) for the Grid services. Not used yet. 2009-05-02 15:00:47 +00:00
diva c4e6397a92 Rename CoreModules.Communications to CoreModule.ServiceConnectors and, inside it, REST to Remote. 2009-05-02 14:47:33 +00:00
Melanie Thielker 74ce07e971 Move a lock to attempt to cut down packet loss 2009-05-02 14:47:01 +00:00
diva bdef6d71f1 Change of word in log message. 2009-05-02 14:12:35 +00:00
Melanie Thielker 62bcf0e694 Numerous packet improvements.
Don't allow packets to be resent before they have actually been sent for the
first time. Switch from serializing a packet to get it's length to the LibOMV
provided Length property. Fix resend timing. Fix the use of dangling references
to Acked packets. Fix the packet handler to play nice with the packet pool.
Fix the packet pool. Add data block recycling to the packet pool. Packet pool
is now ENABLED by default. Add config option to disable packet and data block
reuse. Add ObjectUpdate and ImprovedTerseObjectUpdate to the packets being
recycled.
2009-05-02 13:16:41 +00:00
Melanie Thielker 8c97214741 Also add these packet to the list of packets to be recycled. No enabled
by default
2009-05-02 00:20:35 +00:00
Melanie Thielker ac944def3f Fix the issue that stopped the packet pool from working. Add a mechanism
to recycley data blocs within a packet. Recycle the ObjectUpdate* data
blocks. Speeds up loading even more.
This may mean that the packet pool is now viable.
2009-05-02 00:14:04 +00:00
Melanie Thielker 0f721da5f1 Add a tweakable for the prim queue preload 2009-05-01 19:33:18 +00:00
Melanie Thielker 52d80249d3 Throttle prim sending a bit (again) to ensure the queues don't overrun and
clog
2009-05-01 18:24:56 +00:00
Melanie Thielker 8020af6184 Add methods to block and queue agent updates during region crossing and TP
This is to ensure integrity of animations and script states with regard
to controls pressed or released. No user functionality yet.
2009-05-01 17:10:42 +00:00
Melanie Thielker 13c597baba Send the animations of all already present avatar to an avatar entering a sim
to stop the "folded legs" on simcross
2009-05-01 16:47:53 +00:00
Melanie Thielker 55a69f3f2d Improve prim sending by combining multiple prim updates into a single packet 2009-05-01 16:29:15 +00:00
Jeff Ames 5ede445bdf Update svn properties. 2009-05-01 05:16:05 +00:00
Justin Clarke Casey e7078520db * refactor: move iar name hashing into a method 2009-04-30 19:57:07 +00:00
Melanie Thielker c7fd036b35 Estate owners who are not administrators, even in god mode, should not be
able to edit a real god's objects. Minor tweak.
2009-04-30 15:38:10 +00:00
Melanie Thielker e901c8be17 Thank you, mpallari, for a patch that correct the behavior of the avatar
performance patch.
Fixes Mantis #3562
2009-04-30 15:26:37 +00:00
MW ceb4db5272 Fixed a bug in the permissions module, where if there were multiple admins, the client permissions flags were sent incorrectly, which stopped one admin being able to edit another admin's objects. Even thought the comments in the code said that admins should be able to edit each other's objects. 2009-04-30 14:56:26 +00:00
Melanie Thielker 334738fca9 Thank you, mpallari, for a patch that increses efficiency by combining
avatar updates into a single packet.
Applied with changes.
Fixes Mantis #3136
2009-04-30 11:58:23 +00:00
Charles Krinke 8944ab910c Thank you kindly, MCortez for a patch that:
The attached patch provides the necessary infrastructure to support 
security and authentication features of the xmlrpc server.
* Read/Write keys for accessing a Group's xmlrpc service.
* Requiring user session verification for write operations.
2009-04-29 22:31:00 +00:00
Melanie Thielker e2327384e0 Catch another j2k decode exception that can be caused by a bad asset 2009-04-29 21:01:01 +00:00
Melanie Thielker 98cdc1efdd Fix a crash that will hit when an image asset is truncated in storage 2009-04-29 20:32:40 +00:00
Justin Clarke Casey 10415c579b * Correct log message format
* Fix XmlRpcGroupData.XmlRpcCall() to correctly handle response
2009-04-29 19:38:20 +00:00
Justin Clarke Casey 40c2e2e84f * Add test to check temp profile creation on iar load 2009-04-29 19:31:48 +00:00
Justin Clarke Casey 1bf0bc8bb3 * Apply further groups xmlrpc to stop an exception in the exception handler
* Thanks mcortez
2009-04-29 18:52:10 +00:00
Justin Clarke Casey 517a454086 * Apply http://opensimulator.org/mantis/view.php?id=3557
* Stops XmlRpcGroups crashing client sessions if there is an XMLRPC failure
* Thanks mcortez
2009-04-29 18:22:49 +00:00
Justin Clarke Casey 978f98fe7e * Apply http://opensimulator.org/mantis/view.php?id=3554
* Stop converting serviceURL to all lower case.
* Thanks mcortez
2009-04-29 18:14:34 +00:00
Justin Clarke Casey af73bcd363 * Actually change the default oar file name to region.oar instead of scene.oar, for clarity 2009-04-29 18:12:50 +00:00
Justin Clarke Casey c320dca2db * minor: remove some mono compiler warnings 2009-04-29 18:11:41 +00:00
Justin Clarke Casey 23aa85b75d * Make scene.oar the default oar target rather than scene.oar.tar.gz, in an attempt to reduce confusion 2009-04-29 18:03:31 +00:00
Justin Clarke Casey 7d11434a9c * Add missing System.Reflection reference from last commit 2009-04-29 17:56:25 +00:00
Justin Clarke Casey c56f928c80 * Adjust load iar unit test to check load of items with creator names that exist in the system but which are not the loading user 2009-04-29 17:46:13 +00:00
Melanie Thielker d604cd284e Again, completely revamp the unlink code to finally allow unlinking
arbitrary combinations of root and child prims from one or multiple
link sets. Please test throughly and consider things UNSTABLE until
this is proven out.
2009-04-29 15:54:16 +00:00
Dr Scofield 84701701ef fixes exception thrown when client session is shutdown while
packethandler still active
2009-04-29 12:31:43 +00:00
Dr Scofield d0753ad9ef From: Alan Webb <alan_webb@us.ibm.com>
Added two new (optional) attributes to create_user and update_user
  requests.

  <gender> - can be 'm' or 'f'. 'm' is default if not specified.
  <model>  - specifies another, existing, avatar that should be used
             as an appearance prototype for this user.

  If <model> is specified, then <gender> is ignored. If <model> is not
  specified, then 'm' implies a model avatar of "Default Male", and 'f'
  implies a default of "Default Female".

  At the moment the inventory is not copied. This change means that an
  avatar will only look like ruth if none of the possible models exist
  in the user database.
2009-04-29 09:35:35 +00:00
Dr Scofield a89f60d4c9 From: Alan Webb <alan_webb@us.ibm.com> & Dr Scofield <drscofield@xyzzyxyzzy.net>
- Adds an admin_modify_region call to allow changing of parcel voice
  settings and changing of public/private status
- add boolean "public" and boolean "enable_voice" to
  admin_create_region XmlRpc call to allow specifying of
  public/private status and to allow enabling voice for all parcels;
  also added config variables to allow setting of defaults for those
- fixing cut-and-paste artefacts
2009-04-29 09:05:01 +00:00
diva ff0684a9f3 Flipping check_session xmlrpc's keep-alive to false, because some clients hang. 2009-04-29 03:01:19 +00:00
Melanie Thielker 7e972b304b Let estate owners and managers enter nonpublic estates unconditionally.
Let gods go to nonpublic estates as well.
2009-04-28 22:53:10 +00:00
Justin Clarke Casey cac6971099 * Get rid of some extraneous debug log output from the last commit 2009-04-28 19:54:57 +00:00
Justin Clarke Casey 898326b5e9 * Stop oar loading barfing if the archive contains directory entries 2009-04-28 19:40:02 +00:00
Justin Clarke Casey 52d5628806 * Add preliminary code for resolving iar profile names
* Not yet active
2009-04-28 17:47:09 +00:00
Melanie Thielker 1fdebf361f Correctly handle group owned land in the Datasnapshot module. Will return
owner uuid = grou uuid ans owner name = group anme for group land now.
Group name is now filled in
2009-04-28 00:37:23 +00:00
Melanie Thielker c856f21231 Thank you, Fly-Man, for a patch that fixes propagating the group
id into the data snapshot properly
Fixes Mantis #3545
2009-04-28 00:08:17 +00:00
Melanie Thielker 6b5a110857 Make sure that, on "Anyone can copy" the person copying the object
has transfer perms as well as copy perms.
This may block some cases where the owner would normally be able to take
copy.
Fixes Mantis #3464
2009-04-27 23:12:35 +00:00
diva 4ec9979475 Another attempt at mantis #3527. 2009-04-27 17:19:29 +00:00
diva 81bc38708a Thanks Tommil for a patch that adds a caching option to GetAssetStreamHandler. It is used in the RegionAssetService. 2009-04-27 15:23:18 +00:00
Melanie Thielker 36a02441c5 Thank you, Orion_Shamroy, for a patch to expand notecard reading
capabilities in OSSL.
Fixes Mantis #3543
2009-04-27 14:16:01 +00:00
Dr Scofield c91a79c3d2 From: Alan Webb <alan_webb@us.ibm.com>
If an avatar is sitting when the client disconnects, the avatar
  is not disassociated from the SOG on which (s)he was sat. This
  produces any, and varied, effects.

  I have updated RemoveCLient in Scene, to check, and stand the
  client up immediately prior to disconnect. This seems like the
  most robust way to handle the situation. Though in this case
  it might be worth factoring out the animations from other
  standup processing. It does no harm, but in this case it is
  entirely redundant.
2009-04-27 14:04:01 +00:00
Melanie Thielker d98a916006 Thank you, Orion_Shamroy, for a patch that adds osGetNotecardLine and
osGetNumberOfNotecardLines
Fixes Mantis #2942
2009-04-27 12:05:49 +00:00
Dr Scofield 515e62dc2f From: Alan M Webb <alan_webb@us.ibm.com>
Added support for access control lists.
  Scene: Added test to AddNewClient for an entry in the access
         list when connecting to a region with limited access.
  EstateSettings: Added an HasAccess(UUID) property to test for
         an entry in the estate's access list.
  RemoteAdmin: Add RPC calls for admin_acl_list, clear, add,
         and remove.
2009-04-27 11:51:25 +00:00
Jeff Ames 8dbcfc70bf Add copyright headers. Formatting cleanup. 2009-04-27 05:22:44 +00:00
Jeff Ames 6077bbda30 Update svn properties. 2009-04-27 03:22:31 +00:00
diva d8313e314f Getting rid of -hypergrid=true on the command line. This config now goes inside OpenSim.ini in the Startup section. This makes the HG compatible with -background, and prepares the way for further work on HG-related config vars. Might help with mantis #3527. 2009-04-27 00:16:59 +00:00
diva 1ce362323e HGWorldMap got a bit out of sync during the introduction of the new module system. Should work now. Fixes mantis #3533. 2009-04-26 23:57:18 +00:00
diva d95bfc8eec Bug fix in initialization of RegionAssetServer/MXP. Sometimes the MXP section in ini doesn't exist. 2009-04-26 23:21:56 +00:00
Homer Horwitz ac3154e6b7 - Setting groups-messaging module to by disabled by default (groups module already is).
- Make sure it really is Close()d when the configuration isn't sane.
2009-04-26 18:26:01 +00:00
Homer Horwitz 5c20fc1f28 Remove some debug messages I have forgotten to take out. 2009-04-26 18:25:48 +00:00
Melanie Thielker 647368f53f Thank you, mcortez, for a patch to fix group notice delivery 2009-04-26 18:19:14 +00:00
Charles Krinke c3d619498f Thank you kindly, Ewe Loon, for a patch that solves:
PRIM_TEXGEN not in llSetPrimitiveParams. Patch has 
been included to implement it.
2009-04-26 00:45:48 +00:00
Homer Horwitz 94ab683fe1 Thanks, Ewe Loon for a patch that
provides persistent AvatarAppearance for SQLite.
Fixes Mantis #3296.
2009-04-25 20:55:55 +00:00
Charles Krinke ad4738ff33 Thank you kindly, RemedyTomm, for a patch that fixes:
llSetPrimitiveParams in a large linkset can disrupt the 
entire region. However, when the script is in a large 
linkset, it appears to totally lag out the scene and 
stops updates from being sent.
2009-04-25 19:54:51 +00:00
Melanie Thielker 2a64a1ead4 Remove second timestamp in offline IM, the client already adds one 2009-04-25 19:02:23 +00:00
Charles Krinke c17a125445 Thank you kindly, MCortez for a patch that:
The attached patch fixes a few problems that people were 
having with the Messaging provided by the XmlRpcGroups 
optional module, namely:
* Fixes 2x echo in group messaging
* Fixes problems with cross instance, non-neighbor, messaging
2009-04-25 18:58:18 +00:00
Dahlia Trimble 4792e6139a Thanks Bluewall for Mantis #3519: a patch that adds simulator uptime and version to REST/json statistics reporting 2009-04-25 05:06:01 +00:00
Teravus Ovares 917849eaac * More debug warning message removal in the FreeSwitchVoiceModule 2009-04-25 01:15:34 +00:00
Homer Horwitz 6a08accde0 - Moved WorldMapModule and HGWorldMapModule to the new region-module system
- Cleaned up some whitespace
2009-04-24 20:37:15 +00:00
Justin Clarke Casey 2246b4daaa * Write separate unit test for replicating iar structure to a user inventory 2009-04-24 19:43:54 +00:00
Dahlia Trimble 6f3437b77e some code cleanup
sync with primmesher r35
2009-04-24 19:43:15 +00:00
Dahlia Trimble 9c13a93583 Limit hollow size of physics proxy to 95% 2009-04-24 19:28:29 +00:00
Justin Clarke Casey 8fe70c826d * minor: move user profile test utils to test/common/setup for future reuse 2009-04-24 19:19:19 +00:00
Justin Clarke Casey eeb1908bce * Refactor: break out loading of archive paths into inventory into a separate method 2009-04-24 19:10:13 +00:00
Justin Clarke Casey 35c7aae455 * correct spelling mistake in item seiralization 2009-04-24 15:56:41 +00:00
Justin Clarke Casey 170cea5088 * minor: make inventory item deserialization code easier to read 2009-04-24 15:44:22 +00:00
Justin Clarke Casey d69a018ba8 * Write basic, incomplete load iar test 2009-04-24 15:02:48 +00:00
Sean Dague de1aef9499 silly C# not letting me use a File.Exists test for a directory. Don't
you know a directory is just a special kind of file on Linux.
2009-04-24 12:40:42 +00:00
Sean Dague fefcb8432f change power linux detection method, the previous method only worked
with interactive logins, not under panda.
2009-04-24 12:06:24 +00:00
Dr Scofield 9bdfb9034d From: Alan Webb <alan_webb@us.ibm.com>
This commit adds RestFileServices to the REST ApplicationPlugin service.
2009-04-24 07:03:06 +00:00