Reader
Versions
Current version
2025-04-03 (51) (2025040351)
2025-04-03 (51)
Plugin type: Activities
Frankenstyle component name: mod_reader
Version build number: 2025040351
Version release name: 2025-04-03 (51)
Maturity: Stable
Supported Moodle versions: 1.9, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3.0, 3.1, 3.10, 3.11, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5
Repository URL (Git): https://github.com/gbateson/moodle-mod_reader
Repository branch:
Repository tag: 2025-04-03-(51)
Issue/bug tracker URL: https://tracker.moodle.org/issues/?jql=project%20%3D%20CONTRIB%20AND%20component%20%3D%20%22Module%3A+Reader%22
========================================
Change log for mod_reader
2025-04-03 (51)
- fix error trying to set field to NOTNULL when NULL values already exist in some table records.
2025-04-03 (50)
- fix inconsistencies between database XML schema and actual fields in the DB
2024-12-11 (49)
- fix incorrect number of parameters in SQL call to select attempts from previous terms in view.php
2024-03-11 (47)
- change progress bar to one that uses Bootstrap. Also, allow teacher to specify 'Expanding progress bar'. Many thanks to Adam Jenkins
2024-03-07 (45)
- fix typo in lib.php dirroot => dirroot
2024-03-07 (44)
- convert legacy cron job to a scheduled_task (Moodle >= 2.7)
2024-03-07 (43)
- protect legacy event handlers from the code police in Moodle >= 4.2
2024-01-24 (42)
- small change to cheatsheet for compatability with Moodle 4.x
2023-03-23 (41)
- make certain tools compatible with Moodle 4.x which uses question_versions table
2023-02-19 (40)
- when showing user profile pictures on Moodle >= 3.11, use
2023-02-18 (39)
- fix permissions for displaying and acceessing the checkboxes on reports pages
2022-05-11 (38)
- add message to CHANGES.txt
2022-05-11 (38)
- compatability with Moodle 3.11: use /core_user/fields to get user name fields; user get_string('grade', 'grades')
2022-04-04 (37)
- get 'grade' from 'grades' lang pack instead of 'moodle'
2022-02-24 (36)
- replace used of 'groups' in SQL because it is a reserved word in MySQL 8
2021-09-14 (35)
- modify markdown syntax for long help messages (for compatability with Moodle 3.11)
2021-06-28 (32)
- : improve compatability wth PostgreSQL (1) use AVG function instead of (SUM / COUNT); (2) use single quotes when concatenating strings
2021-06-08 (31)
- add missing level 11 to Reading Level menu for changereaderlevel action in admin.php
2020-07-27 (30)
- fix tool to export Reader tables
2020-03-01 (29)
- include current version in tool to redo upgrade
2020-02-05 (28)
- fix import and export of attempts to include timestart/modified while maintaining backwards compatability with previous export files
2019-11-27 (27)
- fix setting of quiz id when downloading books without quizzes on sites using the mreader.org API
2019-11-20 (26)
- add 'Send message' action to 'Students (full)' and 'Books (full)' reports
2019-11-13 (25)
- fix behavior of download button on 'Edit books (Site)' page
2019-11-11 (24)
- remove unused declaration of global variables: $SESSION and $CFG
2019-11-08 (22)
- standardize layout and spelling in CHANGES.txt
2019-11-08 (22)
- when receiving quiz score from mreader API, update the image file name if necessary
2019-11-06 (21)
- include all relevant name fields from profile when filtering report results by 'Full name'
2019-10-25 (19)
- modify tool to fix book covers so that it can identify books uniquely on sites using mReader.org API
2019-09-17 (17)
- remove leftover debugging code and deal with 'abandoned' attempts more robustly when displaying main page with view.php
2019-08-08 (15)
- rename fields in install.xml: timeopen -> availablefrom, timeclose -> availableuntil, and remove private field from install.xml
2019-06-23 (13)
- fix display of teacher grades when there are multiple attempts at a book
2019-05-30 (12)
- remove 'continue' statement inside SWITCH block
2019-04-19 (11)
- fix 'Namespace declaration statement has to be the very first statement' errors when including event objects for
2019-04-19 (10)
- various small fixes to admin tools running on site where mReader API is enabled
2019-04-17 (09)
- set maturity to STABLE
2019-04-17 (08)
- modify the fix_bookcovers tool so that it works with the mreader.api
2019-04-10 (07)
- various adjustments to allow for removal of Reader Quizzes course
2019-04-05 (06)
- remove unused 'top' property of default object when fetching quizzes from moodle.reader.net
2019-04-02 (05)
- add 'Top for' question category in Moodle >= 3.5, and extract book name from new format used in XML coming from moodlereader.net
2019-03-30 (04)
- ensure 'modname' is defined when creating new activities in Moodle >= 3.5
2019-03-06 (03)
- fix downloading of images from mreader.org
2019-01-21 (02)
- remove use of 'events_trigger' for compatability with Moodle 3.6
2018-12-05 (01)
- add mreaderorg class to fetch SiteID and Key from mReader.org
2018-11-22 (00)
- add new setting to switch on use of quizzes on mReader.org
2018-09-18 (99)
- add preliminary functions to remove attempts from mreader.org
2018-09-18 (99)
- fix error using $this in static function when retrieving siteid from mreader.org
2018-09-18 (99)
- disable downloading of quizzes from mReader.org
2018-09-14 (98)
- preliminary version to use mreader.org quizzes instead of locally cached quizzes
2018-07-19 (97)
- take quizzes on mreader.org is the mreadersiteid config setting is set
2018-07-06 (95)
- add functionality to allow quizzes to be taken on the mreader.org
2018-07-04 (94)
- begin new PHP class to handle communication with mreader.org
2018-06-28 (93)
- add new mreader settings as first step to taking quizzes via mReader API
2018-05-29 (92)
- add quiz/mreader.php to handle quiz-taking on mReader.org
2018-05-29 (92)
- replace 'each()' with 'foreach()' for compatability with PHP 7.2
2017-10-04 (91)
- compatability with Moodle >= 3.3: replace use of deprecated JS (de)select_all_in
2017-10-02 (90)
- ensure 'goal' field is not set to null when creating new records in reader_levels table
2017-08-28 (89)
- fix (1) syntax bug that prevented display of import page; fix setting of 'type' in URL so that the Users -> Download book data (no quizzes) tab becomes active when it is clicked. (Thanks to Brian Nielsen for reporting these issues)
2017-06-16 (88)
- fix typo introduced in previous commit
2017-06-12 (87)
- remove IE6/7 specific CSS from styles.css because it may interfere with Boost theme in Moodle
2017-06-12 (86)
- add new fields to specify read-only until/from dates
2017-06-11 (85)
- (1) fix references to passed, credit, cheated and deleted fields; (2) add actions to detect_cheating tool; (3) add filters for cheated to user/book detailed report
2017-05-22 (84)
- reintroduce code to use reader_strict_users_list table
2017-05-22 (84)
- add 'status' column to output from tool to detect cheating
2017-05-21 (83)
- rename all uses of the 'preview' field to use the 'credit' field
2017-05-21 (83)
- add new index to reader_attempts field to speed up selection of valid passing attempts
2017-05-21 (82)
- remove 'checkbox' field from reader_attempts table, and rename 'preview' field to 'credit'
2017-05-21 (81)
- add new 'outputformat' setting to show either 'attempts grouped by user' or 'attempt grouped by book'
2017-05-19 (80)
- add actions to detect_cheating page
2017-05-19 (79)
- shprten date used on output from tool to detect cheating
2017-05-18 (78)
- add book details (word length, difficulty) and attempt details (duration) to tool for detecting cheating
2017-05-18 (78)
- add selectable checkboxes to tool for detecting cheating
2017-05-18 (77)
- display results of detect_cheating tool as an HTML table
2017-05-16 (76)
- preliminary version of tool to scna reader logs and detect suspicious behavior
2017-05-04 (75)
- force 'sequential' navigation through reader quiz questions and redirect errant or sneaky access to out-of-sequence pages back to correct page sequence
2017-04-28 (74)
- force 'sequential' navigation in Moodle >= 3.1 to prevent display of 'Previous page' button
2017-04-27 (73)
- replace use of pix_url for compatability with Moodle >= 3.3
2017-04-25 (72)
- improve borders on 'now.png' graphic
2017-04-22 (71)
- fix display of progress bar on Safari, Firefox, IE
2017-04-18 (70)
- preliminary fix for clipping of progress bar in Safari, Firefox and IE
2017-04-18 (70)
- fix teacher access to tools page
2017-04-14 (69)
- use pix_icon instead of pix_url for compatability with Moodle 3.3
2017-03-26 (68)
- fix 'Unsupported $module syntax' warning during installation via CLI
2017-01-25 (67)
- replace progress bar images and css so that the bar is fully visible on small screens (e.g. smartphones)
2017-01-16 (66)
- remove superfluous closing curly bracket from styles.css that was breaking CSS parser in Moodle >= 3.2
2017-01-06 (63)
- small improvement to the logic that issues Reader badges after a Reader quiz attempt
2017-01-02 (62)
- small fix to typo in comment
2017-01-02 (62)
- fix detection of completion conditions in lib.php, and trigger completion update and badges update when finishing an attempt at a Reader quiz in quiz/processattempt.php and quiz/attemptlib.php
2016-11-09 (61)
- use unformatted text in download progress bar messages for Moodle >= 3.2
2016-10-20 (60)
- improve the instructions in the README file
2016-10-17 (59)
- fix display of 'Tools' tab to non-editing teacher
2016-10-17 (58)
- allow teachers access to some tools
2016-09-30 (57)
- allow new term dates starting beyond current year
2016-09-29 (56)
- fix handling of "Previous page" in Moodle >= 3.1
2016-09-29 (55)
- remove unwanted HTML tags from Reader questions
2016-09-29 (54)
- remove unwanted script, style, and pre tags from question text
2016-08-20 (53)
- standardize 'die;' to 'die();'
2016-08-20 (53)
- remove use of deprecated 'error' function
2016-07-16 (52)
- Moodle coding standards compatability: remove all usage of 'print' and 'create_function' in PHP code
2016-06-30 (51)
- on Students (summary) report, fix display of words read in All Terms
2016-06-23 (50)
- add start time/date in tool to export Reader tables
2016-06-23 (50)
- fix display of links to quizzes for books that have no quizzes
2016-06-13 (49)
- add grade settings to the mod_form.php page
2016-06-13 (48)
- fix detection of unsigned DB fields in Moodle >= 3.1 when running tool to fix course page in hidden Reader Quizzes course
2016-06-09 (47)
- use $CFG->branch to detect Moodle's major version in version.php
2016-06-07 (46)
- fix download of report data in Moodle >= 3.1
2016-05-19 (45)
- fix 'duplicate record found' error when attempting book that shares a quiz with another book
2016-05-09 (44)
- add new site-side setting to allow local modifications to book difficulty (=reading level) to be maintained when book data is downloaded
2016-05-02 (43)
- allow new reader goals in steps of 25,000 between 100,000 and 300,000
2016-04-29 (42)
- fix setting of rows-per-page on reports
2016-04-28 (41)
- remove levels columns from Student (summary) report if levels are not being used; remove Groups (Summary) report if groups are not being used
2016-04-26 (40)
- fix setting of extra points doe to incorrect right padding of float numbers
2016-04-23 (39)
- replace all remaining uses of capability managequizzes by managebooks; allow teacher access to 'Admin area', but not to 'Tools' tab
2016-03-29 (37)
- ensure layouttype and grading type are set for newly downloaded Reader quizzes
2016-03-17 (36)
- add new progress bars for 10,000 - 40,000
2016-03-16 (35)
- remove unnecessary CONCAT statement from fix_missingquizzes tool
2016-03-14 (34)
- add empty sequence field when adding new section
2016-03-13 (33)
- standardize tabs and return link in admin/tools, and add new tool to move quizzes form current course to main Reader quizzes course
2016-03-04 (32)
- fix sorting of fields on reports
2016-02-27 (31)
- allow filtering of booktype on Books (summary) report
2016-02-07 (30)
- include Ordering question info in popup box containing version details
2016-01-25 (29)
- add svg versions of all ProgressBars and adjust ProgressBar background color for readability
2016-01-21 (28)
- fix folder structure for tabs in public release
2016-01-21 (27)
- fix deprecated use of class name as contructor for moodleforms in Moodle >= 3.1
2016-01-20 (26)
- allow emails to be sent from Student (summary) report
2016-01-20 (25)
- fix renamed contructor method for user_filtering class on Moodle >= 3.0
2016-01-20 (24)
- add new capability to allow teachers to check Reader/Moodle version
2016-01-20 (22)
- add new progress bars for 10,000 - 40,000
2016-01-19 (21)
- fix SQL for reports when there are no users enrolled in a course
2016-01-19 (20)
- remove empty rates records left over from delays table
2016-01-19 (19)
- reinstate mistakenly deleted string forcedtimedelay
2016-01-19 (18)
- redo SQL query to correct ly select rates even when no attempts have been made
2016-01-18 (17)
- add information about reading rates to the main view page
2016-01-18 (17)
- fix SQL to select rates on MSSQL
2016-01-18 (16)
- optimize SQL to select rate restrictions from the DB
2016-01-18 (16)
- fix initialization of array when no rates have yet been defined
2016-01-18 (16)
- modify get_delay() to use reading rates to calculate delay
2016-01-15 (15)
- fix setting and display of reading rates
2016-01-15 (15)
- display existing rates in rates page
2016-01-15 (15)
- modularize code to generate level and group rates
2016-01-15 (15)
- rename indexes on reader_rats table
2016-01-15 (15)
- rename inxes on reader_rats table
2016-01-14 (14)
- improve colors on reading rates page to isolate settings for each reading rate
2016-01-14 (14)
- add background color to LEVEL and GROUP fitems on user reading rates page
2016-01-13 (13)
- finalize format of page ot specify Reading Rates
2016-01-06 (12)
- add levels and groups to Reading Rates form
2015-11-15 (10)
- fix warning caused by printing header in startattempt.php before redirect
2015-11-13 (09)
- small fixes for Moodle 2.0
2015-11-09 (08)
- fix call to missing function get_optional_param
2015-11-09 (08)
- remove illegal MSSQL use of ORDER BY from join_users_with_attempts() in admin/reports/tablelib.php
2015-10-26 (07)
- small improvement in CSS to standardize CSS height on book form actions
2015-10-26 (07)
- allow books to be made available from the Books tab, and remove the Quizzes tab completely
2015-10-26 (07)
- add action to force the removal of a book (and all quiz attempts connected to that book
2015-10-24 (06)
- add functionality to remove books that have no live attempts
2015-10-21 (05)
- create new subtab to add a book, and remove Quizzes tab
2015-10-21 (05)
- fix display of empty genre on Books -> Edit (Site) page
2015-10-21 (04)
- improve readability of settings on Books -> Edit pages
2015-10-21 (03)
- rename 'length' fields to 'points'
2015-10-20 (02)
- fix expand/collapse functionality on list of books available for download
2015-10-19 (01)
- allow multiple 'Extra points' attempts on a student's main view page for a Reader activity
2015-10-19 (00)
- fix faulty version number
2015-10-18 (00)
- fix typos in explanation of how to use the reader for new users
2015-10-18 (99)
- add javascript to allow progress bar to fit on screens/windows smaller than 800px wide
2015-10-17 (98)
- add initial explanation of how to use reader for new students; allow teachers to switch to student view of Reader view page
2015-10-16 (97)
- allow level info to be transferred from another course
2015-10-16 (96)
- add groups column to usersummary and userdetailed reports
2015-10-14 (95)
- fix SQL to select students for reports even when they have no level set
2015-10-09 (94)
- allow non-editing teachres to see books outside their reading level on the main View page
2015-10-05 (93)
- add functions to implement course reset
2015-10-05 (93)
- add functions to implement course rest
2015-09-24 (92)
- fix "headers already sent" message when downloading from Reader reports page
2015-09-20 (91)
- improve efficiency of fetching group/grouping user ids and counts
2015-09-11 (90)
- fixed download URLs and added explanation on how to download quizzes to the readme file