aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Better error checking when creating hyperlinks: a) Reject invalid strings; ↵Oren Hurvitz2014-04-131-17/+36
| | | | | | b) Default port is 80, not 0 The change of default port may fix http://opensimulator.org/mantis/view.php?id=7108 , where a user was able to create a Hyperlink to OSGrid from inside OSGrid.
* BulletSim: reduce the terrain collison margin to be the same as otherRobert Adams2014-04-123-4/+11
| | | | | | | | objects in the world. This was originally changed in an attempt to make vehicles work better but the effect was not that large and it causes avatars to float above the terrain.
* Refactor: Rename GetOtherSetting to GetSetting and make SetOtherSetting privateMelanie2014-04-121-6/+6
|
* Remove the old XML format parsing. Now additional region params can just beMelanie2014-04-128-1186/+8
| | | | | added as they are already exposed through an API when using Nini. That will remove the need to always edit RegioInfo just to add a region based setting.
* Tweak to PrimLimits and add missing Regions.ini exampleDev Random2014-04-121-16/+5
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Add per-user checking to PrimLimitsModuleDev Random2014-04-123-24/+88
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* minor: use constants instead of magic numbers in llRequestAgentData() where ↵Justin Clark-Casey (justincc)2014-04-111-6/+6
| | | | possible
* Actually add the llRequestAgentData() test class for commit 530c86Justin Clark-Casey (justincc)2014-04-111-0/+157
|
* Fix the presence info caching used in llRequestAgentData(), which was ↵Justin Clark-Casey (justincc)2014-04-113-59/+92
| | | | | | | | completely inoperative. This means the presence info may be out of date by up to 20 seconds, but this avoids scripts potentially triggering constants requests to user accout and presence info services. Relates to http://opensimulator.org/mantis/view.php?id=7088 though I fixed in a different way. Adds regression test for this case.
* BulletSim: small tweek to avatar height reduce feet embedded into prims.Robert Adams2014-04-101-1/+1
| | | | | This adjustment makes a default, shoeless avatar stand properly on a prim for the various heights (0% to 100% in the appearance adjustment).
* Allows to sell objects on a parcel of land together with that parcel of ↵Snoopy Pfeffer2014-04-101-0/+44
| | | | land. The objects that are sold together with the parcel of land need to fulfill the following preconditions: owned by the current parcel owner, not set to a group, transferrable. This feature does not work for group owned parcels or land bought by a group.
* Fixed: when teleporting between grids, the avatar name wasn't always updated.Oren Hurvitz2014-04-091-6/+67
| | | | When an avatar is in their home grid, their name appears as "First Last". In other grids the name appears as "First.Last @grid.example.com". However, viewers have a bug and they don't always show the new name. We use a trick (changing the Group Title briefly) in order to make the viewers show the new name. This is only done after a Hypergrid teleport.
* In teleports, pass the source region to the destination (similar to an HTTP ↵Oren Hurvitz2014-04-0918-104/+122
| | | | referrer)
* Log when the presence service logs-out all the users in a regionOren Hurvitz2014-04-091-1/+2
|
* Improved error messages when a teleport fails. The viewer's dialog already ↵Oren Hurvitz2014-04-081-4/+4
| | | | says "Teleport failed", so adding "Teleport refused" is redundant.
* Allow invalidating the users cacheOren Hurvitz2014-04-087-3/+36
|
* Better (amend to previous commit)Diva Canto2014-04-071-12/+19
|
* Avoid calling HELO service on malformed URLs. This is in response to an ↵Diva Canto2014-04-071-0/+6
| | | | exception reported by danbanner.
* When sending QueryAccess to a region, also send the user's Home URIOren Hurvitz2014-04-078-16/+47
|
* Refactored: use Scene.GetAgentHomeURI() to get the Home URI of a userOren Hurvitz2014-04-074-14/+15
|
* Fixed: during a teleport we always sent the error "The teleport destination ↵Oren Hurvitz2014-04-062-7/+1
| | | | | | could not be found" to the client. This happened on both success and failure. On successful teleports this error wasn't actually shown to the user. But on failed teleports this error could hide the true cause of the failure. For example, attempting to use a Landmark that's more than 4095 regions away would result in two warnings appearing in the viewer: "Region too far" and "Destination could not be found". The second message hid the first one, so it wasn't obvious to the user what is actually the problem.
* When preparing a Hypergrid teleport, tell the receiving grid which user is ↵Oren Hurvitz2014-04-068-15/+50
| | | | | | entering the grid. This can affect which region to use. E.g., returning users may be allowed to enter any region, whereas users from other grids will have to enter a gateway region. Previously per-user decisions were only made later, but by then it's too late to change which region the user enters.
* Pass the correct position to QueryAccess() instead of UUID.Zero (it was ↵Oren Hurvitz2014-04-061-1/+1
| | | | wrong in one place)
* Don't re-retrieve sit part in SP.HandleAgentSit() when we already have it ↵Justin Clark-Casey (justincc)2014-04-051-2/+1
| | | | (this time with the right code change)
* Revert "Don't re-retrieve sit part in SP.HandleAgentSit() when we already ↵Justin Clark-Casey (justincc)2014-04-051-2/+0
| | | | | | | | have it." This reverts commit 2c00b73cd27a7183a5c105b4e2865f11e4a00d98. Wrong code change
* Don't re-retrieve sit part in SP.HandleAgentSit() when we already have it.Justin Clark-Casey (justincc)2014-04-051-0/+2
|
* fixed object-collision issue after uncheck phantom-flagtglion2014-04-041-0/+2
| | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
* Fix sp.AbsolutePosition when agent is sitting on a child prim, which in ↵Justin Clark-Casey (justincc)2014-04-032-4/+64
| | | | | | | turns fixes llDetectedPos(), llGetLinkPrimitiveParams() and similar functions. Add regression test for this case. In relation to http://opensimulator.org/mantis/view.php?id=7043
* remove some whitespace that snuck in with last patchMichael Cerquoni2014-04-031-2/+2
|
* Add Varregion support to Terragen HandlerDev Random2014-04-031-28/+23
| | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
* BulletSim: Minor Fix to vehicle hovering, add more ways to disable it.Vegaslon2014-04-031-1/+1
| | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
* Move new Estate commands to OpenSim.csDev Random2014-04-033-190/+156
| | | | Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
* Reduced log levels for REST 404 errors to DEBUGOren Hurvitz2014-04-031-1/+2
|
* Better error messages in RestClientOren Hurvitz2014-04-031-3/+2
|
* When teleporting using Hypergrid, show more informative error messages in ↵Oren Hurvitz2014-04-038-16/+74
| | | | case of error
* BulletSim: make avatar physical shape to be a rectangle rather thanRobert Adams2014-04-024-16/+48
| | | | | | | | a capsule. Set the default to be the rectangle shape and adjust the parameters in OpenSimDefaults.ini for the new shape. The rectangle shape will perform better and avatar height can be computed more accurately.
* Fix problem with floating avatar by passing avatar size informationRobert Adams2014-04-021-3/+7
| | | | | | | | to the physics engine. This operation was accidentally removed while in the middle of improving the computation of the avatar height. This is a temp fix until the real solution is added.
* Remove redundant part.SitTargetAvatar setting from SP.MakeRootAgent as ↵Justin Clark-Casey (justincc)2014-04-031-2/+0
| | | | part.AddSittingAvatar already does this.
* refactor: Use m_sittingAvatars to maintain the list of sitting avatars ↵Justin Clark-Casey (justincc)2014-04-036-87/+36
| | | | | | instead of two independent structures that do exactly the same thing m_sittingAvatars code also already properly handles locking to avoid races.
* minor: Fix warning in AvatarFactoryModuleJustin Clark-Casey (justincc)2014-04-031-1/+1
|
* Wrap contents of ETM.CrossAgentToNewRegionAsync() in try/catch to avoid a ↵Justin Clark-Casey (justincc)2014-04-031-13/+19
| | | | | | failure terminating simulators running on Windows In relation to http://opensimulator.org/mantis/view.php?id=7050
* Don't clear avsToCross in SOG.AbsolutePosition.set(), this is unnecessary ↵Justin Clark-Casey (justincc)2014-04-031-6/+1
| | | | since the structure is local and never reused after the clear
* Fix bug where crossing to a neighbouring region and back again would trigger ↵Justin Clark-Casey (justincc)2014-04-034-8/+138
| | | | | | | | | an exception, and a second recross would stop the user moving until relog Also fixes an issue where sitting avatar counts became inaccurate after any cross. Part of the problem was due to cloning code using MemberwiseClone() but not resetting certain collection structures. Adds regression test for this case. In relation to http://opensimulator.org/mantis/view.php?id=7050
* String matching in REST handlers: must allow '-' as a separator, because the ↵Oren Hurvitz2014-04-021-1/+1
| | | | "/map" handler uses it
* Made GetScenePresence() case-insensitive when searching by user name. This ↵Oren Hurvitz2014-04-021-1/+2
| | | | makes it easier to use console commands such as "show appearance".
* Fixed AssetsExist in SQLiteOren Hurvitz2014-04-021-2/+2
|
* Made the SQLite unit tests work on Windows (sqlite3.dll wasn't being loaded)Oren Hurvitz2014-04-021-0/+3
|
* Better string matching when searching for REST handlers: must match an ↵Oren Hurvitz2014-04-021-3/+8
| | | | | | entire path component (ending with '/' or a similar character). For example, these should match: "/assets" and "/assets/12345", but these shouldn't match: "/assets" and "/assets_exist".
* Fixed last-resort sending of error response (HTTP 500) when an error occurs ↵Oren Hurvitz2014-04-022-10/+10
| | | | | | while handling a request. The previous code didn't actually send the response, so the caller was stuck until the timeout (100 seconds).
* Fixed the "Update Asset" handler: it was looking for the Asset ID in the ↵Oren Hurvitz2014-04-021-7/+10
| | | | | | wrong parameter. This doesn't actually matter because the "Update Asset" operation isn't implemented in AssetsServer. But still, the handler should do the right thing...