Commit Graph

387 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
Dominik 734f4651cb ADD - add housing provider bridges (#6)
Co-authored-by: DerEchteAlec <alec.schitzkat@luwan.io>
2026-08-19 20:11:36 +02:00
DerEchteAlec 98373e8bd8 FIX - await setup persistence before completion (#9) 2026-08-19 20:08:33 +02:00
DerEchteAlec 64a7bc78c6 FIX - Improve test data idempotency and reliability (#7)
Refactor test data seeding to use deterministic identifiers for DarkChat and Flare, ensuring re-runs don't create duplicate entries or inconsistent states. Implement robust SIM card movement logic and add contract tests to verify seeding constraints and default configuration safety.
2026-08-19 19:41:54 +02:00
Leon.Schmidt 7985ca08d9 ADD - integrate Yaca voice support (#5) 2026-08-19 17:04:23 +02:00
Leon.Schmidt 5735450c06 DOC: Tidy README headings and copy
Small documentation edits in README.md and sky_phone/README.md: update image alt text to "Sky Phone, the free FiveM phone script", change title punctuation from an em dash to a colon ("Sky Phone: Free FiveM Phone Script"), and adjust a sentence comma/em-dash usage for clarity. No functional changes.
2026-08-19 12:44:03 +02:00
Leon.Schmidt c3f42410a1 Use local live-demo SVG in READMEs
Add readme-assets/live-demo-button.svg and update README.md and sky_phone/README.md to reference the local SVG instead of the external shields.io badge. Replaces the remote badge with a bespoke SVG (larger, styled) and updates image paths/attributes for consistent appearance and offline reliability.
2026-08-19 12:37:11 +02:00
Leon.Schmidt 4df7f03901 Increase demo badge height in READMEs
Bump the 'TRY_THE_LIVE_DEMO' badge height from 76 to 156 in README.md and sky_phone/README.md to improve visibility of the live demo link in repo and package views. No functional changes; purely presentational.
2026-08-19 12:34:16 +02:00
Leon.Schmidt 171e4e50ba Refresh README badges and docs
This commit updates the live demo badge sizing in both README files and removes the outdated 'Updating Sky Phone' guidance from the published documentation. The goal is to keep the docs aligned with the current branding and avoid directing users through obsolete upgrade steps.
2026-08-19 12:32:44 +02:00
Leon.Schmidt b4efa28b3c Add live demo badge and link to READMEs
Insert an interactive "Try the live demo" badge and a short call-to-action into README.md and sky_phone/README.md, and add a "Live demo" link to the header links. Also remove an outdated sentence about maintaining separate ESX/QBCore/Qbox phone versions from the top-level README.
2026-08-19 12:30:16 +02:00
Leon.Schmidt 0c52eb14e9 DOC - Enhance README with features and branding
Restructure root and resource READMEs with professional header, badges, and visual hierarchy. Expand feature documentation organized by category (communication, social, business, media, games, system). Add hex_4_inventory and native ESX inventory support with adapter notes. Enhance custom app section explaining native API and compatibility. Update LB Phone migration docs with Flare support. Add Support and Community section with Discord link. Explicitly license under GPL-3.0.
2026-08-19 12:16:12 +02:00
smx.pusha 3f91fd3ab7 ENH - add authentic App Store previews 2026-08-19 09:12:13 +02:00
Leon.Schmidt ba37777435 fix LB Phone migration and German locale 2026-08-19 08:18:20 +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 8843b2763f FIX - load memos/notes before phone; guard darkchat
Add a contract test to ensure bootstrap data providers (memos/notes) are initialized before phone startup. Reorder fxmanifest.lua so source/server/memos.lua and source/server/notes.lua load prior to phone.lua. Fix lb_phone_migration.lua dark chat migration to avoid indexing missing usernames by only resolving profiles when a channel has exactly two members, preventing nil lookups and incorrect comparisons.
2026-08-19 01:18:13 +02:00
Leon.Schmidt c37c2a7628 FIX - validate migration channel participants
Resolve DarkChat participant profiles only after confirming that a source channel contains exactly two members. This lets incomplete and group channels be counted as unsupported while the remaining LB Phone migration domains continue without a nil-index failure.
2026-08-19 01:18:13 +02:00
Leon.Schmidt 08a56ebb56 Move README into resource folder
Relocates the project README from the repository root into the sky_phone resource directory so it sits alongside the resource files and matches the project layout.
2026-08-18 20:20:19 +02:00
Leon.Schmidt df6b06c6db FIX - support HEX inventory compatibility
Auto-detect hex_4_inventory and add a count-based ESX adapter for non-unique, virtual-SIM phone configurations. Expose the LB Phone IsOpen alias required by HEX and document/test the supported configuration boundaries.
2026-08-18 20:06:50 +02:00
Leon.Schmidt 4984fbc609 FIX - quote reserved locale return keys
Quote the VaultX portfolio return key in the English and German locale tables. This preserves the existing locale lookup while allowing Lua to parse both files successfully.
2026-08-18 17:54:39 +02:00
smx.pusha 550b9a3437 ENH - refine VaultX account experience
Simplify the VaultX login and registration flow around the linked Sky Cloud identity, enlarge the authentication controls, and use the application logo. Add a confirmed sign-out dialog with localized copy and update the VaultX contracts.
2026-08-18 16:58:25 +02:00
Leon.Schmidt 514f4a3981 ENH - connect CityWarn live notifications
Bridge CityWarn bootstrap, publish, update, and resolve callbacks through the phone client. Apply server broadcasts to the active store and surface eligible alerts as localized phone notifications with deep links.
2026-08-18 15:36:35 +02:00
Leon.Schmidt 742b2d2a0d ADD - build localized CityWarn experience
Add the Pinia domain, citizen feed, map, archive, settings, alert detail, and authorized publishing workflows. Ship complete German and English locale trees with a browser-safe fallback and contract coverage for every CityWarn label.
2026-08-18 15:36:17 +02:00
Leon.Schmidt 1a2189ceb8 ADD - implement authoritative CityWarn service
Add server-owned warning persistence, immutable update history, publishing limits, and CityWarn callbacks. Enforce framework job, grade, duty, category, severity, session, and rate-limit checks before every state change.
2026-08-18 15:36:08 +02:00
smx.pusha 481f7e5be7 ADD - merge VaultX crypto app into dev
Integrate the complete VaultX application, including account flows, server-authoritative trading, live market cycles, wallet transfers, profile management, and the refined mobile interface.
2026-08-18 13:57:19 +02:00
smx.pusha f657d1f63b ENH - add slow VaultX market cycles
Drive server-authoritative prices through alternating global and per-market trend phases with eased transitions, reduced noise, momentum, mean reversion, and rare bounded shocks. Mirror the cycle model in browser mocks and slow development preview ticks so charts show readable highs and downs.
2026-08-18 12:49:35 +02:00
smx.pusha 3b66b13e43 ENH - stream live VaultX market movement
Run smaller server-authoritative market ticks every few seconds, update portfolio and chart values from batched prices, and mirror the live feed in the browser test server.
2026-08-18 12:23:56 +02:00
smx.pusha efa1ae523c FIX - contain VaultX quick actions
Complete the VaultX frontend fallback locale for auth, transfers, profile keys, and activity labels so browser previews never render raw translation paths. Shorten and constrain the send quick action so all four cards remain equal-width on the phone surface.
2026-08-18 12:12:35 +02:00
smx.pusha 4ac00f944b ENH - share VaultX receiving keys
Add explicit Copy and Share actions to the profile key card. Use the CEF-compatible clipboard helper for reliable copying and route sharing through the phone-owned EasyShare flow with localized payload text.
2026-08-18 12:05:58 +02:00
smx.pusha 8b8c88f029 ADD - enable secure VaultX crypto transfers
Give every VaultX profile a unique public receiving key and migrate existing profiles safely. Add server-authoritative, password-confirmed, idempotent crypto-only transfers with atomic balance and ledger updates, recipient refresh events, detailed auth flows, profile key display, localized transfer UI, and browser mock coverage.
2026-08-18 12:01:40 +02:00
smx.pusha 604d2b4084 ENH - simulate live crypto markets
Drive market prices from randomized server intervals with per-market momentum, global trend, mean reversion, bounded shocks, and retained history. Stream authoritative market updates into live holdings, portfolio valuations, and real detail charts while invalidating stale quotes.
2026-08-18 11:41:56 +02:00
smx.pusha 88767dc844 ENH - refine VaultX trading flow
Pin Buy and Sell actions to the crypto detail footer, rebuild the trade sheet around protected quote review, and invalidate stale quotes after side or quantity changes. Add localized trading labels without config or SQL migrations.
2026-08-18 11:01:36 +02:00
smx.pusha 69d55cc9da ENH - rebuild VaultX profile management
Move profile identity edits into a secure sheet, add header sign out, persist preferences immediately, and support authenticated password rotation with the existing scrypt provider.
2026-08-18 10:49:36 +02:00
Type 66daf04583 ENH - merge weather app into dev
Integrates the weather-app interface refinements while preserving the newer dev Dynamic Island and cross-platform contract tests. Adds the matching German Notes deletion confirmation strings required by the merged locale contract.
2026-08-18 10:08:59 +02:00
smx.pusha bbca5590d4 ENH - add portfolio performance forecast
Replace the decorative market sparkline with a holdings-weighted profit and loss chart. Anchor the solid history and dashed forecast to the same current-position point and localize the new labels.
2026-08-18 10:08:25 +02:00
smx.pusha 386a8d50eb ADD - expand VaultX fictional markets
Add 24 server-defined markets with unique symbols and broad price and supply ranges. Update the market DTO, UI, browser mocks, and contract coverage.
2026-08-18 09:32:02 +02:00
smx.pusha dcf2b418ff ENH - redesign VaultX as premium exchange
Rebuild the portfolio, market, activity, asset-detail, and profile surfaces with a denser premium hierarchy and richer data visualization. Remove manual refresh controls, retain server-authoritative financial flows, and add localized allocation copy plus regression coverage.
2026-08-18 09:20:43 +02:00
smx.pusha 1cf08cbc6b ENH - expand VaultX trading experience 2026-08-18 09:11:24 +02:00
smx.pusha 7e2bd38599 ADD - implement secure VaultX exchange
Add the VaultX phone UI, stateful browser mocks, localized copy, and generated WebP icon. Implement character-bound authentication, fixed-point balances, finite treasury markets, idempotent quote execution, settlement reconciliation, Scrypt credentials, SQL schema, limits, audit records, and contract tests.
2026-08-18 08:47:05 +02:00
smx.pusha 77c1790f8b ENH - add CityMarkt password authentication
Authenticate CityMarkt profiles with the linked iFruit account password, including server-side validation and rate limiting. Update the shared auth UI, localized copy, frontend state, browser mocks, and regression coverage for login and registration flows.
2026-08-18 07:31:55 +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 fc3f5b1da2 feat(locales): complete German phone locale 2026-08-17 21:17:15 +02:00
Leon.Schmidt e5a1c2bf40 ADD - open unique phones by item and hotkey
Register a configurable F1 phone toggle through a server-authoritative open request and retain the selected unique handset by IMEI. Verify usable-item support for every inventory adapter, fail visibly on registration errors, and document the behavior.
2026-08-17 15:57:56 +02:00
Leon.Schmidt e58f1b6c18 FIX - complete phone locale fallback
Resolve configured and regional locales through a centralized English fallback for Lua and NUI consumers. Complete the German and English app translation keys, localize remaining picker and attachment copy, and add contract tests that detect missing locale entries.
2026-08-17 15:01:57 +02:00
Type da5ea04552 ENH - merge latest dev into weather app
Integrates the current dev branch while preserving the weather-app Dynamic Island alongside the new hardware volume HUD and homescreen editing state. Makes the new Companies contract tests line-ending agnostic so the merged suite passes on Windows checkouts.
2026-08-17 11:38:13 +02:00
smx.pusha 05444c84ec ENH - refine CrewLink layouts and authentication 2026-08-17 09:46:33 +02:00
DerEchteAlec 6a8be4d679 FIX - harden server startup diagnostics 2026-08-17 05:16:10 +02:00
DerEchteAlec d121370159 ENH - expand Settings controls and wallpaper imports 2026-08-17 05:16:03 +02:00
DerEchteAlec 9b29a69624 ENH - modernize Clock controls with Sky UI 2026-08-17 05:15:29 +02:00
DerEchteAlec a888f206ff FIX - resolve radio members by character identity 2026-08-17 05:14:34 +02:00