aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Land (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fire the scripting changed event with CHANGED_OWNER when an object that has ↵Justin Clark-Casey (justincc)2012-05-051-1/+0
| | | | | | | changed owners is rezzed. This needs to occur after the script is resumed rather than before, when the event is just dropped. Addresses http://opensimulator.org/mantis/view.php?id=5890 and http://opensimulator.org/mantis/view.php?id=5952
* Implement optional name and description on http stream handlers so that we ↵Justin Clark-Casey (justincc)2012-05-031-14/+19
| | | | | | can relate a slow request to what the handler actually does and the agent it serves, if applicable. This is most useful for capabilities where the url is not self-describing.
* Add regression test for teleporting an agent between separated regions on ↵Justin Clark-Casey (justincc)2012-04-271-1/+1
| | | | | | | | the same simulator. This involves a large amount of change in test scene setup code to allow test scenes to share shared modules SetupScene is now an instance method that requires an instantiation of SceneHelpers, though other SceneHelpers methods are still static May split these out into separate classes in the future.
* refactor: Rename EstateSettings.IsEstateManager() to ↵Justin Clark-Casey (justincc)2012-04-171-2/+2
| | | | | | | EstateSettings.IsEstateManagerOrOwner() to reflect what it actually does. This makes it consistent with other parts of OpenSimulator that are treating ESTATE_MANAGER and ESTATE_OWNER as different entities. As per opensim-dev mailing list.
* Do not timeout group member cache entry, as long as there are frequent group ↵Snoopy Pfeffer2012-04-101-0/+3
| | | | membership requests. These are caused by movements within the parcel boundaries.
* Revert last commitSnoopy Pfeffer2012-04-051-22/+25
|
* Group based access restrictions to parcels require group membership, but not ↵Snoopy Pfeffer2012-04-051-25/+22
| | | | that this group is active for that user.
* Little bug fix in HasGroupAccess, to properly store the case "true" in the ↵Snoopy Pfeffer2012-04-051-5/+2
| | | | cache.
* Simplify group access checks and break them out into a separate method.Melanie2012-04-051-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.
* Implements group based access restrictions for parcels of land. Because of ↵Snoopy Pfeffer2012-04-051-1/+57
| | | | caching there can be a delay of up to 30 seconds until the access rights are effectively changed for a user.
* Change a false false to be truly true - or is this statement false?Melanie2012-03-221-1/+1
| | | | Fixes perms boo-boo
* Rework Diva's patch to simplify itMelanie2012-03-221-14/+19
|
* Revert "Simple build permissions feature. NOTE: EXPERIMENTAL, DISABLED BY ↵Melanie2012-03-221-37/+4
| | | | | | 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.
* Simple build permissions feature. NOTE: EXPERIMENTAL, DISABLED BY DEFAULT. ↵Diva Canto2012-03-221-4/+37
| | | | Turns out that this can't be expressed by cascading Permission modules, so I did it as per this patch.
* Try to resolve some problems with viewers crashing after hitting parcel ↵Justin Clark-Casey (justincc)2012-02-231-6/+21
| | | | | | | | | | banlines or freezing on the banline. This involves 1) On forcible teleport, call m_scene.RequestTeleportLocation() rather than ScenePresence.Teleport() - only EntityTransferModule now should call SP.Teleport() 2) When avatar is being forcibly moved due to banlines, use a 'stop movement' tolerance of 0.2 to requested position rather than 1 This prevents the avatar sometimes being stuck to banlines until they teleport somewhere else. This aims to fix some problems in http://opensimulator.org/mantis/view.php?id=5822
* Fix:Fly setting for Parcel dosen't work ↵PixelTomsen2012-02-191-1/+2
| | | | | | http://opensimulator.org/mantis/view.php?id=5887 Signed-off-by: nebadon <michael@osgrid.org>
* Revert my two quick fixes for the lag issue and put in the real fix, whichMelanie2012-02-051-1/+2
| | | | | is to only write to the database if data was changed. I was writing to the db on every step of every avatar. Sure to give us lag, that.
* Revert "Remove checks on ban list expiry on every move. To be re-added on ↵Melanie2012-02-051-4/+4
| | | | | | parcel" This reverts commit 35f14a262dfa3d9199f554154a63f5f532460f56.
* Revert "Check ban list for a particular parcel only when an avatar moves ↵Melanie2012-02-052-17/+4
| | | | | | into it." This reverts commit 8923ad755d97d5ddb4a29cb6f543b53195f0b461.
* Check ban list for a particular parcel only when an avatar moves into it.Melanie2012-02-052-4/+17
| | | | | This restores functionality remove in the last commit without reintroducing the performance penalty.
* Remove checks on ban list expiry on every move. To be re-added on parcelMelanie2012-02-051-4/+4
| | | | | boundary crossing only as soon as I'm properly awake. This should fix recent performance issues
* Replace ParcelAccessEntry with a new struct, LandAccessEntry, which moreMelanie2012-02-022-26/+62
| | | | | | accurately reflects the data sent by the viewer. Add times bans and the expiration of timed bans. Warning: Contains a Migration (and nuts)
* llGetParcelMusicURL implementation ↵Pixel Tomsen2012-01-251-1/+10
| | | | | | http://wiki.secondlife.com/wiki/LlGetParcelMusicURL Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)2011-12-051-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.
* Rename ForEachAvatar back to ForEachScenePresence. The other changesDan Lake2011-11-031-1/+1
| | | | | | from previous commit which sort out which iterator is used are left intact. A discussion is needed as to what constitutes an avatar vs a ScenePresence.
* Renamed ForEachRootScenePresence to ForEachAvatar. Cleaned up calls toDan Lake2011-11-031-1/+1
| | | | | | | | | | | | | | the 3 iteration functions so more of them are using the correct iteration for the action they are performing. The 3 iterators that seem to fit all actions within OpenSim at this time are: ForEachAvatar: Perform an action on all avatars (root presences) ForEachClient: Perform an action on all clients (root or child clients) ForEachRootClient: Perform an action on all clients that have an avatar There are still a dozen places or so calling the old ForEachScenePresence that will take a little more refactoring to eliminate.
* Added new ForEachRootScenePresence to Scene since almost every delegate ↵Dan Lake2011-10-271-4/+1
| | | | passed to ForEachScenePresence checks for !IsChildAgent first. It consolidates child and root handling for coming refactors.
* remove mono compiler warningsJustin Clark-Casey (justincc)2011-08-232-2/+2
|
* rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)2011-08-061-9/+9
|
* rename test SceneSetupHelpers -> SceneHelpers for consistencyJustin Clark-Casey (justincc)2011-08-061-16/+16
|
* Do a partial fix/implementation of OSSL osNpcMoveTo()Justin Clark-Casey (justincc)2011-08-031-37/+32
| | | | | | Avatar moves and stops. However, will stop in mid stride. And if the move to position is in the air, avatar will continue to make vain and quite hilarious attempts to take off (but never doing so). Clearly more work is needed.
* If a user has the rights to edit a parcel's properties, then also allow them ↵Justin Clark-Casey (justincc)2011-07-021-4/+4
| | | | | | | always to enter that parcel. This is patch http://opensimulator.org/mantis/view.php?id=5567 Thanks Snoopy!
* Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵Justin Clark-Casey (justincc)2011-05-211-1/+0
| | | | OpenSim.Tests.Common instead
* refactor: remove thisObject argument from ILandObject.Get*MaxPrimCount() ↵Justin Clark-Casey (justincc)2011-05-141-7/+8
| | | | instance methods since it didn't make sense to use anything other than the instance themselves.
* Minor doc change to see if this provokes a good panda buildJustin Clark-Casey (justincc)2011-05-141-2/+5
|
* When loading an OAR that doesn't have parcels, create a default parcelOren Hurvitz2011-05-141-8/+11
|
* Signal prim count taint if the AbsolutePosition of a scene object changes.Justin Clark-Casey (justincc)2011-04-061-4/+26
| | | | | This updates prim counts correctly if an object is moved by something other than an avatar (e.g. scripts, region modules) Create TestMoveOwnerObject() regression test for this case.
* Improve previous ILandObject method doc.Justin Clark-Casey (justincc)2011-04-063-49/+87
| | | | For test code, take a part name prefix when creating objects, so that these can be more easily identified in the logs
* Add method doc to some land bitmap methods in ILandObject.Justin Clark-Casey (justincc)2011-04-062-18/+48
| | | | Also changes prim count tests to use the correct upper region bounds, though the method actually ignores the overage.
* properly refresh object owner list when refresh button is hit on land parcel ↵Justin Clark-Casey (justincc)2011-04-052-9/+14
| | | | object tab
* remove now unused individual LandData prim counts.Justin Clark-Casey (justincc)2011-04-053-105/+27
| | | | | However, the calls to the land management module to record prims need to remain, since they were also being used to return owner object lists, etc. This is probably why prim counts were being done there in the first place.
* If an object is selected, then don't include it in owner/group/others prim ↵Justin Clark-Casey (justincc)2011-04-051-13/+18
| | | | | | counts. This fixes the total prim count that the viewer displays when prims are selected - it appears to ignore the total that we pass it and adds up the counts separately.
* If land is not group owned (group ID is always UUID.Zero) then don't check ↵Justin Clark-Casey (justincc)2011-04-021-2/+0
| | | | if a prim should be added to the group count
* add test for removing group owned objectsJustin Clark-Casey (justincc)2011-04-021-0/+32
|
* add test for adding group object, factor out initial zero counts testJustin Clark-Casey (justincc)2011-04-021-7/+45
|
* add remove others object prim count testJustin Clark-Casey (justincc)2011-04-021-0/+23
|
* refactor: rename m_dummyUserId to m_otherUserIdJustin Clark-Casey (justincc)2011-04-021-9/+9
|
* If the land has no group ownership (it is UUID.Zero) then don't put prims in ↵Justin Clark-Casey (justincc)2011-04-022-2/+23
| | | | | | the group count when they are also not group owned. Also adds simple test for others owned count when an object is added
* If the prim count gets an object with invalid bounds, don't try to count it.Justin Clark-Casey (justincc)2011-03-312-3/+8
| | | | This appears to be the more probable explanation for some failures seen. Either we're counting attachments which are temporarily out of bounds (shouldn't be due to the IsAttachment) check or we're counting scene objects which have out of bounds co-ordinates (seems more likely)
* Put in temporary logging message to find out if scene objects are requesting ↵Justin Clark-Casey (justincc)2011-03-311-4/+5
| | | | land objects for co-ordinates outside the region