Code Monkey home page Code Monkey logo

moodle-tool_lifecycle's Introduction

Course Life Cycle (moodle-tool_lifecycle)

Build Status codecov

Presentation Video Moodle Moot 2022 | Slides

This plugin provides a modular framework, similar to a workflow engine, which allows the to execute recurring tasks within moodle associated with courses. Possible use cases are (not limited to):

  • Deleting courses at end of life (including asking teachers for permission).
  • Doing a rollover at the end of a semester.
  • Automatically setting an end date for courses.

To be adaptable to the needs of different institutions the plugin provides two subplugin types:

Trigger: These subplugins control the conditions a course have to meet so that a specific process is started for it.

Step: These subplugins represent atomic, reusable tasks that should be executed for a specific course.

Requirements that are specific to your institution can be added through additional subplugins. For more information please have a look at the wiki. It provides instructions for administrators as well as for developers to implement own requirements into subplugins.

Installation

This is an admin plugin and should go into admin/tool/lifecycle. Obtain this plugin from https://moodle.org/plugins/view/tool_lifecycle.

Moodle version

The plugin is continously tested with all moodle versions, which are security supported by the moodle headquarter. Therefore, Travis uses the most current release to build a test instance and run the behat and unit tests on them. In addition to all stable branches the version is also tested against the master branch to support early adopters.

Changelog

The changes for every release are listed here: https://github.com/learnweb/moodle-tool_lifecycle/wiki/Change-log.

moodle-tool_lifecycle's People

Contributors

aaronkossler avatar dagefoerde avatar felixdilenarda avatar justusdieckmann avatar laur0r avatar lucaboesch avatar martingauk avatar ninaherrmann avatar petriasi avatar phmemmel avatar pm84 avatar tamaragunkel avatar tobiasreischmann avatar

moodle-tool_lifecycle's Issues

Unable to process courses

If a course encounters an error and the step is deleted before the error is managed, we cannot ever process the course again.

Steps

  1. step causes error and is logged in tool_lifecycle_proc_error
  2. Delete the step
  3. visit Error handling

Expected
Errored course is listed

Actual
Errored course is not listed

Solution
/classes/local/table/process_errors_table.php line 63
Use left join instead and do some other handling elsewhere too
'JOIN {tool_lifecycle_step} s ON pe.workflowid = s.workflowid AND pe.stepindex = s.sortindex ' .

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.