Spaces:
Sleeping
Sleeping
Commit History
-
chore(merge): integrate origin/main + resolve analytics route conflicts
Merged 72 upstream commits (real-estate workflows, RBAC, identity services, Care Cover admin, emergency care, seeder expansion) into the analytics branch. Conflict resolutions: - routes/api.php: kept upstream service imports and routes; re-applied analytics ingestion route (POST /analytics/events) and admin query routes (GET /admin/analytics/acquisition|conversion) from the analytics commit - database/seeders/DatabaseSeeder.php: accepted upstream full seeder (inline Care + Real Estate + workflow seed logic), which supersedes the simplified call-based seeder in the analytics commit Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>cbc60cd -
feat(analytics): website analytics pipeline — ingestion, rollup, admin query
Phase 2-6 implementation of website analytics for MyDiasporaNexus. Backend (HF space): - POST /analytics/events: public ingestion route, rate-limited 60/min per IP, bot-scored (0–100 heuristic), IP-anonymised (IPv4 /24, IPv6 /48), async job dispatch via ProcessAnalyticsEvent - GET /admin/analytics/acquisition, GET /admin/analytics/conversion: SYSTEM_ADMIN_ACCESS-gated query routes hitting rollup tables - AnalyticsBotDetector: UA-based bot score 0–100; ≥80 = hard discard - AnalyticsIpAnonymizer: strips last IPv4 octet / /48 IPv6 prefix - AnalyticsSessionRepository.openIdempotent: client UUID used as session PK, idempotent insert for duplicate delivery - ProcessAnalyticsEvent job: routes session_start/page_view/apply_* events into analytics_sessions, analytics_events, analytics_funnel_progress - mdn:analytics:rollup-page-views + mdn:analytics:rollup-funnels artisan commands, scheduled daily at 02:00 / 02:15 via ->withSchedule() - RateLimiter::for('analytics') registered in A…45dc401
-
api: honor typed ApiException/ValidationException renderers
bc7b87b
-
feat(backend): replace backend with peter branch + Emergency Care integration
Full overwrite of mdn-backend-main with the ISP peter branch (Laravel 12, PHP 8.3, clean domain architecture). Key changes: - New domain structure: Applications, Care, Communications, Config, Contracts, Files, Identity, Investments, Memberships, Payments, Products, RealEstate - MembershipPolicy with RBAC canAccess/canManage - CareEnrollmentService with DRAFT→SUBMITTED→ACTIVE state machine - PaymentService wired to PaymentGatewayRegistry (STRIPE, KCB_BUNI, MANUAL_TEST) - ProductRequestService + ProductEntitlementService for care/investment gating - Emergency Care module preserved and integrated on top of new domain base - Emergency Care migrations renumbered to 2026_07_07 to avoid timestamp conflict - All Emergency Care routes added to new api.php (client + admin + webhook) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>6773345
-
fix: restore clean 500 handler after diagnosis
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>777a095 -
temp: expose exception class+message+trace in 500 for HF diagnosis
5593be5 -
fix(hf): chmod storage + SQLite before php-fpm starts
php-fpm workers run as a different user than the startup script, causing "readonly database" and "Permission denied" log errors on any write path. chmod 777 storage/bootstrap/cache and chmod 666 the SQLite file before php-fpm is launched so workers can write freely. Reverts temp debug output from bootstrap/app.php and APP_DEBUG default. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>9873e42 -
temp: hardcode exception details in 500 for HF diagnosis
66c604f -
temp: expose exception details in 500 handler for HF diagnosis
f900cb5
-
feat(membership): admin-driven account creation, real estate tier/investment work, in-progress monorepo migration state
Membership flow correction: applicants no longer self-register. Pre-payment application actions (create, consents, submit, document upload, ISP validation) are authorized by a one-time per-application access token instead of a login. The real member account is created -- and login credentials emailed -- only after the annual membership fee is paid, matching the legacy system's actual behavior. Removed the public /auth/register route entirely for the member flow. Also captures the broader in-progress monorepo migration state at this point in time: this is the first commit to track the full mdn-backend-main Laravel application (previously only routes/api.php was tracked), plus concurrent Investment/RealEstate-partners admin work and Care module bridge changes already present in the working tree. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>b2dcf0f