aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/UserStatistics (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-11-14Added AssemblyInfos to every dll in the OpenSim.Region namespace.Diva Canto1-0/+33
2012-11-11One more module converted: WebStatsModule.Diva Canto1-76/+93
2012-10-06refactor: Rename UserSessioNID -> UserSession in WebStatsModule since this ↵Justin Clark-Casey (justincc)1-20/+20
is what it actually represents
2012-10-06Make UserSessionID a class rather than a struct, so that later updates to ↵Justin Clark-Casey (justincc)1-2/+16
value suceed (rather than having to pull the data out and reinsert back into the Dictionary). Fixes http://opensimulator.org/mantis/view.php?id=6338
2012-07-25Rename OpenSim.Framework.Statistics to OpenSim.Framework.Monitoring.Justin Clark-Casey (justincc)4-4/+4
This better reflects the long-term purpose of that project and matches Monitoring modules.
2012-07-16refactor: factor out common code in WebStatsModule.OnMakeRootAgent()Justin Clark-Casey (justincc)1-8/+7
2012-07-16In WebStatsModule.OnMakeRootAgent(), get region ID directly from ↵Justin Clark-Casey (justincc)1-18/+2
SP.Scene.RegionInfo.RegionID instead of manually looking it up from the stored scene list.
2012-07-16Stop warning about no session from ViewerStats if user teleports to another ↵Justin Clark-Casey (justincc)1-6/+6
region in the same simulator that was not next to the source region. This was because teleporting to the new region invoked the new session setup code before the agent was removed from the old region, which then invoked the session teardown code. Now, we only invoke the teardown code if the region ID occupied by the agent being removed is the same as the one registered for the current session.
2012-05-03Implement optional name and description on http stream handlers so that we ↵Justin Clark-Casey (justincc)1-8/+9
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.
2012-04-17Move some public methods on WebStatsModule to private to reduce some static ↵Justin Clark-Casey (justincc)1-14/+14
analysis complexity. There's no obvious reason for these methods to be public.
2012-04-17Use INSERT OR REPLACE INTO sql in WebStatsModule for session update rather ↵Justin Clark-Casey (justincc)1-77/+7
than separate insert and update statements
2012-04-17correct bug where f_invalid was being inserted on a webstats update for an ↵Justin Clark-Casey (justincc)1-2/+2
existing session rather than d_world_kb
2012-04-17Simplify WebStatsModule by removing the uncompleted migrations section.Justin Clark-Casey (justincc)1-29/+3
Use "create table if not exists" instead. Client stats data is transitory data that it is not worth migrating.
2012-04-17Fix bug in WebStatsModule where an exception would always be output on ↵Justin Clark-Casey (justincc)1-5/+10
update if the user teleported to another region on that simulator. This was because update was looking for an existing stats record unique in session id, agent id and region id. But if the user teleports to another region then region id changes. WebStatsModule promptly doesn't find the existing record and tries to insert a new one, but only session id is the primary key and that's still the same, which makes things go bang. This makes the update search only on the unique session id. This is only an issue with simulators that have multiple regions where the webstats module is enabled.
2012-02-28Call Dispose() via using() on SqliteCommands in WebStatsModule after use.Justin Clark-Casey (justincc)1-99/+98
2012-02-23Load appropriate 32-bit/64-bit Windows sqlite dll if using WebStatsModule.Justin Clark-Casey (justincc)1-0/+3
This should resolve http://opensimulator.org/mantis/view.php?id=5901
2012-02-07Make WebStats logging report consistently as WEB STATS MODULE instead of VC, ↵Justin Clark-Casey (justincc)1-6/+5
VS and WEBSTATS
2012-01-25minor: stop the WebStatsModule logging UPDATE or INSERT every time it ↵Justin Clark-Casey (justincc)1-3/+3
updates bin/LocalUserStatistics.db
2011-12-05Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)1-1/+1
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.
2011-10-06WebStats - Home Link FixPixel Tomsen1-2/+3
http://opensimulator.org/mantis/view.php?id=4536
2011-10-05rename WebStatsModules.m_scene to m_scenes since it's a list of scenes, not ↵Justin Clark-Casey (justincc)1-11/+11
a single one
2011-10-05Change WebStatsModule to check its config properly, instead of catching the ↵Justin Clark-Casey (justincc)1-34/+7
ineviable NullReferenceException! Also, tidy up spacing.
2011-04-30Renamed OpenSim.Framework.Capabilities.dll to OpenSim.Capabilities.dllDiva Canto1-1/+0
2010-03-19Cleaned up access to scenepresences in scenegraph. GetScenePresences and ↵Dan Lake1-8/+6
GetAvatars have been removed to consolidate locking and iteration within SceneGraph. All callers which used these to then iterate over presences have been refactored to instead pass their delegates to Scene.ForEachScenePresence(Action<ScenePresence>).
2010-03-17Inconsistent locking of ScenePresence array in SceneGraph. Fixed by ↵Dan Lake1-1/+1
eliminating option to return the actual list. Callers can now either request a copy of the array as a new List or ask the SceneGraph to call a delegate function on every ScenePresence. Iteration and locking of the ScenePresences now takes place only within the SceneGraph class. This patch also applies a fix to Combat/CombatModule.cs which had unlocked iteration of the ScenePresences and inconsistent try/catch around the use of those ScenePresences.
2010-01-29Revert "Updates all IRegionModules to the new style region modules."Melanie1-22/+11
This reverts commit ec3c31e61e5e540f822891110df9bc978655bbaf.
2010-01-29Revert "Updates all IRegionModules to the new style region modules."Melanie1-22/+11
This reverts commit ec3c31e61e5e540f822891110df9bc978655bbaf.
2010-01-23Updates all IRegionModules to the new style region modules.Revolution1-11/+22
Signed-off-by: Melanie <melanie@t-data.com>
2009-10-23Experimental change to use an immutable array for iterating ScenePresences, ↵John Hurliman1-7/+7
avoiding locking and copying the list each time it is accessed
2009-10-01Formatting cleanup.Jeff Ames1-2/+2
2009-08-07This is the second part of the 'not crash on regionsize changes'. This ↵Teravus Ovares (Dan Olivares)1-1/+2
lets you configure region sizes to be smaller without crashing the region. I remind you that regions are still square, must be a multiple of 4, and the Linden client doesn't like anything other then 256. If you set it bigger or smaller, the terrain doesn't load in the client, the map has issues, and god forbid you connect it to a grid that expects 256m regions.
2009-07-22* Fix SStats under the new HttpServer. (.ajax files are apparently reserved)Teravus Ovares1-1/+1
2009-07-21* Updated C# WebServer to the latest available source download (r19869) and ↵Teravus Ovares2-6/+6
applied a few mods from the old version (now up on opensim-libs (VS 3.5 project). * Made various changes to BaseHttpServer to accommodate the new interfaces. * This version has been significantly re-architected and may fail in unusual and insidious ways. * Please pay attention to any errors you get and post a Mantis if you can reproduce an issue with the HTTPServer. I'm including the pdb and having the http server compiled in debug for a few weeks so that when an error occurs, it'll print the pertenant data. * Once again, this is the full C# WebServer, not the lite branch that is included in LibOMV (we need SSL!)
2009-07-10Remove all references to HttpServer from CommsManager (all incarnations)Melanie Thielker1-3/+3
Change all uses of the HttpServer properties to use the new singleton
2009-06-19When a shared module hooks OnClientClosed, it has no way of findingMelanie Thielker1-1/+1
out which client connection has closed. So, in multi-region sims, things can get messy fast. This introduces a second parameters, which is a Scene object ref. Minor adjustments to custom modules may be required due to this change.
2009-06-18* Corrected CAPS namespacesArthur Valadares1-1/+1
* "luke, use the sed"
2009-06-10Formatting cleanup.Jeff Ames3-10/+13
2009-05-04Intermediate commit. WILL NOT COMPILE!Melanie Thielker1-0/+1
2009-04-14* Commit a variety of fixes to bugs discovered while trying to fix the NaN ↵Teravus Ovares1-0/+7
singularity. * WebStatsModule doesn't crash on restart. GodsModule doesn't crash when there is no Dialog Module. LLUDPServer doesn't crash when the Operation was Aborted. * ODEPlugin does 'Almost NaN' sanity checks. * ODEPlugin sacrifices NaN avatars to the NaN black hole to appease it and keep it from sucking the rest of the world in.
2009-04-10* Patch from RemedyTomm Mantis 3440Teravus Ovares1-1/+14
* Revamps the server side texture pipeline * Textures should load faster, get clogged less, and be less blurry * Minor tweak to ensure the outgoing texture throttle stays private. * Fixes mantis 3440
2009-03-19* Add documentation to BaseHttpServer.AddHTTPHandler()Justin Clarke Casey1-12/+6
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield6-7/+7
OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
2009-01-09minor: remove mono compiler warningJustin Clarke Casey1-4/+0
2009-01-08* Adds the variables passed to the hashtable BaseHttpServer passes in.Teravus Ovares2-13/+25
* Null check on Sessions_report.
2009-01-08Update svn properties, minor formatting cleanup.Jeff Ames1-1/+1
2009-01-07* Add session length to session.report.Teravus Ovares1-3/+26
2009-01-07* Added session report. Teravus Ovares4-13/+312
** Full or two criteria. UserID, or VersionString * Added link to session report from client report.
2009-01-07* Added a client version report.Teravus Ovares10-6/+364
* Added a report-> link generator.
2009-01-06* remove mono compiler warningsJustin Clarke Casey1-2/+2
2009-01-05* Resolve a few bugs in the Stats CollectorTeravus Ovares2-59/+117
** Update limiter logic reversed * Resolve a few bugs in the Viewer Stats collector ** Catch the logoff ViewerStats post (darn those caps deregistrations) ** Check the type of the correct map when checking * Resolve a leak in Prototype_distributor ** .Close, .Dispose()!