Commit Graph

9141 Commits (4cd85e5c9e798fab1660f76127d9846035dd71ec)

Author SHA1 Message Date
Melanie Thielker 4cd85e5c9e resolve a circular dependency 2009-05-11 21:11:46 +00:00
Melanie Thielker f948fab4da Add AssetService of type IAssetService to Scene 2009-05-11 21:04:27 +00:00
Melanie Thielker 7d23e0f481 Commit the asset server app config 2009-05-11 20:00:34 +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 09a6faf0b7 * Fix windows build. Thanks RemedyTomm for the patch 2009-05-08 19:32:10 +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