aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules (unfollow)
Commit message (Collapse)AuthorFilesLines
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.
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-21Replace "scene debug true false true" console command with "scene debug ↵Justin Clark-Casey (justincc)1-1/+7
scripting true" or other parameters as appropriate. This is to allow individual switching of scene debug settings and to provide flexibiltiy for additional settings.
2012-03-21fix compile error from last commitJustin Clark-Casey (justincc)1-1/+1
2012-03-20Fixed borkness with map search introduce by my last changes to it.Diva Canto1-1/+1
2012-03-21refactor: simplify EstateManagementModule.handleEstateDebugRegionRequest()Justin Clark-Casey (justincc)1-18/+7
2012-03-20HG Friends: allow the establishment of HG friendships without requiring ↵Diva Canto5-167/+276
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-20remove some mono compiler warningsJustin Clark-Casey (justincc)1-2/+0
2012-03-19Fix a bug where logins to standalones would fail if the RegionReady module ↵Justin Clark-Casey (justincc)1-7/+2
was not active Unfortunately, the OnLoginsEnabled event is currently only guaranteed to fire if the RegionReady module is active. However, we can instantiate the AuthorizationService in the module RegionLoaded method since by this time all other modules will have been loaded
2012-03-17Added GetUUID(first, last) on UserAgentsService so that we can finally make ↵Diva Canto2-7/+34
direct user connections.
2012-03-17Amend to previous commit: normalize strings ToLower.Diva Canto1-2/+6
2012-03-17More on HG access control. This commit splits the UserManagementModule into ↵Diva Canto3-40/+182
the Basic one and the HG one, so that we can do everything that needs to be done for HG ACLs to work without interfering with the vanilla opensim. For the moment, it finds foreign users who have left a trace in the region, e.g. an object. This makes it possible to ban/IM/etc these users using the regular avatar picker. TODO: contact the UAS directly given a name of the form First.Last @foo.com.
2012-03-17Moved HandleAvatarPickerRequest from the generic Scene.PacketHandlers to the ↵Diva Canto1-0/+62
UserManagementModule where it belongs. No functional changes.
2012-03-17Region access control! Region operators can now specify things like ↵Diva Canto2-27/+140
DisallowForeigners (means what it says) and DisallowResidents (means that only admins and managers can get into the region). This puts the never-completed AuthorizationService to good use. Note that I didn't implement a grid-wide Authorization service; this service implementation is done entirely locally on the simulator. This can be changed as usual by pluging in a different AuthorizationServicesConnector.
2012-03-17Clean up "save iar" helpJustin Clark-Casey (justincc)1-8/+8
2012-03-16Terrain: added [Terrain] section with an option to load an initial flat ↵Diva Canto1-1/+6
terrain. Default is still pinhead island. I much rather have a flat land in the beginning.
2012-03-15More on map search: send extra messages to the user regarding the region ↵Diva Canto1-0/+11
being found or not, because the UI is horribly confusing -- places profile is always "loading..." whether the region exists or not.
2012-03-16In Top Scripts report, don't show scripts with no or less than 1 microsecond ↵Justin Clark-Casey (justincc)1-0/+6
of execution time. This is to make the report clearer and less confusing.
2012-03-16Fix owner name display in "Top Colliders" and "Top Script" region reports.Justin Clark-Casey (justincc)1-45/+1
2012-03-16Replace script-lines-per-second with the script execution time scaled by its ↵Justin Clark-Casey (justincc)1-30/+47
measurement period and an idealised frame time. The previous lines-per-second measurement used for top scripts report was inaccurate, since lines executed does not reflect time taken to execute. Also, every fetch of the report would reset all the numbers limiting its usefulness and we weren't even guaranteed to see the top 100. The actual measurement value should be script execution time per frame but XEngine does not work this way. Therefore, we use actual script execution time scaled by the measurement period and an idealised frame time. This is still not ideal but gives reasonable results and allows scripts to be compared. This commit moves script execution time calculations from SceneGraph into IScriptModule implementations.
2012-03-15More on SLURLs and V3. This is hacky, but it works. Basically, we have to ↵Diva Canto1-3/+12
redefine the encoding of HG URLs because the viewer messes them up. Examples of what works and doesn't work: - secondlife://ucigrid00.nacs.uci.edu|8002/128/128 <-- works throughout the viewer - secondlife://http|!!ucigrid00.nacs.uci.edu|8002+Test+Zone+1/128/128 <-- works throughout the viewer - secondlife://http|!!grid.sciencesim.com!grid!hypergrid.php+Yellowstone01+74/128/128 <-- works throughout - secondlife://http%3A%2F%2Fucigrid00.nacs.uci.edu%3A8002%20UCI%20Central%201/128/128 <-- works in chat, but not as URLs in the webkit
2012-03-15Revert "Revert "More hacking around viewer bug""Diva Canto1-1/+1
This reverts commit e5612553ce57b6e36cfa59db8450473099054da1.