aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-04-11HGFriendsModule: add the scaffolding for supporting permissions pertaining ↵Diva Canto2-2/+32
to HG friendships. Snoopy take it from here.
2012-04-10New OS scripting functions osSetTerrainTexture and osSetTerrainHeight as ↵Snoopy Pfeffer1-2/+13
originally proposed in SL Jira (https://jira.secondlife.com/browse/SVC-244).
2012-04-10Do not timeout group member cache entry, as long as there are frequent group ↵Snoopy Pfeffer1-0/+3
membership requests. These are caused by movements within the parcel boundaries.
2012-04-06Moved the inventory manipulation from HGEntityTransferModule to ↵Diva Canto3-150/+159
HGInventoryAccessModule where it belongs. They need to exchange some events, so added those to EventManager. Those events (TeleportStart and TeleportFail) are nice to have anyway.
2012-04-07Rather than having a FromFolderID property on every single prim and only ↵Justin Clark-Casey (justincc)1-3/+3
ever using the root prim one, store on SOG instead. This reduces pointless memory usage.
2012-04-07Store FromItemID for attachments once on SOG instead of on every SOP and ↵Justin Clark-Casey (justincc)3-13/+14
only ever using the root part entry. This eliminates some pointless memory use.
2012-04-06Deleted the unused and commented code from 2 commits ago.Diva Canto1-241/+1
2012-04-06WARNING: LOTS OF COMMENTED AND UNUSED CODE IN THIS COMMIT. This is on ↵Diva Canto1-21/+295
purpose; it's an historical record of what works and what doesn't wrt manipulating inventory at the viewer. I'll remove the unused code in a subsequent commit, but wanted to place it in history. The uncommented code works.
2012-04-06Finish the implementation of GetUserInventory, even though it's still not used.Diva Canto3-12/+97
2012-04-05Revert last commitSnoopy Pfeffer1-22/+25
2012-04-05Group based access restrictions to parcels require group membership, but not ↵Snoopy Pfeffer1-25/+22
that this group is active for that user.
2012-04-05Little bug fix in HasGroupAccess, to properly store the case "true" in the ↵Snoopy Pfeffer1-5/+2
cache.
2012-04-05Simplify group access checks and break them out into a separate method.Melanie1-57/+49
Use existing cache if the avatar is within the region and use an ExpiringCache to cache status if the avatar is not in the region. The 30 second delay now applies to scripted objects ony and only when the owner is not present.
2012-04-05Implements group based access restrictions for parcels of land. Because of ↵Snoopy Pfeffer1-1/+57
caching there can be a delay of up to 30 seconds until the access rights are effectively changed for a user.
2012-04-03terrain save-tile extensions Signed-off-by: Garmin Kawaguichi ↵Garmin Kawaguichi11-3/+74
<garmin.kawaguichi@magalaxie.com> Signed-off-by: Melanie <melanie@t-data.com>
2012-04-03Eliminate race condition where many callers would check SOP.PhysicsActor != ↵Justin Clark-Casey (justincc)1-4/+4
null then assume it was still not null in later code. Another thread could come and turn off physics for a part (null PhysicsActor) at any point. Had to turn off localCopy on warp3D CoreModules section in prebuild.xml since on current nant this copies all DLLs in bin/ which can be a very large number with compiled DLLs No obvious reason for doing that copy - nothing else does it.
2012-03-31refactor: Rename SOG.GetChildPart() to GetPart() since it can also return ↵Justin Clark-Casey (justincc)1-1/+1
the 'root' part.
2012-03-31Allow llRegionSayTo() to work on the PUBLIC_CHANNEL, as per ↵Justin Clark-Casey (justincc)1-1/+1
http://wiki.secondlife.com/wiki/LlRegionSayTo Addresses http://opensimulator.org/mantis/view.php?id=5950
2012-03-31minor: small message adjustment and unnecessary code elimination when ↵Justin Clark-Casey (justincc)1-1/+1
notifying client of no build permission
2012-03-31fix Infinite loading on No Rez http://opensimulator.org/mantis/view.php?id=5932PixelTomsen1-0/+5
2012-03-30Make default "show friends" console command show friends fetched from the ↵Justin Clark-Casey (justincc)2-4/+3
friends service. There is no a --cache option which will show friends from the local cache if available.
2012-03-30refactor: Move "friends show cache" console command out into separate ↵Justin Clark-Casey (justincc)2-93/+19
FriendsCommandsModule. Expose required methods on IFriendsModule. Rename GetFriends() -> GetFriendsFromCache() for self-documentation
2012-03-30Add simple login test with online friends. Add IFriendsModule.GrantRights() ↵Justin Clark-Casey (justincc)4-62/+80
for granting rights via a module call. Rename IFriendsModule.GetFriendPerms() -> GetRightsGrantedByFriend() to be more self-documenting and consistent with friends module terminology. Add some method doc.
2012-03-29refactor: Stop passing both IClientAPI and agentID to friend event ↵Justin Clark-Casey (justincc)3-20/+52
listeners, these are redundant. Replace a few magic numbers with FriendRights enum already used elsewhere.
2012-03-29Add simple regression test for logging in with offline friends. Don't ↵Justin Clark-Casey (justincc)1-1/+46
expect to receive any in this instance.
2012-03-29Add back parts of reverted changes that were not concerned with child agent ↵Justin Clark-Casey (justincc)1-0/+3
caching. This adds ScenePresence to IClientAPI.SceneAgent earlier on in the add client process so that its information is available to EventManager.OnNewClient() and OnClientLogin() Also add a code comment as to why we're caching friend information for child agents.
2012-03-29Change namespace on CallingCardModule and correct interface file placemant. ↵Melanie1-2/+29
Also ass OpenSource header
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-28HG 2.0 Suitcase inventory: proof of concept now working properly with the ↵Diva Canto1-10/+11
heavy SendBulkInventoryUpdate message. Waiting for Melanie to finish the light-weight version of that message.
2012-03-28HG 2.0: added the beginning of HGSuitcaseInventoryService. Plus moved the ↵Diva Canto1-7/+61
hack away from ScenePresence. This is better but it still doesn't restore the inventory upon arrival.
2012-03-27HG: Switch root folders from under the viewer. Towards HG 2.0. This is ↵Diva Canto1-10/+44
guarded by an obscure config that no one but me should be using at this point.
2012-03-28Add "friends show cache <first-name> <last-name>" command for debugging ↵Justin Clark-Casey (justincc)2-2/+105
purposes. This adds a reverse lookup (name -> ID) to IUserManagement instead of hitting the UserAccountService directly.
2012-03-27Let grided simulators retrieve the user's inventory skeletonDiva Canto1-1/+1
2012-03-27User level based restrictions for HyperGrid teleports, asset uploads, group ↵Snoopy Pfeffer2-1/+36
creations and getting contacted from other grids. Incoming HyperGrid teleports can also be restricted to local users.
2012-03-27HG: beginning of a more restrictive inventory access procedure (optional). ↵Diva Canto2-3/+29
Experimental: we'll try switching the root folder from under the viewer.
2012-03-27In TerrainModule.cs, the command terrain save-tile is modified to remove an ↵Garmin Kawaguichi1-2/+0
unnecessary double argument "minimum Y tile"
2012-03-24Hack example on to "terrain save-tile" extended help.Justin Clark-Casey (justincc)1-0/+6
Thanks to Garmin Kawaguichi for the initially suggested text.
2012-03-24Use system provided temporary file in "terrain save-tile" to avoid problems ↵Justin Clark-Casey (justincc)1-3/+3
with drive letters on windows Thanks to Garmin Kawaguichi for picking up on this and providing an initial solution (which I adapted).
2012-03-24Give feedback when "terrain save-tile" is not successfully invoked.Justin Clark-Casey (justincc)2-30/+52
2012-03-22Comment out a terrain save-tile debugging message that accidentally crept in ↵Justin Clark-Casey (justincc)1-6/+6
with c4b2d24
2012-03-22Add llGiveInventory() test from object to object where both objects are ↵Justin Clark-Casey (justincc)1-0/+6
owned by the same user.
2012-03-22HG Friends: don't notify if the server isn't there.Diva Canto1-7/+10
2012-03-22Change a false false to be truly true - or is this statement false?Melanie1-1/+1
Fixes perms boo-boo
2012-03-22Rework Diva's patch to simplify itMelanie2-16/+29
2012-03-22Revert "Simple build permissions feature. NOTE: EXPERIMENTAL, DISABLED BY ↵Melanie2-69/+6
DEFAULT. Turns out that this can't be expressed by cascading Permission modules, so I did it as per this patch." This reverts commit 6146e7ef258b10888ad7464b72b75cca701e02c9.
2012-03-22Simple build permissions feature. NOTE: EXPERIMENTAL, DISABLED BY DEFAULT. ↵Diva Canto2-6/+69
Turns out that this can't be expressed by cascading Permission modules, so I did it as per this patch.
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.