Commit Graph

974 Commits

Author SHA1 Message Date
majormjr
f74dff6e1d fixed bug where date is displayed incorrectly in UI 2016-10-18 17:53:37 -04:00
majormjr
99178f60a1 improved form formatting 2016-10-13 15:37:31 -04:00
majormjr
a3003d7428 removed unused import 2016-10-13 15:16:58 -04:00
majormjr
db13f65032 Merge branch 'master' of github.com:MajorMJR/factorio-server-manager 2016-10-13 15:13:49 -04:00
majormjr
7e97b5bb8c added form to configuration page for updating server settings 2016-10-13 15:13:39 -04:00
Mitch Roote
4b3dedb4c5 added missing code closing tag 2016-10-11 12:30:27 -04:00
majormjr
1b99c86403 corrected ResponseWriter typo 2016-10-11 12:24:20 -04:00
majormjr
b7eaccce60 fixed bug where saves directory is listed with save files 2016-10-11 12:20:54 -04:00
majormjr
17a9c7c8af Added route for updating server-settings.json file 2016-10-11 11:38:25 -04:00
majormjr
c4304e9b51 moved serverSettings to own component, changed settings to format into a table 2016-10-11 11:17:17 -04:00
majormjr
e1054bd816 Moved createSave function to saves.go, changed permissions when creating server-settings.json file to remove executable permissions 2016-10-11 11:15:55 -04:00
majormjr
2e1945014b Added instructions for using prebuilt Windows binary to README, moved existing installation to "Building in Windows" section 2016-10-11 09:55:00 -04:00
majormjr
63909d8710 added Windows build to Makefile 2016-10-11 09:50:38 -04:00
Mitch Roote
2cb7628b4d Merge pull request #54 from bostelk/server-settings
Server settings first-pass
2016-10-11 09:26:34 -04:00
Mitch Roote
42c8cbd175 Merge pull request #56 from cyris69/patch-2
Update readme
2016-10-11 09:21:32 -04:00
cyris69
2c5cfeb3d0 Update readme
Fixed spelling/grammar errors and added step to run src.exe before using opening FSM in browser
2016-10-08 11:03:29 -04:00
Mitch Roote
1eb6657018 Merge pull request #55 from cyris69/patch-1
Update readme
2016-10-07 22:01:49 -04:00
cyris69
daca17a432 Update readme
added installation notes for windows.
2016-10-07 13:21:39 -04:00
Kyle Bostelmann
196b6ded6a Merge remote-tracking branch 'MajorMJR/master' into server-settings 2016-10-05 20:33:46 -03:00
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
Mitch Roote
7e3e38e323 Merge pull request #53 from sean-callahan/master
Clean up of Save and move error handling to handlers
2016-10-05 16:07:06 -04:00
Sean Callahan
3499622f54 clean up Save and move error handling to handlers 2016-10-01 11:31:55 -07: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