- Release candidate version for Moodle 4.5.
- Fix 'Generated images not showing when editing'.
- Impact of MDL-81920 and MDL-81960.
- Fix 'Orphaned sections problem when adding sections', a regression caused by 'Use section anchors in links when editing - pt 2' - #223.
- Add site default and course 'sectiontitleingridbox' and 'sectionbadgeingridbox' settings, to show the section title and section badges inside the grid box respectively. Both 'Yes' by default.
- Fix 'Version 404.1.2 adhoc task fails' - #222.
- Update to 'Fix not using course image resize method' update task.
- Use section anchors in links when editing.
- Add badges to grid - #215.
- Adjust section titles in grid and move 'title' attribute to cover whole grid box.
- Fix not using course image resize method.
- Fix updating of course when adding or removing sections. Note: Known issue of the section not looking as it should.
- Section navigation visibility improvements.
- Fix display of section zero on a single section page.
- Fix 'Unable to update defaultimageresizemethod setting' - #211.
- Add 'sectionzeroingrid' course and 'defaultsectionzeroingrid' site settings to state if section zero should be in the grid.
- Release candidate version for Moodle 4.4.
- Fix 'Orphaned Section still appear in Index Drawer'.
- Fix 'Restrict access can cause no content in other sections to be shown.' - #202.
- Fix 'Import quiz error + Number of topics reduced to 1' - #203.
- Improved solution to 'Problems with creating multiple courses from template via CSV in Grid Format' - #189, related to #203.
- Fix 'Html entities in section titles are not being decoded' - #205.
- Fix 'Import a format_grid course into a format_topics course fails and produces "undefined method"' - #193, thanks to @Syxton(Matt Davidson).
- Fix 'Sections showing beyond the number set in the settings', related to #196.
- Improved backup and restore logic.
- Show warning if there is a stealth section with content, related to #196.
- First version for Moodle 4.3.
- Fix 'Webp image causes an error and makes course unaccessible' - #190.
- Fix "Hidden sections are shown as not available" doesn't seem to work. - #192.
- Add 'Flex containers' justify-content property options' - #191.
- Fix 'Problems with creating multiple courses from template via CSV in Grid Format' - #189.
- Make 'Main content page' link on single section page more accessible.
- Fix 'Mouseover for shortened titles' - #187.
- Fix 'Grid completion calculated on user hidden modules' ('Available but not shown on course page' are still counted).
- Add keyboard control of the sections in the grid, left / right arrows. When the arrows are used the current selected section will show using an inner border to avoid conflict with accessibility, then use Esc to open the modal. Accessibility keys of Tab / Shift Tab and Enter will function to navigate with the focussed item and when a grid section is selected, the Enter key will open the modal. On the modal itself, the same keys will navigate the slider controls and the two close buttons, as well as the modules within the section. #191. Sponsored by AAU.
- Fix 'No sections showing when creating a course with the default number of sections'.
- Fix 'Images are missing in the grid boxes when restoring a course' - #172.
- Fix 'Undefined property' - #186.
- Fix 'Previous/Next section arrows are incorrect for RTL languages' - #183.
- Fix 'Last section not showing its image when editing'.
- Convert 'numsections' to 'gnumsections' to facilitate both a course setting and flexible section management when editing.
- Improve single section navigation appearance.
- Add bulk editing tools.
- Fix 'Better way to calculate completion progress' - #180.
- Fix 'Better scrolling experience using popup Modal' - #179.
- Fix 'Out of frame pictures in RTL language courses' - #173.
- Show the section image under the section title when editing.
- Improve popup CSS.
- Better content handler.
- Add Modal back, new implementation from the M3.11 version. Admin setting 'defaultpopup' and course setting 'popup' added, default of 'No' and '-' respectively.
- Add completion indication. Admin setting 'showcompletiondefault' and course setting 'showcompletion' added, default of 'No' and '-' respectively. Note: When 'defaultpopup' is being used with this and the popup is closed, the page will refresh. This is to allow the indication to be updated. This solution is not perfect but works and may in future be replaced with a far more complicated AJAX one. However, please do not raise bug issues about it.
- Release candidate for Moodle 4.1.
- Add 'Change the number of sections in the course settings' link when editing.
- Fix 'Cannot import activities between two courses using the Grid format' - #169.
- Improve upgrade script so that it attempts a repair if something breaks the first time.
- Fix 'Error during exchange of section pictures' - #168.
- Fix 'Displayed image not deleted when there are draft area files for a section'.
- Changed to semantic versioning 2.0.0 (https://semver.org/) for the release value, whereby the 'major' number is the Moodle core branch number. The 'version' property still needs to follow the Moodle way in order for the plugin to operate within the core API.
- Tidy and refactor code.
- More Behat tests.
- Highlighted section.
- Improved restore code.
- Improved styles.
- Remove image when a section is deleted.
- Release candidate.
- Start of complete re-build from scratch - functionality added as funded. Decision made due to the changes in the core API.
- Fix maturity information not showing in information site setting.
- Fix 'PHP8.0 Compatibility issue when switching to Grid format' - #157.
- Fix 'core_text' inclusion issue - #153.
- Fix more inclusion issues - #156.
- Fix "'format_grid\output\completion_info' not found" - #152.
- Fix 'Observer throws error on course restore format_{name}::get_contextid()' - #149.
- Added support information and settings for such.
- Fix 'Exception when using course import function' - #144.
- Fix 'Course restore fails with cannotgetimagesforcourse error' - #145.
Due to the changes, this is a 'release candidate' release, therefore it is imperative that you test on a test server first and report any issues back to me please. Please see the 'Reporting issues' section of the 'Readme.md' file.
- Rewrite of update of displayed images process, such that should fix #143 when upgrades are conducted on staged Moodle installations where there is no data folder. This also speeds up in general the update process as the displayed images are only regenerated when the course is accessed - thus a 'reset all' should be much faster. The downside of all of this is a slower page load for the first user to access a course that has had the displayed images updated.
- Fix backup files do not contain 'alttext' field for the image.
- Fix grid image placement for RTL languages.
- Fix missing 'set' prefix on 'section0ownpagenogridonesection' causing offset error on course restore.
- Fix 'PNG files not transparent' - #142.
- Fix 'Site default not applied to setsection0ownpagenogridonesection'.
- Add new 'single page summary image' functionality (with settings) to show the section image in the section summary on a single section page.
- Fix 'Duplicated section name' - #134.
- All course settings now have an option to track the value of the global default as set by the administrator. Thus, when they change, then the course changes without any user interaction on the course. The reset course functionality is still there and will set the value of the setting to the this 'new' default value. The default colour value is '-' and the colour picker box will show the colour that has been set as the default. All other settings will state what the default currently is.
- Fix settings not being reset: 'Greyout hidden' and 'Section 0 on its own page'.
- Fix incorrect value of 'numsections' when not present in the backup file. Note: If you see 'Default - {$a}' in a setting dropdown then you need to update core Moodle, please see: MDL-71048.
Note: Functionally the same as 3.9.1.0.
- Fix summary tooltip dismissing itself when floating over the section name. If you find it is still an issue, then consider using the 'sectiontitlesummarymaxlength' setting.
- Apply MDL-65539.
- Apply MDL-68231.
- Apply MDL-68235.
- Apply MDL-69065.
- Apply 'Add index to courseid format_grid_icon could improve performance' - #122, thanks to John (https://github.com/yao9394) for the patch.
- Fix 'Same color setting for "set or change img" as currentselectedimagecontainertextcolor in editing on' - #106.
- Fix scroll bar in main region when editing in Boost.
- Remove redundant 'defaultcoursedisplay' setting - #119.
- Tidy up old strings.
- Fix section one not shown - #105.
- Moodle 3.8 version based on V3.7.1.1.
- Reduced size of Tooltip JS - #94.
- Attempted fix for "found more than one record" for format_grid_summary table - #97.
- Use a shown section count for the number of grid boxes.
- Remove old redundant tests.
- Add missing Moodle defined.
- Styles tidy up.
- Removed old convert_legacy_image.php script as was only needed for conversion from M1.9 grid courses - #93.
- Fix cannot change image tiles when importing a grid format course - #66.
- Fix 2-3 image ratio.
- Beta version for Moodle 3.7 based on 3.6.0.5.
- Apply MDL-64819 - #91.
- Fix "Editing section summary and changing summary text breaks grid image" - #92.
- Fix summary tooltip opacity and not hiding when inside the grid box.
- Fix incorrect capability being checked in reset_grid_setting().
- Fix section name box does not fill image container when inside with the Boost and Foundation themes.
- Fix existing courses have an incorrect number of courses when upgrading to 3.6.0.4 - #90. Note: If on a version prior to 3.6.0.4 then bypass and install 3.6.0.4.1 or above.
- Put back 'numsections'. Thanks to "King's College London" for funding this enhancement.
- New: WebP displayed image support.
- Cope with 'sectionid' url parameter.
- Beta version for Moodle 3.6.
- New: French 'New activity image', thanks to Momar -> https://github.com/Momardiakhate.
- Fix PHPUnit test with 'defaultsectiontitlesummarybackgroundopacity' failure.
- Fix CONTRIB-7270 - Popovers not working as expected in Grid reset options section of settings - Boost theme.
- Foundation theme support.
- Fix: Boost theme shadebox adjustment.
- Fix: Convert displayed image to original mime type instead of only png patch when section zero in the grid.
- Fix: Cope with non-sequential section numbers.
- M3.5 version based on V3.4.0.4
- Fix incorrect help for 'sectiontitleboxinsideposition' setting.
- Fix for grey out issue - https://moodle.org/mod/forum/discuss.php?d=364153#p1492053.
- Implement Privacy API.
- Fix double entry for a course in the format_grid_summary when restoring.
- Fix logic of showing grid boxes depending on if it is visible against the grey out setting and course 'Hidden sections' option.
- Add the ability to 'Open in new tab' when the 'Course layout' is 'One section per page'. Gratefully funded by Coventry University UK.
- First beta version for M3.4.
- Fix 'No visual feedback of hidden sections' - #58.
- Another attempt at addressing #63 for tooltip accessibility - #60.
- Grid with essential fixed nav - nav bar overlaps the grid section when opened - #64.
- Add the ability to have section 0 on its own page when out of the grid and the 'Course layout' is 'One section per page'. Gratefully funded by Coventry University UK.
- Ensure overlay of navigation drawer in Boost.
- Fix "WCAG Changes and work to allow tooltip appearance on hover" - #63 - thanks to Pat for this.
- Fix colour popup form element not rendering correctly in Boost theme.
- First version for Moodle 3.3.
- Fix "Error when restoring course" - CONTRIB-6917.
- Fix not being able to tab to colour settings.
- Allow section navigation in flat navigation.
- Fix "gridcontainer alignment" - #54.
- Fix unable to use cursor keys to edit section title when editing.
- Fix border colour spilling out of title.
- Add ability to have a zero sized border.
- Add tile alignment setting.
- Add tile title height setting when 'inside' the tile.
- Add tile title background opacity setting when 'inside' the tile.
- Add tile title font size setting when 'inside' the tile.
- Add section title text alignment setting.
- Add section summary hover text length setting.
- Add section summary hover font colour setting.
- Add section summary hover background colour setting.
- Add section summary hover background opacity setting.
- Add ability to turn off custom cursors setting.
- Renderer API changes to support Adaptable theme changes.
- Fix 'Grey out unavailable broken' - #49.
- Fix 'Text not correctly escaped in grid popovers' - #52.
- Add nav drawer click functionality for Boost theme. Changes 2-14 gratefully funded by Coventry University UK.
- Fix '"bordercolour" is set to 0 when creating courses using the "Upload courses" tool' - CONTRIB-6655.
- Fix 'Arrows and cursors in M3.2 with RTL' - #41. Notes: Clean up CSS after MDL-57869 is fixed. Rebuilt YUI JS with Shifter - https://docs.moodle.org/dev/YUI/Shifter.
- Fix 'Managers assigned at Course Category levels cannot create a course with grid format selected' - #42.
- Fix position of shadebox with Essential / Boost theme - #45.
- Fix missing closing 'div'.
- Fix position of section title when inside the grid box and section title tooltip width.
- Incorrect word in 'defaultsectiontitleboxinsideposition' setting option - #46.
- Changed overlay and shadebox z-index to 2 for the Essential theme. If proven issues then will need to be somehow dynamic.
- Fix 'Embedded videos still load in one section per page mode' - #39.
- Remove old 'format_grid_delete_course' function and replace with '\core\event\course_content_deleted' event.
- Cope with the Boost theme in relation to the shadebox.
- Cope with the Boost theme in relation to the grid area.
- Improve deletion.
- Section title text format options. Thanks to Murdoch University, Perth, WA for supporting this enhancement.
- First beta for M3.2.
- Changes for MDL-54557.
- Fix layout rendering issues when section name is empty by using the single space trick - #36.
- Fix truncate long section names in the grid - #33.
- Improve deletion. Ref: https://moodle.org/mod/forum/discuss.php?d=334353#p1384895.
- First 'beta' version for M3.1.
- Changes for MDL-51802.
- Updated php4 constructor - #27 - thanks to Mark Sharp.
- Added the ability to grey out and unlink grid icons for unavailable sections - #30 - thanks to Justin Hunt.
- Travis CI fixes.
- Fixes for #30 in IE.
- Implement MDL-26226.
- Use custom user profile fields for accessibility - #23.
- Section 0 not shown on its own when in the Grid and 'Show one section per page' - #24.
- TravisCI - tidy up.
- Change colour setting type from 'text' to 'colourtext - 'ftext' -> 'fcolourtext' for theme styling.
- Fix logic flaw with named anchor and editing is on.
- Add Travis CI Support.
- Fix #22 - Grid sometimes loads with blocks misaligned.
- Show the correct shadebox section in response to a named anchor in the URL of the format: "#section-X" where 'X' is the section number.
- First 'beta' version for M3.0.
- Apply MDL-10405, MDL-48947 and MDL-51610.
- Do not halt on missing icon error (see: https://moodle.org/mod/forum/discuss.php?d=316768) but just continue and allow errors to be stored in the php.log file.
- Improved RTL support thanks to Nadav Kavalerchik.
- Delete format_grid_icon record when a section is deleted.
- Update language string for 'cannotfinduploadedimage'.
- Improved accessibility control by finally completing CONTRIB-3240 to use tab / shift tab, enter / shift enter controls.
- Fix CONTRIB-5881 - Renaming of items not allowing spacebar.
- Fixed coding fault when restoring a course from backup file.
- Attempt self repair if grid image not in the files table.
- Add the 'space' key as a means of opening / closing the shade box for accessibility.
- Attempt to set focus on first activity.
- Add composer.json file - #17 - thanks to Daniel Neis Araujo.
- Update readme.
- Added debug code for: https://moodle.org/mod/forum/discuss.php?d=316768.
- First stable version for Moodle 2.9.
- Optimise styles.
- Fix 'showavailability', ref: https://moodle.org/mod/forum/discuss.php?d=315452.
- Added the capability to delete a section.
- Fixed 'Pointless try...catch block in setup_displayed_image() (lib.php)' - #15.
- Add option to fit content popup to window size - #16 - thanks to Anthony Kuske - https://github.com/antriver.
- Tidied up, added reset options and improved #16.
- Optimised 'absolute' positioning of shadebox in light of #16.
- First 'release candidate' version for Moodle 2.9.
- Note: Need to seriously think about using AMD and transitioning to using jQuery instead of YUI as AJAX is possible in jQuery, but almost certainly not in the first instance as YUI is still supported in core. Modularisation is do-able in AMD with parameters required: https://docs.moodle.org/dev/Javascript_Modules.
- Fixed 'importing of grid icons.' - #11 - patch gratefully received from Tim Lock.
- Fixed 'Arrows still show when editing is on.' - #13.
- Revamped the arrows such that they are always visible.
- Arrow and close image size responsive to screen size.
- Changed the arrow images to FontAwesome: http://fontawesome.io/license/ and extracted with: https://icomoon.io/app/#/select.
- Added change in cursor for the arrow areas.
- Fix CONTRIB-5511: Navigation arrows should be hidden when only one section.
- Always show shadebox arrows on Tablets and Mobiles with the latter being half size.
- Release candidate for Moodle 2.8 - NOT for production servers.
- Fixed CONTRIB-5256. Thanks to Marius Jugariu for reporting the problem.
- Made the arrows easier to find by placing them always 75px from the top.
- Added German 'New activity' image. Thanks to Guido Hornig.
- Fixed section 0 editing drop down in Bootstrap v3 themes: #9.
- Fixed issue whereby the grid shade box is underneath certain theme components: https://moodle.org/mod/forum/discuss.php?d=266192#p1152232.
- Fixed CONTRIB-5191. This is a workaround that depends on MDL-43525 being implemented before it is reversed.
- Slight change to CSS for Bootstrap V3.
- Fixed CONTRIB-5106 - thanks to Hanna Edelman for this.
- Stable release for M2.7.
- First beta version for Moodle 2.7beta.
Change by G J Barnard
- Fixed CONTRIB-5001 - Cannot use the same image in the section summary as well as the grid.
- Note: Julian has departed from Moodle work so I have taken over full responsibility for the format.
Change by G J Barnard
- Fix to RTL CSS thanks to Nadav Kavalerchik - #3 being: Right align "New activity" notification image in RTL mode.
- Fixed missing strings in 'en' language file for 'One section per page' mode.
- Fixed number format on ordered lists as reported on https://moodle.org/mod/forum/discuss.php?d=252497.
- Changed current selected image container to #ffc540 from #00cc00. As the latter was too 'in your face'.
- Added a new setting so that you can choose if you want to display the "New activity" notification image. The default is yes.
- Removed colour and font size attribute of icon text from styles.css.
- Removed redundant icons.
- Fixed box-sizing method for Bootstrap V3 in styles.css.
- Slightly shrunk grid icon outside to make better use of available space.
- Changed current section colour in the grid to use a box-shadow instead of a background to avoid confusion with the current selected section. This is a compromised as the latter is there for accessibility reasons and hence rationally should stand out more. This change will not be back-ported as it's not IE8 compatible, http://caniuse.com/#search=box-shadow and hence requires a version of Moodle that does not mandate it.
- Fixed CONTRIB-4861 - Glossary pop-ups do not display correctly.
Change by G J Barnard
-
Fixed path and message confusion issue with the M1.9 upgrade script.
-
Fixed issue reported by Graham Woodsford whereby teachers could not create Collapsed Topics courses. The code in the area concerned is identical to the Grid format and hence the same issue affects it too. This is because the validation method 'edit_form_validation' in 'lib.php' was failing the values passed to it. These happened to be the hidden label values from 'course_format_options' which were being used because the 'Course creator' role that teachers have before becoming an 'editingteacher' role as defined in 'db/access.php' does not allow the teacher to have the 'format/grid:changeimagecontainersize', 'format/grid:changeimageresizemethod' and 'format/grid:changeimagecontainerstyle' capabilities. This also implies that the values of the other settings are wrong, which in fact they are, causing courses to be created (after fixing the colour settings for 'edit_form_validation') with odd values and not the defaults resulting in no icon set etc. And therefore needing to go back to edit the course settings.
Ok, this now leads on to a dilemma. Currently the course creator role does not have the Grid capabilities listed above. If they were added to 'access.php' then the role would have them (existing Grid admins would have to add manually). Then the teacher would see all the options when first creating a course as they do whilst editing. However, this means that if you wish to restrict the teacher from changing things as is the purpose of the capabilities in the first place, then you have to remove the capability in both the 'coursecreator' and 'editingteacher' roles. This is because by default 'coursecreator' is above 'editingteacher' and once enrolled on the course after having created it, the teacher has both. This makes things a bit complex and to be honest not that admin friendly. Therefore to keep things simple in what is in reality an event that is rare, I have decided not to add the capabilities to the 'coursecreator' role. This is additionally based on the presumed work-flow of a teacher where they create the course using the defaults, look at it and then decide what to change in the settings. The fix as it stands will facilitate this.
Change by G J Barnard
- Fixed shade box still being shown in editing mode when update capability is denied. Historical issue that has not been spotted before. Given http://docs.moodle.org/26/en/Capabilities/moodle/course:update I have no idea why that specific capability was in the format for checking editing capability in conjunction with actual editing capability in the first place. Fix is to remove the use of it completely which should marginally speed things up a bit.
- Fixed sections disappearing when the icon is clicked on in editing mode.
- Fixed icon image eventually disappearing when the section name / summary is changed. See CONTRIB-4784, a big thank you to Nadav Kavalerchik for spotting what was the cause of this and thus providing a reliable means of replicating the issue.
Change by G J Barnard
- Fix automated backups including displayed images when they should not.
- Fix 'reset_grid_setting' in 'lib.php' not resetting a course if it's only on default options.
- Fix restore using the wrong name for the 'image' field.
- Only delete the old image file if it exists after the new one has been successfully created in 'setup_displayed_image' in 'lib.php'.
- Fix course id set to default for courses created with versions prior to 13/7/2012 causing an exception to be raised when a section's image record cannot be found and yet the record exists already. This is due to new optimisation code relying on using 'courseid' to find the section records for the course in one go rather than getting them individually.
- Ensure a course sets its settings when it is created and then detaches itself from the global defaults.
NOTE: I did find in changing the backup / restore code that the changes did not take hold until I restarted the web server (in my case the Apache service) if you encounter a situation where the automated backup files are larger than the manual ones, then please restart the web server service.
The mystery of the disappearing images as reported on: https://moodle.org/mod/forum/discuss.php?d=244390 by Dan Trockman and by Llywelyn Morgan where overnight the displayed images on old courses disappear. This could be caused by the fact that the backup mechanism intentionally removes the displayed images so that they are not in the backup file which causes issues on restore. Then the next time the course is viewed they are automatically regenerated - this is intentional. But, the automated functionality calling the code within the format set the course id to '1' being the site course and not to the course id of the course being backed up (point 1 above addresses this). And hence the displayed images for course 1 would be deleted by 'delete_images()', however this would not have been an issue as there should be no records in the 'format_grid_icon' table for course id '1', but because of '5' above, old courses had the 'course id' set to '1' and not the true course id of the course. And so the method 'delete_images()' deleted them. This would have been fine as the regeneration code should have put the images back, but because the code could not find the record containing the image this did not happen (which '5' above fixes). But what I cannot explain yet is why with Dan Trockman's set up the 'database error' ('5') did not manifest itself. But I hope that fixes '1' and '5' will repair courses automatically when they are first viewed. Currently I am unable to work exactly why this is happening as have been unable to replicate it. If you encounter the same problem, please let me know with as much information as possible, like additional add-ons and when you notice it happening.
So, I have decided to release as is as the fixes above are important to distribute to the community.
Change by G J Barnard
- Fix incorrect detection of non-existent entry in format_grid_icon table. Thanks to Llywelyn Morgan for reporting this.
Change by G J Barnard
- Stable release for Moodle 2.6.
- Fixed slight issue with lack of prefixing '#' for colour settings in default settings.
Change by G J Barnard
- Initial BETA code for Moodle 2.6.
Change by G J Barnard
- Fixed issue over prefixed '#' in colour picker.
- Added validation to HEX RGB colour codes.
- Added US English language file.
- Implemented MDL-21097.
- Fixed an issue when deleting a course that was not in the grid format where the function 'format_grid_delete_course' in 'lib.php' was being called even though the course is not in the format and the wrong format object was being retrieved. This then resulted in a method call on a non-existent method.
Improvement by G J Barnard
- Implemented CONTRIB-4099 to add image icon size and colour changes. Gratefully crowd funded by: WL Wong Guido Gautsch Marcel de Leeuwe Joseph Thibault Gideon Williams Jean-Marc Doucet Nigel Barnett
- Changes for 'Accessibility' based upon MDL-41252.
- Fully implemented MDL-39542.
- Started implementing WAI-ARIA roles - http://www.w3.org/TR/wai-aria/roles. If you have information to help with this, then please contact us.
Change by G J Barnard
- Fix broken call to '_is_empty_text' as reported on CONTRIB-4589.
- Optimised fetching of icon data from database to one call instead of one call per shown section.
- Changed icon border size and radius to provide greater definition to the icon.
- Fixed shade box showing when pressing the 'Esc' key in 'Show one section per page' course layout - CONTRIB-4709.
- Fixed highlight this section text referring to 'topics'.
Change by G J Barnard
- Fixed sections not being shown when in 'Show one section per page' mode and editing. Thanks to Zdravko Stoimenov for reporting this.
- Changed 'editimage.php' to ensure that only the icon is removed when changing it. No specific issue just refactoring the code as a preventative measure.
- Fixed section 0 content displaying when it's in the grid, you first load a page and click on another section. Thanks to Llywelyn Morgan for reporting this.
Change by G J Barnard
- Changed 'JSON' code in 'module.js' to use the YUI library for JSON to support situations where the 'JSON' library is not built into the browser. Thanks to Colin Taylor for providing information of a situation I could not have possibly tested. Note: If you have already installed V2.5.4 or V2.5.4.1 then this is not an essential upgrade.
Change by G J Barnard
- Commented out 'console.log' code in 'module.js'.
- Removed old 'gridkeys.js' from 'javascript' folder. Note: If you have already installed V2.5.4 then this is not an essential upgrade.
Change by G J Barnard
-
Partial implementation of CONTRIB-3240. Thanks to Andrew Nicols for helping with the YUI module code on: https://moodle.org/mod/forum/discuss.php?d=237275. This means that it is now possible to navigate using the keyboard with the 'left' / 'right' cursor keys being used to perform previous section / next section respectively and the 'esc' key to toggle open / closed the shade box. As a bonus of this change I've added in navigation arrows to the shade box which appear when you hover over the middle of the sides - cool eh? Initially I also added Shift-TAB (previous section) / TAB (next section) / Enter (open shade box) / Shift-Enter (close shade box) keys to but after much deliberation (and logic issues) I have decided that until WIA-ARIA is fully understood I'll leave them out. Once much more information is known I'll put them back in. Also thanks to Enrico Canale and Darren Britten of La Trobe University for their support and information.
Note: If you're wondering where the M2.3 and M2.4 versions are, well I intend to release them a few days after this M2.5 version so that any bugs that have not been found can be fixed once without having to re-release three versions.
-
'module.js' has been completely reworked so that it is efficient and documented.
-
Added Pirate language.
Change by G J Barnard
- Implemented CONTRIB-4580 - Highlight current section.
- Implemented CONTRIB-4579, thanks to all who helped on https://moodle.org/mod/forum/discuss.php?d=236075.
- At the request of Tim St.Clair I've changed the code such that the sections underneath the icons are hidden by CSS when JavaScript is enabled so that there is no 'flash' as previously JS would perform the hiding.
- Added 'Downgrading' instructions above.
- Added 'Upgrading' instructions above.
- Added 'Known Issues' above.
Change by G J Barnard
- Fixed icon container size relative to icon size.
- Added 'alt' image attribute information being that of the section name.
- Tidied up more styles such that to pre-empt conflicts.
Change by G J Barnard
- Fixed CONTRIB-4216 - Error importing quizzes with grid course format.
- Fixed CONTRIB-4253 - mdl_log queried too often to generate New Activity tag. This has been fixed by using the 'course_sections' table instead to spot when a new activity / resource has been added since last login.
Change by G J Barnard
- Fixed scroll to top when clicking on an icon. Thanks to Javier Dorfsman for reporting this.
- Added in code developed by Nadav Kavalerchik to facilitate multi-lingual support for the 'new activity' icon. Thank you Nadav :).
- Adapted the width of the shade box such that it is dynamic against the size of the window.
Change by G J Barnard
- Code refactoring to reduce and separate the format as a separate entity.
- Corrected as much as possible as detected by 'Code Checker' version 2013060600 release 2.2.7.
- Once the first box is shown then the 'Enter' key will toggle the 'current' box hidden and shown.
- Changed the order of the history so that the latest change is at the top.
Change by G J Barnard
- First stable version for Moodle 2.5 stable.
Change by G J Barnard
- Removed '.jumpmenu' from styles.css because of MDL-38907.
- Added automatic 'Purge all caches' when upgrading. If this appears not to work by lack of display etc. then perform a manual 'Purge all caches' under 'Home -> Site administration -> Development -> Purge all caches'.
- Changes for MDL-39542.
Change by G J Barnard
- First 'Beta' release for Moodle 2.5 Beta.
Change by G J Barnard
- Changes because of MDL-37901.
- Invisible section fix for Tim Wilde - https://moodle.org/mod/forum/discuss.php?d=218505#p959249.
- This version considered 'Stable' from feedback of Theo Konings on CONTRIB-3534.
Change by G J Barnard
- Changes to 'renderer.php' because of MDL-36095 hence requiring Moodle version 2012120301.02 release 2.4.1+ (Build: 20130118) and above.
- Migrated code to Moodle 2.5 development version.
Change by G J Barnard
- Fixed issue in editimage.php where the GD library needs to be used for image conversion for transparent PNG's.
- Perform a 'Purge all caches' under 'Home -> Site administration -> Development -> Purge all caches' after this is installed.
Change by G J Barnard
- Fixed issue where the grid did not function in 'One section per page mode' on the course settings.
Change by G J Barnard
- Hopefully eliminated BOM issue (http://docs.moodle.org/24/en/UTF-8_and_BOM) that was causing the failure of the images to display.
Change by G J Barnard
- Second alpha release for Moodle 2.4
Change by G J Barnard
- First alpha release for Moodle 2.4