{"id":20570093,"url":"https://github.com/digibib/koha-plugins-branch-closure","last_synced_at":"2025-05-09T19:30:41.837Z","repository":{"id":140037148,"uuid":"91092040","full_name":"digibib/koha-plugins-branch-closure","owner":"digibib","description":"Koha plugin for handling temporary closed branches","archived":true,"fork":false,"pushed_at":"2017-10-26T12:10:09.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-06T09:49:13.793Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/digibib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-12T13:01:25.000Z","updated_at":"2024-10-30T11:44:40.000Z","dependencies_parsed_at":"2024-06-17T05:09:16.954Z","dependency_job_id":null,"html_url":"https://github.com/digibib/koha-plugins-branch-closure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digibib%2Fkoha-plugins-branch-closure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digibib%2Fkoha-plugins-branch-closure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digibib%2Fkoha-plugins-branch-closure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digibib%2Fkoha-plugins-branch-closure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digibib","download_url":"https://codeload.github.com/digibib/koha-plugins-branch-closure/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253312066,"owners_count":21888562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T05:11:25.883Z","updated_at":"2025-05-09T19:30:41.812Z","avatar_url":"https://github.com/digibib.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"## README.pm\n\n# About\n\nThis plugin handles the temporary closing of a branch.\nIt is a tool that handles:\n- temporarily moving reservations to be picked up at branch to a temporary branch\n- temporarily moving patrons home branch\n- disabling branch in Koha REST API\n- temporarily making branch items unavailable\n- sends notification to patrons with this homebranch about changes\n\nA table is displayed on first page if any branches are currently closed,\nwith the option to reopen. Reopening reverts the changes made by the closure.\n\nA general email subject and body can be set in configuration, but can be\nindividually configured per closure.\n\n# Setup\n\nTo enable Koha plugins:\n\n* enable syspref UseKohaPlugins\n* in koha-conf.xml (section \u003cconfig\u003e):\n\n```\n \u003cpluginsdir\u003e__PLUGINS_DIR__\u003c/pluginsdir\u003e\n \u003cenable_plugins\u003e1\u003c/enable_plugins\u003e\n```\n\nNote: if \u003cplugindir\u003e is not set, it will default to /var/lib/koha/$intance/plugins\n\n# Install\n\nA new plugin must be zip-packed `pluginname.kpz` and contain the correct tree\n\n```\n./Koha/\n  Plugin/\n    Deichman/            # Optional subfolder to organize plugins\n      NameOfPlugin.pm    # The plugin, containing required methods new, install, uninstall, configure, etc.\n      NameOfPlugin/      # Subfolder with optional files, accessible to module as current folder, and in templates as [% PLUGIN_PATH %]\n        configure.tt\n        report-step1.tt\n        tool-step1.tt\n        etc.\n```\n\nPlugin can then be uploaded in /cgi-bin/koha/plugins/plugins-home.pl\n\nOptional configuration can be done from there","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigibib%2Fkoha-plugins-branch-closure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigibib%2Fkoha-plugins-branch-closure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigibib%2Fkoha-plugins-branch-closure/lists"}