David Roberts
49887012f7
Tweaked slaveDisplay.js to use 92% less data to draw a chart. This is projected to speed up chart loading significantly, from 3.4s to about 0.5s.
...
- Added copper-cable to the list of hidables on the chart, and removed copper-wire which isn't a thing.
- Don't display items as hidable that aren't being produced. It's confusing.
- Added /getTimelineStats, because /getStats is used by another view that I don't feel like converting to not require the 0-production data points.
2017-08-29 16:25:33 -07:00
David Roberts
000b2fc147
Added search functionality back in. It's much snappier now.
...
- Is now case-insensitive.
- And regex.
2017-08-29 13:57:13 -07:00
David Roberts
bdf4225dec
Clean up web interface storage tab.
...
- Use diffing algorithm so you can select text and images.
- This uses textcontent, plugs a vulnerability where you could inject arbitrary javascript if you could upload a modded item with html in the name, eg, "iron-plate<img src=\"\" onerror=\"console.log('hi')\">".
- Fall back to transparent png if item image not found.
- This stops the flashing box when the image does not exist.
- (internal) Simplify `sortByKey(array, key)`.
2017-08-29 13:25:15 -07:00
Danielv123
512b3c66a5
Added fake terminal to /nodeDetails
...
It doesn't do anything yet, but it should allow sending commands to servers and watching their output.
2017-07-13 11:59:38 +02:00
Danielv123
e3b8926e35
Housekeeping
2017-07-11 19:48:00 +02:00
Danielv123
2fc7de3983
DDMMYY is better than MMDDYY
2017-07-11 19:47:06 +02:00
Danielv123
6334ceb252
Fix last seen date on /slaves
2017-07-11 18:16:11 +02:00
Danielv123
a350b39e2f
.
2017-07-11 13:15:56 +02:00
Danielv123
cb1071fc33
fix race condition
2017-07-11 13:14:13 +02:00
Danielv123
53af3849cc
Fix ddosing wiki.factorio.com with 404 picture requests
2017-07-11 13:10:58 +02:00
Danielv123
5d294c3a62
Change extension fron .ejs to .html
2017-07-10 14:57:48 +02:00
Danielv123
dd9e8d5029
No comment.
2017-07-09 17:18:54 +02:00
Danielv123
7ce788e146
Typo. This is unproffessional.
2017-07-09 17:16:27 +02:00
Danielv123
cddbc547f8
Fixed. Again.
2017-07-09 17:15:14 +02:00
Danielv123
492d678f94
Fixed icons after wiki links changed
2017-07-09 17:03:41 +02:00
Danielv123
f9a2e8519b
Hide steam from production graph
2017-06-14 15:08:34 +02:00
Danielv123
a0facf9ea8
Hover text for online indicator
2017-05-30 09:30:05 +02:00
Danielv123
21d87a8cd1
Housekeeping
2017-05-26 21:17:24 +02:00
Danielv123
844bfebcd7
UPS display plugin that shows on master
2017-05-26 19:50:33 +02:00
Danielv123
bafc8dfc44
/inventory/ now has a search field
2017-05-26 09:25:07 +02:00
Danielv123
b520d9611b
Red/green/yellow dot to tell slave status on /nodeDetails/
2017-05-26 09:06:04 +02:00
Danielv123
74348be0a8
slaveDetails prod chart, playerCount, last online date
2017-05-24 22:34:03 +02:00
Danielv123
4969c6041b
Fixed style that broke on other pages
2017-05-23 15:28:07 +02:00
Danielv123
7536469649
Link to nodeDetails from /slaves/
2017-05-23 14:22:01 +02:00
Danielv123
5c13e3107d
/nodeDetails?slaveID=xxx page for detailed info about a single slave
...
and massive UI overhaul which looks like shit.
2017-05-23 11:56:24 +02:00
Danielv123
6449fef1e1
Merge branch 'master' into dev
2017-04-21 09:22:48 +02:00
Danielv123
432c4e462d
Setting to disable automatic storage screen updates
2017-04-06 20:56:42 +02:00
Daniel
e18bc13abe
Add more pictures to storage page
2017-04-04 09:35:10 +02:00
Danielv123
41a6e88006
Show how many are online
2017-04-03 13:31:09 +02:00
Danielv123
e8d8217dc5
Show friendly instance name instead of ID
2017-04-02 15:59:10 +02:00
Danielv123
9fe4ebdacd
Stop overloading the legend by using a whitelist
2017-03-17 16:00:03 +01:00
Danielv123
3186fa8fb7
Button to show all datasets
...
Also #46
2017-03-17 10:55:34 +01:00
Danielv123
8967189fd2
Setting to disable production graph for performance
...
Related to #45
2017-03-17 09:24:53 +01:00
Danielv123
3f699e7ab5
Button to hide all datasets
...
resolves #46
2017-03-17 09:20:09 +01:00
Danielv123
dc2c04741a
Fixed inventory using dead link to API
2017-03-16 17:56:10 +01:00
Danielv123
bd5956c9ed
Add mod icons by link
2017-03-16 17:55:15 +01:00
Danielv123
e156864ccd
Setting to display offline slaves
2017-03-16 13:32:08 +01:00
Danielv123
1e287502f8
Fix messy graph bug due to unsorted x axis
2017-03-16 13:31:49 +01:00
Danielv123
e801be3c77
Added fancy settings menu
2017-03-16 13:11:19 +01:00
Danielv123
fedf9f6df1
Show legends and toggle display of datasets
2017-03-16 09:25:28 +01:00
Danielv123
5abeb8c9a6
Fixed bug with negative production
2017-03-16 09:24:39 +01:00
Danielv123
a243181856
Moved API endpoints to /api/
2017-03-16 09:23:59 +01:00
Danielv123
480a176fc3
Zoomable graphs
2017-03-12 19:14:33 +01:00
Danielv123
cd49d2582f
Show disconnected slaves for up to 2 minutes
2017-03-12 17:04:04 +01:00
Danielv123
71753c29a5
Production graph display on website
...
resolves #35
2017-03-12 17:01:05 +01:00
Danielv123
1fc2de231b
Show material type in graph
2017-03-10 21:14:20 +01:00
Danielv123
1f06d3eb48
Display of all graphs working
...
Also added proper clock to the X axis so its readable
#35
2017-03-10 21:08:04 +01:00
Danielv123
11e3bf7879
Working chart for single item #35
2017-03-10 20:36:21 +01:00
Danielv123
548436cbde
Non working canvasjs chart for #35
2017-03-10 11:15:46 +01:00
Danielv123
dcc17e2fa8
Master has POST endpoint for flows data
...
#35 still not sure how to do the graphs on clientside though
2017-03-10 09:27:36 +01:00