Commit Graph

12200 Commits (06e351f1ef83217ac5f9ab479120cd23a68a6012)

Author SHA1 Message Date
Jeff Ames 50f29752f5 Formatting cleanup. Add copyright headers. 2009-08-13 11:48:39 +09:00
Diva Canto 41ad610f3e * Added two new packet handler implementations for inventory ops. This is starting to work! - but can't be activated incrementally, the flip needs to be global for all inventory ops.
* Added a base inventory connector that does common processing of inventory among all reference connector implementations. E.g. AddItem requires additional processing before being forwarded to service.
* Added if (m_Enabled) upon RemoveRegion
2009-08-12 13:11:15 -07:00
Diva Canto b3b506cba2 Better test for dropping inventory cache and writing out debug messages. 2009-08-12 09:31:33 -07:00
dr scofield (aka dirk husemann) 613e6f07fc change 535cb0efc so that the default LLSD serialization format is
llsd+xml instead of llsd+json --- the latter seems to break existing
bots. this assumes that those bots that want llsd+json will properly
signal that desire, if that is not the case, we need to revisit
this. fixes mantis #3977.
2009-08-12 14:49:59 +02:00
Jeff Ames eedb155502 Thanks jonc for a patch to ignore some Visual Studio and generated ini files. 2009-08-12 12:32:49 +09:00
Teravus Ovares (Dan Olivares) 2e9fc9a22b Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-11 20:32:05 -04:00
Teravus Ovares (Dan Olivares) 094c296fb4 Try something to help the tests complete. 2009-08-11 20:29:52 -04:00
Diva Canto 10d923dbea Fixes a race condition in EQ processing that was making EQs pop up again upon client close.
Commented remote call on GetSystemFolders again, so that it's not live yet.
2009-08-11 16:47:36 -07:00
Diva Canto 41839efcc5 Some more hammering on the head of the obsolete rest inventory handlers, just to make this work. 2009-08-11 14:52:17 -07:00
Diva Canto bd7ff803fe Re-adding a conditional in UserManager that was removed with arthusv's commit. Changing new inventory ops to POST. 2009-08-11 14:31:45 -07:00
Diva Canto dae9a111aa Added new operations to mock inventory service in tests. 2009-08-11 13:16:53 -07:00
Diva Canto bf3f376b10 Fixed test for detecting when user is no longer in sim. 2009-08-11 12:55:46 -07:00
Diva Canto 08544e576d Disabling the remote call for the time being, so that I can test it on a grid before making it live. 2009-08-11 12:48:19 -07:00
Diva Canto 764ec7ba0a Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-11 12:31:02 -07:00
Diva Canto e3dbd0e049 Added http handlers for the two new inventory operations. 2009-08-11 12:30:28 -07:00
Justin Clark-Casey (justincc) fdd0ce68b3 Do new inventory module setup, which is why the test was failing (not the original race condition, hopefully!)
Still always catching the NRE for now pending analysis
2009-08-11 20:09:35 +01:00
Diva Canto dc897b2288 Merged with origin, and resolved one conflict in LoginServiceTests.cs 2009-08-11 10:51:49 -07:00
Diva Canto 263f32a493 Improved test for system folders. Removed log messages. 2009-08-11 10:42:44 -07:00
Diva Canto 31419a70ce System folders inventory cache added to OUT inventory modules. This tracks agents in and out of *sims* in order to fetch/drop their system folders from the cache. Also added region-side support for fetching the system folders from the inventory service. Nothing of this is called yet. 2009-08-11 10:30:03 -07:00
Justin Clark-Casey (justincc) 2dbdb7e036 Re-enable TestReplicateArchivePathToUserInventory() but stop it failing on the NRE for now
Add temporarily logging for diagnosis
2009-08-11 17:49:52 +01:00
Justin Clark-Casey (justincc) 655438a59d Apply http://opensimulator.org/mantis/view.php?id=1448
Store and retrieve user profile url at runtime
Not yet persisted
Thanks Fly-Man
2009-08-11 17:29:15 +01:00
Justin Clark-Casey (justincc) a52b5e46c0 Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-08-11 17:10:22 +01:00
Chris Down bb64906a9c Enable the console show version command and the viewer about command, to show the last git commit hash together with the conmit date and time. The data is retrieved form a file bin/.version This file can be generated automatically using the post commit script by adding the following to the script:
git log -n 1 --pretty="format:%h: %ci" > bin/.version

This command can also be run manually to create the bin/.version file.

This command genrates a short form of the commit hash and a date and time of the commit in ISO8601 format.
If a full commit hash is required then change %h to %H

The logic that is used to extract the deprecated svn revision is still included.
It will be removed at a future date
2009-08-11 17:09:35 +01:00
Justin Clark-Casey (justincc) f9b60f5c34 Disable test again. Ho hum. 2009-08-11 17:05:01 +01:00
Justin Clark-Casey (justincc) 39c9f681ab re-enable just TestReplicateArchivePathToUserInventory() for now to find out if the race condition has been vanquished 2009-08-11 16:55:45 +01:00
Justin Clark-Casey (justincc) 226c082ed4 Establish CachedUserInfo.OnInventoryReceived event so that region/test inventory code can be written with the async inventory fetch 2009-08-11 16:45:16 +01:00
Arthur Valadares 2054093908 Added some needed comments to SceneSetupHelper (actually just retriggering panda) 2009-08-11 12:24:41 -03:00
Arthur Valadares 18aa2ea0c5 * Improves SceneSetupHelper to allow the tester to choose a real or mock, inventory and asset, service modules. The boolean startServices was replaced with realServices string. If the string contains the word asset, it will start a real asset module, if it contains inventory, it starts a real inventory. Otherwise, it use mock (NullPlugin-like) objects, for tests that don't really need functionality.
* SetupScene is now actually sharing the asset and inventory modules if the tester wishes to have multiple regions connected. To link regions, just start SetupScene with the same CommunicationManager for all scenes. SceneSetupHelper will hold a static reference to the modules and won't initialize them again, just run the scenes through the modules AddRegion, RegionLoaded and PostInitialize.

* With the recent changes, both asset and inventory (and in the future, user) services should always be asked from the scene, not instantiated alone. The tests should reflect this new behavior and always start a scene.
2009-08-11 12:07:54 -03:00
Diva Canto cdcbc48534 Added two new methods to IIventoryService -- GetFolderForType and GetFolderContent. Some meat to it, but not completed. None of this code is called anywhere yet. 2009-08-10 20:31:51 -07:00
Diva Canto 9f95ec4998 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-10 16:02:33 -07:00
Diva Canto 0c47f8e7ab Changed RequestRootFolder to GetRootFolder 2009-08-10 16:02:09 -07:00
Melanie eba23048ca Replace the Replaceable modules name 2009-08-10 23:08:22 +01:00
Diva Canto 17cc9b9857 Last piece of cleaning up old inventory. Old IInventoryServices and ISecureInventoryService interfaces removed. 2009-08-10 12:44:15 -07:00
Diva Canto 34d0f119cb Conditional to prevent a null ref in tests. The tests may still not pass. 2009-08-10 11:48:30 -07:00
Diva Canto 43b7e67288 Et voila! - Old inventory code removed. 2009-08-10 10:58:43 -07:00
Diva Canto 5d2a157e64 First pass at cleaning up old OGS1 and Local Inventory: removed everything-inventory in CommsManager, which wasn't actively used anymore. 2009-08-10 10:48:21 -07:00
Diva Canto d12c173a70 AssetCache.addin.xml seems to be historical junk too. Removed. 2009-08-10 09:01:07 -07:00
Justin Clark-Casey (justincc) da82fe0409 * Fix test failure by setting up MainConsole.Instance in SceneSetupHelpers.SetupScene() 2009-08-10 16:55:53 +01:00
Jeff Ames 3e247a8eaa Minor: formatting cleanup. 2009-08-11 00:32:59 +09:00
Jeff Ames 8863092f7c Split BasicPhysics classes into separate files. 2009-08-11 00:32:59 +09:00
Diva Canto 0d8284c7a1 Removed IAssetCache.
WARNING: PLEASE MAKE SURE TO USE THIS NEW bin/OpenSim.addin.xml
2009-08-10 08:14:57 -07:00
Diva Canto 7e13e96f56 Removed IAssetServer. 2009-08-10 08:01:13 -07:00
Diva Canto 024755d8b7 Slowly working my way towards the elimination of IAssetServer and IAssetCache. 2009-08-10 07:13:13 -07:00
Diva Canto a50904a68b More clean up from asset cache legacy. None of these classes are used anymore. 2009-08-10 06:41:03 -07:00
Diva Canto c7484dc739 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-10 06:35:38 -07:00
Adam Frisby ad016ba87c Added some help instructions to the new RegionInfo region setup process; mainly to point out 'yes you can input information here.' since it seems to elude some users. 2009-08-10 19:06:09 +10:00
Diva Canto 3f06fb3601 Removing unused files, legacy from old asset "cache". 2009-08-09 17:46:37 -07:00
Melanie 239a14265e Stub out the Profile and Presence services 2009-08-10 00:17:54 +01:00
Melanie 430cc0a24a Add "show digest <id>" console commdn to the ROBUST asset handler
R.O.B.U.S.T.# show digest b8d3965a-ad78-bf43-699b-bff8eca6c975
Name: Terrain Dirt
Description:
Type: 0
Content-type: image/jp2
0000: FF-4F-FF-51-00-2F-00-00-00-00-00-80-00-00-00-80
2009-08-09 23:22:59 +01:00
Diva Canto a5a5e44246 Re-removing 2 lines that got added back on Melanie's commits. git hickup. 2009-08-09 15:17:42 -07:00