Block to export and import administration settings

Block to export and import administration settings

by David Monllaó -
Number of replies: 6

Hi,

I just added an entry (http://moodle.org/mod/data/view.php?d=13&rid=4660) with a pretty screenshot to the M&P database, it's a new block to import and export Moodle 2.0 administration settings. It also allows admins to partially load a preset and rollback applied changes, it can also be useful to keep track of the site settings changes.

I suppose that the link will not be available until the entry is approved, this is the latest plugin version.

All feedback will be welcomed smile

Average of ratings: Useful (4)
In reply to David Monllaó

Re: Block to export and import administration settings

by Guillermo Madero -

I'll test it ASAP, as I deal with several servers & installations, so it'll be a very welcome tool... great! smile

In reply to David Monllaó

Re: Block to export and import administration settings

by Mark Pearson -

David,

Just testing build 2013091100 with Moodle 2.6.3. So far so good! I am a wee bit perplexed by the setting 'Auto exclude sensible settings' though. The documentation refers to 'sensitive' settings, but it's still not clear what this means.  So far I've created a setting (with 'Export' -- not an intuitive thing to click -- might be better to have Create, Export (to download) and Import (to upload)). Next I will try an import.

Thanks for this functionality. It has the potential to make a moodle system admin's life a lot easier!

In reply to Mark Pearson

Re: Block to export and import administration settings

by Mary Cooch -
Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

I think sensible should probably be sensitive, yes. I don't know about Spanish but in French sensible means sensitive - if you know what I mean; it'll be a Latin thing smile

In reply to Mark Pearson

Re: Block to export and import administration settings

by David Monllaó -

Hi Mark,

Yes, Mary is right, in 2011 my English was even worst than now smile 

Thanks for pointing this out, I'm now migrating the block to 2.6 and 2.7, I will change that string.

In reply to David Monllaó

Re: Block to export and import administration settings

by David Monllaó -

I've released a new block_admin_presets version for Moodle 2.6

  • Fixed issues when importing external presets with some SimpleXML versions
  • Allow configuration of sensitive settings through Site administration > Plugins > Blocks > Admin presets
  • Changed to admin-style page layout
  • Fixed minor styling issues
  • Fixed  and notices to make it work with both PHP 5.3 and 5.4
  • Allow export/import of a new admin_setting types introduced in 2.6
  • Changed from "sensible" to sensitive smile
  • Updated README to markdown
  • Added automated acceptance test to prevent future regressions and ease future code migrations
  • A .travis.yml script that installs moodle + block_admin_presets and runs the new acceptance tests

The changes will not be backported to Moodle 2.5 as the 2.5 stable branch is not currently maintained by Moodle HQ. The new release can be downloaded in the plugin's page https://moodle.org/plugins/view.php?plugin=block_admin_presets

The code repository including the build status (embedded from travis-ci) can be found in https://github.com/dmonllao/moodle-block_admin_presets.

In reply to David Monllaó

Re: Block to export and import administration settings

by David Monllaó -

I've released a new block_admin_presets version for Moodle 2.7

You can download the 2.7 version in https://moodle.org/plugins/pluginversion.php?id=6555