Hornwitser
7e7e763517
Add changelog for #600
2024-04-27 19:38:21 +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
Hornwitser
79c1a2dc99
Fix plugin hooks called before host removal ( #607 )
...
Due a bad order of operations when a host connection was closed the
event handler listening on "close" to remove the host from the
hostConnections mapping was added after the HostConnection's event
handler listening on "close" and invoking plugin hooks in response to
the host going offline. This in turn causes plugins that send
broadcasts in repsonse to thos hooks to throw an error due to the
broadcast sending code assuming connections that exist are valid target
to send messages to.
Fix by ordering the listener for the removal of the host connection
before the listener invoking plugin events.
2024-03-10 00:43:38 +01:00
Cooldude2606
a8ce8e7cc0
Merge pull request #570 from Cooldude2606/feature/plugin-template
...
Add command to create a new plugin from a template
2024-03-08 23:05:40 +00:00
Cooldude2606
50687515fa
Merge branch 'feature/plugin-template' of https://github.com/Cooldude2606/clusterio into feature/plugin-template
2024-03-08 22:00:55 +00:00
Cooldude2606
6f81216e7c
Addressed remaining review comments
2024-03-08 22:00:38 +00:00
Cooldude2606 and Hornwitser
3423e0a30c
Apply suggestions from code review
...
- Copy paste errors.
- Incorrect capitalisation.
- Incorrect exports.
- Missed find and replace.
Co-authored-by: Hornwitser <github@hornwitser.no >
2024-03-08 20:08:16 +00:00
Cooldude2606
8fbdb5dfab
Merge branch 'master' into feature/plugin-template
2024-03-06 20:12:08 +00:00
Hornwitser
7625fd82e3
Cache ModInfo to reduce startup time ( #606 )
...
Store and use a cache of the loaded ModInfo data to mod-info-cache.json
in the mods directory during startup. For simplicity this does not
cache mods added to the controller or host after startup, these get
added to the cache on the next startup.
2024-03-06 17:30:45 +00:00
Cooldude2606
5dcc66034b
Fix possible undefined title error ( #605 )
2024-03-06 18:11:45 +01:00
Cooldude2606
a66b1af454
Extra touch ups
2024-03-05 00:56:01 +00:00
Cooldude2606
3adfcf0a29
Updated web content permission
2024-02-28 16:36:35 +00:00
Cooldude2606 and Hornwitser
9a4241e4cd
Update flags for output file
...
Co-authored-by: Hornwitser <github@hornwitser.no >
2024-02-28 16:26:53 +00:00
Cooldude2606
8dcb2197d6
Use try catch for output file existing
2024-02-28 15:25:08 +00:00
Cooldude2606
a168f7db5e
Add call to action for config desc
2024-02-27 23:57:13 +00:00
Cooldude2606
283aba70df
Update descriptions
2024-02-27 23:53:20 +00:00
Cooldude2606
62abfa903b
Change to new preprocessor style
2024-02-27 23:07:38 +00:00
Danielv123
b7fec4c700
Set codecov to informational
2024-02-27 12:09:15 -06:00
Cooldude2606
ec19d5456e
Merge branch 'master' into feature/plugin-template
2024-02-27 13:07:08 +00:00
Danielv123
e5d82dcfde
Don't fail CI due to project level codecov regressions
2024-02-26 22:34:41 -06:00
Daniel
a68bb9c0a8
Increase libLink event emitter leak warning limit ( #600 )
2024-02-25 23:50:14 +01:00
Hornwitser
2075814ed1
Add changelog for #598
2024-02-23 18:09:09 +01:00
Hornwitser
f07ee22969
Add changelog for #556
2024-02-23 18:06:02 +01:00
Cooldude2606
a70490648f
Fix total db size calculation for inv sync ( #598 )
2024-02-23 16:53:15 +00:00
Hornwitser
e3abf8ba33
Merge pull request #556 from Cooldude2606/feature/http-logging
...
Add logging for express requests and errors
2024-02-23 17:35:06 +01:00
Cooldude2606
46309ce5b8
Lint Fixes
2024-02-18 17:58:16 +00:00
Cooldude2606
f392b258f7
Add subscriptions and luacheck
2024-02-17 03:11:54 +00:00
Cooldude2606
1afee2ede5
Merge branch 'master' into feature/http-logging
2024-02-14 22:46:19 +00:00
Cooldude2606
0b2fcdcec4
Merged redundant middleware
2024-02-14 22:37:48 +00: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
Hornwitser
b3fc278b2c
Add template to CHANGELOG.md
...
Document the format and expected sections of entries as a template in
the changelog so that it's easier to add new log entries.
2024-02-12 18:21:46 +01:00
Hornwitser
5f85c0575e
v2.0.0-alpha.17
v2.0.0-alpha.17
2024-02-12 17:54:48 +01:00
Hornwitser
cf2b3db20d
Add thank you note to contributors of Alpha 17
2024-02-12 17:53:16 +01:00
Hornwitser
a9c6430531
Document current publishing workflow
...
Docement the adaptations I've made to the publishing procedure which
uses a less dangerous publish command and removes the dist folders
before publishing to avoid accidental upload of stale build files.
2024-02-12 17:53:13 +01:00
Hornwitser
8a580a66be
Add breaking change note for 535e43b
2024-02-12 17:37:27 +01:00
Hornwitser
8ae5e11021
Add changelog for #587
2024-02-12 17:33:13 +01:00
Hornwitser
fac04adc6f
Add known issue about the base mod
2024-02-12 17:29:51 +01:00
Hornwitser
d8f1d8a3e2
Add known issue about Factorio migrations
2024-02-12 17:25:10 +01:00
Hornwitser
abcbf3fddc
Add pagination to saves list ( #592 )
...
Prevent the saves list from pushing the console and config off the
screen by turning on the pagination for it.
2024-02-12 17:24:00 +01:00
Cooldude2606
e5a4d51c86
Merge pull request #590 from Hornwitser/bugfixes-3
...
Bugfixes 3
2024-02-11 23:01:43 +00:00
Hornwitser
97e615fc21
Merge pull request #584 from Hornwitser/build-rework
...
Build rework
2024-02-11 22:14:35 +01:00
Hornwitser and Cooldude2606
e990134b70
Use suggested wording in docs/contributing.md
...
Co-authored-by: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com >
2024-02-11 21:40:32 +01:00
Hornwitser
c2af8a2377
Merge pull request #587 from Danielv123/make-resource-references-clickable
...
Make resource references clickable
2024-02-11 16:58:50 +01:00
Hornwitser
c9609259db
Ignore error loading mod in fetchMod
...
If a bad download or file transfer causes a mod in a host's mod folder
to become corrupt the attempt to load the mod will throw an error that's
not the file not existing. This in turn causes starting the instance to
always fail as the mod is never attempted to be re-downloaded.
Fix by ignoring errors attempting to load mods already present in the
mods folder that aren't in the mod store so that a new download is
attempted after that fails.
2024-02-11 15:48:45 +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