gigafibre-fsm/scripts/migration
louispaulb 4693bcf60c feat: telephony UI, performance indexes, Twilio softphone, lazy-load invoices
- Add PostgreSQL performance indexes migration script (1000x faster queries)
  Sales Invoice: 1,248ms → 28ms, Payment Entry: 443ms → 31ms
  Indexes on customer/party columns for all major tables
- Disable 3CX poller (PBX_ENABLED flag, using Twilio instead)
- Add TelephonyPage: full CRUD UI for Routr/Fonoster resources
  (trunks, agents, credentials, numbers, domains, peers)
- Add PhoneModal + usePhone composable (Twilio WebRTC softphone)
- Lazy-load invoices/payments (initial 5, expand on demand)
- Parallelize all API calls in ClientDetailPage (no waterfall)
- Add targo-hub service (SSE relay, SMS, voice, telephony API)
- Customer portal: invoice detail, ticket detail, messages pages
- Remove dead Ollama nginx upstream

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-02 13:59:59 -04:00
..
add_office_extension.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
add_performance_indexes.sql feat: telephony UI, performance indexes, Twilio softphone, lazy-load invoices 2026-04-02 13:59:59 -04:00
analyze_pricing_cleanup.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
check_missing_cat26.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
clean_reimport.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
cleanup_customer_status.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
create_portal_users.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
explore_expro_payments.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
explore_expro_services.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_and_invoices.py feat: complete data mirror — all customers + 115K invoices 2026-03-28 16:09:16 -04:00
fix_annual_billing_dates.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_customer_links.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_dates.py fix: correct creation/modified dates from unix timestamps 2026-03-28 16:20:47 -04:00
fix_invoice_customer_names.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_invoice_outstanding.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_issue_cust2.py feat: fix all data relationships + PPA reference numbers 2026-03-28 15:45:51 -04:00
fix_issue_owners.py feat: fix all data relationships + PPA reference numbers 2026-03-28 15:45:51 -04:00
fix_no_rebate_discounts.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_reversals.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_reversement.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
fix_sub_address.py feat: fix all data relationships + PPA reference numbers 2026-03-28 15:45:51 -04:00
fix_subscription_details.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
geocode_locations.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_customer_details.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_devices_and_enrich.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_employees.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_expro_payments.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_invoice_notes.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_invoices.py feat: complete data mirror — all customers + 115K invoices 2026-03-28 16:09:16 -04:00
import_items.py feat: migration legacy → ERPNext phases 1-4 complete 2026-03-28 14:35:02 -04:00
import_memos.py feat: 29K customer memos imported as Comments with real dates 2026-03-28 16:43:57 -04:00
import_missing_services.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_payments.py feat: 99K payments imported with invoice references 2026-03-28 16:33:35 -04:00
import_services_and_enrich_customers.py feat: telephony UI, performance indexes, Twilio softphone, lazy-load invoices 2026-04-02 13:59:59 -04:00
import_technicians.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
import_terminated.py feat: complete data mirror — all customers + 115K invoices 2026-03-28 16:09:16 -04:00
import_ticket_msgs.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
migrate_all.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
migrate_direct.py feat: migration legacy → ERPNext phases 1-4 complete 2026-03-28 14:35:02 -04:00
migrate_locations.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
migrate_phase3.py feat: migration legacy → ERPNext phases 1-4 complete 2026-03-28 14:35:02 -04:00
migrate_phase5.py feat: Phase 5 opening balance + AR analysis 2026-03-28 14:47:18 -04:00
migrate_tickets.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
migrate_users.py feat: Phase 7 — 45 ERPNext Users from legacy staff 2026-03-28 15:13:31 -04:00
MIGRATION_MAP.md feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
nuke_data.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
reconcile_subscriptions.py feat: subscription reimport, customer/doctype ID rename, zero-padded format 2026-04-01 17:17:23 -04:00
reimport_subscriptions.py feat: telephony UI, performance indexes, Twilio softphone, lazy-load invoices 2026-04-02 13:59:59 -04:00
rename_all_doctypes.py feat: subscription reimport, customer/doctype ID rename, zero-padded format 2026-04-01 17:17:23 -04:00
rename_customers_c_prefix.py feat: telephony UI, performance indexes, Twilio softphone, lazy-load invoices 2026-04-02 13:59:59 -04:00
rename_customers.py feat: subscription reimport, customer/doctype ID rename, zero-padded format 2026-04-01 17:17:23 -04:00
rename_to_readable_ids.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
setup_invoice_print_format.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
setup_portal_auth_bridge.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
setup_scheduler_toggle.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
setup_subscription_api.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
setup_user_roles.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
simulate_payment_import.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
update_assigned_staff.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
update_item_descriptions.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00
update_opened_by_staff.py feat: inline editing, search, notifications + full repo cleanup 2026-03-31 07:34:41 -04:00