Commit Graph

849 Commits

Author SHA1 Message Date
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
5e4fc6e91e Heart surgery on asset service code bits. Affects OpenSim.ini configuration -- please see the example. Affects region servers only.
This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing.
Known problems: 
* HG asset transfers are borked for now
* missing texture is missing
* 3 unit tests commented out for now
2009-05-15 05:00:25 +00:00
Justin Clarke Casey
d10b5e29bc * refactor: break some of xml2 serialization out of sog 2009-05-14 16:33:04 +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
Dr Scofield
85bbcf196f adding code to check for old-style responses ("True") 2009-05-11 09:58:36 +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
Melanie Thielker
13b2ff83df Small asset cache addition. Comment a debug output left in CAPS 2009-05-10 00:30:51 +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
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
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
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
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
Jeff Ames
6ae88d129a Update svn properties. 2009-05-05 09:32:30 +00:00
Adam Frisby
c45add5f31 * Attempting to find cause of NotSupportedException in Asset subsystem. 2009-05-04 22:37:38 +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
509ec2637b * Refactor: Simplify InventoryFolderImpl. No functional change. 2009-05-04 15:02:14 +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
Justin Clarke Casey
e7078520db * refactor: move iar name hashing into a method 2009-04-30 19:57:07 +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
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
Justin Clarke Casey
52d5628806 * Add preliminary code for resolving iar profile names
* Not yet active
2009-04-28 17:47:09 +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
0d51c22620 * Allow interested user data plugins to store temporary user profiles
* Database and the OGS1 plugins are not interested and hence ignore these calls
2009-04-23 18:57:39 +00:00
Justin Clarke Casey
ef9d140022 * Add user data plugin to store temporary profiles (which are distinct from cached)
* Plugin not yet used
* Existing functionality should not be affected in any way
2009-04-23 18:24:39 +00:00
Sean Dague
7943ae48f5 move the lock out a bit further in the ProccessAssetCache loop to reduce
the number of times we are going to take this lock in a row (which is
just wasted resource), and to keep us from attempting to array access a
list which might be changing right now.  Extremely curious if this helps
prevent some of our mono segfaults.
2009-04-23 17:53:18 +00:00
Sean Dague
31bded51fb based on recent unit test output, put some extra checking in the
RunAssetCache error code
2009-04-23 17:38:08 +00:00
Justin Clarke Casey
bd8e4a8892 * Fix hypergrid standalone login by overriding AddNewUserAgent in HGUserServices 2009-04-22 23:04:32 +00:00
Justin Clarke Casey
342126b7b9 * Resolve http://opensimulator.org/mantis/view.php?id=3509 by putting some service initialization into CommsManager
* What is really needed is a plugin and interface request system as being done for region modules
2009-04-22 22:19:43 +00:00
Justin Clarke Casey
4c80685563 * Allow plugins to play nicely in UserManagerBase
* Some methods were returning the value of the first plugin queried, even if the return was null
* Other methods are probably best off querying more than one plugin and aggregating results
2009-04-22 19:26:18 +00:00
Justin Clarke Casey
2c81e41c8a * Fission OGS1UserServices into user service and OGS1 user data plugin components
* Make OGS1UserServices inherit from UserManagerBase
* This allows grid mode regions to use the same user data plugin infrastructure as grid servers and standalone OpenSims
2009-04-22 18:15:43 +00:00
Dr Scofield
458f7eb9b3 cleaning up, fixing warnings 2009-04-22 09:42:44 +00:00
Justin Clarke Casey
607156cae8 * Comment out user profile cache update method for now 2009-04-21 20:12:33 +00:00
Justin Clarke Casey
48720ea7a2 * extend user cache update test to check data backend 2009-04-21 16:21:15 +00:00
Justin Clarke Casey
d2d0b9877f * Add the ability to update profiles via the cache, so that cached profiles don't become stale
* Add corresponding unit test
2009-04-21 15:21:27 +00:00
diva
b824e488ba Addresses mantis #3485. 2009-04-18 15:45:05 +00:00
diva
bc02eab4b9 Commit agent to DB immediately after creation, for LLSD logins too. Addresses mantis #3471. Requires upgrade of User Server in grid mode for this fix to kick in. 2009-04-18 02:37:12 +00:00
Sean Dague
37f98a65d4 add fix for LLSDVoiceAccountResponse to work with freeswitch (from Rob
Smart)
2009-04-17 20:00:35 +00:00
Justin Clarke Casey
bd1b478f2c * Change inventory archiver module to use profile cache
* Clean up some log messages
2009-04-17 19:11:03 +00:00
lbsa71
a189da844a * Moved the DefaultConfig settings into already-existing ConfigSettings 2009-04-17 15:09:37 +00:00
Justin Clarke Casey
3db52d95ef * Extend get user profile test to cover retrieval by name 2009-04-17 14:41:56 +00:00
lbsa71
bbe1e19696 * Some more work on refactoring configs;
* Moved the constants out into a separate DefaultConfig
  * Pulled configMember up
  * Some minor CCC
2009-04-17 05:52:46 +00:00