Commit Graph

203 Commits

Author SHA1 Message Date
Kyle Bostelmann
a87a0dcdad Fix empty response. 2016-10-05 20:30:47 -03:00
Kyle Bostelmann
3468c1a214 Use the Game Configuration view to display the server settings for a quick first-pass. 2016-10-05 20:30:16 -03:00
Kyle Bostelmann
ffad306b8c Add route to get the server settings. 2016-10-05 20:29:31 -03:00
Kyle Bostelmann
0220223369 Write the server-settings.json on Run. 2016-10-05 20:29:06 -03:00
Kyle Bostelmann
41d5307375 Merge branch 'patch-12' into patch-13 2016-10-05 18:44:19 -03:00
Kyle Bostelmann
50566cdd96 The syscall module is platform specific, use a check at runtime to determine which signal to send. 2016-10-05 18:39:19 -03:00
Kyle Bostelmann
0af1b53a3d Rename files; server to factorio_server and gameconfig to factorio_config. 2016-10-01 12:47:24 -03:00
Kyle Bostelmann
e79520969e Add TODO. 2016-10-01 12:06:57 -03:00
Kyle Bostelmann
aa9d3bb21d Use os.Interrupt to improve cross-platform compatability. os.Interrupt isn't supported on Windows, so for now just kill the process. 2016-10-01 12:05:37 -03:00
Mitch Roote
691e924269 Merge pull request #49 from bostelk/patch-10
Fix create save file
2016-09-30 10:56:19 -04:00
Mitch Roote
8d4355c8b0 Merge pull request #48 from bostelk/path-9
Configure cookie encryption key.
2016-09-30 10:55:39 -04:00
Mitch Roote
f0cd223caa Merge pull request #45 from bostelk/patch-7
Move login to the api router.
2016-09-30 10:54:33 -04:00
Mitch Roote
35e8a1fa33 Merge pull request #50 from bostelk/patch-11
Fix file path to factorio-current.log on windows.
2016-09-30 10:48:53 -04:00
Kyle Bostelmann
c1b31fa8af Fix file path to factorio-current.log on windows. 2016-09-29 19:56:43 -03:00
Kyle Bostelmann
86d2cd9158 Bescause the working directory is set to where the go executable is running the absolute path should be used when creating a new map. 2016-09-29 19:37:13 -03:00
Kyle Bostelmann
6c73277616 Add support for defining the cookie encryption key in the server config. Rename createInitialUser to CreateOrUpdateUser. 2016-09-29 19:02:36 -03:00
Kyle Bostelmann
ffeeaa035b gofmt. 2016-09-29 17:53:01 -03:00
Kyle Bostelmann
21daa29f3b Rename CheckAuth to AuthorizeHandler. 2016-09-29 17:52:15 -03:00
Mitch Roote
56e2f496d2 Merge pull request #47 from bostelk/patch-8
Remove basic auth security.
2016-09-29 16:32:40 -04:00
Kyle Bostelmann
a9a8f64adb Remove middleware from Route. Move the login user route out of the api routes list. 2016-09-28 16:43:28 -03:00
Kyle Bostelmann
d788b25a74 Remove basic auth security. 2016-09-28 16:14:05 -03:00
Kyle Bostelmann
94c9360481 Formatting. 2016-09-28 15:28:23 -03:00
Kyle Bostelmann
10108c5376 Let api routes define a middleware function. Move login to the api router. Rename CheckSession to CheckAuth. 2016-09-28 15:16:55 -03:00
Mitch Roote
9e2bdb8049 Merge pull request #44 from bostelk/patch-6
Fix Dockerfile and nginx.conf
2016-09-27 23:33:43 -04:00
Kyle Bostelmann
d29b4729ae Fix port number. 2016-09-27 19:16:58 -03:00
Kyle Bostelmann
da2e9a30c5 Use the upstream module. 2016-09-27 18:32:27 -03:00
Kyle Bostelmann
cf6f6fecfb Log warning errors. 2016-09-27 18:32:16 -03:00
Kyle Bostelmann
4df8c96238 Create the missing pointer file. Put the pid file in /var/lib/nginx/run. 2016-09-27 18:32:02 -03:00
Kyle Bostelmann
4905073e87 Leave /var/lib/nginx alone. 2016-09-27 18:28:31 -03:00
Kyle Bostelmann
edb2ebc432 Use the nginx user for worker processes. 2016-09-27 18:22:21 -03:00
Kyle Bostelmann
211a74cc02 COPY is preferred when copying local files. 2016-09-27 18:21:06 -03:00
Mitch Roote
0b99e224c1 Merge pull request #43 from bostelk/patch-5
Add openssl to Dockerfile
2016-09-27 15:20:35 -04:00
Kye Bostelmann
c2deb97034 Bump Manager version
Set Manager version to 0.4.3.
2016-09-27 16:12:39 -03:00
Kye Bostelmann
1f9ab73c97 Add openssl to Dockerfile
Fix missing openssl dependency.
2016-09-27 15:22:02 -03:00
Mitch Roote
08fa4130a0 Update dockerfile to latest version of server manager 2016-09-27 14:20:49 -04:00
Mitch Roote
648f42cfe9 Merge pull request #42 from bostelk/patch-4
Default to the latest factorio server
2016-09-27 14:20:18 -04:00
Kye Bostelmann
3cb2dec9bd Default to the latest factorio server
The container fails to build because 0.12.33 returns an internal server error. Use the latest server build by default.
2016-09-27 15:02:53 -03:00
Mitch Roote
193b06b449 Merge pull request #41 from bostelk/patch-3
Fix error check conditional
2016-09-27 13:54:25 -04:00
Kye Bostelmann
afb133a00a Fix error check conditional
Oops, the condition should test for a "file already exists" error.
2016-09-27 14:49:36 -03:00
Mitch Roote
bfc1e8fd1e Merge pull request #40 from bostelk/patch-2
Fix error check conditional
2016-09-27 12:42:20 -04:00
Kye Bostelmann
ef25979df4 Fix error check conditional
Ignore file already exist errors. The "modpacks" directory will exist at least on the second launch.
2016-09-27 13:27:17 -03:00
Mitch Roote
789a0e25a7 Merge pull request #39 from bostelk/patch-1
Update README.md
2016-09-27 11:15:16 -04:00
Kye Bostelmann
cf47530f1c Update README.md
Update usage string.
2016-09-27 12:04:00 -03:00
majormjr
d9a1f72db3 improved error handling when starting server 2016-09-08 20:36:35 -04:00
majormjr
f9694bb6bc made --latency-ms optional as it was removed in 0.14 2016-09-08 20:28:39 -04:00
majormjr
9573413667 Merge branch 'master' of github.com:MajorMJR/factorio-server-manager 2016-09-08 19:47:59 -04:00
Mitch Roote
ae95aa1d56 Merge pull request #35 from xeroiv/master
Modified server-start command for .13
2016-07-01 14:41:05 -04:00
xeroiv
a3e2fa4709 added filepath import
added filepath import
2016-07-01 14:36:51 -04:00
xeroiv
b1eca211b0 Modified server-start save path variable for compatibility
Modified save path variable for compatibility
2016-07-01 13:46:29 -04:00
xeroiv
e47b568c91 Modified server-start command for .13
Added full save file path to startup argument.
2016-07-01 13:26:04 -04:00