Danielv123
9138efca6f
Clear log console when changing props
2021-11-22 10:20:06 +01:00
Danielv123
52238de9b3
Expose react-router-dom to allow plugins to use useHistory()
...
See https://githubmemory.com/repo/module-federation/module-federation-examples/issues/716
2021-11-22 10:19:43 +01: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
Daniel
8638632600
Merge pull request #425 from Danielv123/fix-invokeHook
...
Add timeout to invokeHook on plugins
2021-11-21 10:03:30 +01: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
danielv
770e6a41d4
Add timeout to invokeHook on plugins
2021-11-20 12:44:46 +01:00
J87
375f591fe5
Remove outdated comments
2021-11-20 22:28:21 +11:00
Daniel
fcdbf59f7a
Merge pull request #433 from Danielv123/fix-node12-support
...
Support node12 by removing optional chaining
2021-11-20 12:17:34 +01:00
Danielv123
6c80227103
Support node12 by removing optional chaining
2021-11-20 12:03:46 +01:00
Daniel
0016c6271a
Merge pull request #427 from Danielv123/gh-actions
...
Gh actions
2021-11-20 11:50:24 +01:00
Daniel
c557b7d6b2
Merge pull request #428 from Hornwitser/fix-localhost-resolve
...
Fix error when localhost resolves to ::1
2021-11-20 11:49:56 +01: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
Danielv123
e72ee3ecaf
Added linter to CI action
2021-11-19 17:58:54 +01: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
Hornwitser
a5a99e2ab1
Fix error when localhost resolves to ::1
...
Some systems may resolve localhost to ::1 while Factorio doesn't respond
to RCON connection over IPv6 loopback, this causes instances startup to
fail. Fix by using 127.0.0.1 instead of localhost.
2021-11-15 21:29:51 +01:00
Danielv123
56584a25c8
Remove old pipeline
2021-11-15 10:26:32 +01:00
Danielv123
03ba7cb68c
Added new testing pipeline
2021-11-15 10:20:18 +01: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