J87
dfd0cb2d36
Fix linter issue
2021-11-25 07:45:56 +11:00
J87
81e3c9e19b
Removed unnecessary double negation
2021-11-24 14:31:42 +11:00
J87
b9e8ffa3d1
Fix linting error
2021-11-24 09:33:08 +11:00
J87
62efc63830
Fixed variable definition
2021-11-23 22:03:36 +11:00
J87
e6e5805a49
Refactored serializedConfigToString into function
...
I'm unable to test right now, so this is currently not yet tested. Will test asap.
2021-11-23 13:12:49 +11:00
J87
cc064c2fd1
Fix mistake with Instance descriptions
...
Also added warning for description not found in master.
2021-11-22 09:36:20 +11:00
J87
baf7dbfe0d
Fixed linter issue
2021-11-21 20:26:17 +11:00
J87
0bc6cf1178
Minified getEditor function.
2021-11-21 20:25:33 +11:00
jake87
6d5d9ced47
Refactored editor selection to function
2021-11-21 13:39:23 +11:00
jake87
e825f643e2
Refactored string processing to function
...
Previously string processing was done the exact same way for both master
and instance; this has now been refactored into a function.
2021-11-21 13:31:12 +11:00
jake87
c4f656996e
Fixed linting issues
2021-11-21 12:24:00 +11:00
J87
103c0e3820
Fix missing brace from conflict merge
2021-11-21 12:15:46 +11:00
J87
6da349c888
Fix commented out catch bracket
2021-11-21 12:14:49 +11:00
J87
15c3bb81a6
Fix "emitter" spelling & rename to be more descriptive
2021-11-21 12:12:54 +11:00
J87
4a628df108
Remove unneeded backslash
2021-11-21 12:11:18 +11:00
J87
25ae9b9a0d
Add example to "no editor" error
2021-11-21 12:10:24 +11:00
J87
6b10f2ab7d
Resolve function style
2021-11-21 12:07:30 +11:00
J87
375f591fe5
Remove outdated comments
2021-11-20 22:28:21 +11:00
J87
64c328c53d
Merge branch 'master' into user-editable-config
2021-11-20 16:37:49 +11:00
J87
e5994287fb
Remove outdated comments
2021-11-20 16:33:47 +11:00
jake87
7126014619
Added editing for instances
...
Instances require a number of modifications leading to it not being
able to be converted into a function. The main one is that there is a
list of config elements that cannot be set via the edit command and
either have to be set via different means or cannot be set. To stop
these fields constantly sending error messages, we disregard adding them
to the file in the first place.
2021-11-20 16:23:21 +11:00
Arvids Godjuks
3b8e89ea00
Merge pull request #424 from bbassie/slave-instance-ui-updates
...
Slave instance UI updates
2021-11-19 21:48:52 +02:00
jake87
31cfc45e58
Fix null processing ( again )
2021-11-17 21:16:22 +11:00
jake87
834fc8cf98
Fixed null value parsing
2021-11-17 18:16:24 +11:00
jake87
eb3b7df390
Fix to be more consistant with the rest of clustorio
...
Also made sure "null" is entered as empty as to be consistant with the
rest of clustorio.
2021-11-17 17:45:54 +11:00
jake87
76882ad1c4
Fix styling to be more consistant with the rest of clustorio
2021-11-17 17:42:39 +11:00
bbassie
15381ac260
Final running status color update
2021-11-16 23:50:13 +01:00
bbassie
b7e6acb24e
Added instance deleted alert and updated not found
2021-11-16 23:44:07 +01:00
bbassie
b86305db8c
Updated colors of the instance tag
2021-11-16 23:42:02 +01:00
bbassie
fe803a99ca
Instance status tag color changes
2021-11-16 21:50:21 +01:00
jake87
4612826664
spelling mistake
2021-11-16 21:43:59 +11:00
jake87
cc605250db
removed final debugging helpers
2021-11-14 20:55:16 +11:00
jake87
ae34a86cbf
Removed debugging prints, and added removing of tmpFile
2021-11-14 20:54:27 +11:00
jake87
86de5ae151
Fixed config editing, fixed child spawning, fixed config setting
...
Using an event emmiter, the fields can now be set correctly in the
master config. Null values are now handled correctly, and numbers are also set
correctly.
2021-11-14 20:51:06 +11:00
jake87
bcc25047f2
Readded config file editing, working on config file value setting
2021-11-13 22:35:15 +11:00
bbassie
f5ce0a8a8c
Missing import
2021-11-07 22:00:27 +01:00
bbassie
55bbc10986
Added slave status indicator tag to slave details page
...
Co-authored-by: Danielv123 <danielv@live.no >
2021-11-07 21:54:10 +01:00
bbassie
4fef2d8143
Fix message null issues
2021-11-07 21:35:48 +01:00
bbassie
4432a689bb
Fix instance list
2021-11-07 21:31:56 +01:00
jake87
6013fcd528
Started rework of file loading system
2021-11-06 17:04:34 +11:00
jake87
71fb8541d5
Added more comments, added quotes around strings
2021-11-06 14:32:13 +11:00
jake87
4398d33fea
Fixed definitions to be consistant with bullet points.
2021-11-05 23:32:18 +11:00
jake87
92814aa9b3
Reworked to use config list's grabber system
...
Also now using the system described by Hornwitser, in using
libConfig.MasterConfig.groups to get definitions. Now all that's needed
is to re-read the updated data back into clustorio.
2021-11-05 23:24:13 +11:00
bbassie
69d4a883ad
Add copy public address button
2021-11-04 22:25:53 +01:00
bbassie
2e5617c4b5
Fix instance port and status update
...
Master was not recieving instance status after restart. Instead only a status from the slave but the slave doesn't store the full instance status.
2021-11-04 22:25:36 +01:00
bbassie
f930ed36a0
Changed to using the real factorio port
2021-11-04 21:29:53 +01:00
bbassie
83b720eade
Added public_address field to lists
...
- InstanceList
- SlavesPage
Added public_address field to messages
- slaveProperties
- instanceProperties
2021-11-04 01:39:28 +01:00
bbassie
c3a1b420ea
Added InstanceStatusTag react component
...
- Modified InstanceList & InstanceViewPage to use it
2021-11-04 01:36:56 +01:00
Hornwitser
c889d8f325
Ignore SessionLost from updateInstances ( #422 )
...
Don't shutdown the slave if the connection session is lost during
updateInstances. Resolves #418 .
2021-11-03 16:27:21 +01:00
Hornwitser
e23d07e965
Use safe file writing pattern ( #421 )
...
Write new file contents to a temporary file and then rename over the
target file to avoid data loss in the unlikely event there's an error
writing the new file contents or the process is interrupted.
Resolves #416 .
2021-11-03 16:14:18 +01:00