summaryrefslogtreecommitdiff
path: root/public/js/mv
AgeCommit message (Collapse)AuthorFilesLines
2013-05-28Trellis external filtering and broadcastingbrushable-trellisFreeyorp2-14/+56
This also adjusts the method for comparing filters, allowing a chart to define a "filterCompare" method that will be used to compare filters if available. This finally removes the date chart special case for setting filters. Array instance checking will now use foo instanceof Array instead of typeof(foo) == "array", which was unreliable (sometimes it's "object"). Trellis chart brush containers will now redraw the brush when set externally. renderBrush no longer takes brushG as a parameter. I'm not sure what I was thinking when I made it so. The deselected area will not yet fade. The trellis chart still requires substantial refactoring and consistency fixes; I'm not sure that the parameter specifications are currently correct.
2013-05-27Disable controls until init has finishedFreeyorp1-0/+3
Before, if you were quick or your connection was slow, you could select the files before mv.init registers the callback. This left things stuck, either requiring another set of files to be selected, or a refresh of the page. This closes #18.
2013-05-26Remove some no longer needed debugging outputFreeyorp1-3/+0
2013-05-26Implement remote resource loadingFreeyorp1-45/+84
mv.loader.use takes an array of URLs, which are fetched via d3.xhr. This also restructures mv.loader to refactor out some shared functionality between mv.loader.use and the file selector change events. mv.loader could still use some cleanup. http://css-tricks.com/examples/ButtonMaker/ makes a pretty neat css button. Hopefully, it's visually attractive enough so people in a hurry know where to go. :)
2013-05-26Make map chart and user list biggerFreeyorp1-1/+1
2013-05-26Flatten loader closure, adjust event callbackFreeyorp2-75/+85
The inner loader closure was redundant. Apparently I really like closures during late night coding. main.js should no longer have to deal with raw loading events; only UI specific callbacks.
2013-05-26Remove accidentally committed debugging fragmentFreeyorp1-2/+0
Also remove a stray curly brace
2013-05-25Allow loading of zip filesFreeyorp2-58/+95
.zip must be at the end of the file name. Progress bars are not fully descriptive in this mode yet This also alters the mv.loader interface. The onprogress callback now takes current and total. The each callback is now passed an after parameter, to be called when it's done.
2013-05-16Always call parent renderlet in received updatesFreeyorp1-2/+2
2013-05-16Always update join channel linkFreeyorp1-2/+4
This should all be done by delta updates. d3 joins, while fun, aren't really the tool for the job here. :)
2013-05-16Round the brush on bar chartsFreeyorp1-2/+4
2013-05-16Show the active filter, display reset in a nicer wayFreeyorp1-0/+2
2013-05-16Add axis labels and help textFreeyorp1-10/+23
2013-05-15Completely remove display of hidden chartsFreeyorp1-2/+2
Previously, you could still click on the (fully transparent) pieces.
2013-05-15Clear filters when charts are hiddenFreeyorp1-0/+3
2013-05-15Remove login; apply handlers on connectionFreeyorp1-2/+1
This should hopefully make things apply more cleanly for reconnections and fallbacks.
2013-05-15Compatability fixesFreeyorp1-1/+1
This is by no means even close to comprehensive (legacy compatability for determining browser width is a total mess in and of itself). However, this is enough for manavis to work on recent versions of Firefox. It's not quite as fast as chromium, but it is entirely workable. Older versions aren't really worth testing, as the entire application is very js intensive.
2013-05-14Remove debug spam, show visible warning on disconnectFreeyorp2-9/+9
2013-05-14Add channelsFreeyorp3-39/+159
Active filters will only be applied from users in the same channel. This closes #14.
2013-05-14Pad the domain maxmimum of unpadded bar chartsFreeyorp1-2/+2
It was previously very hard (impossible?) to select upper values.
2013-05-14Separate connection status, hide while offlineFreeyorp1-0/+1
2013-05-14Hide KILLXP charts when not filtering for KILLXPFreeyorp1-2/+21
Also filter KILLXP by default. This closes #16.
2013-05-14Fix scrubbed blob link generationFreeyorp1-1/+1
2013-05-14Use a bar chart for charting number of attackersFreeyorp1-2/+3
2013-05-14Also consider mob to mob for the attacker countFreeyorp2-16/+16
Sort the pie chart the other way. Still doesn't feel right. Perhaps a bar chart would be better.
2013-05-14Chart the number of attackersFreeyorp3-3/+15
2013-05-13Remove definedness chartFreeyorp1-20/+0
The new parsing system is robust enough to eliminate its persistent need
2013-05-13"use strict";Freeyorp6-0/+6
2013-05-13Fix trellis-chart redrawingFreeyorp2-0/+9
No elegant solution presents itself immediately. This isn't too bad, but should be replaced - while more specialised charts could be added to the chart renderlet, it's fragile and matters become problematic if more modules require the renderlet as well.
2013-05-13Fix SPELLDMG parsing, add MOB-TO-MOB-DMG parsingFreeyorp1-3/+20
2013-05-13Remove the softAssert functionFreeyorp1-5/+0
No longer used with the parser rewrite.
2013-05-13Rewrite parserFreeyorp1-162/+206
This completely removes any need to look behind for already parsed records, and adds a second pass that assigns stats to records that did not have that information known at the time of parsing. With the testing data, this changed the number of records with no stat information from approximately 1/6 to none (!). The parser is also much cleaner now, at least as much as a parser built around regular expressions is clean. Apparently the late night coding me really likes nesting closures. This closes #7. This closes #13.
2013-05-13Remove pc chart, postprocess records, make blob download availableFreeyorp5-6/+75
The PC chart is removed, as records being linked to specific characters could never be released publically. The records are being postprocessed, as information about stats for unknown records could have been logged after the record (ie. STAT on LOGOUT) The processed records are available for download in JSON format. Currently, this is only accessible by calling parser.createBlobLink() from the console. The process can be quite resource intensive. The file should be saved with "scrubbed" appearing somewhere in the filename. The loader now properly informs its each method of the current file and the number of files. Files with "scrubbed" in the filename are interpreted as scrubbed logfiles and will be loaded in as JSON directly.
2013-05-13Move served files to a public/ directoryFreeyorp6-0/+578