Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

reportbuilder/Work outline: Difference between revisions

From MoodleDocs
(Reformat to create issue headings and put into order of processing)
m (Introduction and link to parent page.)
Line 1: Line 1:
=Introduction=
This page is a list of work required for the integration in to Moodle of the [[reportbuilder | Report Builder]] created by Totara.
=To do list=
This list has been arranged into roughly the order that they should be started / completed.
'''Create and update reportbuilder unit and behat tests'''
'''Create and update reportbuilder unit and behat tests'''
*Update Unit tests (Then keep them updated and passing throughout development)
*Update Unit tests (Then keep them updated and passing throughout development)

Revision as of 01:43, 27 May 2014

Introduction

This page is a list of work required for the integration in to Moodle of the Report Builder created by Totara.

To do list

This list has been arranged into roughly the order that they should be started / completed.

Create and update reportbuilder unit and behat tests

  • Update Unit tests (Then keep them updated and passing throughout development)
  • Add behat tests

Structural changes to reportbuilder

  • Use automatic class loading.
  • Fix existing classes
  • Work out what is commented out and why (git diff ~/git/totara/mod/scorm/rb_sources/rb_source_scorm.php mod/scorm/rb_sources/rb_source_scorm.php)
  • Fix warnings
  • Remove irrelevant totara data from:
    • main plugin
    • child classes
  • Totara_report_manager block needs to be included (or some other way for students and teachers needs to be found to access the reports).
  • Move language strings to plugin files
  • Fix navigation tree for viewing reports.

Replace calls to custom totara functions.

  • totara_set_notification()
  • file_postupdate_standard_editor() needs to be replaced (reportbuilder/general.php)
  • totara_feature_visable()
  • totara_get_manager()
  • Other yet undiscovered functions…

Update and create "sources" for the report builder.

  • Port over sources from Totara
  • Remove totara specific fields (diff between the database schemas in Totara and Moodle to see what fields to remove)
  • Remove totara specific functions
  • Add more classes to useful areas of Moodle (More than just SCORM).
    • Assign (submissions, summary, final grades)
    • Site log (exists in Totara, but need to upgrade to new log system)
    • Quiz
    • Forum
  • Make sure theses sources are indexed for performance

Formatting issues in the reportbuilder

  • Clean up formatting.
    • Fix capitalisations.
    • Doc blocks.
    • Comments.
    • multiple parameters on one line.
  • Possibly split up report forms - Not sure that they will get through all in one file.
  • Move add button to the next row so that it’s clear that you already are adding a field

Update javascript for the reportbuilder

  • Disable javascript calls (currently jquery).
  • Create YUI/Moodle Table (Talk to Frontend)
  • reportbuilder/filters/ remove jquery from hierarchy.php if not the whole file.
  • reportbuilder/showhide.php remove jquery and replace with yui.

Create / update embedded reports

  • reportbuilder/embedded/ all files need to be reviewed to determine if they are useful / relevant.

Replace add_to_log calls to event classes.

  • update report
  • view report
  • dailyreport
  • delete
  • $type . ‘ report’ - reportbuilder/index.php line 56 (deletion of report)
  • new report
  • export report

Update cron functions to use the new cron system.

Other miscellaneous jobs.

  • accessibility check.
  • Review all code 50+ files, thousands of lines of code.
  • Finish Report Builder documentation
  • Investigate in detail the file totara/reportbuilder/db/install.php. This changes the database structure which I am sure that integrators would have some hard questions about.