Dan Poltawski
a671ebe866
Merge branch 'wip_MDL-49684_m29_tz2' of https://github.com/skodak/moodle
...
Conflicts:
version.php
2015-04-06 10:13:06 +01:00
David Monllao
32b97a03f3
MDL-49380 enrol_cohort: Fixing matches
...
Tiny fix as the group name was not properly
generated when incrementing the captured
generated number. Also adding unit test for
this case.
2015-04-06 10:47:54 +08:00
David Monllao
b948d8c8a0
Merge branch 'wip-MDL-49380-master' of git://github.com/abgreeve/moodle
2015-04-06 10:16:38 +08:00
David Monllao
c3dbbe5c74
Merge branch 'MDL-49313-master' of git://github.com/jleyva/moodle
2015-04-06 09:54:55 +08: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
Petr Skoda
e19b37101f
MDL-49684 timezones: add BC unit test first
2015-04-04 11:56:44 +13:00
Brendan Heywood
894f36abf9
MDL-49740 Lock: Fixed task lock release bugs
2015-04-03 11:13:03 +11:00
Brendan Heywood
e8a1c3e908
MDL-49747 Task: Improve coding error expection message
2015-04-03 11:11:51 +11:00
Juan Leyva
b5e6063803
MDL-49313 webservices: Unit tests for the external function
...
core_completion_get_course_completion_status
2015-04-02 21:58:14 +02:00
Juan Leyva
6c785afa2d
MDL-49313 webservices: Fixes and add the function to the mobile service
2015-04-02 21:58:13 +02:00
Costantino Cito
90c326640d
MDL-49313 webservices: New WS get_course_completion_status
2015-04-02 21:58:13 +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
Costantino Cito
db5b697158
MDL-49347 rating: New external function core_rating_get_item_ratings
2015-04-02 17:13:44 +02: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
Juan Leyva
7a334a9b7a
MDL-49498 user: Add core_user_view_user_list to the mobile service
2015-04-02 17:03:37 +02:00
Juan Leyva
214102d09e
MDL-49498 user: New external function core_user_view_user_list
2015-04-02 17:03:03 +02:00
Juan Leyva
826d572ddf
MDL-49498 user: New tests for user_list_view()
2015-04-02 17:03:03 +02:00
Juan Leyva
0ff203b657
MDL-49498 user: Move user/index event triggering to new API function
...
New function in user/lib.php: user_list_view
2015-04-02 17:03:03 +02:00
Juan Leyva
b679582707
MDL-49501 messages: Unit tests for mark_message_read
2015-04-02 17:02:20 +02:00
Juan Leyva
a84f89ca23
MDL-49501 messages: Add mark_message_read to the mobile service
2015-04-02 17:02:19 +02:00
Juan Leyva
31c474da59
MDL-49501 messages: New external function mark_message_read
2015-04-02 17:01:45 +02:00
Juan Leyva
5770f10e0d
MDL-49499 user: Add core_user_view_user_profile to the mobile service
2015-04-02 17:01:02 +02:00
Juan Leyva
94dcab769b
MDL-49499 user: New external function core_user_view_user_profile
2015-04-02 16:57:43 +02:00
Juan Leyva
a0b161bf23
MDL-49499 user: Unit tests for profile_view()
2015-04-02 16:57:43 +02:00
Juan Leyva
d1b238381f
MDL-49499 user: Move events triggering to new API function
...
New function in profile/lib: profile_viewed()
2015-04-02 16:57:42 +02:00
Juan Leyva
29ab635180
MDL-49504 notes: Unit tests for core_notes_view_notes
2015-04-02 16:47:23 +02:00
Juan Leyva
a80b551899
MDL-49504 notes: Add core_notes_view_notes to the mobile service
2015-04-02 16:46:04 +02:00
Juan Leyva
ec1a54ef03
MDL-49504 notes: New external function core_notes_view_notes
2015-04-02 16:45:20 +02:00
Juan Leyva
f0c5f8406c
MDL-49504 notes: Move note view triggering to API function
2015-04-02 16:42:07 +02:00
Juan Leyva
45e091ac27
MDL-49500 grades: Unit tests for the new external function
...
gradereport_user_view_grade_report
2015-04-02 16:41:40 +02:00
Juan Leyva
1bc85767b5
MDL-49500 grades: Add the new function to the mobile service
2015-04-02 16:41:40 +02:00
Juan Leyva
57272121d8
MDL-49500 grades: External function gradereport_user_view_grade_report
2015-04-02 16:39:56 +02:00
Juan Leyva
ef0dd22446
MDL-49500 grades: Move events triggering (user report) to a new method
2015-04-02 16:39:56 +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
Eloy Lafuente (stronk7)
0a2224b961
Merge branch 'MDL-49203-master' of git://github.com/jleyva/moodle
2015-04-02 13:19:35 +02:00
Juan Leyva
e7f4cf2ab7
MDL-49203 webservices: Fix unit tests for avoid random order issues
...
This problem usually happens in Postgres where a set of records is
ordered by a timestamp column and there are two or more records with
the same value
2015-04-02 12:57:22 +02:00
Eloy Lafuente (stronk7)
1d3fd63f97
weekly release 2.9dev
2015-04-02 11:48:43 +02:00
Eloy Lafuente (stronk7)
ac84f1f457
NOBUG: Fixed file access permissions
2015-04-02 11:48:43 +02:00
Dan Poltawski
8eba1ea977
Merge branch 'MDL-46805-scorm-last-fix' of git://github.com/dmonllao/moodle
2015-04-02 11:09:31 +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
Ankit Agarwal
7ceee32454
MDL-49330 webservices: Fix get_course_notes api
2015-04-02 11:09:25 +02:00
Marina Glancy
f79747171d
MDL-46960 completion: trigger event after clearing cache
2015-04-02 11:08:22 +02:00