{
    "object_kind": "push",
    "event_name": "push",
    "before": "0ddf7b52dad6c1266fcf83a52d32e75af547ec4b",
    "after": "38c8c182d04c6b5eb0b1bef4897c68a7f5e0d842",
    "ref": "refs\/heads\/main",
    "ref_protected": true,
    "checkout_sha": "38c8c182d04c6b5eb0b1bef4897c68a7f5e0d842",
    "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": "38c8c182d04c6b5eb0b1bef4897c68a7f5e0d842",
            "message": "Add support for \"inbound unavailable\" audio files and respect for contact hours (D-123, D-125).\n\n- **Backend**:\n  - Introduced the ability to upload and play custom audio files for the \"inbound unavailable\" message when no agents are available.\n  - Updated `MarketRules` and `Announcements` to handle audio logic and fallback to TTS if no custom audio is provided.\n  - Added configuration to enforce respect for market-specific contact hours, preventing calls outside defined times, holidays, and blackout periods.\n  - Enhanced `NoticeAudioController`, tests, and related configs for managing these features.\n\n- **Frontend**:\n  - Extended admin UI to allow the upload and removal of \"inbound unavailable\" audio files under \"Market Rules\".\n  - Updated styles (`admin.css`) to accommodate related UI elements.\n\n- **Testing**:\n  - Added comprehensive feature tests to ensure correct playback of audio or fallback to TTS.\n  - Verified contact hour enforcement with multiple test cases.\n\n- **Docs**:\n  - Updated comments and inline documentation to describe new audio and time restriction functionalities.\n",
            "title": "Add support for \"inbound unavailable\" audio files and respect for contact hours (D-123, D-125).",
            "timestamp": "2026-10-12T09:26:27+02:00",
            "url": "http:\/\/git.dunahousedev.hu\/leadmachine\/leadmachine\/-\/commit\/38c8c182d04c6b5eb0b1bef4897c68a7f5e0d842",
            "author": {
                "name": "Bohunka Zsolt",
                "email": "bohunka.zsolt@dh.hu"
            },
            "added": [],
            "modified": [
                ".gitlab-ci.yml",
                "CLAUDE.md",
                "backend\/app\/Domain\/Telephony\/Announcements.php",
                "backend\/app\/Http\/Controllers\/AdminWeb\/NoticeAudioController.php",
                "backend\/app\/Livewire\/Admin\/Rules\/RulesEditor.php",
                "backend\/app\/Services\/Admin\/MarketRules.php",
                "backend\/app\/Services\/Call\/AppCallService.php",
                "backend\/app\/Services\/Call\/InboundUnavailableMessage.php",
                "backend\/config\/app_api.php",
                "backend\/lang\/en\/admin_rules.php",
                "backend\/lang\/hu\/admin_rules.php",
                "backend\/lang\/it\/admin_rules.php",
                "backend\/resources\/admin-assets\/admin.css",
                "backend\/resources\/views\/components\/admin\/banner.blade.php",
                "backend\/resources\/views\/components\/admin\/icon.blade.php",
                "backend\/resources\/views\/livewire\/admin\/rules\/rules-editor.blade.php",
                "backend\/routes\/admin.php",
                "backend\/tests\/Feature\/AdminWebRulesTest.php",
                "backend\/tests\/Feature\/InboundAppCallTest.php",
                "backend\/tests\/Feature\/InboundCallTest.php",
                "docs\/DECISIONS.md",
                "docs\/DEVELOPMENT.md",
                "docs\/OPEN_QUESTIONS.md",
                "docs\/SPEC.md"
            ],
            "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",
        "   0ddf7b5..38c8c18  main       -> origin\/main",
        "HEAD is now at 38c8c18 Add support for \"inbound unavailable\" audio files and respect for contact hours (D-123, D-125).",
        "--OK--"
    ]
}