/local_codepatcher

A plugin for Moodle™ software that ensures the safe application and management of code patches.

Primary LanguageJavaScriptOtherNOASSERTION

local_codepatcher

The local_codepatcher plugin simplifies the process of applying and managing code patches within your platform. With this plugin, effortlessly import code patch files from the official security announcements site.

Key Features:

  • Effortless Patch Import: Easily import code patch diff files from official security announcements page into your platform.
  • Seamless Application: Apply code fixes across your platform with the click of a button.
  • Error Handling: Receive clear notifications in case of any errors or code mismatches during patch application, ensuring your platform's integrity.
  • Reversion Capability: Revert applied code changes swiftly and effortlessly, providing flexibility in managing your platform's code patch updates.
  • User-Friendly Interface: All these functionalities are conveniently accessible through a user-friendly interface, making the process hassle-free.

Enhance your platform management by simplifying the process of applying, verifying, and reverting code patches. Keep your platform without complexities, using the local_codepatcher plugin.

Installing via uploaded ZIP file

  1. Log in to your site as an admin and go to Site administration > Plugins > Install plugins.
  2. Upload the ZIP file with the plugin code. You should only be prompted to add extra details if your plugin type is not automatically detected.
  3. Check the plugin validation report and finish the installation.

Installing manually

The plugin can be also installed by putting the contents of this directory to

{your/dirroot}/local/codepatcher

Afterward, log in to your site as an admin and go to Site administration > Notifications to complete the installation.

Alternatively, you can run

$ php admin/cli/upgrade.php

to complete the installation from the command line.

Requirements

  • Git version 2

License

2024 Andrei-Robert Țîcă andreastsika@gmail.com

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.