{
    "object_kind": "push",
    "event_name": "push",
    "before": "77d8d54bc2b3dc7dd2804868341ad7483107921c",
    "after": "ba7a58eaccf741c3818cb45988823ab88a64e843",
    "ref": "refs\/heads\/main",
    "ref_protected": true,
    "checkout_sha": "ba7a58eaccf741c3818cb45988823ab88a64e843",
    "message": null,
    "user_id": 19,
    "user_name": "Bohunka Zsolt",
    "user_username": "bohunkazsolt",
    "user_email": "[REDACTED]",
    "user_avatar": "https:\/\/www.gravatar.com\/avatar\/495e14a024c9ddd64b339a3ee5bcce2be2e8468e23180b4ee001574938728865?s=80&d=identicon",
    "project_id": 206,
    "project": {
        "id": 206,
        "name": "leadmachine",
        "description": null,
        "web_url": "http:\/\/git.dunahousedev.hu\/leadmachine\/leadmachine",
        "avatar_url": null,
        "git_ssh_url": "git@git.dunahousedev.hu:leadmachine\/leadmachine.git",
        "git_http_url": "http:\/\/git.dunahousedev.hu\/leadmachine\/leadmachine.git",
        "namespace": "LeadMachine",
        "visibility_level": 0,
        "path_with_namespace": "leadmachine\/leadmachine",
        "default_branch": "main",
        "ci_config_path": "",
        "homepage": "http:\/\/git.dunahousedev.hu\/leadmachine\/leadmachine",
        "url": "git@git.dunahousedev.hu:leadmachine\/leadmachine.git",
        "ssh_url": "git@git.dunahousedev.hu:leadmachine\/leadmachine.git",
        "http_url": "http:\/\/git.dunahousedev.hu\/leadmachine\/leadmachine.git"
    },
    "commits": [
        {
            "id": "ba7a58eaccf741c3818cb45988823ab88a64e843",
            "message": "Add `data:reset` command and global admin functionality (D-112).\n\n- **Backend**:\n  - Introduced `data:reset` command to wipe lead, agent, call, and admin records (with `--keep-admins` option) in testing\/demo environments.\n  - Added market-switching for global admins, enabling access to and management of multiple markets.\n  - Updated admin creation logic to support global admin accounts (`admins:create --global`).\n  - Enhanced tests to verify global admin market-switch behavior, restricted environments for `data:reset`, and multi-market admin management.\n\n- **Frontend**:\n  - Enabled support for market-switching in global admin interface.\n  - Updated admin creation and listing UI to clearly denote global admins and restrict actions based on permissions.\n\n- **Docs**:\n  - Documented `data:reset` usage, global admin features, and market-switching behavior in `DEVELOPMENT.md` and `DECISIONS.md`.\n",
            "title": "Add `data:reset` command and global admin functionality (D-112).",
            "timestamp": "2026-10-11T16:57:49+02:00",
            "url": "http:\/\/git.dunahousedev.hu\/leadmachine\/leadmachine\/-\/commit\/ba7a58eaccf741c3818cb45988823ab88a64e843",
            "author": {
                "name": "Bohunka Zsolt",
                "email": "bohunka.zsolt@dh.hu"
            },
            "added": [
                "backend\/app\/Console\/Commands\/DataResetCommand.php",
                "backend\/app\/Http\/Controllers\/AdminWeb\/MarketSwitchController.php",
                "backend\/database\/migrations\/2026_10_11_000500_add_is_global_to_admin_users.php",
                "backend\/tests\/Feature\/AdminWebGlobalAdminTest.php",
                "backend\/tests\/Feature\/DataResetCommandTest.php",
                "docs\/ADMIN_HOST_UZEMELTETES.md",
                "frontend\/lib\/core\/design\/lm_field_review_row.dart"
            ],
            "modified": [
                "backend\/app\/Console\/Commands\/AdminsCreateCommand.php",
                "backend\/app\/Livewire\/Admin\/Admins\/AdminList.php",
                "backend\/app\/Models\/AdminUser.php",
                "backend\/app\/Services\/Admin\/AdminAccounts.php",
                "backend\/app\/Services\/Admin\/AdminSessionGate.php",
                "backend\/config\/admin.php",
                "backend\/lang\/en\/admin.php",
                "backend\/lang\/en\/admin_admins.php",
                "backend\/lang\/hu\/admin.php",
                "backend\/lang\/hu\/admin_admins.php",
                "backend\/lang\/it\/admin.php",
                "backend\/lang\/it\/admin_admins.php",
                "backend\/resources\/admin-assets\/admin.css",
                "backend\/resources\/views\/components\/admin\/sidebar.blade.php",
                "backend\/resources\/views\/livewire\/admin\/admins\/admin-list.blade.php",
                "backend\/routes\/admin.php",
                "docs\/DECISIONS.md",
                "docs\/DEPLOYMENT.md",
                "docs\/DEVELOPMENT.md",
                "docs\/SPEC.md",
                "frontend\/lib\/core\/design\/README_REWORK.md",
                "frontend\/lib\/core\/design\/design.dart",
                "frontend\/lib\/core\/theme\/tokens.dart",
                "frontend\/lib\/core\/widgets\/recording_row.dart",
                "frontend\/lib\/features\/call_history\/call_detail_screen.dart",
                "frontend\/lib\/features\/wrap_up\/wrap_up_screen.dart",
                "frontend\/test\/call_detail_test.dart",
                "frontend\/test\/wrap_up_test.dart"
            ],
            "removed": []
        }
    ],
    "total_commits_count": 1,
    "push_options": [],
    "repository": {
        "name": "leadmachine",
        "url": "git@git.dunahousedev.hu:leadmachine\/leadmachine.git",
        "description": null,
        "homepage": "http:\/\/git.dunahousedev.hu\/leadmachine\/leadmachine",
        "git_http_url": "http:\/\/git.dunahousedev.hu\/leadmachine\/leadmachine.git",
        "git_ssh_url": "git@git.dunahousedev.hu:leadmachine\/leadmachine.git",
        "visibility_level": 0
    },
    "output": [
        "\/etc\/apache2\/sites-available\/bohunkazsolt.leadmachine.dunahousedev.hu.conf exists.",
        "\/etc\/apache2\/sites-available\/leadmachine.dunahousedev.hu.conf exists.",
        "Saving debug log to \/var\/log\/letsencrypt\/letsencrypt.log",
        "An unexpected error occurred:",
        "BrokenPipeError: [Errno 32] Broken pipe",
        "Ask for help or search for solutions at https:\/\/community.letsencrypt.org. See the logfile \/var\/log\/letsencrypt\/letsencrypt.log or re-run Certbot with -v for more details.",
        "Saving debug log to \/var\/log\/letsencrypt\/letsencrypt.log",
        "An unexpected error occurred:",
        "BrokenPipeError: [Errno 32] Broken pipe",
        "Ask for help or search for solutions at https:\/\/community.letsencrypt.org. See the logfile \/var\/log\/letsencrypt\/letsencrypt.log or re-run Certbot with -v for more details.",
        "Fetching origin",
        "From git.dunahousedev.hu:leadmachine\/leadmachine",
        "   77d8d54..ba7a58e  main       -> origin\/main",
        "HEAD is now at ba7a58e Add `data:reset` command and global admin functionality (D-112).",
        "--OK--"
    ]
}