273 Commits

Author SHA1 Message Date
Tim Hunt
5bcfd504df MDL-45618 Fix @since PHPdoc tags. 2014-05-19 17:03:04 +01:00
Sam Hemelryk
9bcde27f66 MDL-44185 course: fixed @package typo in report/lib.php 2014-02-24 09:26:59 +13:00
Petr Skoda
a2a444ab75 MDL-29030 migration and cleanup of stats report
AMOS BEGIN
 MOV [pluginpagetype,coursereport_stats],[pluginpagetype,report_stats]
 MOV [stats:view,coursereport_stats],[stats:view,report_stats]
AMOS END
2011-11-06 12:22:49 +01:00
Petr Skoda
033af4b7ba MDL-29030 migrate and cleanup log report
AMOS BEGIN
 MOV [log:view,coursereport_log],[log:view,report_log]
 MOV [log:viewtoday,coursereport_log],[log:viewtoday,report_log]
AMOS END
2011-11-06 12:22:49 +01:00
Petr Skoda
3afce1a574 MDL-29030 convert participation report to new report type
AMOS BEGIN
 MOV [participation:view,coursereport_participation],[participation:view,report_participation]
 MOV [pluginpagetype,coursereport_participation],[pluginpagetype,report_participation]
 MOV [pluginname,coursereport_participation],[pluginname,report_participation]
AMOS END
2011-11-06 12:22:48 +01:00
Petr Skoda
8619857d5f MDL-29030 migrate progress report to new type
AMOS BEGIN
 MOV [pluginname,coursereport_progress],[pluginname,report_progress]
 MOV [pluginpagetype,coursereport_progress],[pluginpagetype,report_progress]
 MOV [progress:view,coursereport_progress],[progress:view,report_progress]
AMOS END
2011-11-06 12:22:48 +01:00
Petr Skoda
13fdaaacc3 MDL-29030 migrate completion report to new report type
AMOS BEGIN
 MOV [completion:view,coursereport_completion],[completion:view,report_completion]
 MOV [completiondate,coursereport_completion],[completiondate,report_completion]
 MOV [pluginpagetype,coursereport_completion],[pluginpagetype,report_completion]
 MOV [pluginname,coursereport_completion],[pluginname,report_completion]
AMOS END
2011-11-06 12:22:47 +01:00
Petr Skoda
275cbac71a MDL-29030 migrate outline report to new type
AMOS BEGIN
 MOV [outline:view,coursereport_outline],[outline:view,report_outline]
 MOV [pluginpagetype,coursereport_outline],[pluginpagetype,report_outline]
 MOV [pluginname,coursereport_outline],[pluginname,report_outline]
AMOS END
2011-11-06 12:22:47 +01:00
Sam Hemelryk
7229f239f3 MDL-28945 course_reports: Fixed up pagination issue 2011-10-19 16:50:23 +13:00
Tony Levi
1f186372ea MDL-28945: Fix course/activity completion reports initial selection broken 2011-10-13 17:00:52 +01:00
Petr Skoda
aff24313be MDL-29401 introduce new frankenstyle PARAM types
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02:00
Aparup Banerjee
d1e362405e Merge branch MDL-29186-master of git://github.com/samhemelryk/moodle
- resolved conflicts, minor whitespace and fixed quote.
- note: textlib_get_instance() is already deprecated
2011-09-13 16:06:21 +08:00
Aparup Banerjee
5433da6064 Merge branch MDL-29189-master of git://github.com/samhemelryk/moodle
- resolved conflicts.
2011-09-13 11:39:06 +08:00
Petr Skoda
138c76789b MDL-29014 fix a few incorrect uses of strlen and substr 2011-09-10 10:21:31 +02:00
Sam Hemelryk
91d284c145 MDL-29186 multilang Reviewed the uses of course fullname and ensured things were being formatted consistently 2011-09-08 09:38:46 +12:00
Sam Hemelryk
8ebbb06adf MDL-29189 mutlilang Reviewed the uses of course shortname and ensured things are being formatted consistently 2011-09-08 09:30:27 +12:00
Petr Skoda
8aa74f821d MDL-27696 initialise arrays
Credit goes to David Mudrak.
2011-07-19 15:03:58 +02:00
Petr Skoda
595646d15b MDL-28344 remove the unused $CFG->framename 2011-07-14 21:40:50 +02:00
Eloy Lafuente (stronk7)
e5a863e55c MDL-27829 course report - fix name of "Course completion report". Credit goes to Helen! 2011-07-01 20:38:06 +02:00
Eloy Lafuente (stronk7)
67fcc9989a Merge branch 'MDL-27829_block_pagetype_master' of git://github.com/andyjdavis/moodle 2011-07-01 11:51:26 +02:00
Andrew Davis (andyjdavis)
346a32a75b MDL-27829 blocks: added some more page types to some _page_type_list() functions 2011-07-01 15:43:26 +08:00
Andrew Davis (andyjdavis)
1fe0ecabf1 MDL-27829 blocks: altered some strings so page type strings match the names of the course reports in the UI 2011-07-01 10:01:38 +08:00
Eloy Lafuente (stronk7)
c5401e743d Merge branch 'MDL-28072_coursereport_undefined_function' of git://github.com/andyjdavis/moodle 2011-06-29 15:01:50 +02:00
Andrew Davis (andyjdavis)
26a0af08e0 MDL-28072 coursereport: added a missing require_once() 2011-06-29 12:59:44 +08:00
Andrew Davis (andyjdavis)
b38e2e28a1 MDL-27829 blocks: altered the algorithm used to find plugin page types 2011-06-27 12:27:41 +08:00
Andrew Davis (andyjdavis)
b822fc8511 MDL-27829 blocks: added some brains to generate_page_type_patterns() so that it can handle special cases like course reports 2011-06-22 17:01:21 +08:00
Aaron Barnes
5227344a07 MDL-26628 completion report: Fix hard coded strings in Completion report 2011-05-03 11:24:41 +08:00
Petr Skoda
cf717dc26b MDL-27148 use new get_in_or_equal() param prefix instead of start 2011-04-14 15:15:01 +02:00
David Mudrak
ea118bed0c MDL-20562 Do not use a capability name as a navigation node title
Ideally all reports should use their pluginname in the navigation tree.
In this particular case, the patch fixes two issues: using the
capability name as the report title in the navigation and incorrect
pluginname defined for coursereport_log.
2011-03-04 06:03:39 +01:00
Petr Skoda
2e98a7475a MDL-25626 fix previous incorrect fix incorrect cm id in completion report 2011-02-14 19:41:05 +01:00
Petr Skoda
b69f9a08d9 MDL-25626 fix incorrect cm id in completion report
credit goes to Aaron Barnes
2011-02-12 17:35:41 +01:00
Petr Skoda
46df3c6059 Merge branch 'MDL-25981' 2011-01-31 22:44:17 +01:00
Petr Skoda
9cedb80c5d MDL-26198 fix CSRF and missing access control + fix xhtml strict 2011-01-30 21:50:04 +01:00
sam marshall
0d8b6a69ce lib MDL-25981 Improved modinfo
This commit:
a) moves modinfo code into new library modinfolib.php
b) uses classes instead of stdClass objects, allowing a huge amount of documentation (and IDE completion)
c) adds hooks so that plugins other than forum can display messages like forum's 'unread', and plugins other than label can display html (apart from/as well as their view.php link) on the course view page
d) removes current hacks for forum and label (mainly in print_section but also across the code), replacing with new 'content' and similar variables [this is the reason for the changes in blocks, etc]
e) reduces size of modinfo in database (only when rebuilt) by excluding empty fields

The change is intended to be backward compatible and does not affect the format of modinfo in database.
2011-01-26 10:29:16 +00:00
sam marshall
1c6ed50500 completion MDL-25929 Remove progresstrackedroles option 2011-01-10 15:20:24 +00:00
Dan Poltawski
9e202d38c8 statistics MDL-25822 Fix broken navigation 2010-12-30 12:42:50 +00:00
Dan Poltawski
f9c2702ece statistics MDL-25822 Fix get_records_sql returning non-unique first column 2010-12-30 12:42:41 +00:00
Dan Poltawski
5b903967de statistics MDL-25822 multiple values in get_field_sql
A variety of get_field_sql calls returning multiple values, switched
to using MIN/MAX selects.
2010-12-30 10:30:07 +00:00
Sam Hemelryk
cf5a0dbdd4 course-reports MDL-24173 Course reports now use the report page layout + minor tweaks to the serenity theme. 2010-12-02 07:31:48 +00:00
Petr Skoda
516c5eca68 MDL-24698 hopefully fixed all completion_info problems 2010-11-17 06:23:56 +00:00
Petr Skoda
ad26248c3a MDL-25053 invalid SQL syntax
postgresql requires AS when defining column aliases, credit goes to Alan Peter Carter
2010-11-05 07:29:24 +00:00
Sam Hemelryk
367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Sam Marshall
cfc3392582 MDL-24714: Completion report names inconsistent 2010-10-18 10:15:37 +00:00
Sam Hemelryk
7d8e60f5ee course-participation-report MDL-23603 Optimised SQL 2010-10-18 04:48:37 +00:00
Aaron Barnes
c8ea6c60ab MDL-24328 completion Check criteria are set before showing links to report 2010-10-06 02:23:50 +00:00
Sam Hemelryk
035f3a4f57 course-report-progress MDL-19794 Fixed up deprecated calls 2010-09-22 08:52:02 +00:00
Petr Skoda
fbaea88faa MDL-24321 switching to stdClass in /c*/ 2010-09-21 08:13:11 +00:00
Petr Skoda
4da048ae3e no cvs id tags! 2010-09-17 12:11:59 +00:00
Petr Skoda
bfe559a57e removing invalid PAGE call 2010-09-17 12:04:11 +00:00
Sam Hemelryk
d13864e640 course-reports MDL-24153 Course section names are now used in the reports dropdown. Kudos to Brandon for the patch. 2010-09-10 08:47:58 +00:00