Dan Poltawski [Mon, 20 Oct 2014 16:24:22 +0000 (17:24 +0100)]
Merge branch 'MDL-47691' of git://github.com/timhunt/moodle
Dan Poltawski [Mon, 20 Oct 2014 16:20:26 +0000 (17:20 +0100)]
Merge branch 'MDL-47673' of git://github.com/timhunt/moodle
Dan Poltawski [Mon, 20 Oct 2014 13:30:46 +0000 (14:30 +0100)]
Merge branch 'MDL-47588' of git://github.com/timhunt/moodle
Tim Hunt [Wed, 15 Oct 2014 15:31:25 +0000 (16:31 +0100)]
MDL-47691 quiz: only warn re overdue attempts if a Q has been answered
If a quiz is set to have a grace period when time has expired, we only
email studnets to warn them about their overdue attempt if they have put
in an answer to at least one question that is worth some marks.
Tim Hunt [Tue, 14 Oct 2014 16:06:49 +0000 (17:06 +0100)]
MDL-47673 quiz generator: default grade 100 & fix review options
The review option defaults need to be like what you get from the editing
form, no what is stored in the database, or they don't work!
Tim Hunt [Tue, 14 Oct 2014 14:10:59 +0000 (15:10 +0100)]
MDL-47588 question behat tests: don't close the preview window.
If you do. Chrome + Selenium2 gets stuck (on Windows at least). Selenium
must be trying to send commands ot a window that does not exist any
more.
Tim Hunt [Tue, 14 Oct 2014 13:35:30 +0000 (14:35 +0100)]
MDL-47588 behat: fix switching back to the main window in Chrome
This fix is mostly based on what Colin Chambers found out. This commit
is a simplification of his work.
The problem is that the Chrome / Selenium 2 integration cannot swich to
a window with a blank name. The work-around applied here is, when we
switch away from an unnamed window, we set a name on it. Then we can use
that name to switch back.
Marina Glancy [Mon, 20 Oct 2014 09:08:20 +0000 (17:08 +0800)]
Merge branch 'MDL-47503-master' of git://github.com/damyon/moodle
Marina Glancy [Mon, 20 Oct 2014 09:02:28 +0000 (17:02 +0800)]
Merge branch 'wip_MDL-47754_m28_installredir' of git://github.com/skodak/moodle
Damyon Wiese [Mon, 20 Oct 2014 08:14:07 +0000 (16:14 +0800)]
MDL-47503 Grades: Display the notice about upgraded grades on all grade report pages.
Moved this to the print_grade_page_head function and added an access check so it only
displays for teachers.
Marina Glancy [Mon, 20 Oct 2014 07:19:57 +0000 (15:19 +0800)]
Merge branch 'MDL-47489-master' of git://github.com/FMCorz/moodle
Marina Glancy [Mon, 20 Oct 2014 07:06:43 +0000 (15:06 +0800)]
Merge branch 'MDL-47736_master' of git://github.com/markn86/moodle
Marina Glancy [Mon, 20 Oct 2014 07:06:29 +0000 (15:06 +0800)]
Merge branch 'MDL-47725-master' of git://github.com/FMCorz/moodle
Frederic Massart [Mon, 20 Oct 2014 06:19:02 +0000 (14:19 +0800)]
MDL-47725 gradereport_user: Only hide grades when they were altered
The method blank_hidden_total_and_adjust_bounds() now checks for more
than just a grade change, and in that cause would hide the grade. We
added a condition to only hide the grade when it effectively changed,
not when its other properties have.
Marina Glancy [Mon, 20 Oct 2014 06:08:06 +0000 (14:08 +0800)]
Merge branch 'MDL-38065-fix-master' of git://github.com/jmarthaler/moodle
Frederic Massart [Fri, 10 Oct 2014 07:56:17 +0000 (15:56 +0800)]
MDL-47489 core_grades: Behat tests covering contributions with extra credit
Frederic Massart [Fri, 10 Oct 2014 04:42:13 +0000 (12:42 +0800)]
MDL-47489 core_grades: Adjust weights of extra credit items for Simple
Frederic Massart [Fri, 10 Oct 2014 03:47:58 +0000 (11:47 +0800)]
MDL-47489 core_grades: Adjust weights of extra credit items for Mean
Mark Nelson [Mon, 20 Oct 2014 02:53:02 +0000 (19:53 -0700)]
MDL-47736 editor_atto: only save/restore draft when necessary
Marina Glancy [Mon, 20 Oct 2014 04:43:52 +0000 (12:43 +0800)]
Merge branch 'MDL-47737-master' of git://github.com/FMCorz/moodle
Damyon Wiese [Fri, 17 Oct 2014 04:16:18 +0000 (12:16 +0800)]
MDL-47503 Grades: Completely remove aggregationsubcats
This setting is not compatible with combinations of aggregation methods
and the ways in which it does and does not work are not documented. It
was voted to remove it completely by the gradebook workshop, so I have
completely removed it and added a warning for all affected courses + restored
backups.
Frederic Massart [Thu, 9 Oct 2014 07:25:55 +0000 (15:25 +0800)]
MDL-47489 core_grades: Adjust weights of extra credit items for Natural
Mark Nelson [Sat, 18 Oct 2014 02:23:29 +0000 (19:23 -0700)]
MDL-47735 mod_forum: added 'My profile' -> 'Forum posts' behat test
Petr Skoda [Sun, 19 Oct 2014 23:52:35 +0000 (12:52 +1300)]
MDL-47754 install: fix redirect loop
Mark Nelson [Sat, 18 Oct 2014 01:18:11 +0000 (18:18 -0700)]
MDL-47735 core: prevented iteration of 'groupmembersonly'
The course module variable 'groupmembersonly' was removed in 2.8.
Dan Poltawski [Fri, 17 Oct 2014 15:02:28 +0000 (16:02 +0100)]
on-demand release 2.8beta+
Dan Poltawski [Fri, 17 Oct 2014 13:46:30 +0000 (14:46 +0100)]
Merge branch 'MDL-47363' of git://github.com/marinaglancy/moodle
Dan Poltawski [Fri, 17 Oct 2014 13:32:19 +0000 (14:32 +0100)]
on-demand release 2.8beta+
Dan Poltawski [Fri, 17 Oct 2014 13:32:19 +0000 (14:32 +0100)]
NOBUG: Fixed file access permissions
Dan Poltawski [Fri, 17 Oct 2014 13:27:49 +0000 (14:27 +0100)]
Revert "MDL-47684 mod: better validation of rating options"
This reverts commit
8028df293a4f024a954dc12ed4e6cb5161c951b0.
Frederic Massart [Fri, 17 Oct 2014 12:48:43 +0000 (20:48 +0800)]
MDL-47737 editor_atto: Prevent false negative when saving draft on IE9
Dan Poltawski [Fri, 17 Oct 2014 10:44:58 +0000 (11:44 +0100)]
Merge branch 'MDL-47733-master' of git://github.com/FMCorz/moodle
Frederic Massart [Fri, 17 Oct 2014 10:19:11 +0000 (18:19 +0800)]
MDL-47733 editor_atto: Do not prompt error when draft is empty
Dan Poltawski [Fri, 17 Oct 2014 08:34:39 +0000 (09:34 +0100)]
Merge branch 'MDL-45843-master-fix1' of github.com/damyon/moodle
Dan Poltawski [Fri, 17 Oct 2014 08:30:38 +0000 (09:30 +0100)]
Revert "MDL-44548 mod_scorm: force an external sync to check for updated files."
This reverts commit
2d9a4a5f93169207a166d6d7a7426652e2bf83a1.
Damyon Wiese [Fri, 17 Oct 2014 08:21:35 +0000 (16:21 +0800)]
MDL-45843 LTI: Fixes for sloppy form handling
Eloy Lafuente (stronk7) [Fri, 17 Oct 2014 07:37:55 +0000 (09:37 +0200)]
Merge branch 'MDL-47655-master-fix1' of git://github.com/damyon/moodle
Marina Glancy [Fri, 17 Oct 2014 07:22:32 +0000 (15:22 +0800)]
MDL-47290 Grades: added bold for course total
Barbara Ramiro [Wed, 8 Oct 2014 09:10:23 +0000 (17:10 +0800)]
MDL-47290 Grades: Minified CSS and applied coding style standards
Barbara Ramiro [Wed, 8 Oct 2014 08:42:14 +0000 (16:42 +0800)]
MDL-47290 Grades: Style for the Single view table
Barbara Ramiro [Wed, 8 Oct 2014 08:39:38 +0000 (16:39 +0800)]
MDL-47363 Grades: Style for the Setup grades
Barbara Ramiro [Wed, 8 Oct 2014 08:37:50 +0000 (16:37 +0800)]
MDL-47363 Grades: Style for the User report
Marina Glancy [Fri, 17 Oct 2014 04:25:44 +0000 (12:25 +0800)]
MDL-18229 gradebook: missing 'use' in singleview
Zachary Durber [Fri, 17 Oct 2014 03:56:39 +0000 (11:56 +0800)]
MDL-18229 gradebook: Fixes for Singleview behat tests.
Jon Marthaler [Fri, 17 Oct 2014 03:27:52 +0000 (22:27 -0500)]
MDL-38065 gradebook: Fix issue with hidden categories breaking rowspan.
Hidden subcategories break the rowspan in the gradebook; this fix corrects
the calculation of the rowspan.
Zachary Durber [Fri, 17 Oct 2014 02:51:45 +0000 (10:51 +0800)]
MDL-18229 gradebook: Sesskey required for all actions.
Damyon Wiese [Fri, 17 Oct 2014 01:45:02 +0000 (09:45 +0800)]
MDL-47655 assign: Fix unit tests triggering debugging
Test was triggering notifications - so needs to use a message sink.
Zachary Durber [Fri, 17 Oct 2014 01:40:01 +0000 (09:40 +0800)]
MDL-18229 gradebook: Fix for min/max grades and large numbers.
Dan Poltawski [Thu, 16 Oct 2014 16:30:27 +0000 (17:30 +0100)]
Merge branch 'MDL-46599-master' of git://github.com/lameze/moodle
Dan Poltawski [Thu, 16 Oct 2014 14:14:20 +0000 (15:14 +0100)]
Merge branch 'MDL-47681-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Thu, 16 Oct 2014 14:02:24 +0000 (15:02 +0100)]
Merge branch '47631-28' of git://github.com/samhemelryk/moodle
Dan Poltawski [Thu, 16 Oct 2014 12:58:37 +0000 (13:58 +0100)]
MDL-18229 gradereport_singleview: missing MOODLE_INTERNAL
Dan Poltawski [Thu, 16 Oct 2014 12:49:44 +0000 (13:49 +0100)]
MDL-18229 grade report: coding style fixes
global definitions must be at the top of functions.
Dan Poltawski [Thu, 16 Oct 2014 12:44:48 +0000 (13:44 +0100)]
Merge branch 'MDL-18229-master' of git://github.com/zbdd/moodle
Dan Poltawski [Thu, 16 Oct 2014 10:50:38 +0000 (11:50 +0100)]
Merge branch 'MDL-47564-master' of https://github.com/sammarshallou/moodle
Dan Poltawski [Thu, 16 Oct 2014 10:45:22 +0000 (11:45 +0100)]
Merge branch 'master_MDL-44548' of https://github.com/danmarsden/moodle
Frederic Massart [Wed, 15 Oct 2014 06:31:01 +0000 (14:31 +0800)]
MDL-47681 core_grades: Ignore weights of grade items 'none' or 'text'
It can happen that some grade items with the type 'None' have a max
grade different than 0, in which case we would have set a weight for
them which is wrong as they must not have any. This patch always
ignores the grade items 'None' and 'Text' when calculating the
weights and locks the weight UI fields for those items too.
Dan Poltawski [Thu, 16 Oct 2014 10:35:19 +0000 (11:35 +0100)]
Merge branch 'MDL-47710' of git://github.com/timhunt/moodle
Dan Poltawski [Thu, 16 Oct 2014 10:12:01 +0000 (11:12 +0100)]
Merge branch 'MDL-47392-master' of git://github.com/xow/moodle
Dan Poltawski [Thu, 16 Oct 2014 10:07:27 +0000 (11:07 +0100)]
Merge branch 'MDL-47696' of https://github.com/willylee/moodle
Dan Poltawski [Thu, 16 Oct 2014 10:02:03 +0000 (11:02 +0100)]
Merge branch '47684-28' of git://github.com/samhemelryk/moodle
Tim Hunt [Thu, 16 Oct 2014 10:00:32 +0000 (11:00 +0100)]
MDL-47710 qformat_gift: fix bahat fails due to different ids in exports
Dan Poltawski [Thu, 16 Oct 2014 09:57:06 +0000 (10:57 +0100)]
Merge branch 'MDL-47655-master' of git://github.com/damyon/moodle
Dan Poltawski [Thu, 16 Oct 2014 09:52:40 +0000 (10:52 +0100)]
Merge branch 'MDL-47657-master' of git://github.com/gurgus/moodle
Dan Poltawski [Thu, 16 Oct 2014 09:43:52 +0000 (10:43 +0100)]
Merge branch 'MDL-47707-master' of git://github.com/gurgus/moodle
Dan Poltawski [Thu, 16 Oct 2014 09:39:12 +0000 (10:39 +0100)]
Merge branch 'MDL-47686-master' of git://github.com/damyon/moodle
Dan Poltawski [Thu, 16 Oct 2014 09:03:08 +0000 (10:03 +0100)]
Merge branch 'MDL-47576-master-fixup' of https://github.com/jethac/moodle
Dave Cooper [Thu, 16 Oct 2014 08:50:11 +0000 (16:50 +0800)]
MDL-47707 tool_monitor: Changed navigation position of event monitor.
This issue is part of the MDL-45758 epic.
Jetha Chan [Thu, 16 Oct 2014 04:08:10 +0000 (12:08 +0800)]
MDL-47576 user_menu: theme_base fixes
John Okely [Wed, 15 Oct 2014 07:42:51 +0000 (15:42 +0800)]
MDL-47392 core_grades: Consolidate grade item weight setting location
Damyon Wiese [Thu, 16 Oct 2014 07:20:07 +0000 (15:20 +0800)]
MDL-47575 Whitespace fix.
Damyon Wiese [Thu, 16 Oct 2014 06:49:49 +0000 (14:49 +0800)]
Merge branch 'MDL-47575-master' of git://github.com/zbdd/moodle
Damyon Wiese [Thu, 16 Oct 2014 06:34:52 +0000 (14:34 +0800)]
MDL-45758 Event monitor: Improve the help string.
Damyon Wiese [Thu, 16 Oct 2014 02:33:39 +0000 (10:33 +0800)]
MDL-47655 assign: Treat 'new' status as never submitted.
This fixes the recent activity callbacks to ignore submissions with a 'new' status.
The unit tests for recent activity were modified, because they were relying on the old behaviour of 'submitted' being the default status.
AMOS BEGIN
CPY [submissionstatus_,mod_assign],[submissionstatus_new,mod_assign]
AMOS END
Damyon Wiese [Thu, 16 Oct 2014 05:20:45 +0000 (13:20 +0800)]
Merge branch 'event_monitor' of git://github.com/ankitagarwal/moodle
Zachary Durber [Wed, 15 Oct 2014 05:39:36 +0000 (13:39 +0800)]
MDL-47575 gradebook: Show weights and contribution by default.
Damyon Wiese [Thu, 16 Oct 2014 05:00:22 +0000 (13:00 +0800)]
Merge branch 'MDL-47667' of git://github.com/timhunt/moodle
Adrian Greeve [Wed, 8 Oct 2014 03:25:09 +0000 (11:25 +0800)]
MDL-46599 gradebook: Added a time exported column to grade export via csv.
This will be useful for checking if a csv import is trying to overwrite
new grade updates.
Simey Lameze [Wed, 8 Oct 2014 02:57:45 +0000 (10:57 +0800)]
MDL-46599 gradebook: Add force import option on CSV file and direct importing
Simey Lameze [Wed, 8 Oct 2014 02:50:08 +0000 (10:50 +0800)]
MDL-46599 gradebook: Add last exported date column on ODS and XLS export formats
Sam Hemelryk [Thu, 16 Oct 2014 01:50:56 +0000 (14:50 +1300)]
MDL-47684 mod: better validation of rating options
Sam Hemelryk [Wed, 15 Oct 2014 22:04:53 +0000 (11:04 +1300)]
Merge branch 'MDL-47594_master' of git://github.com/kordan/moodle
Sam Hemelryk [Wed, 15 Oct 2014 21:31:20 +0000 (10:31 +1300)]
Merge branch 'wip-MDL-47629-master' of https://github.com/kwiliarty/moodle
Sam Hemelryk [Wed, 15 Oct 2014 20:59:06 +0000 (09:59 +1300)]
MDL-45843 mod_lti: bumped ltiservice dependency versions
spvickers [Wed, 3 Sep 2014 22:35:39 +0000 (23:35 +0100)]
MDL-45843 mod_lti: introduced support to LTI 2.0
This commit introduces support to the LTI module for LTI 2.0.
As well as the initial commit the following changes were made
and then squashed into the single commit for integration:
* Fixed bug in services
Fixed bug which limited characters allowed in values of template
variables (e.g. vendor ID) in service endpoints.
Changed language file to refer to tool registrations rather than
tool proxies.
* Refactored service classes
Moved classes relating to services into areas where Moodle will
autoload them
* Ran code through code checker
Removed all errors reported by the Code checker module
excluding third-party OAuth.php file.
* UI improvements
Mainly when adding an external tool to a course - fields which
should not be changed for a selected tool are either hidden or
disabled. Admin settings page now shows the Tool Registration
name against a tool rather than the launch URL, and the
registration URL replaces the GUID on the tool registrations
page.
* Updated tool proxy registration
Added check of tool proxy to ensure only offered capabilities
and services are included. Also check tool proxy when processing
a service request.
* Code review changes
Some fixes based on code review by Mark Nielsen and addition of
some PHPDocs comments.
* Updates from code/PHPdocs checks
Removed use of eval and corrected invalid PHPdocs for new
functions/classes
* Corrected namespace error and incorrect string terminator
* Updates based on forum feedback
Added dependencies and backup, restore and uninstall methods for
ltiservice subplugins.
Changed most uses of is_null to empty
* Updated custom parameters test
Updated test_split_custom_parameters to include new function
parameters.
Corrected PHPdoc entry for lti_split_custom_parameters
Fixed incorrect line separators in ltiservice.php
* Added require_capability to registrationreturn.php
* SQL and EOL updates
Moved PHP variable in SQL into a named parameter
Improved checks for end-of-line characters to include CR and LF
on their own or together
* Check for semicolon separators
Semicolon separators in custom parameters are changed to EOL
characters when upgrading to the
2014100100 version.
* Remove unused file
basiclti.js file not being used so removed.
* Adjust line lengths
Split long lines in upgrade.php
* Added savepoint to upgrade.php
savepoint omitted from earlier update to upgrade.php
* Updated namespaces and upgrade
Service and resource classes moved into .../local/...
Upgrade SQL moved into a function and unit test created
* Updated lti_tool_proxies table
Added indices and foreign keys to lti_tool_proxies table
* Fixed formatting and documentation issues
* ltiservice class moved into local
* Replaced lti_scale_used comments
Put back commented out code for lti_scale_used
* Removed redundant sesskey code
* Fixed namespace and path check
Updated ltiservice namespace for move into local
Added check for existence of $_SERVER['PATH_INFO']
* Updated upgrade code
Added indices and keys to lti_tool_settings table when upgrading
Fixed errors in upgradelib_test.php (thanks to jleyva)
Update SQL to use Moodle functions
* Use of empty with class method
PHP 5.4 does not like the use of empty with a class method so saved the
value to a variable first. PHP 5.5 seems to accept the use of a method
with empty.
* Removed redundant indices
Removed creation of indices for foreign keys on lti_tool_settings table
from install.xml and upgrade.php
* Fixes based on feedback
Minor changes and corrections based on review in JIRA
* Fixed bug in toolproxy service
Corrected bug which failed to respond properly to an invalid request
Also updated upgrade.txt file
* Improved admin navigation
Added the manage tool registrations page as a separate entry on the
admin menu (within a folder named LTI). Made this entry the current
position for the related pages.
* Updated PHPdocs with class names
Added class names with namespaces to PHPdocs to replace generic
references to "object"
* Changed object to iframe
Use of object tag in register.php changed to use an iframe tag in line
with the similar update made to view.php.
* Improved registration process
A message is now displayed if the registration page has not been loaded
in the iframe within 20 seconds. If a user is returned to Moodle
without a tool proxy being sent, the registration is moved back from
pending to configured.
* Fixes for integration
Removed comment - the template is the default path unless overridden, so
get_path and get_template should both be defined.
Added comment and intval to fix the issue with obtaining an error
reason.
Dan Poltawski [Wed, 15 Oct 2014 15:59:06 +0000 (16:59 +0100)]
Merge branch 'MDL-47576-master' of git://github.com/jethac/moodle
Conflicts:
theme/bootstrapbase/style/moodle.css
Dan Poltawski [Wed, 15 Oct 2014 15:56:43 +0000 (16:56 +0100)]
Merge branch 'MDL-47560-master' of git://github.com/gurgus/moodle
Willy Lee [Wed, 15 Oct 2014 15:13:51 +0000 (08:13 -0700)]
MDL-47696 assign: allow 'not submitted' filter to get all other submission statuses
Dan Poltawski [Wed, 15 Oct 2014 15:14:39 +0000 (16:14 +0100)]
Merge branch 'MDL-47243-master' of git://github.com/xow/moodle
Damyon Wiese [Wed, 15 Oct 2014 08:59:57 +0000 (16:59 +0800)]
Merge branch 'wip-MDL-47613-master' of git://github.com/marinaglancy/moodle
Ankit Agarwal [Wed, 15 Oct 2014 06:03:09 +0000 (11:33 +0530)]
MDL-45758 tool_monitor: Update behat tests
Ankit Agarwal [Mon, 13 Oct 2014 07:16:48 +0000 (12:46 +0530)]
MDL-45758 tool_monitor: Update subscriptions management UI
Damyon Wiese [Wed, 15 Oct 2014 07:56:30 +0000 (15:56 +0800)]
MDL-47686 assign: Fix restoring from a mod_assignment backup.
This was only working for admins.
Dan Poltawski [Wed, 15 Oct 2014 07:41:23 +0000 (08:41 +0100)]
Merge branch 'MDL-38732-master-2nd' of git://github.com/FMCorz/moodle
Damyon Wiese [Wed, 15 Oct 2014 06:52:42 +0000 (14:52 +0800)]
Merge branch 'master_MDL-47431' of https://github.com/danmarsden/moodle
Dave Cooper [Wed, 15 Oct 2014 06:47:08 +0000 (14:47 +0800)]
MDL-47657 mod_glossary: Fixed wrong error message on edit timeout.
John Okely [Mon, 13 Oct 2014 07:01:59 +0000 (15:01 +0800)]
MDL-47243 core_grades: Add behat tests for outcomes in Natural
John Okely [Thu, 9 Oct 2014 01:23:05 +0000 (09:23 +0800)]
MDL-47243 core_grades: Allow extra credit on outcome grade items
John Okely [Tue, 23 Sep 2014 09:06:40 +0000 (17:06 +0800)]
MDL-47243 core_grades: Add weight settings to outcome edit page
John Okely [Tue, 30 Sep 2014 06:09:46 +0000 (14:09 +0800)]
MDL-47243 behat: Add data generators for gradeitems scales and outcomes