## 2026-08-30 — External payments and MT4 account lifecycle controls

- Added an administrator External Payments tab with ordered label/URL entries and strict HTTP/HTTPS validation.
- Added an authenticated client External Payment Solutions view and menu entry, available only after the client owns an MT4 account.
- Added browser and server-side duplicate-submission protection for administrator MT4 account creation, including a full-page busy state, per-client lock and request idempotency token.
- Added a complete MT4 account directory to the administrator client profile with account state, balance/equity snapshot, primary-account actions and safe remote-disable/local-delete handling.
- Corrected mixed MT4 boolean parsing and added group/account preflight, authoritative GetAccount reconciliation and the documented action=1 enable request to prevent intermittently disabled newly created accounts.
- Added action=0 remote-disable verification before deleting a local MT4 account record.

## 2026-08-27 — Finantics market pages, themed 404 and themed email templates

- Fixed `/markets/{market}` routing so Forex, Shares, Indices, Commodities, Metals and Crypto open complete individual information pages instead of resolving an incomplete theme path.
- Added a shared public market catalogue with market-specific overview, sessions, risk, drivers, illustrative symbols and MT4 account-condition guidance.
- Added a Finantics-native 404 page and corrected the exception handler so public, client, administrator and JSON 404 responses use the appropriate presentation.
- Rebuilt transactional HTML emails around the active website theme logo and administrator-adjusted primary, secondary and accent colours.
- Updated verification, password reset, email-change, reservation and appointment-reminder emails to use the shared themed email layout.

## 2026-08-27 — Finantics home sections restored

- Restored the homepage market-access section with dedicated Forex & Metals, Shares & Indices, and Crypto & Commodities cards.
- Restored the MT4 platform and client-workspace section with multi-account, live data, WebTerminal, and request-management highlights.
- Kept the approved compact navy/red Finantics reference design, responsive spacing, CMS-managed section image, trading-account plans, FAQs, and form-security changes.

# MT4 Migration Changelog

## 2026-08-26 — Simplified Trading Account Plan Catalogue

- Replaced the over-configurable plan editor with the requested compact schema: plan icon, plan name, minimum-deposit display and published status.
- Added a fixed nineteen-item benefit catalogue matching the supplied account-card reference, with an independent active/inactive switch for every benefit on every plan.
- Removed subtitle, badge, spread, leverage, commission, execution, MT4-group mapping, CTA override and plan-artwork fields from the editor.
- Updated every public theme to render the same account data in its native palette with a plan icon, account name, minimum deposit, active checks, inactive markers and an automatic **Open {Plan Name}** registration action.
- Added compatibility normalization and a migration for plans saved by the former editor.

## 2026-08-25 — Client KYC, Realtime Client Notifications and Dashboard Navigation

- Rebuilt the client KYC and Account Settings pages for the dark MT4 portal so text, inputs, status badges, upload controls and document previews remain readable with every active theme palette.
- Added immediate database and Pusher notifications when a client uploads KYC documents, scoped to the client owner hierarchy and super administrators, with live administrator menu counters and top-bar notifications.
- Added a full client notification center beside the profile menu with separate Unread and Read views, individual and bulk read actions, private client broadcast channels and responsive mobile behavior.
- Added client notifications for approved or declined deposit, withdrawal and KYC requests, including request amount, settlement type and decline reason where available.
- Consolidated dashboard actions into a responsive Account Actions menu while keeping Open WebTrader directly accessible.
- Replaced unreliable sidebar icon-font glyphs with embedded SVG icons for Dashboard, funding, KYC and Account Settings.
- Removed the Comment column from client and administrator MT4 transaction, open-position and closed-deal tables while retaining backend comment sanitization.
- Limited Recent Requests to a three-row viewport with independent scrolling and live refresh after request-status notifications.

## 2026-08-24 — Realtime Bootstrap, Overlay Reliability and Client Profile Redesign

- Reworked realtime bootstrap configuration so the browser receives the current Laravel Pusher key and cluster at runtime, avoiding stale Vite credentials and eliminating the previous missing-key console error.
- Made administrator database-notification subscription resilient to module-script timing, private-channel authorization delays and temporary connection failures without showing a false initialization error.
- Replaced the client MT4 account-creation Bootstrap offcanvas with an independent body-level drawer so all native selects, leverage choices, checkboxes, inputs and actions remain interactive without an intercepting backdrop.
- Restored click-outside dismissal for non-static CMS settings offcanvases while preserving static protection for data-entry surfaces such as Affiliator creation and calendar appointments.
- Standardized application-wide modal/offcanvas stacking, dropdown placement and orphan-backdrop cleanup across administrator and client workspaces.
- Rebuilt the administrator single-client view with a professional full-width profile header, summary cards, expanded MT4 account workspace, live metric cards and full-width Transactions, Open Positions and Closed Deals tables.

## 2026-08-21 — CMS Hub, Header/Footer Controls and Trading-Account Plans

- Replaced affiliator creation with a right-side offcanvas and added guarded Bootstrap backdrop cleanup so the administrator workspace remains clickable after AJAX completion.
- Consolidated CMS Settings, Header/Footer, Website Themes, CMS Pages, CMS Menus and Trading Accounts into one tabbed administrator hub while preserving established create/edit routes.
- Added administrator-controlled header information for compatible theme top bars, plus global footer company details, copyright placeholders, risk text, theme-specific footer menus and a separate light/footer logo.
- Added an administrator-editable trading-account plan framework with up to five plans, one common feature catalogue, per-plan feature toggles, local MT4-group mapping and theme-native presentation across all six public themes.
- Changed client account creation to a dark **Create MT4 Account** offcanvas, retained administrator-enabled local groups and removed stale modal/offcanvas backdrops after close.
- Simplified the client top bar by removing the workspace slogan, portal subtitle, system-state indicator and duplicate KYC/settings quick icons.

## 2026-08-21 — Administrator Workflow and Settings Corrections

- Corrected the administrator shell stacking order so the fixed top header remains above the Dashboard Control Center and page-level dropdowns while scrolling.
- Rebuilt the website Message Center list and detail pages with responsive styling, summary counters, structured filters, unread highlighting, metadata, and permission-aware actions.
- Added permission-controlled affiliator deletion. Existing leads are retained, detached from the deleted login, and store the former affiliator company name as a historical snapshot for lists and exports.
- Reordered lead-import mapping fields to First Name, Last Name, optional Email, Phone, Country, then Call Status. Unmapped email values continue to receive a unique generated technical address.
- Renamed the administrator Credentials entry and page to Google reCAPTCHA without changing the established settings route.
- Consolidated Transactional SMTP and Lead Marketing configuration into one permission-aware tabbed settings workspace, preserving saved SMTP passwords and Mailtrap tokens when secret fields are left blank.

## 2026-08-15 — Native Theme Headers, Translation Controls and Nested Menus

- Removed duplicate Login and Open Account controls from CMS navigation and kept them only in each supplied theme's original reserved account-action area, including normal and sticky headers where the source theme provides both.
- Connected administrator-controlled Google Translate to each theme's native language-control location and removed public search controls from all six theme families.
- Restored the Chat theme's original-style multi-column mega-menu and deep nested flyouts while preserving responsive mobile navigation.
- Replaced remaining lorem ipsum, placeholder, real-estate, banking and unrelated template copy with MT4, forex, indices, shares, commodities, crypto, platform and account-service content.
- Added per-theme design settings for hero, alternate banner, secondary-section and optional authentication images, plus detailed header, menu, banner, CTA, page, body, heading, footer, dropdown, border and overlay colors.
- Rebuilt the administrator menu editor as a four-level drag-and-drop tree with submenu drop zones, indent/outdent controls, recursive serialization, CMS-page options, theme-page options and custom URLs.
- Kept all theme layouts, CSS packages, JavaScript, typography, spacing, animations and responsive behavior intact while applying dynamic CMS controls non-destructively.

## 2026-08-14 — Client Controls, Theme Menus, Account Refresh and AI Media

- Removed the global MT4 account-count setting. Every client now owns an explicit account limit, defaulting to two, with enforcement in client and administrator account-creation paths.
- Made the MT4-created credentials modal selectable and added dedicated copy buttons for the login, password, and combined credentials.
- Changed Fix Balance to poll the authoritative MT4 account endpoint and repaint Balance, Equity, Credit, Margin, Free Margin, Leverage, and related tables together.
- Restyled client order and transaction tables for the dark portal and sanitized IPv4/IPv6 identifiers from provider comments before display.
- Moved Deposit and Withdraw beneath the top portal actions, placed Recent Requests directly above the market chart at the same width, restored KYC and Account Settings access, and persisted the selected chart symbol and interval across refreshes.
- Added one protected default CMS menu per installed theme. Theme menus expose their own supplied pages, retain independent item trees, cannot be deleted, and use the administrator-configured Login and Open Account URLs.
- Rebuilt the Chat navigation as a compact theme-native flyout menu and added nested Finantics menu support.
- Added distinct AI-person hero, secondary-section, and authentication media for all six themes plus individual AI staff portraits for Chat, while retaining each template’s original layout and assets.

## 2026-08-14 — Client Creation, Live Economy Stats, Open Orders and Finantics CTA

- Made the Add Client country, city/region and administrator Bootstrap Select controls scrollable inside the offcanvas on mouse, touch and small screens.
- Updated administrator MT4 economy operations to repaint balance, credit, equity and free margin immediately from a protected local snapshot, followed by provider reconciliation.
- Hardened open-order loading with `trade_type=open_order` plus a documented `trade_type=all` fallback, correct open/closed sentinel handling and compatibility fields required by the administrator DataTable.
- Added a client-profile **Fix Balance** control that invokes MT4 `GetFixBalance`, refreshes the selected account snapshot and reloads related order/transaction tables.
- Changed every Finantics “Open a MT4 account” call-to-action to **Open Account** and connected it to the registration URL configured in CMS settings.

## 2026-08-13 — Account-Specific WebTerminal Auto-Login

- Added an authenticated, account-owned WebTerminal redirect for the selected client MT4 account.
- Implemented the required standard Base64 payload: `MT4_LOGIN|trading_account_pass`.
- Kept MT4 passwords encrypted at rest; the exact `trading_account_pass` value is decrypted only while generating the redirect and is never rendered into Blade or returned as a standalone password field.
- Added compatibility fallback to the encrypted master password for older local account records.
- Added an HTTPS-only configurable WebTerminal base URL, no-cache/no-referrer redirect headers, per-client throttling, dashboard readiness controls, documentation and regression coverage using the supplied example token.

## 2026-08-13 — Latest CMS, Pusher and Theme Framework Completion

- Added searchable chart symbol selection, realtime administrator finance-request events/counters, dashboard flow fixes and null-safe form resets.
- Connected theme colors, branding dimensions, favicons, login/register URLs, global CMS pages and global menus to all supplied themes.
- Added initial MT4 account-limit controls; the later 2026-08-14 update above replaces the global default with a strictly client-specific limit.
- Added the installable `platforma-theme-v1` ZIP framework and downloadable starter package while keeping CMS content independent from themes.
- Removed residual public template development markers and validated all current routes, controller actions, PHP sources and Blade output.

## 2026-08-13

### Client portal, MT4 response, and multi-theme corrections

- Restored the established client-dashboard information architecture in a coherent dark mode, using the selected website theme or administrator palette only for accents.
- Removed all client-side open, modify, close, delete, and reopen order actions. The portal now provides read-only account monitoring, charts, quotes, and trade history; execution is available only through the configured WebTrader link.
- Fixed the Laravel collection crash caused by passing the string callback `is_array` to `Collection::filter()`. All active MT4 list-normalization paths now use value-only typed closures.
- Added recursive normalization for bare arrays, single rows, and wrappers including `data`, `response`, `result`, `trades`, `orders`, `items`, and `records`.
- Fixed closed-order retrieval by falling back from `close_order` to `all` when necessary and deriving only genuinely closed market orders while excluding financial entries, pending orders, and open positions.
- Standardized client-visible date/time output as `DD-MM-YYYY HH:mm:ss`, including chart points, trade history, account timestamps, requests, and legacy client endpoints.
- Accelerated balance, equity, margin, free-margin, and credit display by returning the local snapshot immediately and synchronizing the provider in a short account-scoped background cycle.
- Fixed multi-account switching by persisting the selected account, deduplicating account rows, aborting obsolete requests, and preventing slow responses from the previous account from overwriting the current selection.
- Restricted client account-creation group choices to active groups configured in the local database by an administrator; the full provider group list is no longer exposed to the client.
- Limited client funding requests to Deposit and Withdrawal. On approval, an administrator chooses whether a Deposit is applied as balance or account credit. Bonuses and credit-out remain administrator-only.
- Expanded Recent Requests with account login, method, settlement type, provider ticket, status, notes, decline reason, creation time, and processing time.
- Added an administrator-configurable WebTrader URL to CMS settings.

### Supplied theme preservation and dynamic controls

- Preserved the exact five supplied HTML/CSS/JavaScript template packages, including their independent layouts, typography, section order, components, responsive behavior, and animations.
- Kept the supplied template image replacements at the original paths and dimensions; no generated replacement website layout is used.
- Added non-destructive runtime hooks to each supplied theme so administrator-defined primary, secondary, and accent colors, logo, light logo, favicon, custom CSS, head code, and body code can be applied without rebuilding the template.
- Bound every theme to its matching authentication composition and palette while retaining the administrator’s optional custom authentication-color mode.
- Ensured the selected theme, per-theme overrides, logo, favicon, authentication style, and public pages are resolved dynamically from application/database settings.

### Validation additions

- Added HTTP-fake coverage for wrapped/single-row trade responses and closed-order fallback behavior.
- Verified the two exact failing client routes, account-scoped response handling, client mutation-route removal, dashboard JavaScript parsing, matching authentication variants, and exact supplied-theme page preservation.

## 2026-08-12

### MT4 platform foundation

- Added the centralized MT4 API transport and mappings for all 29 supplied Postman operations.
- Added multiple trading accounts per client with account ownership authorization and primary-account selection.
- Added installer MT4 configuration, theme selection, database hardening, role/permission setup, process locking, safe first-request bootstrapping, and optional Pusher configuration.
- Added the website Contact Messages module with read/unread workflow, filters, hierarchy-scoped visibility, dashboard counters, and private Pusher delivery.
- Corrected CreateAccount field separation for `uname`, `lname`, `pwd`, `trading_account_pass`, API `name`, and API `pass`.
- Added robust remote-login extraction and rejected provider success responses that contain no recognizable MT4 login.
- Rebuilt the public theme integration from the exact packages supplied in `themes.zip`; the earlier generated replacement layouts were removed.
- Replaced supplied placeholder imagery at its original paths and dimensions while preserving each theme’s original structure and identity.

### Security and compatibility

- Provider credentials are injected only on the server and redacted from result metadata and logs.
- Client operations require authenticated account ownership.
- Destructive trade-history and direct economy operations are administrator-only.
- Historical `mt5_*` database identifiers remain where renaming them would break existing installations, while active behavior and visible labels use MT4.
- Release packages exclude `.env`, runtime logs, installer payloads, caches, sessions, compiled views, backup files, and `node_modules`.
## 2026-08-14 — Chat supplied theme

- Integrated the uploaded `chat.zip` Laravel theme as a sixth protected selectable website theme.
- Preserved its complete route/view/public asset catalogue, including 39 mapped account, legal, promotion, staff, platform and instrument pages.
- Added nested active-theme route resolution and optional `routes` support to the reusable ZIP theme manifest.
- Connected the theme to global CMS pages and menus, administrator palette controls, branding, favicon, login/register URLs and a matching authentication presentation.
- Corrected generated Blade asset references and moved the contact form into the page content section.
- Adapted visible MT5 terminology to MT4 while retaining the source layout and responsive behavior.


## Client Terminal / Auth V4

- Rebuilt the complete client shell as a dark MT4 trading workspace with a fixed sidebar, compact top bar, responsive drawer and consistent terminal surfaces.
- Reworked dashboard cards, account selection, metrics, requests, chart panels, tables, forms and footer presentation without changing MT4 behavior.
- Rebuilt client login, registration, confirmation, forgot-password and reset-password views around the same terminal design.
- Removed portrait and stock-avatar imagery from client and authentication views; client identity now uses initials and auth artwork uses abstract market geometry only.
- Preserved active-theme accent colors, CMS branding, favicon, configured Login/Open Account URLs and all existing client/auth routes.

## 2026-08-21 — Global overlay and CMS workspace correction

- Added a shared Bootstrap modal/offcanvas stacking manager for the administrator and client portals.
- Moved active overlays temporarily to `body` to escape fixed-header and transformed-parent stacking contexts, then restored them safely after close.
- Standardized modal, offcanvas, backdrop, dropdown, Select2, date-picker, and alert z-index levels.
- Made offcanvas headers and footers sticky and bodies independently scrollable.
- Prevented the client MT4 account-creation offcanvas, affiliator-creation offcanvas, CMS setting canvases, and calendar appointment modal from being dismissed by accidental backdrop interaction.
- Restored the four prominent CMS setting editor actions and added spacing/scroll offsets so tab content is not hidden under the CMS tab bar.
- Converted the calendar appointment dialog to a scrollable, static-backdrop form modal.

## 2026-08-24 — CMS controls, global overlays, MT4 leverage and live account reconciliation

- Restored the four CMS Settings editor actions for General, Auth Theme, Client Panel and Language Bar, including super-administrator access and explicit read-only messaging for roles without the update permission.
- Removed the sticky CMS tab bar and added pane spacing, scroll offsets and responsive card padding so the first controls in every CMS tab remain visible.
- Replaced page-specific overlay workarounds with the shared Platforma overlay stack v4. Active Bootstrap modals and offcanvas surfaces are moved to `body`, positioned above the application shell, paired with their own backdrop and restored safely after close.
- Corrected the Affiliator creation offcanvas and Calendar appointment modal with static backdrops, visible headers/footers, independently scrollable form bodies and picker/dropdown layers above the active surface.
- Added one canonical MT4 leverage catalogue: `1, 2, 3, 5, 10, 15, 20, 25, 33, 50, 66, 100, 200, 300, 400, 500`, displayed as `1:x` in client and administrator forms.
- Ensured CreateAccount always sends a non-zero leverage value and preserves the required separation among `uname`, `lname`, `pwd`, `trading_account_pass`, API `name` and API `pass`.
- Added post-creation reconciliation: when the bridge returns `Leverage=0` or a partial account object, the platform applies `change_leverage` and reads `GetAccount` before storing the complete Balance, Equity, Credit, Margin, Free Margin, Group, Currency and Leverage snapshot.
- Added post-leverage-change reconciliation with short GetAccount retries. A stale provider read can no longer clear the selected field or replace an accepted leverage with `1:0`.
- Paused client live-stat polling while account settings or funding forms are open, and protected the leverage selector from live refresh while the administrator or client is editing it.
- After client account creation or leverage change, the returned authoritative account payload is merged immediately into the dashboard without requiring a manual page refresh.

## 2026-08-25 — System activity notifications and advanced client filters

- Added precise realtime and database notifications for client registration, including every super administrator and—when a referral code is used—the referral owner plus that owner’s direct parent only.
- Added client lifecycle notifications for profile updates, bans, unbans, suspensions and deletions, with safe old/new field summaries and sensitive-value redaction.
- Added centralized create, update and delete activity notifications for application modules, plus a successful-request fallback for legacy query-builder workflows that do not emit Eloquent events.
- Changed administrator activity broadcasts to immediate delivery so badge counts, the notification dropdown and popup alerts update without waiting for a queue worker.
- Added a realtime popup stack to the administrator portal while preserving database unread state when Pusher is temporarily unavailable.
- Added `notifications:diagnose-activity` for configuration checks and direct recipient testing.
- Expanded the administrator Clients view with hierarchy-safe filters for identity, status, confirmation, KYC, 2FA, ownership, geography, dates, MT4 account properties, account counts and successful financial activity.

## 2026-08-25 — Theme Footer Builder

- Replaced the automatic generic footer injection with a theme-specific grid and widget builder.
- Added one-to-six-column layouts, column weights, drag-and-drop widgets, layout spacing, colors, and bottom-bar controls.
- Added Company, Menu, Contact, Custom Text, Mini Contact Form, and Social widgets.
- CMS menus are now selected explicitly inside Menu widgets instead of being appended automatically beneath the theme footer.
- The builder can fully replace each supplied theme's native footer, preventing duplicate footer sections.

## 2026-08-26 — Finantics complete theme pass

- Rebuilt every Finantics public page around a shared responsive layout.
- Added up to eight administrator-managed homepage slides.
- Added a CMS FAQ manager and connected public FAQ rendering.
- Added AML and GDPR pages plus the revised Insights and Company menus.
- Added dedicated market-category detail pages.
- Added a working account risk and margin calculator.
- Replaced repeated bull artwork with 34 high-resolution theme images.
- Removed testimonials, blog/news, icon sliders, video, map, filler names, duplicate imagery, and incorrect breadcrumbs.

## 2026-08-26 — Public and Client Form Security

- Added mandatory reCAPTCHA coverage for all public contact forms, client registration/login and administrator login whenever reCAPTCHA is enabled.
- Added dynamic reCAPTCHA support for every supplied theme and Footer Builder mini-contact forms.
- Added strict public contact request validation, honeypot protection and safe source metadata.
- Added global public/client executable-input rejection, same-origin write checks and security headers.
- Added named rate limits for public contact, client account creation, finance, uploads and sensitive account operations.
- Hardened client profile, MT4 profile, account label, funding and withdrawal inputs with allow-lists and plain-text rules.
- Added stronger client registration/reset/change-password policies and safer session rotation.
- Added private KYC upload type, size and dimension validation.
- Added configurable encrypted sessions and SameSite settings.
- Added `security:diagnose-forms` and `docs/FORM_SECURITY.md`.

## 2026-08-27 — Finantics reference presentation

- Rebuilt the Finantics header, native menu, dropdowns and mobile navigation around the approved compact navy/red specification.
- Rebuilt the homepage sequence as dynamic hero slider, platform benefits, trading-account plans and dark CMS FAQ section.
- Reworked Markets and Trading Accounts pages using the same compact card, calculator and content system.
- Added a responsive reference stylesheet shared by all Finantics pages.
- Preserved CMS branding, colors, menus, slides, FAQs, account plans, Google Translate and Footer Builder controls.
- Added a non-destructive migration for the Finantics reference palette and theme metadata.


## 2026-08-28 — Finantics navigation, slider and legal-content refinement

- Set Finantics homepage slider autoplay to five seconds with interaction-safe restart.
- Rebuilt slider pagination dots and removed inherited malformed pseudo-icons.
- Replaced text dropdown arrows with responsive SVG chevrons.
- Added active states for current menu items and their parent menu.
- Added administrator-controlled sticky Finantics navigation.
- Increased the Finantics typography scale and removed meaningful 9px text.
- Corrected the language selector border and focus presentation.
- Expanded Privacy, Terms, AML, GDPR, Risk and Complaints pages with MT4 and forex-platform content.
