Mass Actions block

Blocks ::: block_massaction
Maintained by Matthew Davidson
This block allows instructors to perform actions upon multiple resources or activities, rather than having to perform repeated actions on individual items.

Mass Actions block v1.2.10

Moodle 2.4, 2.5, 2.6, 2.7
Released: Tuesday, 31 January 2017, 10:29 PM
This is the Mass Actions block for Moodle 2.4 to 2.7. Its appearance and behaviors
are largely the same as the version for Moodle 1.9.

Created at University of Minnesota by the Custom Solutions team.

To install using git, type this command in the root of your Moodle install
git clone git@github.com:at-tools/moodle-block_massaction.git

Alternatively, download the zip from
https://github.com/at-tools/moodle-block_massaction/zipball/master
unzip it into the blocks folder, and then rename the new folder to massaction.


Once installed, capability "block/massaction:use" needs to be added to the roles/users
(e.g. teacher) in order for them to be able to use the block.


RELEASE NOTE
[2017013000]
- Removed one of the non-Javascript deletion confirmation steps
- Corrected call to redirect() when attempting to delete activities to prevent errors being
thrown on deletion confirmation page

[2016101701]
- Re-enables the duplication funtionality and refactors it to work with Moodle 2.7 and earlier.

[2016101700]
- Properly fixes compatibility with OneTopic course format

[2016101401]
- Properly fixes compatibility with Flexible course format

[2016101400]
- Integrate with Travis CI and fix errors and warnings

[2016101000]
- Removed 'Duplicate to' functionality due to compatibility issues with Moodle 2.7 and earlier.

[2016052401]
- Moved the string displayed when Javascript is disabled into the language file.

[2016052400]
- Enabled the block to inform the user, when Javascript is disabled, that Javascript
is required in order to use the block

[2016052300]
- Fix bug with Topics/Weekly formats when Course Layout is set to 'Show one section
per page' from Matt Davidson (syxton)

[2016030400]
- Fix bug with Flexible Sections course format where multiple checkboxes would be
displayed for each activity in a sub-section

[2016022400]
- Add 'Duplicate to' functionality from Matt Davidson (syxton)

[2015120100]
- Merge a deletion confirmation prompt from Rex Lorenzo (rlorenzo)

[2015091400]
- Improved checkbox processing to make it more robust, in case there are non-input
elements with an id matching the expected pattern

[2015032600]
- Updated applicable_formats() to allow any course format, while still
preventing plugins and tags from using this block (sharpchi)

[2015022700]
- Renamed README to README.txt
- Added $plugin->component for Moodle 3.0 compatibility
- Changed $plugin->release to an actual version number
- Updated course formats for which this plugin is available to include all of:
Flexible Sections, Collapsed Topics, Topics, and Weekly.
**If you use a course format not listed and feel it should be able to use
the Mass Actions block, please let me know and I will install your course
format plugin and test this block with that format.

[2014081900]
- merge lang string from Skylar Kelty (sk-unikent)
- Cosmetic change to move drop-down to new line

[2013112101]
- merge Hebrew translation from Nadav Kavalerchik (nadavkav)

[2013112100]
- initialize $this->content properly to avoid strict warning

[2013112000]
- convert calls to deprecated get_context_instance() to context_xxx::instance()
- fix javascript to work with 2.6, catch errors to avoid breaking the page' script
- use course_delete_module() when available (Moodle 2.5 and above)

[2013040400]
- try to parse the section names into the listboxes when possible

[2013040100]
- updated to be compatible with Moodle 2.4

[2012032201]
- added additional checking to avoid Javascript error

[2012032200]
- added French translation from Luiggi Sansonetti

[2012012500]
- fixed incorrect call to rebuild_course_cache(), which rebuild all courses leading to
performance problem.

[2011081500]
- initial release

Version information

Version build number
2017013000
Version release name
v1.2.10
Can be updated from
v1.2.9
Can be updated to
v6.0.0, v6.0.0, v6.0.0, v6.0.1 (2022041700), v7.0.0 (2022041800), v6.1.0 (2022041702)
Maturity
Stable version
MD5 Sum
d45c3e98629465cdb2542e31f949e456
Supported software
Moodle 2.4, Moodle 2.5, Moodle 2.6, PHP 5.5, Moodle 2.7, PHP 5.6
  • Latest release for Moodle 2.4
  • Latest release for Moodle 2.5
  • Latest release for Moodle 2.6
  • Latest release for Moodle 2.7

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS branch
moodle-27-master

Default installation instructions for plugins of the type Blocks

  1. Make sure you have all the required versions.
  2. Download and unpack the block folder.
  3. Place the folder (eg "myblock") in the "blocks" subdirectory.
  4. Visit http://yoursite.com/admin to complete the installation
  5. Turn editing on in any home or course page.
  6. Add the block to the page
  7. Visit the config link in the block for more options.