aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-03-09* Add basic asset cache get testJustin Clarke Casey3-7/+93
2009-03-09* Move method documentation from AssetCache up to IAssetCacheJustin Clarke Casey1-80/+10
* No functional changes
2009-03-09* Address http://opensimulator.org/mantis/view.php?id=3207Justin Clarke Casey1-4/+1
* A saved archive now immediately expires the data in the asset cache that it used, rather than retaining all the assets (esp textures) in the cache. * This is an imperfect solution. Ideally we would only expire the assets newly requested for the archive (not existing ones). But doing that would require a lot more restructuring. * I don't believe there are any locking issues due to the locking performed by the underlying memory cache, but please report any issues.
2009-03-09* Added TXXX in front of unit tests to make sure they are running in the ↵Sean Dague1-7/+7
correct order. Although it might not make a difference here, this pattern should be followed to avoid further issues. From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-03-09Refactor login test class.Mike Mazur1-115/+126
There were multiple tests in one test method (T011_Auth_Login). This test has been refactored into multiple tests. Common setup code was placed into a SetUp method executed before each test.
2009-03-09Fix tests broken in r8732.Mike Mazur1-0/+14
Recent changes in the code handling login_to_simulator XMLRPC method calls caused two tests to fail because not enough parameters were being supplied with the method call. The parameters added in this patch work, but I'm not sure whether they are actually correct or even relevant. Diva, please look over this.
2009-03-08Making the web_login_key code work, even if the LL Viewer doesn't support ↵diva1-4/+19
it. Other clients can launch the LL Viewer with something like this, for example: Process.Start("C:\\Program Files\\SecondLife\\SecondLife.exe", "-loginuri " + loginuri + "?web_login_key=" + web_login_key + " -login " + firstName + " " + lastName + " -multiple"); This requires a prior step for actually getting the key, which can be done like this: http://localhost:9000/?method=login&firstname=barak&lastname=obama&password=123&show_login_form=FALSE
2009-03-06* Protects RestClient from crashing with dictionary exception, which leads ↵Sean Dague1-2/+24
to the client thread crashing if uncaught.
2009-03-03Renamed ILoginRegionsConnector to ILoginServiceToRegionsConnector and moved ↵MW1-1/+1
it from OpenSim.Client.Linden to OpenSim.Framework.
2009-03-03Moved Linden protocol login handling to modules in OpenSim.Client.Linden. ↵MW2-18/+115
There are two region modules in there LLStandaloneLoginModule (for standalone mode) and LLProxyLoginModule (for grid mode which just handles incoming expect_user and logoff_user messages from the remote login server) Changed OpenSim.Framework.Communications.Tests.LoginServiceTests to use the LLStandaloneLoginService (from the LLStandaloneLoginModule) rather than LocalLoginService. Really these login tests should most likely be somewhere else as they are testing specific implementations of login services. Commented out the old LocalLoginService as its no longer used, but want to check there are no problems before it gets deleted.
2009-02-26* Update ScenePresenceTests to reflect current REST communication workflow.Sean Dague1-1/+1
* Fixed an issue with AssetCache where it would break unit tests randomly. From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-02-25More refactoring of the Grid, User and Messaging servers. MW1-12/+0
2009-02-25Distinguish 404 errors in RestClient.Request().Mike Mazur1-2/+10
Mantis #3225.
2009-02-22Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2-4/+4
* Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
2009-02-21Add copyright headers. Minor formatting cleanup.Jeff Ames1-1/+1
2009-02-20* Upped VersionInfo to 0.6.3 and in the process, changed assemblyinfo to ↵lbsa711-3/+3
0.6.3.* to better track down dll ref and overwrite problems.
2009-02-20THE BIG ANTI-REMOTING SCHLEP -- StartRemoting is no more. Sims in older ↵diva2-58/+0
versions will have a hard time communicating with sims on this release and later, especially if they haven't transitioned to RESTComms at all. There's still some cleanup to do on assorted data structures, but the main functional change here is that sims no longer listen on remoting ports.
2009-02-20This moves the 2 friends-related interregion messages out of OGS1 and into ↵diva2-46/+0
the FriendsModule. No functional changes. Those messages were sent over XMLRPC, and that's how it continues to be for now. Just moving this couple of interregion messages out of OGS1, in preparation for the big shlep ahead.
2009-02-19* Reverted the AssetServer fix, apparently something was dependent on ↵lbsa712-0/+2
IAssetDataPlugin being in OpenSim.Data
2009-02-19* Extracted IAssetData and moved it to OpenSim.Framework to prepare to get ↵lbsa712-2/+0
rid of ugly CoreModules dependency on AssetServer.exe * And yes, the IAssetDataPlugin is misnomed, which became apparent on extracting it.
2009-02-18From: Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague1-5/+5
I've changed the extension point name, and the internal references that used the same string. I also fixed up the messaging around the asset loader so that it is more explicit.
2009-02-17* Allow inventory archives to be saved from the 'root' inventory directoryJustin Clarke Casey1-3/+10
* Reload doesn't currently obey structure information * Not yet ready for use
2009-02-17- remove the Metadata property from AssetBase and return all previousMike Mazur5-39/+39
properties as before - prefix private variables with m_ in AssetBase.cs - related to Mantis #3122, as mentioned in https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html - all services will likely need to be upgraded after this commit
2009-02-16From: Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague7-26/+271
The change makes two principal implementation changes: [1] It removes the hard coded set of possible asset server client implementations, allowing any arbitrary implementation that has been identified to the PluginLoader as an appropriate extension. The extension point for asset server client extension is /OpenSim/AssetServerClient. All of the old configuration rules have been preserved, and any of the legacy configuration values will still work as they did before, except the implementation is now loaded as a plug-in, rather than as a hard-coded instantiation of a specific class. The re-hashing of IAssetServer as an extension of IPlugin made upgrading of the implementation classes a necessity. Caveat: I have not been able to meaningfully test the crypto-grid clients. I believe they should work correctly, but the refactoring necessary to handle plug-in based initialization (vs constructor-based initialisation) admits the possibility of a problem. [2] The asset cache implementation, previously introduce as a hard-code class instantiation is now implemented as an IPlugin. Once again the previous (configurationless) behavior has been preserved. But now it is possible for those interested in experimenting with cache technologies to do so simply by introducing a new extension for the asset cache extension point (/OpenSim/AssetCache). I've tested all of the configuration settings, after applying the patch to a newly extracted tree, and they seem to work OK.
2009-02-12* refactor: Move RequestInventoryForUser() from service to CachedUserInfoJustin Clarke Casey4-33/+23
* This simplifies callers in most cases - CachedUserInfo is already handling the rest of the fetch inventory work anyway
2009-02-12* optimized usings.lbsa7131-75/+28
2009-02-09From Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague3-8/+9
These changes replace all direct references to the AssetCache with IAssetCache. There is no change to functionality. Everything works as before. This is laying the groundwork for making it possible to register alternative asset caching mechanisms without disrupting other parts of OpenSim or their dependencies upon AssetCache functionality.
2009-02-09The DataPluginFactory is now a set of generic methods instead ofMike Mazur2-2/+2
multiple duplicates of the same code.
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield2-3/+9
OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
2009-02-04* Introduce a new "default" option for asset_database in the [STORAGE] sectionJustin Clarke Casey1-0/+1
* This option makes OpenSim use the usual db based asset service in standalone, and the grid based one in grid mode * The other options can (local, grid, etc) can still be used explicitly as before * Also change OpenSim.ini.example and the surrounding explanative text
2009-02-04- add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur5-77/+77
- trim trailing whitespace
2009-02-03- moved data plugin loading code from various places toMike Mazur2-23/+18
OpenSim/Data/DataPluginFactory.cs - removed dependencies on a few executable assemblies in bin/OpenSim.Data.addin.xml - trim trailing whitespace
2009-02-03- move OpenSim/Framework/IUserData.cs to OpenSim/Data/IUserData.csMike Mazur1-30/+30
- trim trailing whitespace
2009-02-03- move OpenSim/Framework/IInventoryData.cs toMike Mazur2-57/+60
OpenSim/Data/IInventoryData.cs - trim trailing whitespace
2009-02-03- move IAssetDataPlugin from OpenSim/Framework/IAssetProvider.cs toMike Mazur2-0/+2
OpenSim/Data/IAssetData.cs - remove some trailing whitespace
2009-02-03Rename IAssetProviderPlugin to IAssetDataPlugin aligning with the other data ↵Mike Mazur2-6/+6
plugins.
2009-01-23* Write a simple archive loading test which doesn't actually do any testing ↵Justin Clarke Casey1-7/+3
yet apart from not blow up
2009-01-23* Extend archive test to check for the presence of a control file in a saved ↵Justin Clarke Casey2-1/+3
archive
2009-01-21* refactor: Extract caps related code from scene and put into a region moduleJustin Clarke Casey1-1/+1
* No functional changes in this revision
2009-01-21- remove extra "; in http_loginform.html.example; fix issue 3025Mike Mazur1-2/+2
- sync up default HTML generated in LoginService.cs with that in http_loginform.html.example
2009-01-21Set request method for REST requests with no input.Mike Mazur1-0/+1
2009-01-19No longer append a "texture" parameter on texture asset requests. TheMike Mazur1-2/+0
asset server doesn't check for the existence of this parameter since r2744.
2009-01-13* minor: remove some mono compiler warningsJustin Clarke Casey1-1/+1
2009-01-12Enhanced LoginServiceTests to test for authentication and responseSean Dague1-18/+197
Expanded TestUserDataPlugin to cover new methods From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-06* prune and regrade log messages relating to client login and logoutJustin Clarke Casey3-9/+9
2009-01-06* Rename GetRandomCapsPath() to GetRandomCapsObjectPath() to fit in with ↵Justin Clarke Casey1-1/+5
terminology used elsewhere * Last build break was probably a Bamboo failure - hopefully this should succeed
2009-01-06* Fix build break - forgot that I had renamed an argumentJustin Clarke Casey1-1/+1
2009-01-06* Move common string aggregation for caps seed path to a method in CapsUtilJustin Clarke Casey1-0/+10
2009-01-06* Yeah, might just want to add the new class as well - sighJustin Clarke Casey1-0/+46
2009-01-06* Remove unused CAPSServiceJustin Clarke Casey1-55/+0