Wunderbyte Table

Local plugins ::: local_wunderbyte_table
Maintained by it's meDavid Bogner, Wunderbyte LogoWunderbyte GmbH
This plugin provides a huge enhancement of the table lib in Moodle. You can now use filtering, templates and different methods to display data in a clean and structured way easier than ever. This plugin is used combination with other plugins like mod_booking and should make life easier for Moodle developers. To have a quick demo install it and on your site go to /local/wunderbyte_table/demo.php

Wunderbyte Table 1.9.2

Moodle 4.1, 4.2, 4.3
Released: الجمعة، 15 ديسمبر 2023، 7:37 PM

Version 1.9.2 (2023121400)

  • Fix: Delete unneeded and conflicting CSS #34
  • Fix: Localize Demo strings in German #38

Version 1.9.1 (2023121100)

  • Improvement: Styling of search and sort icons.
  • Bugfix: Normal size of sorting icon (A->Z).

Version 1.9.0 (2023120700)

  • Improvement: Add Documentation about additional security "action_" methods.
  • Improvement: Toggle search immediately after enter key pressed.
  • Improvement: Update readme about search function enter key.
  • Improvement: Large A->Z sort icon, hamburger icon for filters.

Version 1.8.9 (2023120600)

  • Bugfix: Revert wrong "fixes" that actually broke the new security with "action_"-prefix.
  • Bugfix: Add missing capability strings.
  • Bugfix: Add "action_" to rownumberperpage function.

Version 1.8.8 (2023120501)

  • Bugfix: Check "real" method names including "_action".
  • Bugfix: Fix behat.

Version 1.8.7 (2023120500)

  • Improvement: Additional security via "action_" prefix for methodnames that can be called via webservice actions.

Version 1.8.6 (2023120400)

  • Bugfix: Notifications and debug error if uniqueid contains any symbols other than ASCII alphanumeric characters, underlines and spaces.

Version 1.8.5 (2023113001)

  • Improvement: Better tests, some smaller improvement of UI.

Version 1.8.4 (2023113000)

  • Improvement: Add privacy class
  • Improvement: Add view and actionbutton events for logging
  • Improvement: Add requirelogin and requirecapability for more security
  • Improvement: Additional automatic tests

Version 1.8.3 (2023112700)

  • Improvement: Added support for Moodle 4.3 and PHP 8.2.
  • Improvement: Nicer strings for already set filters and language fix.
  • Improvement: No unsanitized params in sql requests (#39).
  • Bugfix: Restore possibility to show chosen filters and reset all filters.
  • Bugfix: Fix search icon.
  • Bugfix: Forget filter after reset.
  • Bugfix: Fix click on reset button.
  • Bugfix: Fix stale file.
  • Bugfix: Fix for unscrollable page (and 4 failed behat test) under Moodle 4.3.
  • Bugfix: More specific names in styles.css to avoid confusion (#34).

Version 1.8.2 (2023112200)

  • Improvement: Actionbutton now transmitting data from table and title for modal.
  • Improvement: Add readme about formname and title.
  • Bugfix: Fix string in demo.php.

Version 1.8.1 (2023111300)

  • Bugfix: Fix param definition in external services.
  • Bugfix: Fix some namespaces.

Version 1.8.0 (2023103100)

  • Bugfix: Remove "zoom" selector from styles.css because of unintended consequences in mod_zoom plugin.

Version 1.7.9 (2023101000)

  • Bugfix: Do not show "&" in filters but show normal "&".

Version 1.7.8 (2023100900)

  • Improvement: Re-enable filtering for "users" tab on demo page.
  • Improvement: Use primary color for filter button.
  • Improvement: Only show success notifications if there is a message.
  • Improvement: Better alignment of search box.
  • Improvement: Fix spaces between up and down sorting arrows.
  • Bugfix: Fix sorting pseudo elements for older versions.
  • Bugfix: Fix filter for escaped chars.
  • Bugfix: Fix FontAwesome6 issues.
  • Bugfix: Show search icon again and use primary text color for both search and sort icons.

Version 1.7.7 (2023092101)

  • Bugfix: Fix timefilters to work with count labels

Version 1.7.6 (2023092100)

  • New feature: GH-26 & GH-27 display current filter settings and delete on button click.
  • Improvement: Hide search fields in 3/4 demo tables.
  • Bugfix: GH-25 Bugfix: Sorting field only displayed when sorting columns selectable.
  • Bugfix: GH-24 Fix for Moodle 4.2 FontAwesome sorting pseudo elements.
  • Bugfix: Keep tables in modals scrollable after actionbutton execution.
  • Bugfix: Prevent console error because of missing container element.

Version 1.7.5 (2023091900)

  • Bugfix: Allow for multiple values, comma separated values via filter.
  • Bugfix: Sorting not working without sort component.

Version 1.7.4 (2023091400)

  • Bugfix: Fix infinitescroll.
  • Bugfix: Fix bug where we didn't attach scroll to window.
  • Bugfix: Fix PHPDocs.

Version 1.7.3 (2023091300)

  • Improvement: Code quality improvements and linting.
  • Bugfix: Fixes for github actions (behat, mustache etc.).
  • Bugfix: Fix search icon for Moodle 4.2.

Version 1.7.2 (2023090800)

  • New feature: Flexoverlap filter for timespan taking into account all kind of overlapping timespans.
  • New feature: Search function within filters.
  • Improvement: Display norecords message, when no records found in table.

Version 1.7.1 (2023090600)

  • Improvement: Github actions green again.
  • Improvement: Add aria label to actionbutton icon.
  • Improvement: Correction in readme.
  • Improvement: Add title to icon in column.

Version 1.7.0 (2023090100)

  • Bugfix: str_replace causes exception if $match[0] not found.

Version 1.6.9 (2023081100)

  • Improvement: Move buttons, pagination, rowcount to top of table.
  • Bugfix: Missing cache definitions.

Version 1.6.6 (2023070500)

  • Bugfix: Default sortorder on tableload now applying.
  • Bugfix: Keep sortorder on change of sortcolumn.

Version 1.6.5 (2023062900)

  • New feature: Fulltext search in specific column using column:value (or "Column one":"value set" etc.) in searchfield.
  • Bugfix: Applying URL search also for lazy load table.
  • Bugfix: Display timespan filter only if records contain values in column of filter.
  • Bugfix: Infinitescroll triggered at the bottom of the table.

Version 1.6.4 (2023061600)

  • Improvement: Behat test - adjust scenarios to support hidden by default filter panel on the "course" and "Infinite scroll" tabs.
  • Improvement: GitHub Code Checker: fix linting.

Version 1.6.3 (2023061500)

  • New feature: Possibility to hide filter buttons on initial load (filteronloadinactive).
  • New feature: Displaying action buttons on top of table in case of infinite scroll.
  • Bugfix: Infinitescroll now working on lazyout table.
  • Bugfix: Datefilter query (Bug in 1.6.2.).

Version 1.6.2 (2023060900)

  • Bugfix: Fix bugs regarding URL searchParams on page which uses filter.

Version 1.6.1 (2023060801)

  • Bugfix: Fix bugs regarding labels for modals

Version 1.6.0 (2023060800)

  • Bugfix: Fix problem with fulltextsearch when adding bigint columns.

Version 1.5.9 (2023060500)

  • New feature: Filter for timespan, comparing two selected values (timespan) to two values of a record (i.e. startdate, enddate).

Version 1.5.8 (2023052200)

  • New feature: Localized Filter

Version 1.5.7 (2023051700)

  • New feature: Filter for columns with Unix timestamp.
  • New feature: Applying filter, search and sort params via URL.
  • New feature: Improved caching, especially for filters.
  • Bugfix: Tableheadercheckbox selecting all checkboxes in multiple table.
  • Bugfix: Infinitescroll.
  • Bugfix: Checkbox in card display.

Version 1.5.6 (2023042400)

  • New feature: Keeping last (current) sorting on reload.
  • New feature: Sortorder button and sorting select synchronized with tableheader sorting.
  • New feature: Keeping value for number of rows displayed in select on table reload.
  • New feature: Tablehash-cash unique for each user and tableid.

Version 1.5.5 (2023042000)

  • New feature: Displaying multiple tables in tabs on demo page.
  • New feature: Added selection-mandatory property and function to actionbuttons to define if an actionbutton triggers action without elements selected.
  • New feature: Actionbutton not triggering modal can treat data of selected elements and transmit multiple calls.
  • Bugfix: Tableheader row display with z-index displaying on top level of table.
  • Bugfix: Tableheader icons for sorting changed descending and ascending order.
  • Bugfix: Tableheader highlighting default sortcolumn and sortorder.
  • Bugfix: Tableheader click on columnname triggers sorting only for columnnames defined as sortable.

Version 1.5.4 (2023041300)

  • New feature: change number of rows in pagination mode.

Version 1.5.3 (2023040600)

  • New feature: Added new form functionality.
  • New feature: Added new checkbox functionality.
  • Bugfix: Fixed aria-label strings.
  • Bugfix: Use a dot to concatenate (plus sign is JS notation).
  • Bugfix: Fixed action buttons logic (added nomodal flag).
  • Improvement: Use cache instead of encoded table to improve security and performance.
  • Improvement: Renamed function to instantiate_from_tablecache_hash.

Version 1.5.2 (2023032100)

  • Bugfix: Pagination fixed.

Version 1.5.1 (2023031300)

  • Improvement: Allow value "0" as filter option (== null isstead of "empty" check).

Version 1.5.0 (2023030900)

  • Bugfix: Fix JS error on reloadAllTables.
  • Improvement: Better error message on sql error.

Version 1.4.9 (2023030100)

  • Improvement: Show error when sql fails.

Version 1.4.8 (2023022800)

  • Improvement: Icon in front of action button label via template.
  • Improvement: Define baseurl only in test.php (not in download.php).
  • Improvement: No automatic checkboxes during downloading.
  • Bugfix: Fix warning on download if $jsonobject is empty.

Version 1.4.7 (2023022000)

  • Improvement: Fix countlabel string.
  • Improvement: add reloadAllTables function.
  • Improvement: filter js less verbose.
  • Improvement: Add special treatment for JSON objects (e.g. for teachers).
  • Improvement: If there is nothing to filter, we don't show the filter.
  • Improvement: Documentation for explode and JSON features for filters.
  • Improvement: Make sure data-id is present in dom. We need it for a couple of operations.
  • Improvement: Layout - smaller filter column.
  • Improvement: Add a few identifiers for table & rows.
  • Improvement: make actionbutton more robust.
  • Improvement: add cardsort property to hide or unhide special sort element.
  • Bugfix: fix filter with multiple tables on one page.
  • Bugfix: fix row enumerations being correct as well as row ID.
  • Bugfix: small fix to avoid overlapping footer.
  • Bugfix: Fixed and improved sorting.
  • Bugfix: fix filter for int & postgres.

Version 1.4.6 (2023012800)

  • New feature: Add the "addcheckboxes functionality" with configurable action.

Version 1.4.5 (2023012600)

  • Improvement: Improved layout and styling for filter.
  • Improvement: Better CSS for cards view.
  • Improvement: New export param 'shoppingcartisavailable' for templates - so shopping cart plugin is optional.
  • Bugfix: Fixed bug with component of renderer (must be 'local_wunderbyte_table').

Version 1.4.4 (2023011200)

  • Improvement: Improved layout and styling.
  • Improvement: Code quality.

Version 1.4.3 (2022121500)

  • Bugfix: Some changes due to deprecation waringing.

Version 1.4.2 (2022120500)

  • Improvement: Some layout and design changes.

Version 1.4.1

  • Improvement: Improved styling of sorting buttons and layout.
  • Bugfix: Fixed baseurl handling to fix download which didn't work in modal.
  • Bugfix: Fixed lazyout on test.php.

Version 1.4.0

  • New feature: New possibility to turn infinite scroll on and off.
  • New feature: New possibility to turn labels and code buttons on and off.
  • Improvement: Better export (print) functionality.
  • Improvement: Don't hide table on reload.
  • Improvement: Sticky header and new sorting icons, new toggler.
  • Improvement: Improved code quality (linting).
  • Bugfix: Many minor bugfixes.

Version 1.3.2 (2022101000)

  • New feature: New export (print) functionality.

Version 1.3.1 (2022092200)

  • Bugfix: Sorting of non sql column caught now.

Version 1.3.0 (2022091900)

  • Bugfix: Fix scrolling bug.

Version 1.2.6 (2022091500)

  • Bugfix: Fix incorrectly implemented optional values, move to required.
  • Bugfix: Fix issue #1, missing cached table string.

Version 1.2.5 (2022082901)

  • Fix infinite scroll on some themes

Version 1.2.4 (2022082900)

  • Work on templates and consistency
  • Fix localized column headers
  • Add possibility to show reload button
  • Numeric filters can't have wildcards anymore

Version 1.2.1 (2022081800)

  • Clarify container structure for generalical ajax reload (pages, infinite scroll, filtering) and support for multiple table formats in one project.

Version 1.2.0 (2022080900)

  • Introduce fulltext search, filter and sort

Version 1.1.8 (2022050400)

  • Improvement: Improved code quality

Version 1.1.7 (2022042100)

  • Bugfix: Fix nolazyout function

Version 1.1.6 (2022041800)

  • Improvement: No login required for using lazyloading of Wunderbyte Table

Version information

Version build number
2023121400
Version release name
1.9.2
Can be updated to
1.9.15 (2024022600)
Maturity
الإصدار المستقر
MD5 Sum
5e14942500ea0c1202845bfb8cb91e81
Supported software
Moodle 4.1, Moodle 4.2, Moodle 4.3

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
v1.9.2

Default installation instructions for plugins of the type Local plugins

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder in the "local" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation.