Commit Graph
311 Commits
Author SHA1 Message Date
Daniel 2aa3900ceb Update README.md 2017-09-12 21:51:35 +02:00
Danielv123 dcd46acdf2 resolves #57, issue was related to the way DDRs dole factor works.
I hope it works at least.
2017-09-12 09:13:52 +02:00
Daniel a881f4713d Merge pull request #56 from DDR0/dole-factor
Another branch, built on top of my dev branch, which contains a scarce resource sharing implementation.
2017-08-30 11:18:58 +02:00
Daniel c52fd3f966 Merge pull request #55 from DDR0/dev
ui improvements for the web interface storage tab
2017-08-30 11:12:01 +02:00
David Roberts ce6ab38a72 Initial stab at making the master server dole out resources more fairly when running a deficit. 2017-08-29 23:35:50 -07:00
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 d01914f7b2 BUGFIX: unknown symbol near "/"
2017-08-21 11:00:57 Cannot execute command. Error: [string "local a='{"players":{'local b=false;for c,d i..."]:2: unexpected symbol near '/' kept appearing in chat, lagging the server and occasionally causing dropouts. I believe this was magically fixed
2017-08-21 11:16:22 +02: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 8acbd707f9 GET /api/getFactorioLocale now returns entire base en locale 2017-07-11 12:02:47 +02:00
Danielv123 5d294c3a62 Change extension fron .ejs to .html 2017-07-10 14:57:48 +02:00
Danielv123 39dcb43199 Don't open rcon port on linux because its not needed 2017-07-10 14:33:07 +02:00
Danielv123 12fd4f28a2 Updated readme to use correct tar flags 2017-07-10 13:41:03 +02:00
Danielv123 d394426958 critical bugfix 2017-07-10 13:33:18 +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 ba389859ba Merge branch 'master' into dev 2017-07-09 17:12:10 +02:00
Danielv123 492d678f94 Fixed icons after wiki links changed 2017-07-09 17:03:41 +02:00
Danielv123 4047f66144 Merge branch 'dev' 2017-07-09 17:02:12 +02:00
Danielv123 14bec5d225 Fixed icons after wiki links changed 2017-07-09 17:02:07 +02:00
Danielv123 f3bb8c58e5 Merge branch 'dev' 2017-06-20 20:10:51 +02:00
Danielv123 5de0b6319c Error message when started without instanceName
And some test coverage
2017-06-20 20:05:54 +02:00
Danielv123 e6da33582c Cleanup, more coverage 2017-06-17 17:40:46 +02:00
Danielv123 d2f122936e Tests for handleInventory(), 93% avg coverage 2017-06-17 17:24:24 +02:00
Danielv123 2a1badf7cb Lots of tests 2017-06-15 17:14:29 +02:00
Danielv123 8ee3109fbc NPM5.0.1, housekeeping 2017-06-15 17:14:01 +02:00
Danielv123 fdf8a4b4b1 Housekeeping 2017-06-14 21:52:38 +02:00
Danielv123 c4ead8c699 Working inventory imports resolves #50 2017-06-14 21:46:30 +02:00
Danielv123 f9a2e8519b Hide steam from production graph 2017-06-14 15:08:34 +02:00
Danielv123 c24cb51f13 . 2017-06-09 06:58:06 +02:00
Danielv123 0ada84e153 #50 nearing completion, needs taping together and testing
Includes great unit test coverage (npm run cover reports ~85%)
2017-06-07 20:40:03 +02:00
Danielv123 e5b6a94524 less clutter on npm run cover 2017-06-07 20:33:58 +02:00
Danielv123 00dd22e59f Slight improvements to existing tests 2017-06-07 20:33:20 +02:00
Danielv123 913887fd2c Removed \n from UPSdisplay 2017-06-07 07:26:14 +02:00
Danielv123 dbf209de61 Tests, 90% coverage 2017-06-06 11:12:05 +02:00
Danielv123 a7fcde60b8 Reporting for multiple players 2017-06-06 10:45:44 +02:00
Danielv123 6466e12504 working on multi player reports 2017-06-05 12:52:40 +02:00
Danielv123 53cd6c846a inventoryImport now reads inventory successfully 2017-06-03 15:07:26 +02:00
Danielv123 a09cdfb1de possibly fixed rare crash on connect in UPSdisplay 2017-06-03 15:06:27 +02:00
Danielv123 ee133761f7 fixed slaves not registering on windows 2017-06-03 11:48:07 +02:00
Danielv123 18a40ca806 More lua experimenting 2017-06-02 22:29:28 +02:00
Danielv123 103f01b6a2 inventory reports, work on #50 2017-06-01 13:25:59 +02:00