aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-03-22Fox a null ref in the inventory give moduleMelanie Thielker1-0/+3
2009-03-22Moving the LoginAuth service up, so that it can be shared among standalones ↵diva1-0/+346
and the User Server.
2009-03-21Initial support for authentication/authorization keys in UserManagerBase, ↵diva2-1/+95
and use of it in HGStandaloneLoginService (producer of initial key for user, and of subsequent keys) and HGStandaloneInventoryService (consumer of a key). Keys are of the form http://<authority>/<random uuid> and they are sent over http header "authorization".
2009-03-21Add a QueryItem method to the inventory subsystem. Currently implemented forMelanie Thielker3-0/+64
MySQL only, stubs for the others. This allows updating the cache with a single item from the database.
2009-03-20* Normalized and pulled GetInventorySkeleton up.lbsa711-31/+79
2009-03-20* De-duplicated login service some morelbsa711-1/+32
* Normalized m_inventoryService * Pulled AddActiveGestures up
2009-03-19Moving GetInventoryItem up to InventoryServiceBase, since this seems like a ↵diva1-0/+10
pretty fundamental function.
2009-03-19* refactor: Create IHttpServer interface instead of accessing BaseHttpServer ↵Justin Clarke Casey3-15/+19
via CommunicationsManager directly
2009-03-18Adds support for unlink-region command in hypergrid.diva1-0/+3
2009-03-13* Support loading empty folders in an iarJustin Clarke Casey1-3/+1
2009-03-13* Remove asset cache size and texture stat reports from ASSET STATS since ↵Justin Clarke Casey1-4/+6
these are now inaccurate * Correct count of assets in cache
2009-03-12Update svn properties, formatting cleanup.Jeff Ames1-3/+3
2009-03-12* Another stab at refactoring up the CustomiseResponse function. Two fixes:lbsa711-9/+147
* Sometimes, null is a valid return value to indicate 'none found'. doh. * Sometimes, the Grid server does not send simURI - this you need to reconstruct yourself. Euw. (I believe) this solves mantis issue #3287
2009-03-11* Reverted r8750 to do another round of debugging on mantis #3287lbsa711-141/+9
2009-03-11* fix build breakJustin Clarke Casey1-1/+2
2009-03-11* Make all coded defaults match settings in OpenSim.ini.exampleJustin Clarke Casey1-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)
2009-03-10*** POTENTIAL BREAKAGE ***lbsa711-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!
2009-03-10* Re-aligned CustomiseResponse function for imminent up-pullinglbsa711-0/+3
2009-03-09* minor: remove some mono compiler warningsJustin Clarke Casey2-7/+7
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