aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/UserStatistics/WebStatsModule.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* refactor: Rename UserSessioNID -> UserSession in WebStatsModule since this ↵Justin Clark-Casey (justincc)2012-10-061-20/+20
| | | | is what it actually represents
* Make UserSessionID a class rather than a struct, so that later updates to ↵Justin Clark-Casey (justincc)2012-10-061-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
* refactor: factor out common code in WebStatsModule.OnMakeRootAgent()Justin Clark-Casey (justincc)2012-07-161-8/+7
|
* In WebStatsModule.OnMakeRootAgent(), get region ID directly from ↵Justin Clark-Casey (justincc)2012-07-161-18/+2
| | | | SP.Scene.RegionInfo.RegionID instead of manually looking it up from the stored scene list.
* Stop warning about no session from ViewerStats if user teleports to another ↵Justin Clark-Casey (justincc)2012-07-161-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.
* Implement optional name and description on http stream handlers so that we ↵Justin Clark-Casey (justincc)2012-05-031-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.
* Move some public methods on WebStatsModule to private to reduce some static ↵Justin Clark-Casey (justincc)2012-04-171-14/+14
| | | | | | analysis complexity. There's no obvious reason for these methods to be public.
* Use INSERT OR REPLACE INTO sql in WebStatsModule for session update rather ↵Justin Clark-Casey (justincc)2012-04-171-77/+7
| | | | than separate insert and update statements
* correct bug where f_invalid was being inserted on a webstats update for an ↵Justin Clark-Casey (justincc)2012-04-171-2/+2
| | | | existing session rather than d_world_kb
* Simplify WebStatsModule by removing the uncompleted migrations section.Justin Clark-Casey (justincc)2012-04-171-29/+3
| | | | | Use "create table if not exists" instead. Client stats data is transitory data that it is not worth migrating.
* Fix bug in WebStatsModule where an exception would always be output on ↵Justin Clark-Casey (justincc)2012-04-171-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.
* Call Dispose() via using() on SqliteCommands in WebStatsModule after use.Justin Clark-Casey (justincc)2012-02-281-99/+98
|
* Load appropriate 32-bit/64-bit Windows sqlite dll if using WebStatsModule.Justin Clark-Casey (justincc)2012-02-231-0/+3
| | | | This should resolve http://opensimulator.org/mantis/view.php?id=5901
* Make WebStats logging report consistently as WEB STATS MODULE instead of VC, ↵Justin Clark-Casey (justincc)2012-02-071-6/+5
| | | | VS and WEBSTATS
* minor: stop the WebStatsModule logging UPDATE or INSERT every time it ↵Justin Clark-Casey (justincc)2012-01-251-3/+3
| | | | updates bin/LocalUserStatistics.db
* Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)2011-12-051-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.
* WebStats - Home Link FixPixel Tomsen2011-10-061-2/+3
| | | | http://opensimulator.org/mantis/view.php?id=4536
* rename WebStatsModules.m_scene to m_scenes since it's a list of scenes, not ↵Justin Clark-Casey (justincc)2011-10-051-11/+11
| | | | a single one
* Change WebStatsModule to check its config properly, instead of catching the ↵Justin Clark-Casey (justincc)2011-10-051-34/+7
| | | | | | ineviable NullReferenceException! Also, tidy up spacing.
* Renamed OpenSim.Framework.Capabilities.dll to OpenSim.Capabilities.dllDiva Canto2011-04-301-1/+0
|
* Formatting cleanup.Jeff Ames2009-10-011-2/+2
|
* * Fix SStats under the new HttpServer. (.ajax files are apparently reserved)Teravus Ovares2009-07-221-1/+1
|
* * Updated C# WebServer to the latest available source download (r19869) and ↵Teravus Ovares2009-07-211-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!)
* Remove all references to HttpServer from CommsManager (all incarnations)Melanie Thielker2009-07-101-3/+3
| | | | | | Change all uses of the HttpServer properties to use the new singleton
* When a shared module hooks OnClientClosed, it has no way of findingMelanie Thielker2009-06-191-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.
* * Corrected CAPS namespacesArthur Valadares2009-06-181-1/+1
| | | | | * "luke, use the sed"
* Formatting cleanup.Jeff Ames2009-06-101-1/+1
|
* Intermediate commit. WILL NOT COMPILE!Melanie Thielker2009-05-041-0/+1
|
* * Commit a variety of fixes to bugs discovered while trying to fix the NaN ↵Teravus Ovares2009-04-141-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.
* * Patch from RemedyTomm Mantis 3440Teravus Ovares2009-04-101-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
* * Add documentation to BaseHttpServer.AddHTTPHandler()Justin Clarke Casey2009-03-191-12/+6
|
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-061-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!
* * Adds the variables passed to the hashtable BaseHttpServer passes in.Teravus Ovares2009-01-081-2/+10
| | | | | * Null check on Sessions_report.
* * Added session report. Teravus Ovares2009-01-071-0/+16
| | | | | | ** Full or two criteria. UserID, or VersionString * Added link to session report from client report.
* * Added a client version report.Teravus Ovares2009-01-071-1/+4
| | | | | * Added a report-> link generator.
* * remove mono compiler warningsJustin Clarke Casey2009-01-061-2/+2
|
* * Resolve a few bugs in the Stats CollectorTeravus Ovares2009-01-051-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()!
* Update svn properties, minor formatting cleanup.Jeff Ames2009-01-051-1/+28
|
* * Adds an active log to the WebStats console. for an example of it in use ↵Teravus Ovares2009-01-051-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.
* * Updates the sim stats module. Cleans out some of the rot.Teravus Ovares2009-01-031-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.