reportbuilder/Work outline: Difference between revisions
From MoodleDocs
mNo edit summary |
(Reformat to create issue headings and put into order of processing) |
||
Line 1: | Line 1: | ||
'''Create and update reportbuilder unit and behat tests''' | |||
* Update Unit tests | *Update Unit tests (Then keep them updated and passing throughout development) | ||
* | *Add behat tests | ||
* Use automatic class loading. | '''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 | |||
* Fix existing classes | *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() | |||
* Remove irrelevant totara data from: | *file_postupdate_standard_editor() needs to be replaced (reportbuilder/general.php) | ||
** main plugin | *totara_feature_visable() | ||
** child classes | *totara_get_manager() | ||
*Other yet undiscovered functions… | |||
'''Update and create "sources" for the report builder.''' | |||
*Port over sources from Totara | |||
* Totara_report_manager block needs to be included (or some other way for students and teachers needs to be found to access the reports). | *Remove totara specific fields (diff between the database schemas in Totara and Moodle to see what fields to remove) | ||
*Remove totara specific functions | |||
* Move language strings to plugin files | *Add more classes to useful areas of Moodle (More than just SCORM). | ||
* Fix navigation tree for viewing reports. | **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 | |||
* Port over sources from Totara | |||
'''Update javascript for the reportbuilder''' | |||
*Disable javascript calls (currently jquery). | |||
* Add more classes to useful areas of Moodle (More than just SCORM). | *Create YUI/Moodle Table (Talk to Frontend) | ||
** Assign | *reportbuilder/filters/ remove jquery from hierarchy.php if not the whole file. | ||
** Site log (exists in Totara, but need to upgrade to new log system) | *reportbuilder/showhide.php remove jquery and replace with yui. | ||
** Quiz | |||
** Forum | '''Create / update embedded reports''' | ||
*reportbuilder/embedded/ all files need to be reviewed to determine if they are useful / relevant. | |||
* | |||
* Move add button to the next row so that it’s clear that you already are adding a field | '''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. |
Revision as of 07:30, 26 May 2014
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.