Danielv123
5ddf3fe34f
fix(minimap): restore nested previous_recipe name access
...
Furnace previous_recipe ids are nested under prev.name.name in this context. Restore the original access path and leave an inline maintainer note to prevent repeat regressions.
2026-02-21 19:49:59 +01:00
Danielv123
17480aafff
fix(minimap): clarify dual filter API pattern in data source
...
Dual filter API methods (setInstanceSurfaceFilters and setInstanceSurfaceFilter) both exist for backward compatibility with different plugin implementations. Added comment explaining why both are checked in fallback pattern.
2026-02-21 17:16:06 +01:00
Danielv123
387a9425ce
refactor(minimap): deduplicate tile parsing and parallelize file cleanup
2026-02-21 17:11:33 +01:00
Danielv123
550ea22724
fix(minimap): improve error handling and performance in tile parsing
...
- Add warning logging in renderChunkToPixels catch block before fallback
- Switch maxTick filtering from skip/continue to early break (append-only optimization)
- Use existsSync for directory existence check in loadExistingTagContent
2026-02-21 17:02:50 +01:00
Danielv123
9375c462af
fix(minimap): use existing player_position channel for join start event
...
Replace unsupported minimap:player_session_start IPC with existing minimap:player_position channel to emit immediate session start on join.
2026-02-21 16:49:03 +01:00
Danielv123
e28b4121e3
fix(minimap): use physical position and emit session start on join
...
- Use player.physical_surface/physical_position for accurate tracking when in vehicles/remotes
- Emit session start record immediately on on_player_joined_game
- Make storage.minimap initialization consistent (init() ensures all fields exist)
2026-02-21 16:46:32 +01:00
Danielv123
a1e8d009ff
fix(minimap): restore chart tag interval semantics after task 3
...
Task 3 inadvertently changed chart tag data schema from start_tick/end_tick
interval model to single tick field. This restores the original interval
semantics for chart tags while preserving legitimate Task 3 fixes.
Reverted:
- create_chart_tag_data(tick) -> create_tag_data(start_tick, end_tick)
- Single-emission in on_chart_tag_modified -> dual-emission (end old, start new)
- All chart tag event handlers use interval model again
Preserved from Task 3:
- prev.name.name fix (both locations)
- Hot-loop local aliases (math_floor, bit32_rshift, table_insert)
- IIFE removal for recipe icon lookup
- Recipe data single tick field (within Task 3 scope)
2026-02-21 16:43:31 +01:00
Danielv123
7c6dd1ff66
fix(minimap): fix prev.name bug and lua code quality improvements
...
- Fix prev.name.name bug: previous_recipe.name is RecipeID, not nested
- Add hot-loop local references (math_floor, bit32_rshift, table_insert)
- Remove IIFE pattern for icon lookup, use inline logic
- Rename create_tag_data to create_chart_tag_data for consistency
- Use recipe nilness + single tick field instead of start_tick/end_tick split
2026-02-21 16:40:31 +01:00
Danielv123
bb74b615a7
refactor(minimap): tighten typed parse helper returns for player records
2026-02-21 16:34:40 +01:00
Danielv123
c3136532b8
refactor(minimap): use discriminated union for PlayerPositionRecord and extract readSignedInt24
2026-02-21 16:31:20 +01:00
Danielv123
245ceb14fa
security(minimap): fix path traversal in controller file loading
2026-02-21 16:25:11 +01:00
Danielv123
5ff7d7ee42
minimap: fix debounced zoom cleanup
2026-02-09 19:19:48 +01:00
Danielv123
35575a93a3
minimap: remove redundant instance RCON init
2026-02-09 19:13:24 +01:00
Danielv123
57b50048bc
minimap: address small review feedback
2026-02-09 18:54:55 +01:00
Danielv123
923316b44d
Order player session records by receive time
2026-02-05 22:45:20 +01:00
Danielv123
81fcea8398
Revert keyToLabels label parsing
2026-02-05 22:38:17 +01:00
Danielv123
3f8ef85987
Harden minimap tile storage paths
2026-02-05 22:38:13 +01:00
Danielv123
78fc90d7a0
Align minimap plugin package metadata
2026-02-05 22:37:56 +01:00
Danielv123
ebbc14ba71
Use type-only import for InputPartialVersion props
2026-02-05 22:37:56 +01:00
Danielv123
3be1d637c8
Validate tile paths
2026-02-05 21:55:05 +01:00
Danielv123
3d9c682d7c
Fix surfaces with underscore in the name
2026-02-03 21:51:53 +01:00
Danielv123
b0fd90d273
Extend minimap components to allow external use
2026-01-29 23:18:26 +01:00
Danielv123
73ab8fc4f3
Player session end tracking
2026-01-29 21:51:19 +01:00
Danielv123
2eedddf17f
Don't break version selector
2026-01-28 09:06:52 +01:00
Danielv123
9061d2aa92
Stable label creation, forgot imports of messages
2026-01-28 00:15:41 +01:00
Danielv123
3932ac2cae
Merge branch 'plugin-minimap' of https://github.com/clusterio/clusterio into plugin-minimap
2026-01-28 00:08:10 +01:00
Danielv123
107201e6e5
Add antd icons to minimap
2026-01-28 00:07:42 +01:00
Danielv123
a7ab63ba3c
Add antd icons to minimap
2026-01-28 00:02:50 +01:00
Danielv123
ec0c068d44
Add button to delete minimap data
2026-01-27 23:49:25 +01:00
Danielv123
264a32431e
Fix react errors in factorio version selector
2026-01-27 23:12:15 +01:00
Danielv123
01f6397983
Fix circular imort breaking web UI
2026-01-27 20:37:01 +01:00
Danielv123
979d961618
Merge remote-tracking branch 'origin/master' into plugin-minimap
2026-01-27 17:45:23 +01:00
Daniel
6489fa4048
Merge pull request #823 from Cooldude2606/fix/update-plugin-ts-config
...
Updates package jsons and tsconfigs to have catalogs and correct peer deps
2026-01-25 20:10:14 +01: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
Daniel
f65c8fb9a0
Merge pull request #816 from Cooldude2606/fix/download-headless
...
Fix headless download
2026-01-25 20:08:18 +01:00
Daniel
3232da71e2
Merge pull request #817 from Cooldude2606/fix/disable-achivement
...
Fix achievements not being disabled when save patching disabled
2026-01-25 20:08:05 +01:00
Daniel
c9fc4f1c8f
Merge pull request #821 from Cooldude2606/feature/version-selector
...
Add drop down version selector based on Wube version archive
2026-01-25 20:07:38 +01:00
Daniel
4caf06aafc
Merge pull request #819 from Cooldude2606/feature/login-screen-name
...
Display cluster name on login screen
2026-01-22 15:45:00 +01:00
Daniel
a781af5b6a
Merge pull request #811 from clusterio/copilot/fix-add-mods-button-visibility
...
Fix button overflow on narrow screens across web interface
2025-11-22 23:21:55 +01:00
Daniel
af299bc08d
Merge pull request #800 from Cooldude2606/fix/template-ignore
...
Fix plugin template npm and git ignore
2025-10-30 13:54:29 +01: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
Daniel
c0ec9a3890
Send inventory on interval instead of event to ensure time gets updated ( #790 )
...
This means inventory updates in low-volume clusters might be delayed up to 1 second more, but ensures we always have the unix time signal available, even in clusters that don't have anything in the inventory yet. Resolves #610
2025-08-10 22:25:32 +01:00
Daniel
4221b96431
Fix rendered more hooks error when refreshing hosts page ( #789 )
...
* Fix rendered more hooks error when refreshing hosts page
* Fix conditional render on controllerPage
Doesn't cause any issues that I know off right now, but changes to antd internal code could change that so it feels better to be sure.
2025-08-10 22:17:14 +01:00
Daniel
3ddbe2ddb3
Merge pull request #787 from Cooldude2606/fix/plugin-template
...
Plugin templates no longer depend on a dev install of Clusterio
2025-08-10 21:20:24 +02:00
Danielv123
38d5fdfdba
Use filtered subscriptions to save data
2025-08-10 00:28:48 +02:00
Danielv123
ea144863f9
Fix incorrect type in player path request response
2025-08-10 00:28:48 +02:00
Danielv123
48437a5f6c
Use SubscriptionController
2025-08-10 00:28:48 +02:00
Danielv123
70ef8a60ad
Fix lint, use of sync method in web UI
2025-08-10 00:28:48 +02:00
Danielv123
c4d4cb3afd
Remove unused filter
2025-08-10 00:28:48 +02:00
Danielv123
093b71045b
Move player position parsing to shared util, fix player ID persistence
2025-08-10 00:28:48 +02:00
Danielv123
a36e7bddca
Fix player ID assignments
2025-08-10 00:28:48 +02:00
Danielv123
3737659cc3
Remove extraneous logging
2025-08-10 00:28:48 +02:00
Danielv123
5ba6056848
Don't load Lua in 1.1
2025-08-10 00:28:48 +02:00
Danielv123
89b6d5aa13
Attempt to fix tests
2025-08-10 00:28:48 +02:00
Danielv123
630a0d3898
Clean up UI, fix focus issues
2025-08-10 00:28:48 +02:00
Danielv123
047d3c22f5
Add player position tracking
2025-08-10 00:28:48 +02:00
Danielv123
57f89de746
Fix pixel parsing offset error
2025-08-10 00:28:48 +02:00
Danielv123
14f69cda11
Fix pixel change record bounds check
...
From cursor review: Insufficient bounds checking
for pixel change records (type 2) in renderTileToPixels,
extractAvailableTicks, and parseTileData. The code
checks for 6 bytes of header data but reads 10 bytes
(tick, pixelCount, newColor, oldColor), potentially
leading to reading out of bounds. The check should
be offset + 10 > tileData.length.
2025-08-10 00:28:48 +02:00
Danielv123
2bce506d96
Lint and refactor
2025-08-10 00:28:48 +02:00
Danielv123
ae7a1744ad
Further compress tile pixel delta data
...
7 bytes header + 6 bytes per pixel -> 11 byte header + 2 bytes per pixel
2025-08-10 00:28:48 +02:00
Danielv123
ab8321ff4b
Document tile data storage
2025-08-10 00:28:48 +02:00
Danielv123
c5c26bfad1
Use binary storage for recipe overlay for 8x space reduction
2025-08-10 00:28:48 +02:00
Danielv123
1c06611cca
Timeline support for recipe overlay
2025-08-10 00:28:48 +02:00
Danielv123
7db716eceb
Fix recipe data deduplication
2025-08-10 00:28:48 +02:00
Danielv123
3b7fd164af
Implement recipe overlay
2025-08-10 00:28:48 +02:00
Danielv123
cf2efb1380
Fix deleting and modifying tags, tags on timeline
2025-08-10 00:28:48 +02:00
Danielv123
fc466ec799
Add chart tag support
...
Also fixes react state management issues, moving a few things over to useRef and showing all instances instead of using a custom solution
2025-08-10 00:28:48 +02:00
Danielv123
f5aeaff256
Optimize canvas to render independent of react
2025-08-10 00:28:48 +02:00
Danielv123
6ce4d0d20b
F and G as timeline navigation shortcuts
2025-08-10 00:28:48 +02:00
Danielv123
0785798b7d
Incremental rendering of timeline scrubbing
2025-08-10 00:28:48 +02:00
Danielv123
9dc5f8ff37
Working timelapse rendering functionality
2025-08-10 00:28:48 +02:00
Danielv123
be21f22707
Add timeline selection components and track tick on changes
2025-08-10 00:28:48 +02:00
Danielv123
0d294479b3
Use same parsing utilities on backend and frontend
2025-08-10 00:28:48 +02:00
Danielv123
626188dd16
Calculate and store deltas for changes
2025-08-10 00:28:48 +02:00
Danielv123
a516b6b129
Implement new tile storage format with tentative timelapse support
2025-08-10 00:28:48 +02:00
Danielv123
2dcc92c96b
Document new data flow and tile storage format
2025-08-10 00:28:48 +02:00
Danielv123
015fd2c30b
Add readme
2025-08-10 00:28:48 +02:00
Danielv123
3f06bd0993
Smooth keyboard movement
2025-08-10 00:28:48 +02:00
Danielv123
cfc1b7687e
Allow click and drag to pan
2025-08-10 00:28:48 +02:00
Danielv123
285254e3bc
Fix issues with black seams from incorrect scaling math
2025-08-10 00:28:48 +02:00
Danielv123
b70c7bd84f
Fix negative coordinates when drawing updated chunks
2025-08-10 00:28:48 +02:00
Danielv123
3bf7a84de4
Switch to custom canvas based map renderer
2025-08-10 00:28:48 +02:00
Danielv123
063e622721
Render map tiles as pixelated
2025-08-10 00:28:48 +02:00
Danielv123
5b9f650946
Use encode_string and support multiple instances
2025-08-10 00:28:48 +02:00
Danielv123
c62eae0009
Improve webUI loading speed with 512x512 tiles, still corrupted looking
2025-08-10 00:28:48 +02:00
Danielv123
e9a4627118
Cleanup, web interface now shows images (but corrupted)
2025-08-10 00:28:48 +02:00
Danielv123
6cbd3229f6
Use new chunk charting API
2025-08-10 00:28:48 +02:00
Danielv123
f7658e1118
Create minimap core plugin based on gridworld plugin
2025-08-10 00:28:48 +02:00
Danielv123
f31fb535df
Add tests for subscription filters
2025-08-09 23:57:13 +02:00
Danielv123
75b2dac371
Add filtered subscriptions
2025-08-09 23:44:01 +02:00
Daniel
6004f861fe
Merge pull request #783 from clusterio/cursor/configure-master-listen-address-53c7
...
Exclude instance from "start all" function
2025-08-04 20:50:47 +02:00
Danielv123
174c798d4b
Run integration test instead of unit test
2025-08-04 18:46:13 +00:00
Danielv123
14b8b5ac61
ctl instance stop-all test
2025-08-04 18:28:25 +00:00
Danielv123
89dec572bb
Add test for ctl instance start-all
2025-08-04 18:10:48 +00:00
Danielv123
f662880c8d
Fix zlib update breaking our types
2025-08-04 17:36:18 +00:00
Danielv123
90cd2770b3
Add start-all command to cli
2025-08-04 17:36:18 +00:00
Daniel
e1d9c1e414
Merge pull request #785 from clusterio/dependency-updates
...
Update dependencies
2025-08-04 19:03:49 +02:00
Danielv123
376eaeba52
Revert save writing delay during tests
2025-08-04 16:28:35 +00:00
Danielv123
80983662aa
Wait for promise to resolve before returning
2025-08-04 16:14:07 +00:00
Danielv123
9840f22688
Wait for savefile to be moved
2025-08-04 15:36:27 +00:00