aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-10-15Added support for attachments to group notices when using Flotsam groups.Kevin Cozens1-50/+122
2013-10-15Made terrain uploads thread-safeOren Hurvitz4-22/+45
2013-10-12Fernando Oliveira's Postgress SQL Server Data Connector as a single commit.Fernando Oliveira40-0/+11892
* Added PostGreSQL support * Added MySQL/MySQLXGroupData.cs * PostgreSQL data access implementation * PostgreSQL dll binarie and RegionStore.migrations * Migrations Scripts from MSSQL to POSTGRES * Postgres SQL Type fixes * Postgres SQL Connection string * Data type issues * more fixes * tests and +tests * UUID x string - FIGHT! * Fixed PG types to internal csharp types * More data type fix (PostgreSQL fields are case sensitive) :( * more field case sensitive fixes * changed the migration files to be case sensitive for fields. * fixed fields case * finished converting, now search for hidden bugs. * some more fixes * bool type fixed * more case fixes; * creatorID case fixed * case fields fixed * fixed default now() for TMStamp fields with don't allow nulls. * fix case sensitve for Region name and Estate name * fixed case for names for search * fix class name Error * Bug fixed on select and migrations * Un-Reverting my change due to Postgres issue with the ILIKE function * Fixed some issued for Diva Distro * Fixes for integration with Diva Distro * Added System.Core to prebuild.xml for PG project * Configured to make DIff for Push to OpenSim Project * Diffs only to PostgreSQL mods.
2013-10-11BulletSim: Fix snap back from edge of region problem. Mantis 6794.Robert Adams1-2/+13
2013-10-09* Add a session concurrency option per key. Allows developer/config to ↵teravus4-23/+102
specify number of concurrent requests on a service.
2013-10-07* Remove a test *cleanup*teravus1-10/+2
2013-10-07* Move the BasicDOSProtector.cs to OpenSim.Framework (all useful classes ↵teravus1-1/+29
belong there.....) * Add an IsBlocked(string Key) method so it can be used more generically. (think.. if we want to rate limit login failures, we could have a call in the Login Service to IsBlocked(uuid.ToString()) and ignore the connection if it returns true, if IsBlocked returns false, we could run the login information and if the login fails we could run the Process method to count the login failures.
2013-10-07* Refactorteravus7-415/+218
* Break out common BasicDOSProtector code into separate class.
2013-10-07* Added a Basic DOS protection container/base object for the most common ↵teravus9-6/+1059
HTTP Server handlers. XMLRPC Handler, GenericHttpHandler and <Various>StreamHandler * Applied the XmlRpcBasicDOSProtector.cs to the login service as both an example, and good practice. * Applied the BaseStreamHandlerBasicDOSProtector.cs to the friends service as an example of the DOS Protector on StreamHandlers * Added CircularBuffer, used for CPU and Memory friendly rate monitoring. * DosProtector has 2 states, 1. Just Check for blocked users and check general velocity, 2. Track velocity per user, It only jumps to 2 if it's getting a lot of requests, and state 1 is about as resource friendly as if it wasn't even there.
2013-10-04* Added a unique and interesting WebSocket grid login processor by hijacking ↵teravus2-0/+57
the LLSD login code. This sends the data through the normal login channels and spits out a JSON object back that mimics the login response. Feel free to comment on the best way to set this up as a config option.
2013-10-04* Add an initial complete frame timeout to the WebSocket processor to make ↵teravus1-2/+65
it easier to write WebSocket service code that is resistant to Denial of Service attacks.
2013-10-04Added SimulatorFeatures/OpenSimExtras: say-range, whisper-range, ↵Diva Canto1-0/+37
shout-range, at the request of Singularity dev Liru-Dargon
2013-10-04Update an AssmblyVersion property that I missed to 0.8.0Justin Clark-Casey (justincc)1-1/+1
2013-10-04Bump OPenSimulator version and assembly versions up to 0.8.0 DevJustin Clark-Casey (justincc)62-62/+62
2013-10-04Add OnChatToNPC and OnInstantMessageToNPC messages to NPCAvatar to allow ↵Justin Clark-Casey (justincc)1-6/+21
region modules to directly subscribe to chat and messages received by NPCs Currently still requires INPC from NPCModule.GetNPC() to be cast to an NPCAvatar.
2013-09-27minor: Disable logging left active on regression test ↵Justin Clark-Casey (justincc)1-1/+1
TestSameSimulatorIsolatedRegionsV2()
2013-09-27refactor: Rename Scene.AddNewClient() to AddNewAgent() to make it obvious in ↵Justin Clark-Casey (justincc)12-22/+23
the code that this is symmetric with CloseAgent()
2013-09-27refactor: rename Scene.IncomingCloseAgent() to CloseAgent() in order to make ↵Justin Clark-Casey (justincc)16-53/+43
it clear that all non-clientstack callers should be using this rather than RemoveClient() in order to step through the ScenePresence state machine properly. Adds IScene.CloseAgent() to replace RemoveClient()
2013-09-26minor code formatting for the sake of consistency and readabilitydahlia1-18/+36
2013-09-26minor: correct attachment spelling mistake in log message in ↵Justin Clark-Casey (justincc)1-1/+1
HGEntityTransferModule.OnIncomingSceneObject()
2013-09-26minor: Comment out windlight log message about sending scene data for now.Justin Clark-Casey (justincc)1-1/+2
2013-09-26minor: Add scene name to baked textures in cache log messageJustin Clark-Casey (justincc)1-1/+1
2013-09-26minor: log MaxOutgoingTransferVersion at EntityTransferModule startupJustin Clark-Casey (justincc)1-0/+4
2013-09-25minor: correct spelling of Initialized in LSC connector version messageJustin Clark-Casey (justincc)1-1/+1
2013-09-25Move adding UUID.Zero -> Unknown User binding to UMM.Init() so that it's ↵Justin Clark-Casey (justincc)1-2/+1
also called by HGUserManagementModule
2013-09-25Reinsert client.SceneAgent checks into ↵Justin Clark-Casey (justincc)2-11/+29
LLUDPServer.HandleCompleteMovementIntoRegion() to fix race condition regression in commit 7dbc93c (Wed Sep 18 21:41:51 2013 +0100) This check is necessary to close a race condition where the CompleteAgentMovement processing could proceed when the UseCircuitCode thread had added the client to the client manager but before the ScenePresence had registered to process the CompleteAgentMovement message. This is most probably why the message appeared to get lost on a proportion of entity transfers. A better long term solution may be to set the IClientAPI.SceneAgent property before the client is added to the manager.
2013-09-25Reinsert 200ms sleep accidentally removed in commit 7dbc93c (Wed Sep 18 ↵Justin Clark-Casey (justincc)1-2/+2
21:41:51 2013 +0100)
2013-09-25Instead of swallowing any socket begin/end receive exceptions, log them for ↵Justin Clark-Casey (justincc)1-7/+32
debugging purposes. This may reveal why on some teleports with current code, the UseCircuitCode message gets through but CompleteMovement disappears into the ether.
2013-09-22Don't use 'Indented' formatting for RpcXml responses.Aleric Inglewood1-1/+15
(cherry picked from commit 93abcde69043b175071e0bb752538d9730433f1d)
2013-09-22Preserve attachment point & position when attachment is rezzed in worldAleric Inglewood14-10/+150
Patch taken from http://opensimulator.org/mantis/view.php?id=4905 originally by Greg C. Fixed to apply to r/23314 commit ba9daf849e7c8db48e7c03e7cdedb77776b2052f (cherry picked from commit 4ff9fbca441110cc2b93edc7286e0e9339e61cbe)
2013-09-21minor: Recomment out log message uncommented in previous cbdfe969Justin Clark-Casey (justincc)1-4/+4
2013-09-21When giving items between avatars in different simulators, only add the item ↵Oren Hurvitz1-9/+44
to the receiving avatar's inventory once. When a user gives an item, the user's client sends an InventoryOffered IM message to its simulator. This adds the item to the receiver's inventory. If the receiver isn't in the same simulator then XMLRPC is used to forward the IM to the correct simulator. The bug was that the receiving simulator handled the message by calling OnInstantMessage() again, which added a second copy of the item to the inventory. Instead, the receiving simulator should only notify the avatar that the item was offered.
2013-09-21minor: Add prefix to log message in LureModuleJustin Clark-Casey (justincc)1-1/+1
2013-09-20minor: Correct minor spelling mistake Reseting -> Resetting in HG Map module ↵Justin Clark-Casey (justincc)1-1/+1
log message
2013-09-20Make UUID.Zero resolve to "Unknown User" in user cache.Justin Clark-Casey (justincc)1-0/+2
This is to avoid massive numbers of 'no user found' logs when user IDs are missing for some reason. UUID.Zero should not be used for any user ID.
2013-09-20Lock around read/write of ScenePresence.m_originRegionID to make sure that ↵Justin Clark-Casey (justincc)1-5/+33
all threads are seeing the latest value and not a cached one. There is a possibilty that some V2 teleport failures are due to the viewer triggered CompleteMovement thread not seeing the change of m_originRegionID by the UpdateAgent thread.
2013-09-20Change some message log levels in Scene.IncomingUpdateChildAgent() for ↵Justin Clark-Casey (justincc)1-3/+3
debugging purposes
2013-09-20BulletSim: reduce avatar walking stopped threshold.Robert Adams2-0/+4
Add parameter for setting the walking stopped threshold. This fixes the slight jump when an avatar stops walking.
2013-09-20BulletSim: zero velocity when avatar not moving.Robert Adams1-0/+1
This fixes a movement jitter that happens when an avatar is standing on a tilted surface.
2013-09-20Make new regions PG by default instead of Mature.Justin Clark-Casey (justincc)1-1/+1
This makes scripted object sounds and a few other things play by default instead of having to switch the viewer to adult This reduces the support burden
2013-09-19UUID Gatherer: find assets used in Light Projection, Particle Systems, and ↵Oren Hurvitz1-1/+14
Collision Sounds.
2013-09-19For debug purposes, allow simulators to force use of earlier SIMULATION/0.1 ↵Justin Clark-Casey (justincc)2-5/+50
teleport protocol even if SIMULATION/0.2 is available. This is specified in the MaxOutgoingTransferVersion attribute of [EntityTransfer] in OpenSim.ini, see OpenSimDefaults.ini for more details. Default remains "SIMULATION/0.2" Primarily for http://opensimulator.org/mantis/view.php?id=6755
2013-09-19minor: Make SP.MakeRootAgent() private - no external code has any business ↵Justin Clark-Casey (justincc)1-1/+1
calling this method
2013-09-19minor: Make log message at top of ScenePresence.CompleteMovement info level ↵Justin Clark-Casey (justincc)1-5/+5
and comment out later log message in ScenePresence.MakeRootAgent() Need an info message since this is currently important in detecting teleport issue when not at debug log level. CompleteMovement message occurs before MakeRootAgent() one did
2013-09-19minor: Stop debug logging whenever an npc is moved, other npc log related ↵Justin Clark-Casey (justincc)1-16/+15
formatting cleanups
2013-09-19Revert "Also check user authorization if looking to upgrade from a child to ↵Justin Clark-Casey (justincc)1-13/+0
a root agent." This reverts commit c7ded0618c303f8c24a91c83c2129292beebe466. This proves not to be necessary - the necessary checks are already being done via QueryAccess() before cross or teleport
2013-09-19Create regression TestCrossOnSameSimulatorNoRootDestPerm() to check that ↵Justin Clark-Casey (justincc)2-1/+88
avatars are not allowed to cross into a neighbour where they are not authorized, even if a child agent was allowed.
2013-09-18minor: correct method name in commentJustin Clark-Casey (justincc)1-1/+1
2013-09-18refactor: rename *ChildAgentDataUpdate() methods to *UpdateChildAgent()Justin Clark-Casey (justincc)3-9/+10
verb-noun is consistent with other similar methods
2013-09-18minor: Make log message when Scene.IncomingChildAgentDateUpdate() more ↵Justin Clark-Casey (justincc)2-4/+12
explicit that there is a problem if it still finds the agent to be a child if the sender wanted to wait till it became root Add some comments about the mssage sequence, though much more data is at http://opensimulator.org/wiki/Teleports