aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Only allow logins on standalone when the sim has completed it's initial ↵Justin Clarke Casey2008-09-191-7/+15
| | | | | | | | | startup (script startup doesn't count here) * There was a small window where region logins were allowed before modules were loaded - avatars logins that hit this window could have caused bad things to happen. * A similar change will follow for grid mode sometime soon
* * This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares2008-09-061-19/+19
| | | | | | | * This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
* Update svn properties, formatting cleanup.Jeff Ames2008-08-281-1/+1
|
* Mantis #1903Melanie Thielker2008-08-271-1/+7
| | | | | | | Thank you, cmickeyb, for a patch that prevents the loss of folders received out of sequence, and the items within.
* * This commit incorporates the heart of the OpenGridProtocol patch that is ↵Teravus Ovares2008-08-251-0/+25
| | | | | | | | currently on Forge in a nice, friendly modular format. * There are a lot of changes and this is quite experimental. It's off by default, but you can turn it on by examining the bottom of the opensim.ini.example for the proper OpenSim.ini settings. Remember, you still need an agent domain.. * Furthermore, it isn't quite right when it comes to teleporting to remote regions (place_avatar)
* Formatting cleanup.Jeff Ames2008-08-181-1/+1
|
* Update svn properties, minor formatting cleanup.Jeff Ames2008-08-161-2/+2
|
* Guard against the null UUID being queried from the userserverMelanie Thielker2008-08-161-0/+5
| | | | | | repeatedly.
* * Stop warnings about non existent scene presences/entities being removed on ↵Justin Clarke Casey2008-08-121-1/+3
| | | | | | | | | client log off * This is being done by preventing close from being called twice on child agent closure (nres which would have been thrown are being swallowed). * However, it should be possible to do much better cleanup on this code in the future
* Thanks, lulurun, for a patch that addresses inventory problems that occurMike Mazur2008-08-121-54/+24
| | | | | | | | | | | | | | | | | occasionally, but are fixed on restart (issue 1919). This patch introduces the following changes: 1. when a user teleports out of Region A, remove that user's profile from the Region A user profile cache 2. when a user crosses between regions out of Region A, remove that user's profile from the Region A user profile cache 3. the user profile cache's session ID member can now be set (written), and is updated each time a connection with a new avatar is established (ie: a new avatar enters the region) 4. when a region server looks up a user profile and a cache miss occurs, fetch the user profile from the user server first instead of immediately returning null
* * correct bug from last commit - for now don't drop cached user profile when ↵Justin Clarke Casey2008-08-011-0/+4
| | | | | | | | an agent is downgraded to a child agent * since upgrading to a root agent doesn't currently re-retrieve the user profile
* * Drop cached inventory from the local region when a user crosses out into a ↵Justin Clarke Casey2008-08-011-7/+5
| | | | | | | | | | remote region * May resolves inventory problems that occur when the user moves between two regions` * e.g. if the user moves to a second region, adds an inventory item, moves back to the original region then tries to manipulate that item * Not yet implemented for teleport
* * refactor: Change CachedUserInfo.HasInventory to HasReceivedInventory to ↵Justin Clarke Casey2008-07-311-4/+4
| | | | make actual function clearer
* * minor: reduce coupling by passing in only session id to CachedUserInfoJustin Clarke Casey2008-07-311-1/+1
|
* The new secure inventory server mode (in r5590) can now be disabled from ↵Johan Berntsson2008-07-231-1/+8
| | | | OpenSim.ini. Default is to use the new mode.
* thanks lulurun for a security patch that blocks unathorized access to the ↵Johan Berntsson2008-07-231-1/+28
| | | | inventory server (see http://opensimulator.org/wiki/Security_vulnerability_brought_by_non-check_inventory_service)
* disabled the multiple inventory server support in login service again.MW2008-06-291-6/+6
| | | | | | And reverted CachedUserInfo back to revision 5262. I don't think most of the inventory problems that people are reporting are due to these, but its easier to deal with one set of potential problems at a time, and I'm not going to get any time in the week to work on this anyway.
* plumbing for multiple inventory servers. Mostly done on the region server side. MW2008-06-281-1/+6
| | | | | | TODO next is to make the login server read/write a users inventory from the correct server (the inventory url set in a userprofile) On the region side, although not tested with multiple servers it should work if that inventory url was set, and the inventory servers urls have been added to the CommunicationsManager, using CommunicationsManager.AddInventoryService(string hostUrl)
* Formatting cleanup.Jeff Ames2008-05-161-39/+39
|
* * Removing polling delay for non-CAPS inventory fetch if the client has not ↵Justin Clarke Casey2008-05-091-58/+4
| | | | | | | | yet received data from the inventory service * Replaced instead with the system now used by other requests where the fetch request is placed on a queue and service when the data comes in
* * Minor: Insert utility function to format raw xml strings into indented xml ↵Justin Clarke Casey2008-05-091-1/+3
| | | | for debugging purposes
* * Restoring some initial inventory lookup polling delays in order to deal ↵Justin Clarke Casey2008-05-091-2/+2
| | | | with situations seen on osgrid
* * Reduced sleep durations in a number of files.Adam Frisby2008-05-081-2/+3
|
* * Increase number of poll attempts an inventory items request will make ↵Justin Clarke Casey2008-05-071-1/+1
| | | | under CAPS
* * Refactor: A final root folder special case removal, this time in ↵Justin Clarke Casey2008-05-041-49/+18
| | | | HandleFetchInventoryDescendents[CAPS]
* * Refactor: Renaming item and folder tree search methods to have Find*() ↵Justin Clarke Casey2008-05-031-5/+5
| | | | prefixes
* * Refactor: Move MoveFolder() and PurgeFolder() into CachedUserInfo (which ↵Justin Clarke Casey2008-05-031-52/+13
| | | | arguably should be split)
* * Refactor: move UpdateFolder into CachedUserInfoJustin Clarke Casey2008-05-031-19/+4
|
* * Make user profile cache service complain if the caller assumes a profile ↵Justin Clarke Casey2008-05-031-13/+42
| | | | exists when in fact it does not
* * Refactor: Move bulk of CreateFolder from UserProfileCacheService into ↵Justin Clarke Casey2008-05-031-71/+5
| | | | | | | | CachedUserInfo * Remove unused/superseded methods from GridInventoryService
* * Refactor: Remove the unused userID parameter that was being passed into ↵Justin Clarke Casey2008-05-011-5/+8
| | | | | | | | almost every inventory method * This allows lots of redundant inventory methods with only slightly different names to be eliminated.
* * Assorted spring cleanings.Adam Frisby2008-05-011-1/+0
|
* * Refactor: Rename InventoryFolderImpl.HasSubFolder() to GetDescendentFolder()Justin Clarke Casey2008-04-301-6/+6
|
* * Resolve mantis 1068, 1095Justin Clarke Casey2008-04-301-10/+31
| | | | | | | * The resolution takes the form of not crashing the session if the folder the user is attempting to add already exists (e.g. there is one already with the same UUID). * Printing out warnings instead
* * Completely inconsequential inventory odds and ends (actual impact - only ↵Justin Clarke Casey2008-04-301-2/+3
| | | | one log message changed)
* * Implement full grid mode Trash emptyJustin Clarke Casey2008-04-231-8/+1
| | | | | | | | | * Now, emptying the trash should remove folders and the items they contain as well as items which were not in a subfolder. * This will only work once both the region and grid servers have reached this revision. * You may also need to clear your cache before this will work * Refactoring to follow.
* * Implement proper emptying of trashcan on standaloneJustin Clarke Casey2008-04-231-5/+24
| | | | | | | * On standalone, folders (and their items) should now be persistently deleted on trash emptying, as well as immediate child items * An implementation for grid mode will follow.
* * Fix mantis #842 - folders which are created but left named "New Folder" in ↵Justin Clarke Casey2008-04-231-1/+14
| | | | places other than directly under "My Inventory" should now be stored
* * Extend functionality to better handle delayed inventory service transfers ↵Justin Clarke Casey2008-04-221-9/+30
| | | | | | | | to create folder, move folder and purge folder. * Old 1.18 get folder functionality requires a little more consideration
* * Replace previous specific inventory callback code with generic alternativeJustin Clarke Casey2008-04-221-30/+17
|
* * Allow folder renaming to complete after an agent inventory has been ↵Justin Clarke Casey2008-04-221-0/+36
| | | | | | | | | received by a region from the inventory service * This replaces the old behaviour of failing straight away, which could cause lost updates if the inventory service was slow in responding * This is the first baby step to making all inventory requests behave this way, to reduce inventory lossage
* * Optimised using statements and namespace references across entire project ↵Adam Frisby2008-04-211-6/+4
| | | | (this took a while to run).
* * Remove user profile from cache when they log out from a region.Justin Clarke Casey2008-04-201-1/+24
| | | | | | | * A much more significant fix is required to clean up the cache when a user moves out of a region, but really better handling of delayed inventory cache updates needs to be written first, and possibly better affinity to cut down agent inventory requests when the move is between two regions hosted on the same server.
* * Tweak inventory login failure message to point to the region owner as ↵Justin Clarke Casey2008-04-201-1/+2
| | | | first point of call rather than the grid owner
* * Working towards notifying the client if the inventory service has failed, ↵Justin Clarke Casey2008-04-141-3/+3
| | | | | | | | | rather than simply returning 0 items. * This is very early support which would only be triggered in a rather unlikely case (if the user server correctly received an inventory skeleton, but later on failed to return the whole inventory in a timely manner. Also, this only applies to the 1.19.1.4 client onwards * Code cleanup and support for other failure cases (failure of inventory caching on region crossing, failure to actually add a folder/item, etc, should follow.
* * Put in crude poll waiting for 60 seconds for delayed user inventory ↵Justin Clarke Casey2008-04-131-2/+27
| | | | | | | | | delivery from the inventory service * This will reduce failures where the inventory server is simply slow * Still need to properly inform the user if the inventory service has failed altogether
* * Change inventory async response deliver to deliver all items and folders ↵Justin Clarke Casey2008-04-111-1/+15
| | | | | | | | at once, rather than each individual * This is required in order to work towards eliminating some inventory race conditions and to better deal with situations where a grid inventory server is slow or not responding.
* * minor: replace test of CachedUserInfo.RootFolder != null with something ↵Justin Clarke Casey2008-04-111-9/+9
| | | | more readable, and make RootFolder get only
* * minor documenting, cleanup, renaming in user profile cache serviceJustin Clarke Casey2008-04-111-5/+8
|
* * documenting and minor refactoring in UserProfileCacheServiceJustin Clarke Casey2008-04-111-14/+24
|