Cooldude2606 and Hornwitser
2235294c59
Refactor user and instance manager ( #837 )
...
* Refactor UserManager to use Datastore
* Rename lib.User to UserDetails also adds to/fromUserDetails
* Fix existing tests
* Add user class tests
* Add tests for finaliseUsers
* Move HostDetails to own file with tests
* Move InstanceDetails to its own file with tests
* Rename HostInfo and add tests
* Rename InstanceInfo and add tests
- Also changes the names of the host properties related to instances
- Also removes the need to specify the location of InstanceInfo
* Make json round trip test validate schema
* Add InstanceManager
* Fix lint errors
* Extra tests
* Add final test coverage
* Add one last test to InstanceManager
* Response to comments
* Use generator rather than return anonumous generator
Co-authored-by: Hornwitser <github@hornwitser.no >
* Fix lint issue with generator
---------
Co-authored-by: Hornwitser <github@hornwitser.no >
2026-03-01 23:04:37 +00:00
Daniel
385affbcaf
Merge pull request #831 from Cooldude2606/feature/automatic-factorio-download
...
Add automatic headless download and update on linux
2026-02-19 21:46:35 +01:00
Daniel
c5c6759868
Merge pull request #832 from Cooldude2606/refactor/move-ensure-role
...
Move ensure default roles onto Role class
2026-02-19 21:45:45 +01:00
Cooldude2606
aeb0c3f5f7
Fix mod dep parser breaking with spaces
2026-02-08 22:56:51 +00:00
Cooldude2606
e9974c0f21
Fix whitespace and test names
2026-02-07 01:34:22 +00:00
Cooldude2606
1228baa9a3
Move ensure default roles onto Role class
2026-02-07 01:27:59 +00:00
Cooldude2606
44abeace88
Add automatic headless download and update
2026-02-05 00:45:53 +00:00
Daniel
22850b7cd0
Merge pull request #815 from Cooldude2606/feature/database-lock
...
Add extra startup warnings to CLI: User count and Lock file
2026-01-25 20:08:36 +01:00
Cooldude2606
bbf5df6d01
Add remaining tests
2026-01-24 17:58:36 +00:00
Cooldude2606
07f501a67a
Add ValueCache and fetchFactorioVersions
2026-01-23 01:50:20 +00:00
Cooldude2606
d48b731ea4
Add lockfile bypass
2026-01-08 22:48:00 +00:00
Cooldude2606
bccb6527a7
Add lock file for configs
2026-01-07 01:20:40 +00:00
Cooldude2606
d52931a326
Better handling of mod dependencies ( #801 )
...
* Add ModDependency and version types
* Add warnings for mod dependencies
* Add warning for wrong factorio version
* Add fix issues button
* Add automatic dependency resolution and download
* Add abilty to check for updates
* Add extra test coverage
* One extra test
* Fix copy paste error
2025-11-07 19:22:17 +00:00
Cooldude2606
3fbd9a995d
Add better plugin index missing error ( #799 )
...
* Add better plugin load errors
* Remove check for permission
* Account for packages using different main file
2025-11-01 16:10:24 +00:00
Daniel
d2bd1382ba
Filtered subscriptions ( #788 )
...
* Add filtered subscriptions
* Add tests for subscription filters
* Stricter assertions
* Un-nest if statements
2025-08-13 11:55:49 +01:00
Danielv123
7e2f10e842
Fix linting issues with new rules
2025-08-01 22:26:25 +00:00
Daniel
02d14bd98d
Merge pull request #778 from Cooldude2606/refactor/test-exec-ctl
...
Refactor execCtl and Ctl to speed up unit testing
2025-07-10 13:09:27 +02:00
Cooldude2606
50d7d28054
Fix expected error messages for assert rejects
2025-07-06 23:17:52 +01:00
Cooldude2606
6b81e6383d
Fix usage of assert.rejects
2025-07-06 22:53:39 +01:00
Cooldude2606
a5bf8d92d9
Separate roles to their own file
2025-06-13 22:24:56 +01:00
Daniel
6e01ba18c5
Merge pull request #765 from Cooldude2606/fix/exchange-strings-v2
...
Impliment decode for map exchange strings v2
2025-05-19 21:17:03 +02:00
Daniel
a39911d667
Merge pull request #764 from Cooldude2606/refactor/config-file-path
...
Refactor config file paths into the config class
2025-05-19 20:52:14 +02:00
Daniel
78d4217a2a
Merge pull request #762 from Cooldude2606/feature/remote-update
...
Add core package updates + plugin listing, updating, and remote install
2025-05-17 23:26:19 +02:00
Cooldude2606
0f8075ad41
Implement v2 map strings
2025-05-16 19:39:43 +01:00
Cooldude2606
e089e2df4c
Improve exchange string tests
2025-05-15 16:46:21 +01:00
Cooldude2606
f285d7d803
Add tests for save and load
2025-05-12 22:00:40 +01:00
Cooldude2606
6989fbdd44
Move defaultAccess to static property
2025-05-12 21:30:47 +01:00
Cooldude2606
5e9beb0cf6
Add tests
2025-05-04 03:35:50 +01:00
Cooldude2606
96c5f33dbe
Add tests for config changes
2025-04-27 23:29:14 +01:00
Cooldude2606
cf9f087cba
Add icons for mis-matched version and restart required
2025-04-27 22:35:00 +01:00
Cooldude2606
a9def876e8
Remove phin without introducing new dependencies ( #755 )
2025-04-15 19:09:25 +01: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
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
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
3850558d49
Add and fix tests
2024-11-13 22:17:27 +00: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