aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * fix build breakJustin Clarke Casey2009-03-111-1/+2
|
* * Make all coded defaults match settings in OpenSim.ini.exampleJustin Clarke Casey2009-03-111-3/+9
| | | | | | | * In most cases, the setting in OpenSim.ini.example is taken as the canonical one since this is the file virtually everyone ends up using * OpenSim will start up with a blank OpenSim.ini, in which case sqlite is the default database (as before)
* *** POTENTIAL BREAKAGE ***lbsa712009-03-101-9/+141
| | | | | | | | | * Finally got to the point where I could pull up the CustomiseResponse function. Major de-duplication. * Introduced FromRegionInfo on RegionProfileData * This revision needs both grid and standalone testing galore. Work in progress!
* * Re-aligned CustomiseResponse function for imminent up-pullinglbsa712009-03-101-0/+3
|
* * minor: remove some mono compiler warningsJustin Clarke Casey2009-03-092-7/+7
|
* * Add basic asset cache get testJustin Clarke Casey2009-03-093-7/+93
|
* * Move method documentation from AssetCache up to IAssetCacheJustin Clarke Casey2009-03-091-80/+10
| | | | | | * No functional changes
* * Address http://opensimulator.org/mantis/view.php?id=3207Justin Clarke Casey2009-03-091-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.
* * Added TXXX in front of unit tests to make sure they are running in the ↵Sean Dague2009-03-091-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>
* Refactor login test class.Mike Mazur2009-03-091-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.
* Fix tests broken in r8732.Mike Mazur2009-03-091-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.
* Making the web_login_key code work, even if the LL Viewer doesn't support ↵diva2009-03-081-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
* * Protects RestClient from crashing with dictionary exception, which leads ↵Sean Dague2009-03-061-2/+24
| | | | to the client thread crashing if uncaught.
* Renamed ILoginRegionsConnector to ILoginServiceToRegionsConnector and moved ↵MW2009-03-031-1/+1
| | | | it from OpenSim.Client.Linden to OpenSim.Framework.
* Moved Linden protocol login handling to modules in OpenSim.Client.Linden. ↵MW2009-03-032-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.
* * Update ScenePresenceTests to reflect current REST communication workflow.Sean Dague2009-02-261-1/+1
| | | | | | | * Fixed an issue with AssetCache where it would break unit tests randomly. From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
* More refactoring of the Grid, User and Messaging servers. MW2009-02-251-12/+0
|
* Distinguish 404 errors in RestClient.Request().Mike Mazur2009-02-251-2/+10
| | | | | Mantis #3225.
* Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke2009-02-222-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.
* Add copyright headers. Minor formatting cleanup.Jeff Ames2009-02-211-1/+1
|
* * Upped VersionInfo to 0.6.3 and in the process, changed assemblyinfo to ↵lbsa712009-02-201-3/+3
| | | | 0.6.3.* to better track down dll ref and overwrite problems.
* THE BIG ANTI-REMOTING SCHLEP -- StartRemoting is no more. Sims in older ↵diva2009-02-202-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.
* This moves the 2 friends-related interregion messages out of OGS1 and into ↵diva2009-02-202-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.
* * Reverted the AssetServer fix, apparently something was dependent on ↵lbsa712009-02-192-0/+2
| | | | IAssetDataPlugin being in OpenSim.Data
* * Extracted IAssetData and moved it to OpenSim.Framework to prepare to get ↵lbsa712009-02-192-2/+0
| | | | | | | rid of ugly CoreModules dependency on AssetServer.exe * And yes, the IAssetDataPlugin is misnomed, which became apparent on extracting it.
* From: Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague2009-02-181-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.
* * Allow inventory archives to be saved from the 'root' inventory directoryJustin Clarke Casey2009-02-171-3/+10
| | | | | | | * Reload doesn't currently obey structure information * Not yet ready for use
* - remove the Metadata property from AssetBase and return all previousMike Mazur2009-02-175-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
* From: Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague2009-02-167-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.
* * refactor: Move RequestInventoryForUser() from service to CachedUserInfoJustin Clarke Casey2009-02-124-33/+23
| | | | | | * This simplifies callers in most cases - CachedUserInfo is already handling the rest of the fetch inventory work anyway
* * optimized usings.lbsa712009-02-1231-75/+28
|
* From Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague2009-02-093-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.
* The DataPluginFactory is now a set of generic methods instead ofMike Mazur2009-02-092-2/+2
| | | | | multiple duplicates of the same code.
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-062-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!
* * Introduce a new "default" option for asset_database in the [STORAGE] sectionJustin Clarke Casey2009-02-041-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
* - add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur2009-02-045-77/+77
| | | | | - trim trailing whitespace
* - moved data plugin loading code from various places toMike Mazur2009-02-032-23/+18
| | | | | | | | OpenSim/Data/DataPluginFactory.cs - removed dependencies on a few executable assemblies in bin/OpenSim.Data.addin.xml - trim trailing whitespace
* - move OpenSim/Framework/IUserData.cs to OpenSim/Data/IUserData.csMike Mazur2009-02-031-30/+30
| | | | | - trim trailing whitespace
* - move OpenSim/Framework/IInventoryData.cs toMike Mazur2009-02-032-57/+60
| | | | | | OpenSim/Data/IInventoryData.cs - trim trailing whitespace
* - move IAssetDataPlugin from OpenSim/Framework/IAssetProvider.cs toMike Mazur2009-02-032-0/+2
| | | | | | OpenSim/Data/IAssetData.cs - remove some trailing whitespace
* Rename IAssetProviderPlugin to IAssetDataPlugin aligning with the other data ↵Mike Mazur2009-02-032-6/+6
| | | | plugins.
* * Write a simple archive loading test which doesn't actually do any testing ↵Justin Clarke Casey2009-01-231-7/+3
| | | | yet apart from not blow up
* * Extend archive test to check for the presence of a control file in a saved ↵Justin Clarke Casey2009-01-232-1/+3
| | | | archive
* * refactor: Extract caps related code from scene and put into a region moduleJustin Clarke Casey2009-01-211-1/+1
| | | | | | * No functional changes in this revision
* - remove extra "; in http_loginform.html.example; fix issue 3025Mike Mazur2009-01-211-2/+2
| | | | | | - sync up default HTML generated in LoginService.cs with that in http_loginform.html.example
* Set request method for REST requests with no input.Mike Mazur2009-01-211-0/+1
|
* No longer append a "texture" parameter on texture asset requests. TheMike Mazur2009-01-191-2/+0
| | | | | | asset server doesn't check for the existence of this parameter since r2744.
* * minor: remove some mono compiler warningsJustin Clarke Casey2009-01-131-1/+1
|
* Enhanced LoginServiceTests to test for authentication and responseSean Dague2009-01-121-18/+197
| | | | | | | Expanded TestUserDataPlugin to cover new methods From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
* * prune and regrade log messages relating to client login and logoutJustin Clarke Casey2009-01-063-9/+9
|