Commit Graph

38 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
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
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
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
Justin Clarke Casey
3db52d95ef * Extend get user profile test to cover retrieval by name 2009-04-17 14:41:56 +00:00
diva
0413d052a3 Adds session authentication upon NewUserConnections. Adds user key authentication (in safemode only) upon CreateChildAgents. All of this for Hypergrid users too. This addresses assorted spoofing vulnerabilities. 2009-04-14 19:35:35 +00:00
Justin Clarke Casey
e1c449b492 * Change simple asset cache test to manually pump the asset server rather than relying on another thread 2009-04-14 17:44:10 +00:00
Justin Clarke Casey
1894157dd3 * Explicitly start the asset server thread so that unit tests can run single rather than multi-threaded (which may be behind the occasional test freezes) 2009-04-14 17:15:09 +00:00
lbsa71
29355de6ee * Some more experimental work on distributed assets. Nothing hotwired yet.
* Introduced preprocess step in FetchAsset (Might revert this later)
  * Some minor CCC
  * Added actual implementation of GetUserProfile( uri ) and the corresponding handler to OGS1.
  * Introduced non-functioning GetUserUri( userProfile) awaiting user server wireup (this might move elsewhere)
2009-04-13 20:04:18 +00:00
lbsa71
d2a412e94b * Added some more experimental code; nothing wired in so far. 2009-04-09 16:45:22 +00:00
lbsa71
e93b782f9d * Introduced some experimental code with regards to asset data substitution 2009-04-08 19:59:37 +00:00
Justin Clarke Casey
051096e8ae * minor: remove some mono compiler warnings 2009-03-09 19:58:39 +00:00
Justin Clarke Casey
ae759f2d06 * Add basic asset cache get test 2009-03-09 19:40:32 +00:00
Justin Clarke Casey
31ca3a8d4d * refactor: Move RequestInventoryForUser() from service to CachedUserInfo
* This simplifies callers in most cases - CachedUserInfo is already handling the rest of the fetch inventory work anyway
2009-02-12 17:07:44 +00:00
lbsa71
801da4346a * optimized usings. 2009-02-12 09:53:12 +00:00
Mike Mazur
9377c6f2b2 - move OpenSim/Framework/IInventoryData.cs to
OpenSim/Data/IInventoryData.cs
- trim trailing whitespace
2009-02-03 05:20:26 +00:00
Justin Clarke Casey
47a693ff1a * remove mono compiler warnings 2009-01-06 15:26:30 +00:00
Justin Clarke Casey
0b07c9762b * Simplify test code by always setting up mock 'in memory' user and inventory data plugins for every TestCommunicationsManager
* imo the gain in simplcity of test code outweighs the very small cost of setting up some stuff that some tests will never use
2009-01-05 18:00:53 +00:00
Justin Clarke Casey
71960f17bc * Extend update test to test situation where it also moves the folder
* Correct logic so that update folder behaves as expected
2008-12-12 21:06:07 +00:00
Justin Clarke Casey
b1f018aa26 * Create update folder test
* Correct small logic elidation
2008-12-12 20:43:42 +00:00
Justin Clarke Casey
1531035b14 * Actually properly enable the purge folders test and correct some problems 2008-12-12 20:04:58 +00:00
Justin Clarke Casey
9f6e567cb1 * add purge folder test 2008-12-12 19:37:51 +00:00
Justin Clarke Casey
7bbab12158 * Add user info move inventory folder test 2008-12-12 19:24:45 +00:00
Justin Clarke Casey
f8ce498755 * extend user profile create folder test to check that one can't create a folder with a non-existant parent folder id 2008-12-12 19:04:10 +00:00
Justin Clarke Casey
b60d980f7c * Add file missing from last commit 2008-12-12 18:59:06 +00:00
Justin Clarke Casey
a7e145bdfd * refactor: pull out common user profile test code into utility functions 2008-12-12 18:48:29 +00:00
Justin Clarke Casey
80e267dcfe * refactor: Stop exposing InventoryFolderImpl.SubFolders publicly 2008-12-11 20:58:11 +00:00
Justin Clarke Casey
f23856a575 * Add get child folder test 2008-12-11 20:36:46 +00:00
Justin Clarke Casey
30213e141b * Add create folder userinfo test 2008-12-11 19:57:12 +00:00
Justin Clarke Casey
c9aabe2b90 * Pop in a missing using statement without which UserProfileCacheServiceTests.cs fails on Windows (but not mono) 2008-12-11 19:11:19 +00:00
Justin Clarke Casey
04a07daa5b minor: Add request inventory test 2008-12-11 18:56:04 +00:00
Justin Clarke Casey
bec3993849 * Fold mock classes into existing OpenSim/Tests/Common assembly rather than sprouting another one 2008-12-11 18:07:23 +00:00
Justin Clarke Casey
230eb06d34 * Extend test to probe for user details that should exist 2008-12-11 17:30:57 +00:00
Justin Clarke Casey
c4b45449ee * test: Add simple user profile test that checks for non-existing users 2008-12-11 17:23:55 +00:00
Justin Clarke Casey
f38c35b609 * refactor: Move inventory handlers out from UserProfileCacheService
* This means that UserProfileCacheService no longer needs to know about IClientAPI and can leave it to callers to do their own error logging
* This is also more consistent with the way that item inventory manipulation is handled
* I don't really think Scene.PacketHandlers.cs should be a permanent home for these handlers - this is just for convenience
2008-12-10 19:12:59 +00:00