Commit Graph
100 Commits
Author SHA1 Message Date
Daniel ca49564fb7 Update README.md 2018-06-27 00:18:36 +02:00
Daniel Vestøl f13d90aa58 Merge branch '#85' 2018-06-27 00:13:27 +02:00
Daniel Vestøl 9721071ffb Merge branch 'master' into #85 2018-06-27 00:12:41 +02:00
Daniel Vestøl a77aeb9e5b Improved readme 2018-06-27 00:11:28 +02:00
Daniel dbd9876b8b Merge pull request #120 from Alauraa/patch-2
Updated to reflect Bug #118
2018-06-24 19:19:08 +02:00
Daniel cfa52dbcca Clarified a few things 2018-06-24 19:18:52 +02:00
Daniel Vestøl bf19001055 Fixed --config, is probably unstable on client.js 2018-06-24 16:48:08 +02:00
Daniel Vestøl 443e5dc286 Arguments: --port --masterPort --sslPort --config --rcon-port --rcon-password 2018-06-24 16:46:31 +02:00
Daniel Vestøl 8267dae10e #85 update config.ini with absolute paths 2018-06-24 15:00:48 +02:00
Daniel Vestøl d177fb7304 client.js exits after creating and instance, better comments 2018-06-24 14:24:36 +02:00
Daniel Vestøl 7d99162072 Merge branch '#85' 2018-06-24 13:57:24 +02:00
Daniel 2a8228c5a9 Merge pull request #117 from Alauraa/patch-1
Updated Readme with npmPostinstall.js.
2018-06-23 13:56:39 +02:00
Daniel Vestøl b783ccf2cb Changed default config values 2018-06-20 14:24:15 +02:00
Daniel Vestøl 010e5271ea Might have fixed bug related to mod uploads 2018-06-19 23:58:56 +02:00
Daniel Vestøl 447766c752 Fixed mod manager not exiting after downloading mods 2018-06-16 15:41:06 +02:00
Daniel Vestøl e4c276054b Don't spam internal errors when server is paused/shutting down 2018-06-13 20:59:39 +02:00
Daniel Vestøl b7f76bf451 resolves #90 - Added ups and gametick reporting to prometheus (/metrics) 2018-06-12 23:01:42 +02:00
Daniel Vestøl 780feb7eb8 Prevented \n in playerCount, webinterface function to get queryString params added 2018-06-10 09:53:22 +02:00
Daniel Vestøl b98cb9def6 Added icon to web interface, made by z4rg0n 2018-06-09 12:45:47 +02:00
Daniel Vestøl 1b6b0abaeb Decreased master load time by 30%, web postJSON now returns a promise 2018-06-09 00:00:18 +02:00
Daniel Vestøl ea8f819bd5 Fixes for last commit 2018-06-08 13:57:52 +02:00
Daniel Vestøl 94bbf62c26 Added support for both https AND http, config is now untracked by git 2018-06-08 09:33:19 +02:00
Daniel Vestøl a9532dd0d3 Merge branch 'master' into https 2018-06-08 09:11:38 +02:00
Daniel Vestøl 034db54152 Added lots of web interface related stuff for external plugin 2018-06-06 21:33:08 +02:00
Daniel Vestøl 17b5967b0f Added mention about masterAuthToken in the readme 2018-06-06 12:57:17 +02:00
Daniel Vestøl 226e157f69 Added onExit handler to masterPlugins (see description)
To use the onExit handler, simply add a method called onExit to your exported class. If it returns a promise, the master will wait for it to resolve.
2018-06-06 12:54:11 +02:00
Daniel Vestøl f72ea7357e Removed debug line that put auth info in the logs 2018-06-03 17:52:21 +02:00
Danielv123 812265d0fd messageInterface now returns a promise as well 2018-05-31 21:18:05 +02:00
Danielv123 da6f96a34b UPSdisplay now uses rcon return value instead of game.write_file 2018-05-31 21:15:34 +02:00
Danielv123 88e8ab454f Possibility of having master-only plugins 2018-05-31 21:03:05 +02:00
Danielv123 e87c702cf2 Added plugin functionality to master 2018-05-31 21:02:47 +02:00
Danielv123 e6c706a83e globalChat no longer breaks when the master is restarted 2018-05-26 13:16:59 +02:00
Danielv123 47b74a07d1 Merge remote-tracking branch 'origin/master' into dev 2018-05-26 12:52:40 +02:00
Daniel 0ee2c5c2f6 Resolves #103 2018-05-26 12:50:15 +02:00
Danielv123 e73c5055af !info to see servername (issue #101) 2018-05-21 00:00:42 +02:00
Danielv123 165cfffecb Use rcon.print instead of writefile for playercount reports 2018-05-13 09:58:25 +02:00
Danielv123 ce6dc3af28 messageInterface now takes a second arg for rcon return values (from rcon.print()) 2018-05-10 14:15:03 +02:00
Danielv123 1d9b6a26a6 Attempted fix to #97 2018-05-10 10:33:26 +02:00
Daniel db89099b2d Merge pull request #95 from Elbrasch/master
Issue #86
2018-05-09 11:12:48 +02:00
Danielv123 0b81fb6351 Made factorio command ratelimiting configurable 2018-05-07 18:11:46 +02:00
Danielv123 ac55b1c442 Prometheus track dole factor for imports 2018-05-06 20:45:52 +02:00
Danielv123 f07b6160bb Merge branch 'master' into dev 2018-05-06 16:07:51 +02:00
Daniel 480e2af03e Merge pull request #93 from Elbrasch/master
fixes issue #87 "Mod manager downloads oldest version of mod availabl…
2018-05-06 16:06:48 +02:00
Danielv123 cf1a97ac9f Added caching to /api/slaves (default 5s) 2018-05-06 14:30:03 +02:00
Danielv123 6dd25cb1e8 Don't assume playercount is 0 just because a command fails 2018-05-06 10:32:11 +02:00
Danielv123 ce24a40d8c Prometheus now tracks import/export stats PROPERLY 2018-05-06 10:23:55 +02:00
Danielv123 f5d1847975 Revert "Prometheus now tracks import/export statistics"
This reverts commit f580f06064.
2018-05-06 10:21:49 +02:00
Danielv123 f580f06064 Prometheus now tracks import/export statistics 2018-05-06 10:21:06 +02:00
Danielv123 f5e908eb5d Revert "Fix outdated leveldown dependency"
This reverts commit a6d98db6a9.
2018-05-05 14:34:50 +02:00
Danielv123 a6d98db6a9 Fix outdated leveldown dependency 2018-05-05 13:52:36 +02:00
Danielv123 b49a37e438 Use compression on master 2018-05-05 12:47:16 +02:00
Danielv123 c02bb6d58f #85 made instance directory configurable in config.json 2018-05-04 17:50:20 +02:00
Danielv123 a0e98ecb00 Format numbers with , (1,000) 2018-05-02 20:37:55 +02:00
Danielv123 6816db0628 More detailed Websocket usage statistics 2018-05-02 12:39:33 +02:00
Daniel d07112e85e PR #83 from Valansch: Shout displays instance name now 2018-05-01 14:32:27 +02:00
Danielv123 6514462a1d Increased max command size for imports 2018-04-30 23:47:31 +02:00
Danielv123 1e0c275968 Use rcon instead of stdin on linux as well 2018-04-30 23:34:09 +02:00
Danielv123 968a306c5a Fixed issue where slaves would not register when ran on VM withou MAC 2018-04-30 23:05:55 +02:00
Danielv123 47430b5d28 Remove super exessive logging on master
Also added better prometheus endpoint logging
2018-04-30 14:30:01 +02:00
Danielv123 6e5585c86c Merge remote-tracking branch 'MCRcortex/dev' into dev 2018-04-30 14:26:14 +02:00
Danielv123 355e8974a4 Added more websocket utilization metrics 2018-04-30 12:09:01 +02:00
Danielv123 f15ce3fb23 No longer auto install clusterio 1.0.0 2018-04-29 21:45:22 +02:00
Daniel 41541b01f0 Merge pull request #80 from Danielv123/snyk-fix-c5e06e84
[Snyk Update] New fixes for 4 vulnerable dependency paths
2018-04-29 11:46:54 +02:00
Danielv123 1184e64467 Attempt to be even more long command friendly 2018-04-28 19:51:23 +02:00
Danielv123 02ab34dbf4 Don't remove all spaces from !shouts 2018-04-28 15:04:15 +02:00
Danielv123 fc1f3bd077 Attempted fix for command corruption 2018-04-28 14:47:53 +02:00
Danielv123 6a7042c0aa Improved performance of /api/getFactorioLocale with caching 2018-04-28 14:16:34 +02:00
Danielv123 2aff63e4a1 Strip all non a-z 0-9 characters from !shout commands 2018-04-28 03:10:57 +02:00
Danielv123 e38aed08bf Sanitizing !shout chat 2018-04-28 02:19:42 +02:00
Danielv123 1bd87c4cc9 Fixed crash on !shout 2018-04-27 21:58:03 +02:00
Danielv123 dc19457471 Update to master to support server wide alerts 2018-04-27 21:23:36 +02:00
Danielv123 84aaae05c2 Merge remote-tracking branch 'origin/dev' into dev 2018-04-27 11:37:15 +02:00
Danielv123 1b00fbb328 Fixed crash when master was not there and we still got some sort of response 2018-04-27 06:22:32 +02:00
Daniel 29c38fc4d0 Merge pull request #79 from psihius/patch-1
README.md update: adjusted command
2018-04-27 06:18:59 +02:00
Danielv123 61e944b061 Attempted to add https support 2018-04-26 18:53:06 +02:00
Danielv123 ce0deef83b Websockets for listening to factorio logs and global chat plugin
You can now !shout things across the cluster
2018-04-26 18:33:29 +02:00
Daniel 641f980741 Merge pull request #77 from psihius/dev
Cluster wide command execution
2018-04-26 16:48:50 +02:00
Danielv123 20e66cbd40 Token auth in researchSync and UPSdisplay 2018-04-25 12:55:03 +02:00
Danielv123 a26189947d Token auth in inventoryImports 2018-04-25 12:50:33 +02:00
Danielv123 0b0b2bc1a9 Token auth for all destructive endpoints 2018-04-25 12:44:31 +02:00
Daniel 4b7ad9b8b8 Split install command onto multiple lines 2018-04-25 09:28:21 +02:00
Daniel f63fd20179 Merge pull request #76 from psihius/dev
README.md update
2018-04-23 10:53:08 +02:00
Danielv123 8f2d22cbd8 Only wrote files on the server, might resolve some crashes 2018-04-21 08:05:40 +02:00
Danielv123 2111e337c9 Fix crash when starting client.js without master 2018-04-19 18:41:30 +02:00
Danielv123 0672004cbd researchSync: Partially fixed failing test (it still fails) 2018-04-19 17:51:46 +02:00
Danielv123 0dee243bf9 crash fix 2018-04-16 22:16:22 +02:00
Danielv123 2ab812d5a9 prometheus track count of items in inventory 2018-04-16 10:49:09 +02:00
Danielv123 5076b4e8e1 Increased slave database limits due to demands from researchSync 2018-04-16 08:48:54 +02:00
Danielv123 b7b0dd9d85 prometheus track playercounts 2018-04-16 08:35:10 +02:00
Danielv123 cf7af19370 Don't send corrupt factorio file outputs to plugins 2018-04-16 06:43:22 +02:00
Danielv123 4d5b3b855c Export production stats to prometheus 2018-04-15 23:04:35 +02:00
Danielv123 2b5cbf00e4 Fix error ion /nodeDetails sometimes making the display weird 2018-04-15 21:25:19 +02:00
Danielv123 aeeb09a975 Fixed weird thing about rebinding 'this' 2018-04-15 21:15:58 +02:00
Danielv123 7915b71e10 typo 2018-04-15 21:07:49 +02:00
Danielv123 2c2bbb71b4 inventoryImports: Fixed chat errors when players are dead 2018-04-15 12:02:46 +02:00
Danielv123 6c966e2c29 fixed issue with server browser token not being applied 2018-04-14 11:18:06 +02:00
Danielv123 6bbd6b8717 researchSync: Fixed crash when master contact is lost 2018-04-14 11:17:38 +02:00
Danielv123 1d0d9765bd researchSync: Fixed importing research 2018-04-13 20:18:47 +02:00
Danielv123 c9bd26a01e researchSync: Fixed sending commands with newlines 2018-04-13 18:31:01 +02:00
Danielv123 2d5c0c3bbf More tests for remoteMap 2018-04-13 16:37:57 +02:00