MosswartOverlord/inventory-service
erik f145e6e131 feat: fix inventory service SQL injection, add slot population, and live frontend updates
- Replace f-string SQL interpolation with parameterized ANY(:ids) queries
- Populate slot column from IntValues[231735296] (Decal Slot key)
- Add startup migration to add container_id/slot columns to existing DB
- Extract createInventorySlot() for reuse by initial load and live deltas
- Add updateInventoryLive() handler for WebSocket inventory_delta messages
- Add inventory_delta case to browser WebSocket message dispatcher

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 15:51:20 +00:00
..
enums added inventory, updated DB 2025-06-10 19:21:21 +00:00
complete_enum_database.json added inventory, updated DB 2025-06-10 19:21:21 +00:00
comprehensive_enum_database_v2.json Add client-side spell column sorting and improve inventory search 2026-01-28 15:32:54 +00:00
database.py feat: add single-item upsert/delete endpoints and container/slot columns 2026-02-28 15:43:58 +00:00
Dockerfile added inventory, updated DB 2025-06-10 19:21:21 +00:00
helpers.py Remove unused scripts and add missing modules to inventory-service 2026-01-28 15:47:51 +00:00
main.py feat: fix inventory service SQL injection, add slot population, and live frontend updates 2026-02-28 15:51:20 +00:00
requirements.txt Debug and inventory 2025-06-19 17:46:19 +00:00
suitbuilder.py Add suitbuilder backend improvements and SSE streaming fix 2026-02-05 19:14:07 +00:00