aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/UserStatistics/WebStatsModule.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
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-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-01Formatting cleanup.Jeff Ames1-2/+2
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 Ovares1-3/+3
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 Ames1-1/+1
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 Scofield1-2/+2
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-08* Adds the variables passed to the hashtable BaseHttpServer passes in.Teravus Ovares1-2/+10
* Null check on Sessions_report.
2009-01-07* Added session report. Teravus Ovares1-0/+16
** Full or two criteria. UserID, or VersionString * Added link to session report from client report.
2009-01-07* Added a client version report.Teravus Ovares1-1/+4
* 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 Ovares1-59/+115
** 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()!
2009-01-05Update svn properties, minor formatting cleanup.Jeff Ames1-1/+28
2009-01-05* Adds an active log to the WebStats console. for an example of it in use ↵Teravus Ovares1-3/+63
as it is right now see http://wmcv.com:9000/SStats/ * It still isn't quite ready to be used mainstream. * A couple of things to note, it doesn't keep track of the logs if nobody is looking at the stats. * It doesn't read the whole log file. Just the last 10 lines of the stream. Tested to 1GB+ logfiles with no noticeable performance issues.
2009-01-03* Updates the sim stats module. Cleans out some of the rot.Teravus Ovares1-0/+1083
* Adds a prototype web stats module which is disabled by default. It's functional with one report right now, however, the database structure may change, so I don't recommend enabling this to keep actual stats right now. I'll let you know when it's safe. * Adds Prototype for ajaxy web content * removed a warning or two.