16943 Commits

Author SHA1 Message Date
Adrian Greeve
6e918b6437 MDL-45774 navigation: General fixes for the user navigation. 2015-04-13 15:54:24 +08:00
Adrian Greeve
e29866b57f MDL-49819 navigation: User profile string improvement.
Part of MDL-45774.
2015-04-13 14:41:55 +08:00
Juan Leyva
81f810dca8 MDL-49763 webservices: Handle correctly deleted users for forums 2015-04-10 22:21:42 +02:00
Damyon Wiese
46a2fbc4b7 MDL-49412 Navigation: Remaining behat fixed for nav branch
Behat is passing after this change.

Part of MDL-45774.
2015-04-10 17:19:28 +08:00
Damyon Wiese
221210e9b2 MDL-49412 Behat: Fix behat tests for all of @mod
This is after the navigation changes for 2.9.

Part of MDL-45774.
2015-04-10 17:18:23 +08:00
Adrian Greeve
45367bdf0c MDL-49688 navigation: First review fixes and version bump.
Part of MDL-45774.
2015-04-10 17:18:03 +08:00
Ankit Agarwal
b19cc4ef25 MDL-45898 myprofile: Redesign my profile page
Part of MDL-45774.

Contributions by John Okely, Jetha Chan and Damyon Wiese (squashed branch).

AMOS BEGIN
CPY [coursebadges,core_badges], [badges,core_badges]
AMOS END
2015-04-10 17:17:32 +08:00
Adrian Greeve
f495187da7 MDL-48935 navigation: Update the user nav breadcrumbs.
Part of MDL-45774.
2015-04-10 17:17:07 +08:00
Adrian Greeve
283ea788bf MDL-48931 navigation: Implement the user subheader.
Part of MDL-45774
2015-04-10 17:17:07 +08:00
Adrian Greeve
e026cc9253 MDL-48930 navigation: Update to forum page headers.
The forum posts and discussion headers have been updated
to use the course full name instead of the short name to
match other pages.

Part of MDL-45774.
2015-04-10 17:17:07 +08:00
Adrian Greeve
880c50731f MDL-48930 navigation: Using user headers in user pages.
Pages that are percieved to be in a user context are now
using a user context for the header.

Part of MDL-45774
2015-04-10 17:17:07 +08:00
Dave Cooper
81d7de1aa1 MDL-48936 lang: Changed "My Home" to "Dashboard".
Part of MDL-45774
2015-04-10 17:16:27 +08:00
John Okely
9b5e702a11 MDL-49748 mod_data: Fix undefined offset error and add behat coverage 2015-04-10 09:42:34 +08:00
Alex Mitin
23464633c8 MDL-49748 mod_data: update fields even when empty 2015-04-10 09:42:34 +08:00
Gregory Zbitnev
6601690202 MDL-18309 Course: enrol/index.php returnurl improvement
This patch improves usability of enrolment page in case of course is not
enrollable. 'Continue' button now returns student to referring page instead of
main moodle page (as it used to be). To make this improvement, passing correct
returnurl parameter to enrol/index.php page was implemented for links that may
be accessible for not-enrolled students.
2015-04-10 09:32:31 +08:00
Jean-Michel Vedrine
716dfb630d MDL-49642 mod_lesson: fix restore of overrides 2015-04-09 15:26:40 +08:00
Rajesh Taneja
bed022decb MDL-48159 mod_assign: Use proper step to navigate to homepage 2015-04-09 11:13:33 +08:00
Rajesh Taneja
3072d006be MDL-48159 mod_assign: Fixed behat to pass on chrome
Chrome driver doesn't support clicking on
link which wrap on multiple lines. In this
case link is wrapped in navigation block
and was failing on chrome.
2015-04-09 11:07:34 +08:00
Brian Barnes
32bd11cb39 MDL-49628 general: improved accessibility of single selects 2015-04-09 11:12:16 +12:00
Colin Campbell
334bee5f60 MDL-48723 mod/forum: Fix cron task error on digest attachments. 2015-04-08 13:22:02 -05:00
M Kassaei
9f9d2caa33 MDL-40988 quiz: fix bug when editing default heading on blank quiz 2015-04-08 12:42:34 +01:00
Dan Poltawski
f5d9f19013 Merge branch 'MDL-49642' of git://github.com/jmvedrine/moodle 2015-04-08 08:57:15 +01:00
Jean-Michel Vedrine
31cb1b0eca MDL-49642 mod_lesson: fix backup of user overrides 2015-04-08 09:21:44 +02:00
Brian Barnes
8b3a10438f MDL-49782 general: removed uses of window.status 2015-04-08 11:49:06 +12:00
Dan Poltawski
5483bd6239 Merge branch 'MDL-49730-master-workshop-width' of git://github.com/mudrd8mz/moodle 2015-04-07 20:26:15 +01:00
Eloy Lafuente (stronk7)
a7d5af2d82 Merge branch 'MDL-48159' of https://github.com/andrewhancox/moodle 2015-04-07 19:13:56 +02:00
Dan Poltawski
fee0ba1f4e MDL-40988 quiz: behat fix from Raj 2015-04-07 15:39:14 +01:00
Andrew Hancox
e528997a4a MDL-48159 mod_assign: Added setting preventsubmissionnotingroup
If enabled a user will be unable to make a submission unless they are a
member of a group.
2015-04-07 14:30:40 +01:00
Damyon Wiese
82d341cfd5 Merge branch 'MDL-49503-master' of git://github.com/jleyva/moodle
Conflicts:
	lib/db/services.php
	version.php
2015-04-07 20:28:23 +08:00
Eloy Lafuente (stronk7)
615812040a Merge branch 'MDL-49065_m29v6' of https://github.com/sbourget/moodle 2015-04-07 14:15:33 +02:00
Damyon Wiese
75ece778c5 Merge branch 'MDL-49101' of https://github.com/andrewhancox/moodle
Conflicts:
	lib/db/upgrade.php
	version.php
2015-04-07 17:27:17 +08:00
Andrew Hancox
6398ff5387 MDL-49101 core: Add a global admin setting config->requiremodintro
Removed requiremodintro setting from all core activity plugins and replace
with a single global setting.
Deprecated moodleform_mod::add_intro_editor and replaced with
moodleform_mod::standard_intro_elements
2015-04-07 10:11:53 +01:00
David Monllao
6661d5de14 Merge branch 'MDL-49642' of git://github.com/jmvedrine/moodle 2015-04-07 12:06:22 +08:00
Dan Poltawski
759c4f0c55 MDL-40988 quiz: correct install.xml inconsistency
quizid should not have a default set
2015-04-06 14:38:42 +01:00
Dan Poltawski
774906fc6d Merge branch 'mdl38210-master' of https://github.com/tlock/moodle 2015-04-06 12:35:01 +01:00
Dan Poltawski
097979568a Merge branch 'MDL-40988' of git://github.com/mkassaei/moodle 2015-04-06 12:07:34 +01:00
Petr Skoda
d6e7a63d9a MDL-49684 timezones: rewrite timezone support
This patch replaces all homegrown timezone
stuff with standard PHP date/time code.

The main change is the introduction of core_date
class that returns normalised user and server
timezones. From now on nobody should be using
$CFG->timezone or $user->timezone directly!

Other new features and fixes:
* admins are prompted for timezone during install
* editing of other users is finally fixed
* timezones are displayed in user profile
* new $this->setTimezone() in phpunit
* time locale is now automatically reset in phpunit
* timezone is now automatically reset in phpunit
* phpunit has Australia/Perth as default timezone
2015-04-06 13:53:51 +12:00
M Kassaei
5d949702f8 MDL-40988 quiz: ability to break quizzes into sections
The sections are created on the edit quiz page, and then appear in the
navigation panel when the quiz is being attempted to help students find
their way around.

The 'Shuffle questions' setting has been moved from being per-quiz
to being a per-section.

This commit is actually the joint work of Mahmoud Kassaei and Tim Hunt
from The Open University. We could only use one persons name for the
commit and this time Mahmoud gets the credit/blame.
2015-04-05 14:30:53 +01:00
Jean-Michel Vedrine
247980b0e8 MDL-49642 mod_lesson: Fix issues found during integration review 2015-04-05 15:05:31 +02:00
Stephen Bourget
446db9fe33 MDL-49065 Lesson: Add Behat tests for my home 2015-04-02 13:18:17 -04:00
Stephen Bourget
673e0d5a14 MDL-49065 Lesson: Fix attempt info displayed by course overview block 2015-04-02 13:17:33 -04:00
Juan Leyva
d508dfe79a MDL-49503 forum: Add view_forum_discussion to the mobile service 2015-04-02 17:11:27 +02:00
Juan Leyva
a3c315dda2 MDL-49503 forum: New external function mod_forum_view_forum_discussion 2015-04-02 17:08:42 +02:00
Juan Leyva
6e5df52c80 MDL-49503 forum: Unit tests for forum_discussion_view 2015-04-02 17:08:42 +02:00
Juan Leyva
1546987b86 MDL-49503 forum: Move discussion viewed triggering to API function 2015-04-02 17:08:42 +02:00
Stephen Bourget
4ce40083e2 MDL-49642 mod_lesson: Behat tests for overrides 2015-04-02 13:56:53 +02:00
Jean-Michel Vedrine
e0e1a83e2c MDL-49642 mod_lesson: Group/user overrides 2015-04-02 13:56:52 +02:00
David Monllao
0adf7044ff MDL-46805 mod_scorm: Re-fix as previous object was removed in 2.8 2015-04-02 11:09:30 +02:00
Rajesh Taneja
e43bf473fa MDL-46805 scorm: Set user_id if scorm|aiccuserid config is set 2015-04-02 11:09:29 +02:00
Rajesh Taneja
345c6a1ac0 MDL-49513 behat: Updated step name to match new step 2015-04-02 11:08:21 +02:00