49961 Commits

Author SHA1 Message Date
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
3f5389b129 MDL-29030 fix whitespace 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
Petr Skoda
d9298dc6fd MDL-29030 standardise report_security 2011-11-06 12:22:46 +01:00
Petr Skoda
a54078f684 MDL-29030 standardise report_questioninstances 2011-11-06 12:22:46 +01:00
Petr Skoda
fd2af3faea MDL-29030 standardise report_courseoverview 2011-11-06 12:22:46 +01:00
Petr Skoda
c3a18edf65 MDL-29030 standardise report_configlog 2011-11-06 12:22:46 +01:00
Petr Skoda
1241d9736c MDL-29030 standardise report_backups 2011-11-06 12:22:45 +01:00
Petr Skoda
e30cc24c0d MDL-29030 make admin reports general reports
AMOS BEGIN
 CPY [pluginname,coursereport_log],[pluginname,report_log]
 CPY [pluginname,coursereport_stats],[pluginname,report_stats]
AMOS END
2011-11-06 12:22:45 +01:00
Petr Skoda
2a1ce6a8ed MDL-30150 support frankenstyle in page type callbacks 2011-11-06 11:32:12 +01:00
Petr Skoda
817e396a84 MDL-30148 remember guest access key
Remember password for course guest access and reuse it if the enrol cache is reset. Do not print guest access form when already using guest course access.
2011-11-06 11:00:31 +01:00
Petr Skoda
bbfdff344c MDL-30131 improve current user enrol caching 2011-11-06 09:40:06 +01:00
Dan Marsden
4388bd45b2 SCORM MDL-30146 AICC - add ability to link direct to a simple AICC url 2011-11-05 21:51:24 +13:00
Dan Marsden
ba0e91a281 SCORM MDL-27036 enable AICC HACP 2011-11-05 20:31:01 +13:00
Tim Hunt
9d5687893a MDL-30145 Quiz intro not displayed on the password page 2011-11-04 22:57:17 +00:00
Tim Hunt
f484a62984 MDL-30137 question engine: Ugglify the SQL to appease MS SQL server. 2011-11-04 15:02:29 +00:00
sam marshall
b849c21255 MDL-26647 (8) Support showuseridentity on enrol screen
Includes support for the table display, plus the AJAX, including search. (The fallback version uses user selector so is already supported.)
2011-11-04 13:57:21 +00:00
sam marshall
02dd3b9fc0 MDL-26647 (7) Support showuseridentity on assignment report 2011-11-04 13:57:19 +00:00
sam marshall
e4aec5bed3 MDL-26647 (6) Support showuseridentity on grader report, quiz report, SCORM report 2011-11-04 13:57:17 +00:00
sam marshall
24e14bc7a6 MDL-26647 (5) Support showuseridentity on course and activity completion reports 2011-11-04 13:57:15 +00:00
sam marshall
43aa295b95 MDL-26647 (4) Support showuseridentity on Participants page 2011-11-04 13:57:13 +00:00
sam marshall
1fdc0c6aaa MDL-26647 (3) Support showuseridentity on Browse Users page 2011-11-04 13:57:11 +00:00
sam marshall
a1c947bde2 MDL-26647 (2) New lib function get_extra_user_fields and related
get_extra_user_fields to get a list of extra user fields for display (that are permitted for current user in given context). get_extra_user_fields_sql returns the same thing as a SELECT list.

get_user_field_name returns the display name of a user field (basically just get_string($field) except phone1=>phone)
2011-11-04 13:57:10 +00:00
sam marshall
5c60a847f5 MDL-26647 (1) 'extrauserselectorfields' -> 'showuseridentity', add capability
This change:
- Renames the existing setting 'extrauserselectorfields' to 'showuseridentity'
  in preparation for using it in more places. (Upgrade change, new version.)
- Adds a new capability moodle/site:viewuseridentity, now required in order
  to see the extra fields; if you don't have the capability, you don't see them
- Slightly improves the display of extra fields in user selector list; it used
  to be like 'sam marshall, 01234567, email@address' and is now
  'sam marshall [01234567, email@address]' ie the fields are in square
  brackets
- Turns feature on for the group selector - the feature was enabled for other
  user selectors but not for the group selector. Tim did the disable code, he
  thinks this may be to do with more people having access to group selector -
  probably not a problem now it is controlled by capability.
2011-11-04 13:57:08 +00:00
David Mudrak
58c447aef0 MDL-29620 workshop table id sequence reset after the upgrade 2011-11-04 13:58:23 +01:00
David Mudrak
10df8657c1 MDL-29977 MNet does not allow to start a remote session when masquerading as another user 2011-11-04 10:02:19 +01:00
Ankit Kumar Agarwal
3ab853fade MDL-28277 SCORM optimising function get_scorm_question_count 2011-11-04 11:27:17 +05:30
Mary Evans
0a52611c5a wip-MDL-22351 convert Anomaly CSS to readable format 2011-11-04 02:37:11 +00:00
Dan Marsden
7320f48b98 SCORM MDL-29159 - override getContentHtml function in treeview so that it doesn't escape text incorrectly 2011-11-04 00:29:05 +13:00
Tim Hunt
de529cd253 MDL-30021 qtype numerical better showunits default when coming from 1.9
This applies to:
1. Upgrade from 1.9,
2. Import of questions exported from 1.9, and
3. Restore of courses backed-up from 1.9.

It also applies to the calculated question type.
2011-11-03 11:27:41 +00:00
Tim Hunt
78fc17ebdf MDL-29058 question export: include files from hints & combined feedback. 2011-11-03 11:27:39 +00:00
Tim Hunt
fe5f412104 MDL-29739 question import used a bad default for text formats.
The new logic is that the questiontext defaults to HTML if the format is
not specified, then all other fields default to the same format of the
question text.

However, good practice is that the XML file should specify the format
for each bit of text content.

This code is not 100% backwards-compatible, since some methods have new
arguments, however for question types that have not been updated, it
will just generate a PHP Warning, which is, I think, and OK way to let
qtype developers know that they need to update their question types.
2011-11-03 11:27:37 +00:00
Charles Fulton
8f725ade78 MDL-29970 question preview: Fill correct only if qtype supports it 2011-11-03 11:27:09 +00:00
Tim Hunt
bbc8c32174 MDL-28426 qtype base export_to_xml does not write format.
Fix based on Roger Moore's patch.
2011-11-03 11:24:29 +00:00
Jason Fowler
baf9c832de MDL-28292 - Blocks - Patch supplied by Chris Follin to fix blocks with empty titles that disappear when docked 2011-11-03 16:18:39 +08:00
Petr Skoda
ee362526f8 MDL-29897 Update upgrade.txt files 2011-11-03 08:11:55 +01:00
Ankit Kumar Agarwal
ef6b3ba159 MDL-29035 Backups making email match case-insensitive when restoring backups 2011-11-03 10:18:15 +05:30
Rossiani Wijaya
548a878bec MDL-25823 lesson mod: fixed true and false question feedback. 2011-11-03 12:47:53 +08:00
Ankit Kumar Agarwal
e46cef0b64 MDL-30044 SCORM documenting function scorm_report_list 2011-11-03 07:51:43 +05:30
Ankit Kumar Agarwal
b2f5ce3526 MDL-28277 SCORM Polishing codes 2011-11-03 07:46:08 +05:30
Dan Marsden
3297bb1add MDL-28277 SCORM remove whitespace from patch 2011-11-03 07:46:05 +05:30
Dan Marsden
49ff0cf349 MDL-28277 MDL-30009 fix for started on/last accessed on dates for users with no attempts. 2011-11-03 07:46:03 +05:30
Ankit Kumar Agarwal
769a621dc0 MDL-28277 small bug fixes
modified:   mod/scorm/report/interactions/report.php
	modified:   mod/scorm/report/interactions/responsessettings_form.php
	modified:   mod/scorm/report/reportlib.php
2011-11-03 07:46:01 +05:30
Ankit Kumar Agarwal
35540ec537 MDL-28277 Adding course context to format_Strings 2011-11-03 07:45:59 +05:30
Ankit Kumar Agarwal
7def307d1a MDL-28277 removed IN from sql statments 2011-11-03 07:45:57 +05:30
Ankit Kumar Agarwal
3b1e85a143 MDL-28277 formating codes 2011-11-03 07:45:55 +05:30
Ankit Kumar Agarwal
b84b783f6c MDL-28277 Small fixes 2011-11-03 07:45:52 +05:30
Ankit Kumar Agarwal
c03d2b753e MDL-28277 Added function to find question count 2011-11-03 07:45:50 +05:30
Ankit Kumar Agarwal
1135979696 MDL-28277 Basic Skeleton update
modified:   mod/scorm/report/interactions/report.php
2011-11-03 07:45:48 +05:30
Ankit Kumar Agarwal
8fb40a45fb MDL-28277 First Version push of the interactions plugin
new file:   mod/scorm/report/interactions/lang/en/scormreport_interactions.php
	new file:   mod/scorm/report/interactions/report.php
	new file:   mod/scorm/report/interactions/responsessettings_form.php
	new file:   mod/scorm/report/interactions/version.php
2011-11-03 07:45:46 +05:30