Cooldude2606
90de1ecbf0
Fix bidirectional sync test
2025-05-06 18:05:05 +01:00
Cooldude2606
405af0e173
Add bidirectional whitelist sync
2025-05-06 17:14:27 +01:00
Cooldude2606
a9def876e8
Remove phin without introducing new dependencies ( #755 )
2025-04-15 19:09:25 +01:00
Daniel
fcd3dbb65b
Merge pull request #748 from Cooldude2606/feature/console-log
...
Add config option for console logging
2025-04-13 21:56:40 +02:00
Daniel
f21a3f45bf
Merge pull request #712 from O2theC/auto-mod-update - basic mod portal integration
...
Add mod portal integration and mod downloads to the web interface
2025-04-13 21:52:07 +02:00
Danielv123
1711271ca8
Fix broken test
2025-04-13 21:44:25 +02:00
Danielv123
e841aa5685
Add tests
2025-04-11 23:54:42 +02:00
Cooldude2606
ce85149b4c
Add config cloning on instance creation ( #747 )
...
* Add instance config cloning on creation
* Add test for instance cloning
* Add tooltip to copy config button
2025-04-06 02:00:08 +01:00
Cooldude2606
0055f28f45
Add bulk user actions (Import/Export/Restore) ( #741 )
...
* Add "Bulk Actions" modal to users page
* Add control logic without validation
* Add restore and better permission check
* Add controller logic and automatic backup
* Add CTL commands for bulk actions
* Add tests for bulk actions
* Improve description on permissions
2025-04-06 01:42:51 +01:00
Cooldude2606
60ee4b2c86
Add config option for console logging
2025-03-29 01:41:19 +00:00
Hornwitser
aeac7eedec
zip_ops: Deduce root folder from first zip entry ( #739 )
...
Some mods, for example cubium, includes bogus folders like __MACOSX in
addition to the root folder where everything is located. This only
works by chance as Factorio will check for the folder of the first
entry in the zip file and use that.
Match Factorio's logic in findRoot so that these mods work with
Clusterio.
2025-03-21 23:00:30 +00:00
Daniel
a16dcd315f
Merge pull request #733 from clusterio/feature/subspace-storage-space-age
...
Feature/subspace storage space age
2025-02-25 18:53:36 +01:00
Danielv123
a9e1bdcc65
Test itemDatabase with quality and migrations from pre quality format
2025-02-16 14:44:49 +01:00
Danielv123
19336cdd3b
Remove test dependency on old version of subspace mod
2025-02-16 14:30:47 +01:00
Cooldude2606
8996671bea
Add default mod packs ( #735 )
2025-02-14 14:47:26 +00:00
Danielv123
fbdf206e31
Test: Don't depend on a specific version of clusterio_lib
2025-01-25 17:55:43 +01:00
Cooldude2606
16bc651afc
Add bidirectional sync to admin and ban list ( #709 )
...
* Add bidirectional sync to admin and ban list
* Add tests
* Response to comments
* Skip broken tests from change of default value
2024-12-23 18:58:44 +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
Cooldude2606 and Danielv123
4248e57dcb
Add config migrations ( #693 )
...
Co-authored-by: Danielv123 <danielv@danielv.no >
2024-11-26 23:14:56 +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
Cooldude2606
e4f0ab1e8f
Merge branch 'master' into feature/2.0-scenarios
2024-11-22 13:36:33 +00:00
Cooldude2606
d80385c947
Add test for user merging
2024-11-22 04:06:34 -08:00
Cooldude2606
bdf02a5ea2
Made user ids case insensitive
2024-11-22 04:06:34 -08:00
Cooldude2606
c5841b17a0
Add tests for new config value
2024-11-21 08:46:22 -08:00
Cooldude2606
1556c0afdd
Enable source maps in tests
2024-11-21 08:25:23 -08:00
Cooldude2606
4ef930c08c
Add file excluded by gitignore
2024-11-13 22:29:21 +00:00
Cooldude2606
3850558d49
Add and fix tests
2024-11-13 22:17:27 +00:00
Cooldude2606
ace8356f68
Merge pull request #679 from Cooldude2606/fix/whitelist-remove
...
Fix whitelist remove command with tests. Tests check that set-banned and set-whitelist will send rcon commands to running instances and that it is case insensitive.
2024-11-01 01:29:10 +00:00
Cooldude2606
f6a40baa55
Added tests for banlist/whitelist rcon commands.
...
Tests check that set-banned and set-whitelist will send rcon commands to running instances and that it is case insensitive.
2024-10-31 16:02:12 +00:00
Cooldude2606
ef6861a566
Fixed host tests not checking the message was valid
2024-10-29 00:59:17 +00:00
Hornwitser
60e5ed008d
Fix unhandled promise rejection in Link tests
2024-10-28 20:15:33 +01:00
Hornwitser
34da073800
Fix setting instance config fields not being saved
...
If only the config of an instance is updated the dirty flag of the
instance is not set, which results in changes being discarded when the
controller shuts down afterwards.
Fix by always triggering the update logic when an instance field is
changed.
2024-10-28 19:30:03 +01:00
Cooldude2606
8a47fd8414
Update tests
2024-09-21 18:09:29 +01:00
Hornwitser
eedf5b8f67
Credential option for config entries
...
Implement a credential option to config entries which is a list of
locations the config entry can be read from. When specified and the
option is a string field this gets rendered as a password field in the
config UI. If the credential is not readable from control the value of
the fields is cleared when the UI is refreshed.
2024-09-16 23:23:21 +02:00
Cooldude2606
77fea7e295
Fix unrelibable datastore tests ( #662 )
...
* Use incrementDateMs
* Change wait time to 15ms
* Fix loop condition
2024-09-14 17:20:52 +01:00
Hornwitser
a1c7173dd2
Merge pull request #661 from Hornwitser/windows-rework
...
Rework Factorio server stop logic
2024-09-14 18:15:19 +02:00
Cooldude2606
dfc406d025
Host shutdown on duplicate connection ( #647 )
...
* Update no-shadow lint rule for enums
https://typescript-eslint.io/rules/no-shadow/
* Add websocket close codes enum
* Pass close code and reason to event handlers
* Shutdown host on duplicate connection
* Add connection refusal
* Fix lib/link tests
* Response to comments
* Additional Tests
* Removed missed codes in close event
2024-09-14 16:39:59 +01:00
Hornwitser
10a857c4ad
Gracefully handle RCON connection dropping
...
Handle the edge cases of RCON authentication failing and RCON connection
failing during startup so that server stop still works in these cases.
2024-09-14 16:09:17 +02:00
Hornwitser
e4aeafaf14
Set a map limit to speed up integration test
2024-09-14 15:05:13 +02:00
Hornwitser
7ff06f2b96
Rewrite Factorio server shutdown logic
...
Rewrite shutdown logic for Factorio servers to send a /quit command via
RCON for both Linux and Windows when stopping a server to avoid having
two confusingly intermixed code paths for Windows and Unix systems.
This makes shutdown on Windows tell clients the server shut down instead
of abruptly stoping to respond.
2024-09-14 15:05:13 +02:00
Hornwitser
36fc2ac1db
Support nested factorio dirs in server test
...
Source the factorio directory from the host config as with other tests
and handle it pointing to a folder of Factorio installations.
2024-09-14 15:05:13 +02:00
Hornwitser
64cc9c2b64
Use factorioDir for alt-host config
...
Source the factorio installation from the host config for the alt host
test like with other tests.
2024-09-14 14:58:55 +02:00
Hornwitser
8e21290b22
Enable skipped tests on Windows
...
Use the stop host command to stop alt-host so that the tests that depend
on it can also be run on Windows.
2024-09-12 15:26:12 +02:00
Hornwitser
a2ea2f2604
Merge branch 'master' into feature/datastore
2024-09-04 00:08:52 +02:00
Hornwitser
5d97e8e816
Source factorio dir from config-host.json in tests
...
If a factorio dir is configured in config-host.json then use that in the
tests. This removes the requirement of having a factorio installation
in ./factorio or linking to one there when running the tests.
2024-09-03 21:58:45 +02:00
Hornwitser
f3150a9261
Add tests for Address.addressedTo
...
Make sure the confusing logic in addressedTo is working correctly by
adding tests for it.
2024-09-03 21:58:45 +02:00