Daniel
87746edbf5
Merge pull request #708 from clusterio/fix/cpu-usage-without-wmic
...
Use Get-Process instead of wmic on windows
2024-12-09 15:25:13 -08:00
Daniel
6f5547b524
Merge pull request #706 from clusterio/feature/stat-exporter-surfaces
...
Feature/stat exporter surfaces
2024-12-09 15:24:19 -08:00
Danielv123
c0d33d5852
In 2.0, icon_size is optional with a default of 64 - fixes #699
2024-12-09 15:23:45 -08:00
Daniel
485504d885
Recreate instance's required subfolders on startup ( #705 )
...
Fixes #698
2024-12-09 15:21:59 -08:00
Daniel
b093cd136f
Merge pull request #703 from clusterio/feature/connect-to-server
...
Add connect to server button to web UI using steam launch api
2024-12-09 15:17:12 -08:00
Danielv123
7b34d238ea
Use Get-Process instead of wmic on windows
2024-12-03 17:37:40 +00:00
Danielv123
8e22de9d2d
Add platform speed and weight metrics
...
clusterio_statistics_exporter_platform_speed
clusterio_statistics_exporter_platform_weight
2024-12-02 21:35:25 +00:00
Danielv123
9464541d61
Update tests for multi surface support
2024-12-02 21:14:50 +00:00
Danielv123
fd741f9b49
Add clusterio_statistics_exporter_platform_mapping
...
This allows queries to map between the platform surfaces tracked in the statistics and the name assigned by the player
2024-12-02 21:05:24 +00:00
Danielv123
7934e471a7
Provide production statistics for all surfaces
2024-12-02 21:04:00 +00:00
Daniel
1090197acc
Merge pull request #697 from clusterio/fix/json-function-backwards-compatibility
...
Add backwards compatible json serialization capability
2024-12-01 10:42:05 +00:00
Danielv123
c89b773f26
Reference in readme
2024-12-01 10:38:06 +00:00
Danielv123
c5c73c8c96
Add connect to server button to web UI using steam launch api
...
Does not work if factorio is already open. Resolves #608
2024-12-01 10:32:25 +00:00
Danielv123
54411bc327
Use builtin version when available
2024-12-01 09:14:04 +00:00
Daniel
98a15d3366
Merge pull request #692 from clusterio/plugin-management
...
Add plugins automatically
2024-11-29 20:18:42 +00:00
Danielv123
17133dc1f5
Test for compatability with missing dependencies field in package.json
2024-11-29 20:12:53 +00:00
Danielv123
d7792ca369
Log error when a specified plugin does not exist, but allow loading without it
...
Preventing loading just because a plugin is missing would cause the host to become inaccessible if something went wrong when managing plugins through the remote interface
2024-11-29 20:01:45 +00:00
Danielv123
747c13a715
Only write changed plugin list once
2024-11-29 20:00:42 +00:00
Danielv123
9b0a06815b
Correctly handle installs with no plugins or dependencies
2024-11-28 20:27:31 +00:00
Danielv123
45ae20051f
Fix specifying default quality for 1.1 migration
2024-11-28 20:18:22 +00:00
Danielv123
d1baab5e7f
Synchronize space age logistics slots
...
Requests of the v1 format is automatically upgraded and placed in a new section. Filters in named sections are not synchronized to avoid messing with non-player entities on servers you join. Synchronizing logistics groups falls under the scope of another plugin.
2024-11-28 20:18:22 +00:00
Daniel
6c3c094e94
Prefer linking to issues over pull requests
2024-11-27 17:32:45 +00:00
Daniel
1ed52d8fe6
Create pull_request_template.md
2024-11-27 17:32:45 +00:00
Danielv123
2fb33c9648
Support synchronizing crafting queue in 2.0 with new storage api
2024-11-27 17:28:59 +00:00
Danielv123
85cdbb1185
Add backwards compatible json serialization capability
...
resolves #687 using https://github.com/rxi/json.lua
2024-11-26 19:11:53 +00:00
Danielv123
2e729b9e47
Add tests for monorepo plugins and non-plugin packages
2024-11-26 10:33:26 +00:00
Danielv123
427acfe82e
Refactor, fix linting issues
2024-11-26 10:18:54 +00:00
Danielv123
79c4bf1441
Ignore missing plugins instead of throwing
2024-11-26 10:07:14 +00:00
Danielv123
fea07e4f55
Add tests
2024-11-26 10:03:35 +00:00
Danielv123
5dbfff9bfd
Support for monorepo autodiscovery
2024-11-26 09:23:09 +00:00
Danielv123
37fed2064e
Warn when multiple plugins of the same name are detected
2024-11-26 08:49:30 +00:00
Danielv123
f95e1d2998
Only log not-a-plugin for non-core packages
2024-11-26 08:27:29 +00:00
Danielv123
5586b1640b
Include keywords for clusterio and factorio in all first party packages
2024-11-26 08:17:45 +00:00
Danielv123
91cbd7a464
Handle files not existing
2024-11-25 18:26:35 +00:00
Danielv123
472177bf39
Add jsdoc, reduce logging
2024-11-25 18:07:51 +00:00
Danielv123
397dc6a5a6
Autodiscover plugins in dependencies with keyword "clusterio-plugin"
2024-11-25 17:23:03 +00:00
Danielv123
636777d935
Add locally provided plugins by default
2024-11-25 12:22:16 +00:00
Daniel
41d76ff757
Prevent bypassing command permission with leading whitespace
2024-11-21 08:46:22 -08:00
Danielv123
51657bea44
Extend PageHeader for plugins
...
My plugins used the antd pageheader more than base did. I did not notice that these features dissappeared when we migrated from antd to our own implementation - this brings them back
2024-06-14 19:19:42 +02:00
Danielv123
2dbf264d46
Add bun compatibility
2024-05-24 17:25:29 +01:00
Danielv123
ffc1a0fccd
Add devcontainer configuration file
2024-05-23 11:54:04 +01:00
Danielv123
e3ab71a2e9
Fix broken types
...
Some time between antd 5.15.0 and 5.17.3 they moved around some types, which caused our builds to break. This fixes the issue.
2024-05-21 19:08:15 +01:00
Danielv123
eb78cdc322
Allow declaring custom config input components for objects
...
Input components allow us to customize the config field editing experience in plugins, but due to an oversight this did not include object definitions.
2024-05-18 20:57:46 +01:00
Danielv123
8705377232
Add typebox dependency
2024-05-18 20:57:16 +01:00
Danielv123
692075df1d
Add useInstanceConfig hook
...
Currently the web interface implements configs by pulling the state directly in the components where they are used. I need to access the instance config for a plugin, which would require me to duplicate parts of the instance config retrival code.
Instead, I implement it here under lib. This allows 3rd party consumers to get immediate access if we decide to implement a subscription model for configs in the future.
2024-05-18 20:57:16 +01:00
Daniel
7489a76d4a
Merge pull request #602 from Danielv123/react-to-drag-and-drop
...
React to drag and drop
2024-05-18 17:57:31 +02:00
Danielv123
c6abe29e89
Correctly disable dropzone when host is offline
2024-05-18 10:27:40 +01:00
Danielv123
c8e54cd563
Fix crash loading mutiplayer map in singleplayer
...
Caused by on_player_created not being called when
loading a multiplayer map in singleplayer. For
further discussion see $622 and
https://forums.factorio.com/viewtopic.php?f=7&t=113497
2024-05-18 10:59:19 +02:00
Danielv123
05b697fd24
Prevent dropping files outside of dropzones
2024-05-15 19:43:40 +01:00
Daniel
d7c2e7eed7
Update mod management section of readme ( #618 )
...
* Update mod management section of readme
Resolves #617
* Update section after review
2024-05-15 10:41:24 -06:00
Danielv123
f1fd8247fb
Add factorio version indicator feature to changelog
2024-05-15 10:40:36 +01:00
Danielv123
92912fa9e5
Show configured instance version while not running
2024-05-15 10:33:37 +01:00
Danielv123
e3753f292b
Show current factorio version on instance page
2024-05-15 09:50:39 +01:00
Danielv123
131e45e10a
Skip create integration tests
...
Tests are skipped because they are really slow and fail in CI
2024-05-05 02:24:57 +02:00
Danielv123
b27256421d
Fixed tests
2024-05-05 02:00:16 +02:00
Danielv123
e405f09f33
Add integration tests for create
2024-05-05 01:46:48 +02:00
Danielv123
78a9f73de8
Installer promt for http port
...
Resolves #564
2024-05-05 00:18:36 +02:00
Danielv123
b6113a1007
Merge branch 'master' into react-to-drag-and-drop
2024-05-04 20:49:29 +02:00
Danielv123
c34a13b3e4
Use global drag and drop hint overlay
2024-05-04 20:31:36 +02:00
Danielv123
920b5c1655
Merge branch 'master' into react-to-drag-and-drop
2024-05-04 15:55:33 +02:00
Danielv123
8831b33c01
Filter out missing files on load
2024-04-27 22:09:16 +02:00
Daniel
811c4f7127
Use shell:true when running non-user input .cmd files on windows ( #614 )
...
Required after CVE fix: https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2/
Resolves #612
2024-04-23 22:19:30 +01:00
Danielv123
f0fb471ea1
Correctly handle module files missing from a previously patched save
...
Resolves #611
2024-04-23 21:57:55 +02:00
Danielv123
b7fec4c700
Set codecov to informational
2024-02-27 12:09:15 -06:00
Danielv123
e5d82dcfde
Don't fail CI due to project level codecov regressions
2024-02-26 22:34:41 -06:00
Danielv123
b70feb37f2
Show table overlay when dragging and dropping saves/mods
2024-02-26 22:04:37 -06:00
Danielv123
ebf6536374
Change style of mod upload button on drag and drop
2024-02-26 22:03:47 -06:00
Daniel
a68bb9c0a8
Increase libLink event emitter leak warning limit ( #600 )
2024-02-25 23:50:14 +01:00
Daniel and Hornwitser
735faf4b2c
Apply suggestions from review
...
Co-authored-by: Hornwitser <github@hornwitser.no >
2024-02-14 09:26:13 +01:00
Danielv123
d2775e4db9
Update message section of writing-plugins document
2024-02-14 09:26:13 +01:00
Danielv123
3cddd2b9f8
Export Link component for use by plugins
2024-02-10 16:33:22 +03:00
Danielv123
8879f8dd80
Replaced react Link with custom component
...
The custom component merges the behaviour of antd Typography.Link and the react-router.dom Link after the custom component prop was removed in v6 according to this guide: https://reactrouter.com/en/main/upgrading/v5#remove-link-component-prop
2024-02-09 09:11:53 +03:00
Danielv123
4aca5050b9
Allow sending instance management messages from controller plugins
2024-02-09 07:00:05 +03:00
Danielv123
89919f7a89
Fix inconsistent indentation
2024-02-09 06:49:17 +03:00
Danielv123
e2da9ac03d
Make role tag in users table clickable
...
As per issue #572
2024-02-09 06:30:43 +03:00
Danielv123
bcda88710e
Make host name in instance list clickable
...
As per issue #572
2024-02-08 20:50:14 +03:00
Danielv123
d6b0e88dda
Make host name on instance page clickable
2024-02-08 20:49:33 +03:00
Daniel
4eb4bb9623
Fix slave token modal form validation
2022-10-17 08:23:43 +00:00
Daniel
c8a6b8094e
Merge pull request #452 from Danielv123/slave-guided-setup
...
Added setup guide for slaves from web interface
2022-07-16 16:51:41 +02:00
danielv
7ee9c60e38
Add syntax highlighting to codeblock
2022-07-16 15:59:57 +02:00
danielv
4b0a33174d
Added setup guide for slaves from web interface
2022-07-16 15:59:27 +02:00
danielv
da941a299c
Start all and stop all instance buttons
2021-11-24 21:33:55 +01:00
Danielv123
a3d98595e2
Fix linter errors
2021-11-22 13:28:29 +01:00
Danielv123
6af34dc3a6
Update BaseConfigTree when props.id changes
2021-11-22 13:17:39 +01:00
Danielv123
1cf3e39d72
Avoid savesProvider throwing errors on missing instanceId
2021-11-22 12:44:48 +01:00
Danielv123
b192c82dcc
Export induvidual components from the web interface for plugin use
2021-11-22 10:20:44 +01:00
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
Daniel
8638632600
Merge pull request #425 from Danielv123/fix-invokeHook
...
Add timeout to invokeHook on plugins
2021-11-21 10:03:30 +01:00
danielv
770e6a41d4
Add timeout to invokeHook on plugins
2021-11-20 12:44:46 +01: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
Danielv123
e72ee3ecaf
Added linter to CI action
2021-11-19 17:58:54 +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
Daniel
f72995ec8b
Remove control plugin
2021-08-01 21:54:46 +02:00
Daniel
2ffb848fe6
Replace spaces with tabs
2021-07-29 23:59:37 +02:00
Daniel
e63f1246da
Offer the player a temporary inventory while waiting for master
2021-07-29 23:55:48 +02:00