GithubHelp home page GithubHelp logo

moodle-an-hochschulen / moodle-local_sandbox Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 4.0 217 KB

Moodle plugin which programatically restores courses to predefined course states. It can be used to provide playground moodle courses which will be cleaned periodically

License: GNU General Public License v3.0

PHP 83.93% Gherkin 16.07%
moodle moodle-local moodle-plugin

moodle-local_sandbox's People

Contributors

abias avatar alendit avatar kathrin84 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

moodle-local_sandbox's Issues

Print precheck errors

Hi from Purkersdorf, Austria!

I would find it helpful to have the result of the restore precheck checked and the errors printed (classes/task/restore_courses.php:159).

It would make debugging faulty runs of the scheduled task easier.

Thanks,
Chris

Restore course with course fullname

Hello from Bonn in Germany.

Maybe we found a bug in restoring courses.
If we restore a course via sandbox the fullname of the course does not get reset.
The course will keep its fullname.

Is it a bug or isnt it possible to restore the fullname?

Regards
Jochen

New id on course restore

Hi,

We are using your plugin and it works like a dream, but there is one thing - when the restore is run, it restores the course with a new id, so extern link to the sandbox course breaks after each restore.
Is there any possible way to get the plugin to restore in same id, or is there some settings somewhere i have overlooked.

Thanks for a great plugin

Moodle 4.2 request

Hi

I was wondering if you will be releasing a version for moodle 4.2 in the near future or if you had tested Sandbox on this moodle version.

Replace deprecated function "generate_uuid"

Running this plugin on Moodle 3.9 alpha code will raise following warning:

++ generate_uuid() is deprecated. Please use \core\uuid::generate() instead. ++
* line 638 of /lib/setuplib.php: call to debugging()
* line 138 of /local/sandbox/classes/task/restore_courses.php: call to generate_uuid()
* line 248 of /lib/cronlib.php: call to local_sandbox\task\restore_courses->execute()
* line 150 of /admin/cli/scheduled_task.php: call to cron_run_inner_scheduled_task()

HTH,
Adrian

No support for Moodle 3.4?

Here at QMUL we are currently using Moodle 3.4 and the sandbox plugin. Now in the latest version this plugin requires at least Moodle 3.5 - so we are stuck with the problem that we cannot switch quickly to a new Moodle version but want to keep a stable 3.4 version of the sandbox plugin as well.
May I suggest that you provide a "MOODLE_34_STABLE" branch of the plugin next to the more recent MASTER branch so that those still living slightly in the past are still supported?!

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.