MCRcortex
8672afe940
added res.sendStatus(200); to stop client errors throwing
...
according to the docs
"The methods on the response object (res) in the following table can send a response to the client, and terminate the request-response cycle. If none of these methods are called from a route handler, the client request will be left hanging."
Last sentence is the critical one.
Sending a status code 200 should fix the issue
2019-07-17 22:04:29 +10:00
TechnoStrife
93c210f0c7
Merge branch 'master' into spread_researching
...
# Conflicts:
# sharedPlugins/researchSync/dumpResearch.lua
# sharedPlugins/researchSync/index.js
2019-07-15 22:14:09 +03:00
TechnoStrife
4a0956d174
Fix a bug causing all slaves data gets cleared on master startup
...
Cherry-picked from fix-slaves-data-cleanup-on-startup
2019-07-15 11:39:11 +03:00
TechnoStrife
3b814eeea4
Fix a bug causing all slaves data gets cleared on master startup ( #165 )
2019-07-15 10:34:02 +02:00
axapaxa123
0fe5633926
Moved gauge creation, 0 items don't fail requests
2019-04-10 01:11:32 +02:00
axapaxa123
595b4e5ac9
Update master.js
2019-04-03 14:40:42 +02:00
Daniel Vestøl
abf4b5d926
Updated freeplay script to 0.17 version
2019-03-31 17:56:34 +02:00
Daniel Vestøl
94d434c8ef
Initial release of neural net based dole divider
2019-03-23 00:14:23 +01:00
Daniel Vestøl
56cf131c70
Moved most of /api/remove to its own file
2019-03-22 19:29:56 +01:00
Daniel Vestøl
103409b0cd
Added setting disableFairItemDistribution to disable dole division factor
2019-02-18 19:49:49 +01:00
Daniel Vestøl
09f476ec40
Added support for 3625 Angels item icons
2019-01-31 14:34:02 +01:00
Daniel Vestøl
846853813a
Added rcon tool and better prometheus monitoring for websockets
2019-01-05 14:35:43 +01:00
J-Lassauw
dc9d8bf987
Added fetch mod meta functionality
...
Fixed bug in settings with new UI
Re-added mod nav options
2018-12-13 16:56:09 +00:00
Daniel Vestøl
2c6b8becd4
Added setting disableImportsOfEverythingExceptElectricity
2018-11-07 19:24:04 +01:00
Daniel Vestøl
aaf4d8b6f1
Removed graphing functionality that utilized linvodb
2018-10-23 11:10:26 +02:00
Daniel Vestøl
8766529e5b
Removed linvodb/leveldown dependency
2018-10-22 11:06:21 +02:00
Daniel Vestøl
c4a2b50c08
Fixed some broken statistics
2018-10-17 21:50:32 +02:00
Daniel Vestøl
3f4309fab0
Added pushgateway for prometheus statistics
2018-10-12 23:28:10 +02:00
Daniel Vestøl
07b9d0a0f5
Fixed getMac spam in VMs, added log rotation
2018-08-23 10:04:19 +02:00
Daniel Vestøl
765146b559
Plugin loading now respects disabled plugins
2018-08-16 14:52:09 +02:00
Daniel Vestøl
e71c183b48
Collet http performance statistics for plugins as well
2018-08-14 13:05:17 +02:00
Daniel Vestøl
5630f7f7f6
Rewrote master plugin loading
2018-08-10 17:17:19 +02:00
Daniel Vestøl
8518cd54c6
Introduce more tools for use by plugins
2018-08-10 15:50:46 +02:00
Daniel Vestøl
9461978a6e
Reduced log spam
2018-07-30 13:30:03 +02:00
Daniel Vestøl
d72a45cc66
Added autosaveInterval to the config.json.dist
2018-07-24 23:01:51 +02:00
Godmave
d9638b58ea
#add configurable items autosave (default 1 minute, config.autosaveInterval)
2018-07-23 19:16:53 +02:00
Daniel Vestøl
98131ee66e
Very big changes to help custom config paths
2018-07-13 22:56:10 +02:00
Daniel Vestøl
6962324a45
Tried to fix path problem in the master db
2018-06-28 15:34:31 +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
010e5271ea
Might have fixed bug related to mod uploads
2018-06-19 23:58:56 +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
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
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
Danielv123
e87c702cf2
Added plugin functionality to master
2018-05-31 21:02:47 +02:00
Danielv123
1d9b6a26a6
Attempted fix to #97
2018-05-10 10:33:26 +02:00
Stefan Asbeck
973f0b0e0a
Create new random masterAuthSecret if secret-api-token.txt doesn't exist.
2018-05-08 22:04:02 +02:00
Danielv123
ac55b1c442
Prometheus track dole factor for imports
2018-05-06 20:45:52 +02:00
Danielv123
cf1a97ac9f
Added caching to /api/slaves (default 5s)
2018-05-06 14:30:03 +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
b49a37e438
Use compression on master
2018-05-05 12:47:16 +02:00
Danielv123
6816db0628
More detailed Websocket usage statistics
2018-05-02 12:39:33 +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