aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-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.
2008-08-28Update svn properties, formatting cleanup.Jeff Ames1-1/+1
2008-08-27Mantis #1903Melanie Thielker1-1/+7
Thank you, cmickeyb, for a patch that prevents the loss of folders received out of sequence, and the items within.
2008-08-25* This commit incorporates the heart of the OpenGridProtocol patch that is ↵Teravus Ovares1-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)
2008-08-18Formatting cleanup.Jeff Ames1-1/+1
2008-08-16Update svn properties, minor formatting cleanup.Jeff Ames1-2/+2
2008-08-16Guard against the null UUID being queried from the userserverMelanie Thielker1-0/+5
repeatedly.
2008-08-12* Stop warnings about non existent scene presences/entities being removed on ↵Justin Clarke Casey1-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
2008-08-12Thanks, lulurun, for a patch that addresses inventory problems that occurMike Mazur1-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
2008-08-01* correct bug from last commit - for now don't drop cached user profile when ↵Justin Clarke Casey1-0/+4
an agent is downgraded to a child agent * since upgrading to a root agent doesn't currently re-retrieve the user profile
2008-08-01* Drop cached inventory from the local region when a user crosses out into a ↵Justin Clarke Casey1-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
2008-07-31* refactor: Change CachedUserInfo.HasInventory to HasReceivedInventory to ↵Justin Clarke Casey1-4/+4
make actual function clearer
2008-07-31* minor: reduce coupling by passing in only session id to CachedUserInfoJustin Clarke Casey1-1/+1
2008-07-23The new secure inventory server mode (in r5590) can now be disabled from ↵Johan Berntsson1-1/+8
OpenSim.ini. Default is to use the new mode.
2008-07-23thanks lulurun for a security patch that blocks unathorized access to the ↵Johan Berntsson1-1/+28
inventory server (see http://opensimulator.org/wiki/Security_vulnerability_brought_by_non-check_inventory_service)
2008-06-29disabled the multiple inventory server support in login service again.MW1-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.
2008-06-28plumbing for multiple inventory servers. Mostly done on the region server side. MW1-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)
2008-05-16Formatting cleanup.Jeff Ames1-39/+39
2008-05-09* Removing polling delay for non-CAPS inventory fetch if the client has not ↵Justin Clarke Casey1-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
2008-05-09* Minor: Insert utility function to format raw xml strings into indented xml ↵Justin Clarke Casey1-1/+3
for debugging purposes
2008-05-09* Restoring some initial inventory lookup polling delays in order to deal ↵Justin Clarke Casey1-2/+2
with situations seen on osgrid
2008-05-08* Reduced sleep durations in a number of files.Adam Frisby1-2/+3
2008-05-07* Increase number of poll attempts an inventory items request will make ↵Justin Clarke Casey1-1/+1
under CAPS
2008-05-04* Refactor: A final root folder special case removal, this time in ↵Justin Clarke Casey1-49/+18
HandleFetchInventoryDescendents[CAPS]
2008-05-03* Refactor: Renaming item and folder tree search methods to have Find*() ↵Justin Clarke Casey1-5/+5
prefixes
2008-05-03* Refactor: Move MoveFolder() and PurgeFolder() into CachedUserInfo (which ↵Justin Clarke Casey1-52/+13
arguably should be split)
2008-05-03* Refactor: move UpdateFolder into CachedUserInfoJustin Clarke Casey1-19/+4
2008-05-03* Make user profile cache service complain if the caller assumes a profile ↵Justin Clarke Casey1-13/+42
exists when in fact it does not
2008-05-03* Refactor: Move bulk of CreateFolder from UserProfileCacheService into ↵Justin Clarke Casey1-71/+5
CachedUserInfo * Remove unused/superseded methods from GridInventoryService
2008-05-01* Refactor: Remove the unused userID parameter that was being passed into ↵Justin Clarke Casey1-5/+8
almost every inventory method * This allows lots of redundant inventory methods with only slightly different names to be eliminated.
2008-05-01* Assorted spring cleanings.Adam Frisby1-1/+0
2008-04-30* Refactor: Rename InventoryFolderImpl.HasSubFolder() to GetDescendentFolder()Justin Clarke Casey1-6/+6
2008-04-30* Resolve mantis 1068, 1095Justin Clarke Casey1-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
2008-04-30* Completely inconsequential inventory odds and ends (actual impact - only ↵Justin Clarke Casey1-2/+3
one log message changed)
2008-04-23* Implement full grid mode Trash emptyJustin Clarke Casey1-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.
2008-04-23* Implement proper emptying of trashcan on standaloneJustin Clarke Casey1-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.
2008-04-23* Fix mantis #842 - folders which are created but left named "New Folder" in ↵Justin Clarke Casey1-1/+14
places other than directly under "My Inventory" should now be stored
2008-04-22* Extend functionality to better handle delayed inventory service transfers ↵Justin Clarke Casey1-9/+30
to create folder, move folder and purge folder. * Old 1.18 get folder functionality requires a little more consideration
2008-04-22* Replace previous specific inventory callback code with generic alternativeJustin Clarke Casey1-30/+17
2008-04-22* Allow folder renaming to complete after an agent inventory has been ↵Justin Clarke Casey1-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
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-6/+4
(this took a while to run).
2008-04-20* Remove user profile from cache when they log out from a region.Justin Clarke Casey1-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.
2008-04-20* Tweak inventory login failure message to point to the region owner as ↵Justin Clarke Casey1-1/+2
first point of call rather than the grid owner
2008-04-14* Working towards notifying the client if the inventory service has failed, ↵Justin Clarke Casey1-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.
2008-04-13* Put in crude poll waiting for 60 seconds for delayed user inventory ↵Justin Clarke Casey1-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
2008-04-11* Change inventory async response deliver to deliver all items and folders ↵Justin Clarke Casey1-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.
2008-04-11* minor: replace test of CachedUserInfo.RootFolder != null with something ↵Justin Clarke Casey1-9/+9
more readable, and make RootFolder get only
2008-04-11* minor documenting, cleanup, renaming in user profile cache serviceJustin Clarke Casey1-5/+8
2008-04-11* documenting and minor refactoring in UserProfileCacheServiceJustin Clarke Casey1-14/+24
2008-04-11refactor: eliminate method in UserProfileCacheServiceJustin Clarke Casey1-14/+13