aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-29Revert "Simplify friends caching by only doing this for root agents - no ↵Justin Clark-Casey (justincc)2-21/+47
functions require caching for child agents." We need to cache child agents so that friends object edit/delete permissions will work across boarders on regions hosted by different simulators. This reverts commit d9f7b8549b3cb9699eb8bd54242d31aac0f8241a.
2012-03-29Committing the Avination calling card moduleMelanie1-0/+286
2012-03-29Pushing the Avination Calling card hooks. Module to follow.Melanie1-4/+17
2012-03-28Simplify friends caching by only doing this for root agents - no functions ↵Justin Clark-Casey (justincc)2-47/+21
require caching for child agents. This allows us to avoid unnecessary multiple calls to the friends service. All friends functions originate from the root agent and only go to other root agents in existing code. This also allows us to eliminate complex ref counting.
2012-03-28Add "friends show cache <first-name> <last-name>" command for debugging ↵Justin Clark-Casey (justincc)1-2/+76
purposes. This adds a reverse lookup (name -> ID) to IUserManagement instead of hitting the UserAccountService directly.
2012-03-22HG Friends: don't notify if the server isn't there.Diva Canto1-7/+10
2012-03-21HG Friends: reroute the status notifications to the HGFriends service, so ↵Diva Canto2-7/+26
that they can scale better. They were previously being handled by the UAS; that is still there, but it's now obsolete and will be removed in a future release.
2012-03-21HG Friends: pulled sim-bound notification code to HGStatusNotifier, so that ↵Diva Canto3-20/+58
we can better manage this traffic.
2012-03-21Removed extraneous debug messageDiva Canto1-3/+0
2012-03-20Removed extraneous debug messages. Added a check for UUID.Zero.Diva Canto1-16/+23
2012-03-20HG Friends: allow the establishment of HG friendships without requiring ↵Diva Canto2-119/+202
co-presence in the same sim. Using avatar picker, users can now search for names such as "first.last@grid.com:9000", find them, and request friendship. Friendship requests are stored if target user is offline. TESTED ON STANDALONE ONLY.
2012-03-17Clean up "save iar" helpJustin Clark-Casey (justincc)1-8/+8
2012-03-10minor: In IAR save, log when we start adding the control file rather than ↵Justin Clark-Casey (justincc)1-2/+3
saying afterwards that we added it.
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)2-4/+4
<category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
2012-03-01Send the right name and creation date on the BasicProfileModule.Diva Canto1-2/+11
2012-02-25Remove EXPERIMENTAL tags from load iar/save iar commands.Justin Clark-Casey (justincc)1-3/+0
2012-02-17Added the TriggerAvatarAppearanceChanged to EventManager. It's triggered by ↵Dan Lake1-0/+4
AvatarFactoryModule after an avatar's appearance has been succesfully changed and persisted (if the persist option is set).
2012-02-14Refactor appearance saving for NPC to use AvatarFactoryModule interface.Dan Lake1-9/+31
2012-02-03Changed save oar and save iar parameter -p|--profile to -h|--home, including ↵Snoopy Pfeffer2-6/+6
corresponding RemoteAdmin parameter
2012-02-03Corrected console help texts for "save iar"Snoopy Pfeffer1-2/+2
2012-02-01Prevent a changed attachment that has been saved from being saved again.Melanie1-0/+1
2012-02-01Straighten out some attachment mess. Don't save attachment states for HGMelanie1-11/+8
visitors at all. On Leaving a sim, save only the changed ones. Don't save all scripted stuff when leaving a sim.
2012-01-25Update save oar and save iar help responses to reflect new -h|--homenebadon1-2/+2
switches which replace -p|--profile ie: "save oar --home=http://hg.osgrid.org:80 region.oar"
2012-01-11If deserializing a scene object fails during IAR load then ignore the object ↵Justin Clark-Casey (justincc)1-1/+4
rather than halting the IAR load with an exception.
2012-01-10Add avatar names to appearance log messagesJustin Clark-Casey (justincc)1-3/+3
2012-01-10HG Friends: fixed bug introduced by 571efeddb20f38bb4164074b3c217be5387ca2e0 ↵Diva Canto1-2/+2
(r/17672)
2012-01-07Don't try to save a NPCs attachment states on NPC deleteMelanie1-0/+8
2012-01-05Improve "app rebake" command to return a better message if no uploaded ↵Justin Clark-Casey (justincc)1-1/+6
texture ids were available for the rebake request
2012-01-04Add "appearance rebake" command to ask a specific viewer to rebake textures ↵Justin Clark-Casey (justincc)1-3/+12
from the server end. This is not as useful as it sounds, since you can only request rebakes for texture IDs already received. In other words, if the viewer has never sent the server this information (which happens quite often) then it will have no effect. Nonetheless, this is useful for diagnostic/debugging purposes.
2012-01-04Separate out rebake request code from cache validation code AvatarFactoryModule.Justin Clark-Casey (justincc)1-31/+41
This allows some logic simplification and allows an external caller to manually request rebakes even if textures are uploaded (future command).
2012-01-03Profile UpdatesBlueWall1-5/+7
Update basic profile to use the replaceable interface, making configuration less error-prone. Add support to query avatar's home user account and profile service for regions usng the updated OpenProfileModule with Hypergrid.
2011-12-29Added UserManagementModule.IsLocalGridUser(UUID) to be used throughout ↵Diva Canto2-24/+60
region Scenes and Modules. Changed existing modules to use it instead of assuming that foreign = null account.
2011-12-19Fix race condition where the appearance update timer could be stopped just ↵Justin Clark-Casey (justincc)1-3/+6
after another thread had started it on QueueAppearanceSave() or *Send() However, the window for this race is very small, and the next queued appearance save or send would restart the timer anyway.
2011-12-19Migrate detailed "appearance show" report generation up to ↵Justin Clark-Casey (justincc)1-8/+49
AvatarFactoryModule from AppearanceInfoModule so that it can be used in debug (inactive). Further filters "debug packet <level>" to exclused [Request]ObjectPropertiesFamily if level is below 25. Adjust some method doc Minor changes to some logging messages.
2011-12-13In AvatarFactoryModule.SetApperance(), perform ValidateBakedTextureCache() ↵Justin Clark-Casey (justincc)1-2/+2
in the same thread rather than on another one. The caller is already an async thread from LLClientView so this doesn't hold up the client. However, launching on a separate thread does remove the effect of m_setAppearanceLock This was potentially allowing two different SetAppearance threads to interfere with each other, though this probably rarely happens, if at all.
2011-12-09Print out one log message for every missing baked texture, rather than two.Justin Clark-Casey (justincc)1-22/+4
2011-12-09Add commented log lines to FetchInventoryDescendents2 path for future use.Justin Clark-Casey (justincc)1-0/+2
Haven't been able to resolve issue where attachments are removed by the viewer on relog on a localhost
2011-12-05Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)1-2/+2
of OSHttpRequest/OSHttpResponse. This is required for the substitution of different HTTP servers or the newer HttpServer.dll without having to commit to a particular implementation. This is also required to write regression tests that involve the HTTP layer. If you need to recompile, all you need to do is replace OSHttpRequest/OSHttpResponse references with IOSHttpRequest/IOSHttpResponse.
2011-11-16Comment out the vebose logging on HGFriendsModule.Justin Clark-Casey (justincc)1-12/+11
Recent issues in http://opensimulator.org/mantis/view.php?id=5794 were not related to HG friends
2011-11-15temporarily increasing logging in HGFriendsModule for debuggingJustin Clark-Casey (justincc)1-1/+24
2011-11-15Add comments about trying to avoid synchronous work off the ↵Justin Clark-Casey (justincc)1-1/+4
EventManager.OnMakeRootAgent event since this is on the critical path for transfer of avatars from one region to another.
2011-11-15remove SceneCommunicationService.OnAvatarCrossingIntoRegion. This stuff is ↵Justin Clark-Casey (justincc)1-1/+0
not being used any more - it's now IEntityTransferModule and SimulationService instead
2011-11-15Rename FetchFriendslist() -> CacheFriends() and RefetchFriends() -> ↵Justin Clark-Casey (justincc)2-15/+13
RecacheFriends() to reflect their intended function
2011-11-15refactor: rename m_NeedsListOfFriends => m_NeedsListOfOnlineFriends to ↵Justin Clark-Casey (justincc)1-5/+5
better reflect its actual function
2011-11-15For clients that are entering a simulator from initial login, stop executing ↵Justin Clark-Casey (justincc)1-5/+27
FriendsModule.FetchFriendslist() asychronously. Executing this asynchronously allows a race condition where subsequent friends fetches hit a cache that FetchFriendsList() had not yet populated. Changing this to synchronous may improve issues where a user does not see friends as online even though they are. I don't believe synchronous is a problem here, but if it is, then a more complicated signalling mechanism is required. Locking the cache isn't sufficient.
2011-11-15refactor: Don't create a new UUID for passing uuids to client - UUIDs are ↵Justin Clark-Casey (justincc)1-4/+6
structs are so not passed by reference (and they're immutable!)
2011-11-14Add test for removing a friendship.Justin Clark-Casey (justincc)2-11/+31
2011-11-14Improved method doc for AddFriend() - it actually does set up a two-way ↵Justin Clark-Casey (justincc)2-4/+5
relationship. Rename IFriendsModule.AddFriend() to AddFriendship()
2011-11-14minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2-7/+1
2011-11-14Add test for adding a friend whilst onlineJustin Clark-Casey (justincc)2-6/+30