aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-02-12* refactor: Move RequestInventoryForUser() from service to CachedUserInfoJustin Clarke Casey1-30/+0
* This simplifies callers in most cases - CachedUserInfo is already handling the rest of the fetch inventory work anyway
2009-02-12* optimized usings.lbsa711-3/+1
2009-01-06* prune and regrade log messages relating to client login and logoutJustin Clarke Casey1-2/+1
2008-12-11* test: Add simple user profile test that checks for non-existing usersJustin Clarke Casey1-1/+5
2008-12-10* refactor: Move inventory handlers out from UserProfileCacheServiceJustin Clarke Casey1-279/+0
* This means that UserProfileCacheService no longer needs to know about IClientAPI and can leave it to callers to do their own error logging * This is also more consistent with the way that item inventory manipulation is handled * I don't really think Scene.PacketHandlers.cs should be a permanent home for these handlers - this is just for convenience
2008-12-10* Apply the other patch from http://opensimulator.org/mantis/view.php?id=2315Justin Clarke Casey1-1/+2
* This means that LL RAW terrains (one source being the upload/download buttons on the estate dialog in the viewer) are now imported the 'right' way around rather than being flipped on the y axis * Existing RAW terrains before this patch will need to be flipped with the "terrain flip y" command from the console after import * More details on the mailing lists soon. -This line, and those below, will be ignored-- M OpenSim/Region/Environment/Modules/World/Terrain/FileLoaders/LLRAW.cs M OpenSim/Framework/Communications/Cache/CachedUserInfo.cs M OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs
2008-12-09* Actually update subfolders of parent folders in the inventory cache when a ↵Justin Clarke Casey1-2/+2
folder gets moved * This was causing inventory folder transfer code to not work properly (this is still temporarily disabled)
2008-10-15* refactor: Move error logging from GetUserDetails up to callers, since ↵Justin Clarke Casey1-3/+3
there are some circumstances in which not finding a user is not an error
2008-09-19* Only allow logins on standalone when the sim has completed it's initial ↵Justin Clarke Casey1-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
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).