Commit Graph

21 Commits

Author SHA1 Message Date
Leon.Schmidt 5b5e9fe914 FIX - allow movement outside phone text fields (#14) 2026-08-20 15:47:39 +02:00
DerEchteAlec 3eae2b8d30 ADD - check GitHub releases on startup (#10)
Compare the fxmanifest version against the latest published sky_phone release tag and report update, current, ahead, and failure states without blocking resource startup.

Document the startup check and cover the HTTP and version comparison behavior with a focused Lua test.
2026-08-19 20:57:02 +02:00
Leon.Schmidt dcf7b47113 FIX - Add detailed custom-app debug logging
Enable verbose tracing for custom apps and wire diagnostics through the stack. Sets Config.CustomApps.Debug = true, adds a debug_custom_app logger exposed as SkyPhoneApps.Debug, and instruments client and shared compatibility code (registration, normalization, provider exports, catalog sync, lifecycle hooks, resource stop, and app add/update/remove) with structured debug messages. Frontend sends a debug flag with the catalog and will call back to NUI (custom-app:catalog-debug) when debug is enabled. Tests updated to enable debug and assert fixBlur preservation and NUI catalog ACK handling. This provides detailed traces for exports, registration, catalog sync and lifecycle events.
2026-08-19 01:27:38 +02:00
Leon.Schmidt cc1a8ae151 ENH - detect payphones and spawn custom locations
Remove the static vanilla payphone coordinate list so configured prop models are detected directly in the streamed world. Add vector4-based custom locations that spawn the selected custom prop, and validate detected booth models and player proximity server-side.
2026-08-17 23:14:33 +02:00
Leon.Schmidt fbb304c23c FIX - block all phone input groups
Disable control groups 0, 1, and 2 while the phone cursor owns focus so movement, combat, camera, and mapped actions such as hands-up cannot leak through. Update the focus contract test to verify every group.
2026-08-16 18:17:12 +02:00
Leon.Schmidt 0a43a96744 Camera: front-camera transform and focus changes
Compute a more accurate front (selfie) camera transform and adjust front-camera params (FOV, distance, height). Replace apply_rear_camera_view with a unified apply_camera_view that selects the correct view_mode for ped/vehicle. Add block-look support to SkyPhoneFocus (Resolve now returns block_look) and make ApplyGameInputControls accept a block_look flag; main.lua tracks phone_block_look and passes it when disabling controls. Update related tests to reflect new camera math and input behavior.
2026-08-16 17:16:01 +02:00
Leon.Schmidt 1071b4bde7 feat: unify phone apps with Sky UI 2026-08-16 15:23:21 +02:00
Leon.Schmidt b6679a5a7d FIX - stabilize camera movement and selfie view 2026-08-16 00:49:24 +02:00
Leon.Schmidt 9afafe4a27 ENH - allow movement while phone is open
Add Config.Phone.AllowMovement and route it through the central focus resolver. Keep camera and attention overlays authoritative over movement input, document the setting, and cover the focus-state combinations.
2026-08-15 22:17:41 +02:00
Leon.Schmidt 25c8adb737 FIX - support configurable company service numbers
Company service lines were validated as full-length SIM numbers, which rejected short configured numbers such as 911 and stopped dependent server modules from initializing.

Accept non-empty service numbers up to the configured SIM length, resolve configured service lines before direct SIM dialing for phone and payphone calls, and load Companies and SIM before Phone. Add focused normalization boundary tests.
2026-08-14 21:24:35 +02:00
Dominik 64a6e58577 Add SendNotification export for LB compatibility
Implement SendNotification compatibility for lb-phone: validate app IDs, normalize and validate title/content, check provider/registered apps and reserved IDs, and dispatch a notification NUI message. Register the export and a compatibility alias. Update client tests to assert successful delivery to bundled apps and proper rejection for unknown app IDs.
2026-08-13 03:14:50 +02:00
DerEchteAlec c3b7a0871a FIX - harden phone lifecycle and server authority 2026-08-12 18:59:05 +02:00
Leon.Schmidt 01e583805d FIX - accept custom app registration retries 2026-08-11 22:54:03 +02:00
Leon.Schmidt dc401e2b87 FIX - provide LB custom app browser bridge 2026-08-11 20:31:01 +02:00
Leon.Schmidt 4be632759b FIX - isolate custom app JSON payload 2026-08-11 19:00:51 +02:00
Leon.Schmidt c95775fb2c FIX - defer custom app lifecycle hooks 2026-08-11 18:39:11 +02:00
Leon.Schmidt 2a87432e50 FIX - support third-party custom apps 2026-08-11 18:26:22 +02:00
Leon.Schmidt 42ac955052 ADD - expand phone application platform
Add the Companies app, resilient call handling, custom app registry, vendor compatibility, storage policies, frontend bridge, tests, documentation, config, locale, and SQL migrations.
2026-08-11 00:22:39 +02:00
Eichenholz 13ddeb893b ADD - calls app and sim cards 2026-08-05 17:43:42 +02:00
Eichenholz 9613a7ad1b TEST - cover IMEI collision retries 2026-08-04 18:37:26 +02:00
Eichenholz 46e6c6cc25 ADD - introduce unique phone devices 2026-08-04 18:35:57 +02:00