Eloy Lafuente (stronk7)
3d77676d51
Moodle release 3.3.2
2017-09-09 22:48:09 +02:00
David Monllao
491ebf2b10
weekly release 3.3.1+
2017-09-07 11:39:09 +02:00
Eloy Lafuente (stronk7)
00c0582729
Merge branch 'MDL-59983-33-enfix' of git://github.com/mudrd8mz/moodle into MOODLE_33_STABLE
2017-09-07 11:01:11 +02:00
David Mudrák
dd2d372477
MDL-59969 admin: Warn admins if a development libs directory exists
...
We can't really control the direct web access to directories in dirroot,
that is part of the server setup. So we at least warn admins as they may
not realize the risks of having directories like vendor or node_modules
exposed.
Credit goes to Petr Škoda for mentioning the PHPUnit issue CVE-2017-9841
to me.
2017-09-07 11:01:11 +02:00
Marina Glancy
290b3a6095
MDL-59972 mod_feedback: escape subject when showing the contact form
2017-09-07 11:01:10 +02:00
Jake Dallimore
8c8139d093
MDL-58953 user: additional test case for user_can_view_profile()
2017-09-07 11:01:10 +02:00
Jake Dallimore
5968db869a
MDL-58953 user: fix course checking logic in user_can_view_profile()
...
Make sure to check that $user in enrolled in $course before checking
whether the current user has capabilities in that course, and make sure
that we don't check user context caps when handling a specific course.
2017-09-07 11:01:09 +02:00
Simey Lameze
a6acc25b38
MDL-59776 core_calendar: unit tests of module events deletion
2017-09-07 11:01:09 +02:00
Simey Lameze
233d271a91
MDL-59776 core_calendar: prevent deletion of module events
2017-09-07 11:01:09 +02:00
Juan Leyva
2da5effd17
MDL-58762 core: Get full course objects on navigation
...
The course object passed as parameter to extend_navigation_user
callback contained only a few parameters, some parameters like
showgrades or showreports were missing.
The callback should receive a full course object.
2017-09-07 11:01:08 +02:00
Juan Leyva
2dca45d720
MDL-58762 report: Check group permissions in course user reports
...
Teachers were able to see any student report even with forced separated
groups and capability moodle/course:accessallgroups off.
2017-09-07 11:01:08 +02:00
Jun Pataleta
e217354c8b
Merge branch 'm33_MDL-59635_Properly_Escape_Column_Names_Reserved_Words_Proof' of https://github.com/scara/moodle into MOODLE_33_STABLE
2017-09-07 11:01:07 +02:00
Eloy Lafuente (stronk7)
eafcaa4e41
Merge branch 'MDL-59696-33' of git://github.com/junpataleta/moodle into MOODLE_33_STABLE
2017-09-07 11:01:06 +02:00
Eloy Lafuente (stronk7)
8ae7ad0294
Merge branch 'MDL-59198-33' of git://github.com/ankitagarwal/moodle into MOODLE_33_STABLE
2017-09-07 11:01:05 +02:00
David Monllao
aed06e3b9d
MDL-59768 unittest: Remove references to unexisting method
2017-09-07 11:01:05 +02:00
David Monllao
064739b3df
Merge branch 'wip-MDL-59768-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-09-07 11:01:05 +02:00
David Monllao
e9e0083e30
Merge branch 'MOODLE_33_STABLE-MDL-59799' of https://github.com/jojoob/moodle into MOODLE_33_STABLE
2017-09-07 11:01:04 +02:00
Dan Poltawski
69bcff98e2
Merge branch 'wip-MDL-59992-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-09-07 11:01:04 +02:00
David Monllao
35f2a315a0
Merge branch 'wip-MDL-59815-33' of git://github.com/abgreeve/moodle into MOODLE_33_STABLE
2017-09-07 11:01:03 +02:00
David Monllao
cf6d37c10a
Merge branch 'MDL-59846-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-09-07 11:01:03 +02:00
Dan Poltawski
1b9cafb3e8
Merge branch 'MOODLE_33_STABLE-MDL_59834-Indexing_of_personal_messages' of https://github.com/mattporritt/moodle into MOODLE_33_STABLE
2017-09-07 11:01:02 +02:00
David Monllao
42b8955e28
Merge branch 'wip-MDL-59898-33' of git://github.com/abgreeve/moodle into MOODLE_33_STABLE
2017-09-07 11:01:02 +02:00
David Monllao
3909dc6316
Merge branch 'MDL-59963_33-report-logs-origin-pagination' of https://github.com/lucaboesch/moodle into MOODLE_33_STABLE
2017-09-07 11:01:01 +02:00
Helen Foster
ae1980d5d3
MDL-59983 lang: Merge English strings from the en_fix language pack
...
Significant string change:
* custommenuitems_desc in tool_mobile - improved wording
2017-09-05 11:03:28 +02:00
Matteo Scaramuccia
1c741c25c4
MDL-59635 tool_replace: Escape the column name.
2017-09-04 13:36:41 +02:00
Matteo Scaramuccia
7e05307cdf
MDL-59635 ddl: Added test_get_enc_quoted().
2017-09-04 13:36:41 +02:00
Jun Pataleta
26c37c0024
MDL-59696 theme_bootstrapbase: Set max-width for custom-select elements
...
* Set custom-select elements with a maximum width of 100% of their
container.
2017-09-04 10:12:06 +08:00
Jun Pataleta
e3cd9de694
MDL-59696 templates: Remove form-group div for url-select template
...
* Removed the div with the class 'form-group' that's enclosing the
select element and friends. It's not needed since the urlselect template
is an inline form.
* Also, for completeness, I added the helpicon data for the template's
context.
2017-09-04 10:12:06 +08:00
Tobias Garske
29786b259a
MDL-59898 access: Added Icon references.
2017-09-04 09:55:59 +08:00
Simey Lameze
2fb9bb8eac
MDL-59846 core_calendar: add styling to action link
2017-09-04 08:40:22 +08:00
Matt Porritt
e396e62df5
MDL-59834 Global Search: Indexing user messages
...
Make indexing of user messages tolerant to user deletion.
When creating the search document for user messages,
add a check to see if the user has been deleted in the
system. If they have been deleted abort creating the search
document.
This is to avoid rasining an error when trying to get the
user context for a deleted user.
2017-09-04 09:18:34 +10:00
Johannes Burk
55a0d1d09a
MDL-59799 course: Include course/lib.php before using move_courses().
2017-09-01 16:45:49 +02:00
Luca Bösch
e024daa740
MDL-59963 reports: origin parameter looked at in log reports
2017-09-01 11:50:03 +02:00
Luca Bösch
8c08dca80e
MDL-53936 reports: State default index page explicitly in pagination url
2017-09-01 11:49:25 +02:00
Jun Pataleta
77a6a09950
weekly release 3.3.1+
2017-09-01 13:27:03 +08:00
Jun Pataleta
458f8d8d63
Merge branch 'install_33_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_33_STABLE
2017-09-01 13:27:01 +08:00
Andrew Nicols
c7b53f80a6
Merge branch 'MDL-56646-33-fix' of https://github.com/xow/moodle into MOODLE_33_STABLE
2017-08-31 15:00:39 +08:00
John Okely
0fe8062c08
MDL-56646 mod_assign: Improve grade fix strings
2017-08-31 14:46:47 +08:00
John Okely
41982ebc63
MDL-56646 mod_assign: Make rescale behat more specific
2017-08-31 14:46:38 +08:00
Marina Glancy
fceada2c4e
MDL-59768 tasks: schedule task only if it is not scheduled
2017-08-31 14:34:59 +08:00
Marina Glancy
a13ecae829
MDL-59992 webservice: fix debugging message event context already set
2017-08-31 12:14:13 +08:00
Eloy Lafuente (stronk7)
2261278338
Merge branch 'MDL-59927-33-enfix' of git://github.com/mudrd8mz/moodle into MOODLE_33_STABLE
2017-08-30 11:06:03 +02:00
Peter Spicer
84dc1b0d17
MDL-59815 access: Fix definition of risks for user:delete.
2017-08-30 11:38:21 +08:00
Helen Foster
b7799e2da3
MDL-59927 lang: Merge English strings from the en_fix language pack
...
Significant string changes:
- firstpagetitle_help,mod_wiki - improved wording
- completionicons_help,core_completion - removing confusing sentence
about the tick being optional
2017-08-29 15:42:22 +02:00
Dan Poltawski
b3abfa22e0
Merge branch 'MDL-59195_assign_comment_permissions_33' of git://github.com/davosmith/moodle into MOODLE_33_STABLE
2017-08-29 11:55:15 +01:00
Jun Pataleta
733222c626
Merge branch 'MDL-59908-33' of git://github.com/ankitagarwal/moodle into MOODLE_33_STABLE
2017-08-29 17:42:05 +08:00
Andrew Nicols
f26fc77aac
Merge branch 'MDL-56646-33' of https://github.com/xow/moodle into MOODLE_33_STABLE
2017-08-29 15:51:44 +08:00
Andrew Nicols
23a2f3eaac
Merge branch 'MDL-59820-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-08-29 15:27:26 +08:00
John Okely
127992bfaf
MDL-56646 assign: Fix negative grades in restore
2017-08-29 07:15:08 +00:00
John Okely
76eefdded3
MDL-56646 assign: Add ability to fix errant grades
2017-08-29 07:15:08 +00:00
Jun Pataleta
c71370fe69
Merge branch 'MDL-59885-33' of git://github.com/cameron1729/moodle into MOODLE_33_STABLE
2017-08-29 14:48:15 +08:00
Ankit Agarwal
3458f178a9
MDL-59198 lti: Make params LTI2 compatible
...
LTI2 recommends to include both upper case and lower case of custom params.
This patch makes our implementation confer to that standard.
2017-08-29 11:43:38 +05:30
Andrew Nicols
bd90cb526f
Merge branch 'MDL-35290-33' of https://github.com/snake/moodle into MOODLE_33_STABLE
2017-08-29 13:15:01 +08:00
Jun Pataleta
7d753e1403
Merge branch 'MDL-59855-33' of git://github.com/junpataleta/moodle into MOODLE_33_STABLE
2017-08-29 11:45:42 +08:00
Jun Pataleta
8ab8763d47
MDL-59855 oauth2: More PHPDocs fixes
...
* Fix PHPDoc return type for api::get_system_account()
* Fix PHPDoc for the $contenttype parameter in \core\oauth2\rest::call()
2017-08-29 11:19:32 +08:00
Jan Dageförde
c9e2c1b44c
MDL-59855 oauth2: Fix PHPDoc type hints
2017-08-29 11:19:32 +08:00
Jake Dallimore
67fa4b55b9
MDL-35290 files: File manager reports files which can't be read
2017-08-29 11:14:46 +08:00
Jun Pataleta
6223245206
Merge branch 'MDL-59869-33' of git://github.com/Dagefoerde/moodle into MOODLE_33_STABLE
2017-08-29 10:43:29 +08:00
Eloy Lafuente (stronk7)
f668ffe97a
Merge branch 'MDL-59887-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-08-29 01:37:01 +02:00
Eloy Lafuente (stronk7)
888a005fa4
Merge branch 'MDL-59870_33-participants-th-top-vertical-aligned' of http://github.com/lucaboesch/moodle into MOODLE_33_STABLE
2017-08-29 00:54:39 +02:00
AMOS bot
ee0f446169
Automatically generated installer lang files
2017-08-29 00:07:56 +08:00
John Okely
ef2c635fdc
MDL-56646 assign: Don't rescale any negative grades
2017-08-28 07:28:21 +00:00
John Okely
f847ce94c9
MDL-56646 assign: Behat test rescaling after viewing student
2017-08-28 07:28:21 +00:00
Jun Pataleta
41c4762440
Merge branch 'wip-MDL-59708-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-08-28 15:02:11 +08:00
AMOS bot
924290eb14
Automatically generated installer lang files
2017-08-28 00:09:31 +08:00
Jan Dageförde
18264ac63d
MDL-59869 oauth2: Fix notification method
2017-08-26 15:41:56 +02:00
Jan Dageförde
a671402655
MDL-59869 oauth2: Send expiry notification on exceptions, too
2017-08-26 15:41:56 +02:00
AMOS bot
d26dd29aa3
Automatically generated installer lang files
2017-08-26 00:07:17 +08:00
Eloy Lafuente (stronk7)
42ae181f6c
Merge branch 'wip-MDL-59881-33' of git://github.com/abgreeve/moodle into MOODLE_33_STABLE
2017-08-25 00:59:57 +02:00
Luca Bösch
3e84f0e262
MDL-59870 users: Default align participant table header row.
...
Instead of putting vertical-align: middle as indication for participants table
headers, none is set which leads to theme default, i.e. bottom in Clean and Boost.
2017-08-25 00:12:17 +02:00
AMOS bot
1dabdae506
Automatically generated installer lang files
2017-08-25 00:05:39 +08:00
AMOS bot
cbbd71bdb6
Automatically generated installer lang files
2017-08-25 00:05:39 +08:00
Eloy Lafuente (stronk7)
af129014b1
weekly release 3.3.1+
2017-08-24 14:14:27 +02:00
Ankit Agarwal
316446e5b3
MDL-59908 backup: Backup rule should use both http and https schemes
2017-08-24 11:33:53 +05:30
Ankit Agarwal
3a5f11af69
MDL-59908 backup: Add tests to make sure both http(s) schemes are parsed
2017-08-24 11:33:53 +05:30
Simey Lameze
16434faf50
MDL-59887 block_myoverview: dont escape course and module names
2017-08-24 10:42:58 +08:00
Eloy Lafuente (stronk7)
ab5d142ff3
Merge branch 'MDL-59790-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-08-23 11:35:43 +02:00
Andrew Nicols
e7294cf68e
Merge branch 'MDL-57412-33' of https://github.com/xow/moodle into MOODLE_33_STABLE
2017-08-23 16:56:54 +08:00
John Okely
a4b061580b
MDL-57412 adminlib: change linkcoursesections default to 1
2017-08-23 15:08:14 +08:00
John Okely
a73d721669
MDL-57412 upgrade: Set linkcoursesections to 1 if boost in use
2017-08-23 15:08:14 +08:00
Simey Lameze
50fa49c852
MDL-59790 core: fix tooltip for pie chart
2017-08-23 12:28:10 +08:00
Jun Pataleta
19c75ebc5f
Merge branch 'MDL-59784-33' of git://github.com/andrewnicols/moodle into MOODLE_33_STABLE
2017-08-23 10:48:00 +08:00
Andrew Nicols
d7b6c78b7d
MDL-59784 core: Check for non-promises rather than string
...
If a malformed value was passed, it may be that we can still display it.
We should not assume that, if a string is not passed, that we are
dealing with a promise.
2017-08-23 10:30:29 +08:00
Jun Pataleta
1a451df26c
Merge branch 'MDL-59797-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-08-23 10:06:21 +08:00
Andrew Nicols
536566efaf
Merge branch 'MDL-51827_33' of git://github.com/timhunt/moodle into MOODLE_33_STABLE
2017-08-23 09:38:32 +08:00
Simey Lameze
883755af77
MDL-59797 core_course: dont escape module and section names
2017-08-23 09:21:04 +08:00
Eloy Lafuente (stronk7)
f434892cb6
Merge branch 'MDL-59663-33' of git://github.com/junpataleta/moodle into MOODLE_33_STABLE
2017-08-22 21:03:49 +02:00
Tim Hunt
90984ae3b5
MDL-51827 account confirm: take users to their dashboard
...
This is an old bit of UI inconsistency. For some reason it used to take
people to the list of all courses. Given modern Moodle usability
conventions, that does not really make sense any more.
2017-08-22 14:34:38 +01:00
Eloy Lafuente (stronk7)
a35a27e819
Merge branch 'MDL-59784-33' of git://github.com/andrewnicols/moodle into MOODLE_33_STABLE
2017-08-22 12:28:44 +02:00
Andrew Nicols
69c4972afb
Merge branch 'MDL-59826-33' of https://github.com/snake/moodle into MOODLE_33_STABLE
2017-08-22 15:57:27 +08:00
Andrew Nicols
9ca48527aa
Merge branch 'MDL-59825-33' of https://github.com/snake/moodle into MOODLE_33_STABLE
2017-08-22 15:27:29 +08:00
Jun Pataleta
ef55758462
Merge branch 'MDL-57775-33-xmlrpc' of git://github.com/mudrd8mz/moodle into MOODLE_33_STABLE
2017-08-22 15:00:14 +08:00
Andrew Nicols
22b3c71aa3
Merge branch 'MDL-59893-33' of https://github.com/snake/moodle into MOODLE_33_STABLE
2017-08-22 14:32:05 +08:00
Simey Lameze
60e1659fba
MDL-59820 core_calendar: remove unnecessary css class
2017-08-22 13:01:54 +08:00
Jake Dallimore
9bae6bc2d6
MDL-59893 assign: don't prefix file links when downloading as folders
...
Change to download_rewrite_pluginfile_urls() ensuring prefix isn't
added to file links when downloading with the downloadasfolders
user preference set to true. Links to files in onlinetext now work
when downloading as folders.
2017-08-22 12:58:14 +08:00
Jake Dallimore
cb7cf012f6
MDL-59893 assign: fixes for groupname prefix when downloading
...
assign->download_submissions():
- groupname now only added to zip file name if not empty, fixing a
double hyphen bug in the file name.
assign->download_rewrite_pluginfile_urls():
- groupname is now correctly determined using get_submission_group()
instead of using groups_get_activity_group() which fails when there
is no active activity group set. Uses the same logic that
download_submission() uses to prefix file names. Fixes a bug where an
empty groupname prefix was generated, resulting in broken links.
2017-08-22 12:58:07 +08:00
Andrew Nicols
030923e487
Merge branch 'MDL-57246-33-forumredirect' of git://github.com/roperto/moodle into MOODLE_33_STABLE
2017-08-22 12:29:24 +08:00
Adrian Greeve
3298e737cf
MDL-59881 question bank: Use supplied function parameters.
...
question_usage_by_activity::start_all_questions now uses all
three of the parameters that are defined.
2017-08-22 09:32:57 +08:00
Eloy Lafuente (stronk7)
2cb47a734f
Merge branch 'MDL-55937-33' of git://github.com/ankitagarwal/moodle into MOODLE_33_STABLE
2017-08-21 23:21:47 +02:00
Eloy Lafuente (stronk7)
f688c1f8f4
Merge branch 'MDL-59049-33' of https://github.com/snake/moodle into MOODLE_33_STABLE
2017-08-21 23:09:18 +02:00
Davo Smith
0d5f10d1ff
MDL-59195 mod_assign: add behat tests for comments error
2017-08-21 10:25:31 +01:00
Davo Smith
0ef74b27be
MDL-59195 assignsubmission_comments: fix permission checks
2017-08-21 10:25:31 +01:00
Cameron Ball
345d2486fc
MDL-59885 assignfeedback_editpdf: Correctly report combination status
2017-08-21 16:23:19 +08:00
John Okely
22efbe807d
MDL-57412 course: Unit test get_view_url for course formats
2017-08-21 12:55:31 +08:00
John Okely
6f3e403a28
MDL-57412 navigationlib: Respect linkcoursesections again
2017-08-21 12:55:30 +08:00
Jun Pataleta
b24ffdb774
MDL-59663 course: Render the appropriate course-category tree action
2017-08-21 10:02:13 +08:00
Eloy Lafuente (stronk7)
d17e000f45
Merge branch 'MDL-59836-33' of git://github.com/junpataleta/moodle into MOODLE_33_STABLE
2017-08-18 12:36:28 +02:00
Jake Dallimore
01d058a037
MDL-59825 user: user_can_view_profile() checks all of a $user's courses
...
This function used to check only those courses shared by both users
when it should have been checking all courses in which $user is
enrolled. Managers can view a user's course profile without necessarily
sharing the course (being enrolled in) with the $user.
2017-08-18 11:37:10 +08:00
Jun Pataleta
214ddb8c0f
MDL-59836 core_amd: Use only one input event handler
...
* We have duplicate input event handlers for the autocomplete element
which are both firing when the input element's value is being set.
In case an AJAX handler is defined for the autocomplete suggestions,
this causes the autocomplete suggestions so show "No suggestions" first
and then load the results from the AJAX handler a little bit later.
2017-08-18 11:37:07 +08:00
Jake Dallimore
5fe2965cab
MDL-59826 output: make context_header() aware of page context.
...
There are times, such as when viewing a user profile within a course,
when user_can_view_profile() should be passed a course to force it to
restrict its capability checks to only the supplied course. This change
makes sure that core_renderer->context_header() calls this correctly.
2017-08-18 11:32:16 +08:00
Andrew Nicols
1896e257aa
MDL-59784 core: Modal factory should listen before fetching templates
2017-08-18 11:17:04 +08:00
Andrew Nicols
5607739ed7
MDL-59784 core: Modal should accept title as a promise
2017-08-18 11:17:04 +08:00
Jake Dallimore
749057c529
MDL-59049 badges: allows users to view badges from deleted courses
2017-08-18 10:52:02 +08:00
Andrew Nicols
6fd7ea810b
MDL-59784 core: Refactor addblock to listen earlier
2017-08-18 09:37:45 +08:00
Eloy Lafuente (stronk7)
1c6106e8a8
weekly release 3.3.1+
2017-08-17 10:39:27 +02:00
Eloy Lafuente (stronk7)
f091016984
Merge branch 'install_33_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_33_STABLE
2017-08-17 10:39:25 +02:00
AMOS bot
b5d7bd720b
Automatically generated installer lang files
2017-08-17 00:08:33 +08:00
Eloy Lafuente (stronk7)
a462338e1b
Merge branch 'MDL-58435-m33' of https://github.com/NeillM/moodle into MOODLE_33_STABLE
2017-08-15 16:35:35 +02:00
David Mudrák
e6512e910f
MDL-57775 xmlrpc: Formal fix of coding style and phpdocs
...
- There was missing MOODLE_INTERNAL check.
- The client is not used for unit tests only so the class description
was obsolete.
2017-08-15 14:16:58 +02:00
David Mudrák
bfad177b5d
MDL-57775 xmlrpc: Test webservice_xmlrpc_client request encoding
...
The patch wraps the underlying xmlrpc_encode_request() call into a
standalone method that can be then unit-tested.
2017-08-15 14:11:16 +02:00
David Mudrák
e70a466017
MDL-57775 xmlrpc: Pass escaping to xmlrpc_encode_request() calls
...
This patch adds the missing 'escaping' option to all remaining
xmlrpc_encode_request() calls in the moodle core code.
Without this, the xmlrpc_decode_request() call on the server side may
lead to wrongly decoded non-ascii characters.
2017-08-15 13:42:08 +02:00
Eloy Lafuente (stronk7)
9aed01738e
Merge branch 'MDL-59667-33-2' of git://github.com/ryanwyllie/moodle into MOODLE_33_STABLE
2017-08-15 13:13:12 +02:00
Neill Magill
72d8a09e09
MDL-58435 behat: Update existing tests to use section editing steps
2017-08-15 09:29:30 +01:00
Ankit Agarwal
9bece224f9
MDL-55937 assign: Check for group submission caps when userid=0
2017-08-15 11:15:43 +05:30
Andrew Nicols
e01475d537
Merge branch 'MDL-59746-33' of git://github.com/Dagefoerde/moodle into MOODLE_33_STABLE
2017-08-15 13:40:44 +08:00
Jun Pataleta
9db556dc6a
Merge branch 'MDL-57611-moodle33' of https://github.com/jebarviabb/moodle into MOODLE_33_STABLE
2017-08-15 11:50:24 +08:00
gthomas2
c83f37600a
MDL-59708 file: Add CUD callbacks, backport of MDL-57476
2017-08-15 09:46:48 +08:00
Ryan Wyllie
1bda7d963a
MDL-59667 form: stop datepicker from rendering outside viewport
...
Stop the date picker panel from being rendered outside of the
viewport, for example when being displayed in a modal.
2017-08-15 01:25:50 +00:00
Jun Pataleta
5596bad458
Merge branch 'MDL-59785-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-08-14 16:56:42 +08:00
Jun Pataleta
8a5e5ce049
Merge branch 'MDL-59740_33' of git://github.com/markn86/moodle into MOODLE_33_STABLE
2017-08-14 13:48:16 +08:00
Andrew Nicols
9adeff603a
Merge branch 'wip-MDL-57188-33-2' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-08-14 13:15:58 +08:00
Andrew Nicols
1fc0f4e340
Merge branch 'MDL-59737_33' of git://github.com/markn86/moodle into MOODLE_33_STABLE
2017-08-14 12:26:48 +08:00
Jun Pataleta
2564f4989f
Merge branch 'MDL-59492-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-08-14 12:16:26 +08:00
Simey Lameze
349508d9cc
MDL-59492 block_myoverview: make view course buttons consistent
2017-08-14 11:58:58 +08:00
Simey Lameze
bcc8cb63b9
MDL-59492 block_myoverview: fix remaining course links visibility
2017-08-14 11:58:58 +08:00
Charles Fulton
51cd49be15
MDL-59492 block_myoverview: handle course visibility style
2017-08-14 11:58:58 +08:00
Simey Lameze
7f1e907a7e
MDL-59785 mod_book: all navigation styles must mark as completed
2017-08-14 11:43:50 +08:00
Eloy Lafuente (stronk7)
14b7a15960
Merge branch 'MDL-59741-33' of git://github.com/jleyva/moodle into MOODLE_33_STABLE
2017-08-14 02:36:51 +02:00
AMOS bot
ec76694054
Automatically generated installer lang files
2017-08-14 00:08:34 +08:00
Josh Ebarvia
271f309e91
MDL-57611 report_log: Fix capability checks for viewing logs
2017-08-11 13:05:48 +09:30
David Monllao
65097503ac
weekly release 3.3.1+
2017-08-10 09:11:35 +02:00
David Monllao
8e13a950fc
NOBUG: Fixed SVG browser compatibility
2017-08-10 09:11:34 +02:00
Neill Magill
2ba469aaa3
MDL-58435 behat: Behat section editing step should work on section 0
2017-08-09 15:22:59 +01:00
Marina Glancy
5568ad4923
MDL-57188 course: correct return url to manage page
2017-08-08 14:49:16 +08:00
Andrew Nicols
7650988974
Merge branch 'MDL-59666-33-fix' of git://github.com/junpataleta/moodle into MOODLE_33_STABLE
2017-08-08 12:55:19 +08:00
Jun Pataleta
d95b923ed3
MDL-59666 mod_assign: Disable remind to grade by field in override tests
2017-08-08 12:38:35 +08:00
Jan Dageförde
cc85a41175
MDL-59746 oauth2: urlencode parameters for post requests
2017-08-07 22:23:46 +02:00
Eloy Lafuente (stronk7)
e9cd408e25
Merge branch 'MDL-59506-33' of git://github.com/andrewnicols/moodle into MOODLE_33_STABLE
2017-08-07 19:55:26 +02:00
Eloy Lafuente (stronk7)
53003974f3
Merge branch 'MDL-59504-33' of git://github.com/junpataleta/moodle into MOODLE_33_STABLE
2017-08-07 19:19:48 +02:00
Dan Poltawski
587a8af21c
Merge branch 'MDL-59172-33' of https://github.com/snake/moodle into MOODLE_33_STABLE
2017-08-07 16:20:14 +01:00
David Monllao
a8f61169c6
Merge branch 'MDL-59642-33' of git://github.com/andrewnicols/moodle into MOODLE_33_STABLE
2017-08-07 14:41:40 +02:00
Mark Nelson
f925fa4d6b
MDL-59740 core_form: add ability to specify if a button is primary
2017-08-07 17:38:18 +08:00
Mark Nelson
f5c8b599c3
MDL-59737 core_backup: changed reference to domain doesntexist.com
2017-08-07 17:18:37 +08:00
Juan Leyva
c7ebab9725
MDL-59741 auth: Always check the type of iconurls
...
We need to check always if iconurl is an instance of moodle_url to
avoid Web Services returning iconurls from identity providers to fail.
2017-08-07 11:03:01 +02:00
Dan Poltawski
e16710f3c5
Merge branch 'MDL-59666-33' of git://github.com/junpataleta/moodle into MOODLE_33_STABLE
2017-08-07 09:32:08 +01:00
David Monllao
a33d238648
Merge branch 'MDL-59532-33' of git://github.com/jleyva/moodle into MOODLE_33_STABLE
2017-08-07 09:42:17 +02:00
David Monllao
f36eb9d982
Merge branch 'MDL-59644-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-08-07 09:34:42 +02:00
David Monllao
5d407594f2
Merge branch 'wip-MDL-59655-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-08-07 09:27:52 +02:00
David Monllao
e8f932a0fd
Merge branch 'wip-MDL-59055-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-08-07 09:22:00 +02:00
Andrew Nicols
4d7df0162e
Merge branch 'MDL-51745-moodle33' of https://github.com/jebarviabb/moodle into MOODLE_33_STABLE
2017-08-07 14:48:20 +08:00
Josh Ebarvia
b7acf0aaf7
MDL-51745 mod_lesson: Use format_text in response feedback
2017-08-07 15:48:40 +09:30
Andrew Nicols
235742c624
Merge branch 'MDL-59662_33-errors-typo' of https://github.com/lucaboesch/moodle into MOODLE_33_STABLE
2017-08-07 13:35:20 +08:00
Andrew Nicols
05f9a38375
Merge branch 'MDL-59698-33' of git://github.com/damyon/moodle into MOODLE_33_STABLE
2017-08-07 12:56:27 +08:00
Andrew Nicols
7fd28388e2
Merge branch 'MDL-59728_33-boost-question-bank-header-align' of https://github.com/lucaboesch/moodle into MOODLE_33_STABLE
2017-08-07 12:39:51 +08:00
Damyon Wiese
146d4c9abf
MDL-59055 grades: behat test
2017-08-07 10:09:40 +08:00
Marina Glancy
299e5de1a7
MDL-59055 grades: provide backward-compatibility of changes
2017-08-07 10:09:40 +08:00
Marina Glancy
a4f645775a
MDL-59055 grades: fix bug displaying item id instead of grade
...
Thanks to Marcelo Santos for initial patch
2017-08-07 10:09:40 +08:00
Andrew Nicols
5f295e2ce8
MDL-59506 core_lock: use a null lock during install
...
Use a different lock factory during installation which does not actually
lock at all.
2017-08-07 10:00:39 +08:00
Jake Dallimore
89e7d6eb7a
MDL-59172 user: user_can_view_profile() now checks viewalldetails cap
2017-08-07 09:28:50 +08:00
Pierre Guinoiseau
1fd7f60706
MDL-59504 pix: update icon for Mahara
2017-08-07 09:02:04 +08:00
Luca Bösch
2164a6ce79
MDL-59728 questions: Align question bank headers.
2017-08-04 15:29:06 +02:00
Luca Bösch
f2f66bb3e4
MDL-59662 database: Typo in variable name.
2017-08-04 10:31:34 +02:00
Andrew Nicols
f3b4f02998
MDL-59642 stats: Correct random unit test failure
...
The unit test was creating four events, and then relying on them being
retrieved in the order in which they were created.
I've modified the test to:
* ensure timecreated are spaced apart; and
* add an order by timecreated when fetching them.
2017-08-04 15:07:26 +08:00
Jun Pataleta
63b096ccb7
MDL-59666 mod_assign: Add validation for grading due date
2017-08-04 14:43:03 +08:00
Andrew Nicols
6aaea768a1
weekly release 3.3.1+
2017-08-04 11:50:29 +08:00
Andrew Nicols
3124d6ec6d
Merge branch 'install_33_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_33_STABLE
2017-08-04 11:50:10 +08:00
Simey Lameze
dc48f38b16
MDL-59644 core_output: fix font awesome mapping for lock icons
2017-08-04 09:04:07 +08:00
Juan Leyva
4a99cae69d
MDL-59532 mod_lesson: Fix check_updates_since with groups
...
There were a couple of incorrect SQL queries when the user calling the
function is a teacher and the activity uses separate groups.
2017-08-03 12:11:16 +02:00
Andrew Nicols
f499964d3d
Merge branch 'MDL-59582-33' of git://github.com/danpoltawski/moodle into MOODLE_33_STABLE
2017-08-03 15:49:58 +08:00
Dan Poltawski
aabf3e9ab8
MDL-59582 npm: update shrinkwrap file for npm 8.2.0
2017-08-03 08:26:36 +01:00
Andrew Nicols
2654b0c931
Merge branch 'm33_MDL-59583_Fix_MariaDB_10d2d7_Breaking_Change' of https://github.com/scara/moodle into MOODLE_33_STABLE
2017-08-03 12:32:09 +08:00
Damyon Wiese
f0ce31da5e
MDL-59698 behat: Remove bad tests
...
These tests are an abuse and should not have been accepted. Behat tests should use real pages.
Adding testing only entry points to Moodle is a bad security practice and is not the purpose of behat.
2017-08-03 10:28:54 +08:00
Matteo Scaramuccia
bef2ae41a5
MDL-59583 dml: fixed NULL values w/ MariaDB 10.2.7+
2017-08-03 00:28:37 +02:00
Andrew Nicols
93f9d56886
Merge branch 'MDL-57259-33' of git://github.com/ryanwyllie/moodle into MOODLE_33_STABLE
2017-08-02 13:39:49 +08:00
Ryan Wyllie
9b639d9cb7
MDL-57259 external: fix page url debug in fragment loading
2017-08-02 03:44:33 +00:00
Andrew Nicols
d40a73d8cc
Merge branch 'MDL-55364-33-fix' of https://github.com/xow/moodle into MOODLE_33_STABLE
2017-08-02 10:52:11 +08:00
John Okely
58215dcf07
MDL-55364 forum: Combine user picture and user name rows
2017-08-02 10:30:46 +08:00
Dan Poltawski
b29ffd3629
Merge branch 'MDL-55364-33' of https://github.com/xow/moodle into MOODLE_33_STABLE
2017-08-01 11:36:31 +01:00
Dan Poltawski
e913d4a3a2
Merge branch 'MDL-59658-33' of git://github.com/junpataleta/moodle into MOODLE_33_STABLE
2017-08-01 10:15:48 +01:00
David Monllao
975e31d441
Merge branch 'wip-MDL-53492-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-08-01 09:22:52 +02:00
Andrew Nicols
45aabba243
Merge branch 'MDL-58928_33-alt-attribute-enrolment-edit-delete-icons' of https://github.com/lucaboesch/moodle into MOODLE_33_STABLE
2017-08-01 14:56:10 +08:00
Jun Pataleta
75fe99dad0
MDL-59658 core: Add login/logout steps for course participants scenario
...
* Add student1 and student2 login/logout steps for the course
participants filtering scenario in order to have last access data
for students 1 and 2 since the participants table is sorted by last
access by default.
* Convert the two course participants scenario to a scenario outline.
The steps are basically the same. Only the view mode is different.
* Remove @javascript tags for the following scenario:
- Filter users on assignment submission page
- Filter users on view gradebook page
- Filter users on course participants page
JS is not really necessary in these scenario and we can get faster
execution time.
2017-08-01 13:57:40 +08:00
Andrew Nicols
92502d78d7
Merge branch 'MDL-59473-MOODLE_33_STABLE' of https://github.com/sytabaresa/moodle into MOODLE_33_STABLE
2017-08-01 10:49:26 +08:00
Luca Bösch
eef089cd57
MDL-58928 enrol: delete and edit icon alt attribute
2017-07-31 17:32:55 +02:00
David Monllao
ebe2c2e3bd
Merge branch 'wip-MDL-59496-33-3' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-07-31 17:15:05 +02:00
Dan Poltawski
dcde4768c9
MDL-59627 mod_data: fix incorrect use of sortorder
2017-07-31 14:28:53 +01:00
David Monllao
2ecaa395b8
Merge branch 'wip-MDL-59311-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-07-31 14:47:28 +02:00
David Monllao
335f6f65bc
Merge branch 'MDL-59535-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-07-31 14:20:01 +02:00
David Monllao
8308e1939a
Merge branch 'MDL-57546-33' of git://github.com/andrewnicols/moodle into MOODLE_33_STABLE
2017-07-31 14:10:05 +02:00
Dan Poltawski
3d92d04aee
Merge branch 'MDL-59619-33' of git://github.com/jleyva/moodle into MOODLE_33_STABLE
2017-07-31 11:48:54 +01:00
Dan Poltawski
9646369c9a
Merge branch 'MDL-59627-33' of git://github.com/jleyva/moodle into MOODLE_33_STABLE
2017-07-31 11:44:56 +01:00
Dan Poltawski
4e6cda17b8
Merge branch 'MDL-59632_33' of git://github.com/dmonllao/moodle into MOODLE_33_STABLE
2017-07-31 11:42:55 +01:00
David Monllao
a74ae654a3
Merge branch 'MDL-59511-33-oauthsysmail' of git://github.com/Dagefoerde/moodle into MOODLE_33_STABLE
2017-07-31 11:46:49 +02:00
Dan Poltawski
9ab1486be6
Merge branch 'wip-MDL-59476-33-2' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-07-31 10:22:03 +01:00
Andrew Nicols
3ebca8165d
Merge branch 'MDL-58196-33' of git://github.com/ankitagarwal/moodle into MOODLE_33_STABLE
2017-07-31 15:28:06 +08:00
David Monllao
ac4c870148
Merge branch 'MDL-59649-33' of git://github.com/jleyva/moodle into MOODLE_33_STABLE
2017-07-31 09:00:50 +02:00
David Monllao
db495bf3a0
Merge branch 'MDL-58744-33' of https://github.com/jacac/moodle into MOODLE_33_STABLE
2017-07-31 08:36:36 +02:00
Ankit Agarwal
268acaeb93
MDL-58196 availability: Fix UI for pass/fail config
...
For pass/fail setting to work properly, activities must have 'Require grade' completion set,
just make sure we don't allow activities without this setting to be set
2017-07-31 11:56:21 +05:30
Ankit Agarwal
b198bfbfe9
MDL-58196 availability: Add appropriate dependencies in mform
2017-07-31 11:56:21 +05:30
Marina Glancy
454bf4c2f0
MDL-59655 course: visibleoncoursepage is not mandatory
2017-07-31 14:16:07 +08:00
Andrew Nicols
dd4855cb99
Merge branch 'm33_MDL-59583_Fix_MariaDB_10d2d7_Breaking_Change' of https://github.com/scara/moodle into MOODLE_33_STABLE
2017-07-31 11:50:51 +08:00
Marina Glancy
1b70297cb3
MDL-53492 registration: Moodle.net is more correct than Moodle.org
2017-07-31 11:36:21 +08:00
Marina Glancy
94a8d2e2e2
MDL-53492 registration: use https://moodle.net as hub url
2017-07-31 11:36:18 +08:00
Daniel Materka
638bae2e6c
MDL-55364 forum: fix overlapping columns in the table at low resolutions
2017-07-31 11:24:24 +08:00
Marina Glancy
a6a6b523ec
MDL-59496 registration: display unregistered warning consistently
2017-07-31 11:23:14 +08:00
AMOS bot
31b1855a3d
Automatically generated installer lang files
2017-07-31 00:10:16 +08:00
AMOS bot
1cbf0036b3
Automatically generated installer lang files
2017-07-29 00:10:27 +08:00
Juan Leyva
e81dc75977
MDL-59649 mod_data: Fix content exporter
...
The content3 and content4 fields should be type PARAM_RAW
2017-07-28 14:03:16 +02:00
Jan Dageförde
0af9a77f89
MDL-59511 oauth2: Allow empty email in system account
2017-07-28 10:01:22 +02:00
Simey Lameze
1a019bd8cd
MDL-59535 tool_behat: fix fatal error if there is no setup
2017-07-28 08:47:29 +08:00
Jakob Ackermann
c2de62bc43
MDL-58744 blocks: Add system context block position in non user context.
2017-07-27 09:08:42 -07:00
AMOS bot
c264dab3a9
Automatically generated installer lang files
2017-07-28 00:07:35 +08:00
Dan Poltawski
eb560d0745
weekly release 3.3.1+
2017-07-27 10:10:52 +01:00
Dan Poltawski
aefdf49b36
Merge branch 'install_33_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_33_STABLE
2017-07-27 10:10:51 +01:00
David Monllao
42a01ee396
MDL-59632 search: Style search box for boost
2017-07-27 11:01:11 +02:00
Marina Glancy
44dc52f266
MDL-59311 course: duplicate module rebuilds cache twice
...
slightly refactor duplicate_module() code so it does not rebuild course cache
twice and also we do not need to move module if it is already the last module in a section
2017-07-27 08:17:17 +08:00
David Monllao
1abc345a3d
Merge branch 'MDL-58906-33' of git://github.com/ankitagarwal/moodle into MOODLE_33_STABLE
2017-07-26 14:43:04 +02:00
Dan Poltawski
f30ca335fe
Merge branch 'MDL-57698-33-fix' of https://github.com/xow/moodle into MOODLE_33_STABLE
2017-07-26 09:43:54 +01:00
Ankit Agarwal
de99cab5e4
MDL-58906 calendar: Remove check for _refresh_events exists
2017-07-26 12:59:07 +05:30
Andrew Nicols
b56b5ee8d6
Merge branch 'MDL-59499-33-classfix' of github.com:snake/moodle into MOODLE_33_STABLE
2017-07-26 14:57:03 +08:00
Jake Dallimore
6dc120fb5e
MDL-59499 admin: class fix for course category expansion icons
2017-07-26 11:24:19 +08:00
John Okely
bf164227cc
MDL-57698 backup: Decrease deadlock fixture size
2017-07-26 10:43:23 +08:00
Andrew Nicols
860db28945
MDL-57546 mediaplayer_youtube: Respect mobile URLs
2017-07-26 10:41:16 +08:00
Juan Leyva
957b5180db
MDL-59627 mod_data: Fix totalcount calculation in search_entries
...
totalcount was incorrectly calculated for normal search.
For advanced search it was working as expected.
This was making searched entries pagination behave incorrectly.
2017-07-25 19:04:36 +02:00
AMOS bot
f280f97b9a
Automatically generated installer lang files
2017-07-26 00:07:31 +08:00
Juan Leyva
5a55f2049a
MDL-59619 mod_data: Fix get_fields WS for databases without fields
2017-07-25 14:45:49 +02:00
Dan Poltawski
c74bfe4847
Merge branch 'MDL-57698-33' of https://github.com/xow/moodle into MOODLE_33_STABLE
2017-07-25 11:48:10 +01:00
Matteo Scaramuccia
8ebc6bd2b0
MDL-59583 dml: fixed breaking change added w/ MariaDB 10.2.7+
2017-07-25 12:35:15 +02:00
Matteo Scaramuccia
18c977f996
MDL-59583 dml: improve perfs by unsetting the key.
2017-07-25 12:28:38 +02:00
gthomas2
2e50939069
MDL-58761 behat: Fix regex in i_open_my_profile_in_edit_mode step
2017-07-25 11:06:51 +01:00
David Monllao
db52eda16f
Merge branch 'MDL-59453-33' of git://github.com/jleyva/moodle into MOODLE_33_STABLE
2017-07-25 11:43:36 +02:00
David Monllao
ae5b1611ff
Merge branch 'MDL-59485-33' of https://github.com/IMSGlobal/moodle into MOODLE_33_STABLE
2017-07-25 11:11:16 +02:00
David Monllao
106d704caf
Merge branch 'MDL-59578-33' of git://github.com/junpataleta/moodle into MOODLE_33_STABLE
2017-07-25 11:09:55 +02:00
Dan Poltawski
9e8a23682a
Merge branch 'MDL-59432-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-07-25 07:58:41 +01:00
Marina Glancy
78b0c340ba
MDL-59476 dml: temporary mysql tables should not use compressed rows
2017-07-25 14:25:41 +08:00
Andrew Davidson
47125f1da3
MDL-59499 coursemanagement: Rewitten expand and collapse
...
Also replace M.util.get_string() calls with core/str module
2017-07-24 13:56:52 +02:00
Andrew Davidson
93ab68385d
MDL-59499 - Fixed collapsing category javascript to use template rendering
2017-07-24 13:56:37 +02:00
David Monllao
0d7e0ccf4e
Merge branch 'MDL-59509-33' of git://github.com/andrewnicols/moodle into MOODLE_33_STABLE
2017-07-24 13:03:52 +02:00
David Monllao
d413b817e8
Merge branch 'MDL-58906-33' of git://github.com/ankitagarwal/moodle into MOODLE_33_STABLE
2017-07-24 12:23:15 +02:00
Dan Poltawski
b82734e916
Merge branch 'MDL-58174-33' of https://github.com/abias/moodle into MOODLE_33_STABLE
2017-07-24 09:05:33 +01:00
Andrew Nicols
401cbb6c83
Merge branch 'wip-MDL-38129-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-07-24 15:24:24 +08:00
Ankit Agarwal
1839865599
MDL-58906 completion: Fix incorrect phpdoc
2017-07-24 11:45:47 +05:30
Ankit Agarwal
a36a732b69
MDL-58906 restore: Do not backup/restore action events
2017-07-24 11:45:20 +05:30
Ankit Agarwal
b5527f5389
MDL-58906 restore: Call action event refresh task during restore
2017-07-24 11:45:20 +05:30
Andrew Nicols
0c534d99c2
Merge branch 'wip-MDL-59561-33' of git://github.com/abgreeve/moodle into MOODLE_33_STABLE
2017-07-24 13:21:49 +08:00
Andrew Nicols
875ea2a421
Merge branch 'MDL-59490-33' of https://github.com/spvickers/moodle into MOODLE_33_STABLE
2017-07-24 12:51:32 +08:00
AMOS bot
ea6f61cda7
Automatically generated installer lang files
2017-07-23 00:08:25 +08:00
AMOS bot
98aff30461
Automatically generated installer lang files
2017-07-22 00:07:39 +08:00
John Okely
58db506aa7
MDL-57698 sqlsrv: Unit test NOLOCK
2017-07-21 14:44:21 +08:00
John Okely
767fa6af9e
MDL-57698 sqlsrv: Query temp tables with no lock
2017-07-21 14:44:21 +08:00
John Okely
6b152ab7cd
MDL-57698 sqlsrv: Unit test deadlock case
2017-07-21 14:44:21 +08:00
Andrew Nicols
823b857617
MDL-59509 dml: sqlsrv should respect port setting
...
Details of how to connect to a specific port are available at
https://docs.microsoft.com/en-us/sql/connect/php/how-to-connect-on-a-specified-port
2017-07-21 13:23:57 +08:00
Adrian Greeve
cef052dff8
MDL-59561 database: Update to creating new indexes in mysql.
...
When updating the mysql system to utf8mb4 not all tables are
converted to the row format of compressed or dynamic. If a new
index is created there is a possibility that the table could be
using compact or redundant and then an error will be shown saying
that the index size is too large. This fix handles this exception
and converts the table over to compressed.
2017-07-21 09:30:24 +08:00
AMOS bot
e3ee66b5c0
Automatically generated installer lang files
2017-07-21 00:06:48 +08:00
Dan Poltawski
32269b20e7
weekly release 3.3.1+
2017-07-20 13:20:56 +01:00
Dan Poltawski
b9109141d5
Merge branch 'install_33_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_33_STABLE
2017-07-20 13:20:55 +01:00
Marco Ferrante
d7360d798e
MDL-59432 auth_db: add aliases to field mapping query
...
This patch fixes an issue with mapping different internal fields
to the same external field.
2017-07-20 14:59:50 +08:00
Andrew Nicols
4cf4453962
Merge branch 'MDL-59527-33-fix1' of http://github.com/damyon/moodle into MOODLE_33_STABLE
2017-07-20 10:43:40 +08:00
Andrew Nicols
c428d5891f
Merge branch 'wip-MDL-57649-33-fix2' of git://github.com/abgreeve/moodle into MOODLE_33_STABLE
2017-07-20 10:23:01 +08:00
Damyon Wiese
07bdc85316
MDL-59527 autocomplete: Don't fetch ajax twice
2017-07-20 10:00:22 +08:00
Adrian Greeve
ede53ca719
MDL-57649 mod_lesson: Improvement to upgrade query.
...
We only need one record for each filearea that we
are removing.
2017-07-20 09:59:42 +08:00
Jun Pataleta
d258b76a80
MDL-59578 core: Remove unnecessary steps in alpha_chooser.feature
...
* The steps at the end of the Background scenario don't make sense and
just adds to the execution time of the test.
2017-07-20 09:44:07 +08:00
AMOS bot
0b3e56b10c
Automatically generated installer lang files
2017-07-20 00:06:27 +08:00
Dan Poltawski
c1f1327009
Merge branch 'wip-MDL-57649-33-fix' of git://github.com/abgreeve/moodle into MOODLE_33_STABLE
2017-07-19 09:33:12 +01:00
Adrian Greeve
8c69d94957
MDL-57649 mod_lesson: Additional refinement to upgrade script.
2017-07-19 15:47:46 +08:00
Dan Poltawski
2bd93697c1
Merge branch 'MDL-59569-33' of git://github.com/andrewnicols/moodle into MOODLE_33_STABLE
2017-07-19 08:43:57 +01:00
Andrew Nicols
043bd4ca1e
MDL-59569 travis: Remove haveged
2017-07-19 12:22:12 +08:00
Juan Leyva
8388f22e60
MDL-59453 mod_lesson: Return lesson contents without html cleaning
...
This is consistent to what is done in the web interface.
2017-07-18 12:40:48 +01:00
Dan Poltawski
8303207140
Merge branch 'MDL-59255-MOODLE_33_STABLE' of github.com:lucisgit/moodle into MOODLE_33_STABLE
2017-07-18 10:54:06 +01:00
Marina Glancy
596a156134
MDL-59255 media: support rtmp:// in URLs
2017-07-18 10:27:11 +01:00
David Monllao
cab4f7efcb
Merge branch 'wip-MDL-39471-33' of git://github.com/abgreeve/moodle into MOODLE_33_STABLE
2017-07-18 10:49:25 +02:00
Dan Poltawski
9ee78ba22e
Merge branch 'm33_MDL-59109_Backup_Missing_AutoCommit' of https://github.com/scara/moodle into MOODLE_33_STABLE
2017-07-18 09:45:23 +01:00
David Monllao
9f986cdefb
Merge branch 'MDL-57991-m33' of https://github.com/micaherne/moodle into MOODLE_33_STABLE
2017-07-18 09:40:26 +02:00
David Monllao
f16e2a6860
Merge branch 'wip-MDL-58362-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-07-18 09:08:50 +02:00
Marina Glancy
33b49fe9c9
MDL-38129 gradeexport: custom profile fields case problem
...
Do not use custom pfofile field name as a field alias in DB query, use field id instead.
DML lowercases all column aliases and fields with uppercase letters no longer match.
2017-07-18 11:06:17 +08:00
David Monllao
3f62f69d32
MDL-59411 course: Fix unavailable typo
2017-07-17 16:40:36 +02:00
David Monllao
8765200f2c
Merge branch 'wip-MDL-59411-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-07-17 15:48:22 +02:00
David Monllao
d13837d259
Merge branch 'MDL-59527-33' of git://github.com/damyon/moodle into MOODLE_33_STABLE
2017-07-17 14:08:28 +02:00
Alexander Bias
2d3ac258cc
MDL-58174 themes: Make build_action_menu_from_navigation() protected
2017-07-17 11:17:07 +02:00
David Monllao
fda4dac9a2
Merge branch 'wip-MDL-59377-33-3' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-07-17 11:05:15 +02:00
Dan Poltawski
4bca803817
Merge branch 'MDL-59442-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-07-17 09:16:23 +01:00
David Monllao
aa11add8a6
Merge branch 'MDL-59539-33' of git://github.com/tobiasreischmann/moodle into MOODLE_33_STABLE
2017-07-17 10:15:05 +02:00
Dani Palou
7ebaf90cfe
MDL-59068 lesson: Revert MDL-54849
...
MDL-54859 made the 'wrong jump' setting useless, since clicking 'No' always sends the user to the next page.
2017-07-17 10:09:58 +02:00
Dan Poltawski
3841028a98
Merge branch 'wip-MDL-57649-33' of git://github.com/abgreeve/moodle into MOODLE_33_STABLE
2017-07-17 09:01:33 +01:00
David Monllao
3b61a615bb
Merge branch 'MDL-54607-33' of git://github.com/ankitagarwal/moodle into MOODLE_33_STABLE
2017-07-17 09:32:07 +02:00
David Monllao
f00cf2b8cd
Merge branch 'wip-MDL-55912-33' of git://github.com/abgreeve/moodle into MOODLE_33_STABLE
2017-07-17 09:09:09 +02:00
Marina Glancy
17a4f1f382
MDL-59377 mod_label: set showdescription to be always 1
2017-07-17 13:44:20 +08:00
Marina Glancy
ba73baff14
MDL-59377 course: when module intro is visible display embedded files
...
Even when course module is not available the intro text can still be visible on the
course page. In this case the availability restriction is displayed to the student
but link to the activity is not available
2017-07-17 13:44:05 +08:00
Andrew Nicols
57158d7df5
Merge branch 'mdl55979-moodle33' of https://github.com/tlock/moodle into MOODLE_33_STABLE
2017-07-17 12:29:30 +08:00
Andrew Nicols
0c09410799
Merge branch 'MDL-59371-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-07-17 10:24:06 +08:00
Adrian Greeve
2722f49fee
MDL-39471 mod_assign: Comment visibility in blind marking.
...
Students can now see the identity of anyone making comments.
Markers on the otherhand can only see the identity of themselves
when making comments.
2017-07-17 09:25:55 +08:00
Adrian Greeve
4846429ebd
MDL-55912 mod_assign: Set grader details to the correct user.
2017-07-17 09:22:29 +08:00
Adrian Greeve
93dbfb431c
MDL-57649 mod_lesson: Delete answer files correctly.
...
The files associated with answers and responses were
not being deleted due to the fact that the wrong itemid
was being used.
2017-07-17 09:17:23 +08:00
AMOS bot
d2ef7c32a6
Automatically generated installer lang files
2017-07-17 00:06:39 +08:00
Matteo Scaramuccia
bea214a406
MDL-59109 scorm: Save autocommit setting in the backup.
2017-07-15 00:12:55 +02:00
Dan Poltawski
4b4243113f
weekly release 3.3.1+
2017-07-14 11:46:50 +01:00
Dan Poltawski
ce3aeb2181
Merge branch 'install_33_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_33_STABLE
2017-07-14 11:46:49 +01:00
Tobias Reischmann
4699f2adf5
MDL-59539 oauth2/issuer: Changed baseurl for guessing image URL
...
The url, which was used for guessing the image, was queried with the
key 'discoveryurl', which is not defined in the context of an issuer.
The baseurl should be sufficient to retrieve the favicon.ico from a
server. That's why the key for was changed from 'discoveryurl' to
'baseurl'.
2017-07-14 11:27:40 +02:00
Damyon Wiese
6559958115
MDL-59527 forms: Race cond with ajax autocomplete
...
Sometimes (rarely) the auto complete will show "No suggestions" when there are valid suggestions.
2017-07-14 12:44:47 +08:00
Ankit Agarwal
b7ab2ac6b0
MDL-54607 calendar: Export 0 duration events properly
...
Thanks to Paul Prencis for initial suggestion of this patch
2017-07-14 09:36:25 +05:30
Ankit Agarwal
23a4ce8320
MDL-54607 calendar: Update benu lib to allow for instantaneous events
2017-07-14 09:36:24 +05:30
Simey Lameze
96ce433fc4
MDL-59442 core_course: apply css classes to activity icons
2017-07-13 15:24:56 +08:00
Simey Lameze
143bf83482
MDL-59371 gradereport_overview: allow auth user role to view report
2017-07-12 17:53:48 +08:00
Simey Lameze
2c94e7aa97
MDL-59371 gradereport_overview: add missing course id to url
2017-07-12 17:53:48 +08:00
Andrew Nicols
9593b1597f
MDL-59431 requirejs: Prioritise errors
2017-07-12 10:06:25 +08:00
Andrew Nicols
6007c2265e
MDL-59431 requirejs: Correct failed JS check
2017-07-12 10:06:25 +08:00
AMOS bot
f3c10bd588
Automatically generated installer lang files
2017-07-12 00:14:00 +08:00
Eloy Lafuente (stronk7)
9123df91ba
MDL-56629 dataformat_html: Adding UTF-8 charset
...
Also adding the HEAD tag which was missing.
(credit goes to Frédéric Massart - FMCorz, thanks!)
2017-07-11 13:54:46 +02:00
Eloy Lafuente (stronk7)
5fbd782f16
Merge branch 'MDL-54965-33' of git://github.com/tobiasreischmann/moodle into MOODLE_33_STABLE
2017-07-11 13:41:43 +02:00
David Monllao
88e51d2279
Merge branch 'wip-MDL-59363-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-07-11 12:37:09 +02:00
Dan Poltawski
cd8133b891
MDL-59287 upgrade.txt: avoid misleading versions
2017-07-11 11:29:44 +01:00
Dan Poltawski
cc5590d73a
Merge branch 'wip-MDL-59287-33' of git://github.com/abgreeve/moodle into MOODLE_33_STABLE
2017-07-11 11:29:42 +01:00
David Monllao
fbeb566249
Merge branch 'MDL-59431_33' of git://github.com/timhunt/moodle into MOODLE_33_STABLE
2017-07-11 12:05:42 +02:00
David Monllao
67e74fd7ff
Merge branch 'wip-MDL-59441-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-07-11 11:41:17 +02:00
Eloy Lafuente (stronk7)
e21f6974ae
Merge branch 'MDL-57432-33' of git://github.com/danpoltawski/moodle into MOODLE_33_STABLE
2017-07-11 10:19:55 +02:00
Stephen Vickers
ace3e1d569
MDL-59490 mod_lti: Prevent text wrapping
...
Update html_to_text method calls with a width of zero.
2017-07-10 17:12:07 +01:00
AMOS bot
bdbda82849
Automatically generated installer lang files
2017-07-11 00:06:32 +08:00
Dan Poltawski
9054d6a40b
Merge branch 'wip-MDL-40408-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-07-10 14:36:39 +01:00
Dan Poltawski
12dce9c9c3
Merge branch 'wip-MDL-59262-33-2' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-07-10 14:31:07 +01:00
David Monllao
e5a2a8e148
Merge branch 'MDL-52501-m33' of https://github.com/NeillM/moodle into MOODLE_33_STABLE
2017-07-10 14:38:59 +02:00
Dan Poltawski
d6c8e95ecf
Merge branch 'MDL-59317-m33' of https://github.com/NeillM/moodle into MOODLE_33_STABLE
2017-07-10 13:28:25 +01:00
David Monllao
b4e7616ec6
Merge branch 'MDL-58332-33' of git://github.com/ryanwyllie/moodle into MOODLE_33_STABLE
2017-07-10 14:22:10 +02:00
Tobias Reischmann
d251762b9e
MDL-54965 mod_data: removed unused code in display_add_field()
...
Since the refactoring towards using the filepicker for file and picture
fields there are several variables, which are set but never read. Thus,
I removed them.
2017-07-10 14:15:23 +02:00
Tobias Reischmann
de099c972a
MDL-54965 mod_data: Init draft area for empty file/pic fields
...
When a file or picture field was added with existing records, these
records could not be saved, since the draft area was not created
properly.
Co-authored-by: Jérôme Mouneyrac <mouneyrac>
2017-07-10 14:15:23 +02:00
Dan Poltawski
11b3548f35
Merge branch 'wip-MDL-46495-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-07-10 13:15:21 +01:00
Michael Aherne
d0da99d6fa
MDL-57991 media: Prevent mediaplayer taking up too much space
2017-07-10 10:21:11 +01:00
Dan Poltawski
c87870bca8
MDL-57432 environment: raise Moodle requirement
...
Due to Moodle 2.7 and Moodle 3.4 not having a common compatible php version
between them to upgrade from Moodle 3.4 from Moodle 2.7 you'll need to upgrade
to a higher version first or upgrade php at the same time as upgrade,
this encourages the former.
2017-07-10 09:22:30 +01:00
Dan Poltawski
1185717188
MDL-57432 environment: raise Moodle 3.4 requirements
...
1) PHP minimum version raised to 7.0.0
2) Intl extension raised from optional to required
2017-07-10 09:22:30 +01:00
Dan Poltawski
b5cb5015b9
MDL-57432 environment: 3.4 base information
...
This is a direct copy of the 3.3 branch to
have changes under control easier in next commits.
2017-07-10 09:22:30 +01:00
Ryan Wyllie
1ea3147567
MDL-58332 message: remove concat in get_popup_notifications sql
...
Removed the concat to generate the uniqueid field for the popup
notifications data. The concat can't be used directly in the SQL because
the syntax changes between databases. The sql_concat helper can't be
used because it assumes all values are database columns (which they
aren't in this case).
Instead I've just removed the uniqueid field because it isn't required
for the union all to work and the field isn't being used by anything.
This should fixed the compatibility issues between databases.
2017-07-10 02:03:47 +00:00
Adrian Greeve
2470f714b3
MDL-59287 calendar_events: Update modules to create all events.
...
All events equals all calendar events including completion events.
2017-07-10 09:41:21 +08:00
Adrian Greeve
73d2d21d4c
MDL-59287 course_module: switching to new function.
...
Instead of using *_refresh_events directly
course_module_update_calendar_events is called so
that all types of calendar events can be updated.
2017-07-10 09:41:21 +08:00
Adrian Greeve
abbc76c9e5
MDL-59287 course_module: Create calendar event update function.
2017-07-10 09:41:21 +08:00
Adrian Greeve
176856da55
MDL-59287 core_completion: Bulk completion now updates events.
2017-07-10 09:41:21 +08:00
Adrian Greeve
2109b32984
MDL-59287 core_completion: Update to unit tests.
2017-07-10 09:41:21 +08:00
Adrian Greeve
922c8df416
MDL-59287 core_completion: Update API to use less DB calls.
2017-07-10 09:41:21 +08:00
Eloy Lafuente (stronk7)
8e4341402a
Moodle release 3.3.1
2017-07-08 20:43:39 +02:00
Stephen Vickers
19ed2d1318
MDL-59485 mod_lti: Add missing capabilities
...
Capabilities missing which should allow Moodle to pass IMS certification
for LTI 2.0
2017-07-08 12:41:09 +01:00
AMOS bot
0a5af1649f
Automatically generated installer lang files
2017-07-08 00:16:05 +08:00
Sebastian Tabares Amaya
f05d911e3c
MDL-59473 request: Fix Loop Redirection in Oauth2
2017-07-07 09:36:16 -05:00
Jake Dallimore
b194f1a2e3
weekly release 3.3+
2017-07-07 12:10:20 +08:00
Jake Dallimore
14ecaeea08
Merge branch 'install_33_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_33_STABLE
2017-07-07 12:10:18 +08:00
AMOS bot
c28de2e556
Automatically generated installer lang files
2017-07-07 00:06:27 +08:00
Neill Magill
5c4ace36c1
MDL-52501 assign: Fix group submissions without submission record
...
Based on work by Tim Lock <tim.lock@blackboard.com >
While upgrading to Moodle 2.8 or above it is possible for it to fail if
the site has multiple graded attempts for a user without an associated
submission record. This caused the upgrade to violate the databases
unique key rules.
This same issue could apply to a backup that was created of an
assignment that had this issue, when it is restored into Moodle 2.8 or
later.
This change adds the attempt number from the grade table into the query
that is inserting the new submission record (thanks to Tim). It also
moves the insert query before the latest flag is set on submission
records to ensure that only one has it, without this it is possible that
multiple submission records would be marked as the latest after an
upgrade or restore.
2017-07-06 15:29:01 +01:00
Neill Magill
a7e6b097f9
MDL-59317 message: Message page taking long time to load
...
The OR clause in these queries used different sets of columns to select
userid which meant that the indexes that included user id could not be
used.
This change splits the query so that each individual part can use one of
the indexes that includes a userid which speeds them up considerably.
2017-07-06 15:28:43 +01:00
Simey Lameze
706571e94f
MDL-59456 auth_cas: patch phpCAS auth bypass vulnerability
2017-07-06 09:35:43 +01:00
Jun Pataleta
0801d7dc95
MDL-58651 logstore_database: Set dbhandlesoptions in test page
2017-07-05 23:04:37 +08:00
Dan Poltawski
77da99fe77
MDL-57021 passwords: only use unmask field with shared secrets
...
When a user is entering a password which isn't returned back to them
then its not correct to use the unmask element - this element was
designed for places where we are storing shared secrets.
2017-07-05 12:25:30 +02:00
Eloy Lafuente (stronk7)
c88b34c0fa
Merge branch 'MDL-59398-33-enfix' of git://github.com/mudrd8mz/moodle into MOODLE_33_STABLE
2017-07-05 11:52:27 +02:00
Eloy Lafuente (stronk7)
23dbc35541
Merge branch 'MDL-59294-33' of git://github.com/junpataleta/moodle into MOODLE_33_STABLE
2017-07-05 09:43:44 +02:00
Eloy Lafuente (stronk7)
e9609517d2
Merge branch 'MDL-58286-33' of https://github.com/xow/moodle into MOODLE_33_STABLE
2017-07-05 09:40:39 +02:00
Eloy Lafuente (stronk7)
efc9c7572b
Merge branch 'wip-MDL-59412-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-07-05 09:35:13 +02:00
Helen Foster
05263df3b0
MDL-59398 lang: Merge English strings from the en_fix language pack
2017-07-05 09:31:39 +02:00
Marina Glancy
dc30c8fa2f
MDL-59412 course: do not display completion icon for unavailable mod
2017-07-05 09:58:35 +08:00
John Okely
8b3ee7d311
MDL-58286 enrol_ldap: Pass connection to ldap_paged_results_supported
...
Thanks to Bianco Veigel for the original patch.
2017-07-05 09:49:48 +08:00
Jun Pataleta
5823f7e1bd
MDL-59294 block_login: Make display of ID provider buttons consistent
2017-07-05 09:08:11 +08:00
Jun Pataleta
4dfa466691
MDL-59294 theme_bootstrapbase: Fix display of ID provider buttons
2017-07-05 09:08:11 +08:00
Eloy Lafuente (stronk7)
226ca38be3
Merge branch 'MDL-58651_33' of git://github.com/aolley/moodle into MOODLE_33_STABLE
2017-07-05 01:23:22 +02:00
Eloy Lafuente (stronk7)
145e6deee7
Merge branch 'wip-MDL-59336-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-07-04 19:59:17 +02:00
Jake Dallimore
d53a5789a8
Merge branch 'MDL-59380-33' of git://github.com/damyon/moodle into MOODLE_33_STABLE
2017-07-04 16:29:11 +08:00
Marina Glancy
acc3bacecb
MDL-59441 calendar: unittest fix for modules without generators
2017-07-04 11:17:06 +08:00
Marina Glancy
640534676c
MDL-59409 admin: set admin user in unittest
2017-07-04 11:05:11 +08:00
Marina Glancy
81073ae4f0
MDL-59262 tool_uploadcourse: allow to set numsections
2017-07-04 10:28:45 +08:00
Marina Glancy
a7db632a5d
MDL-59262 course: bug - requested course is created without sections
2017-07-04 10:28:45 +08:00
Ankit Agarwal
49371ca433
MDL-56565 forum: Add sitename as heading when there is nothing to display
2017-07-04 10:11:37 +08:00
Ankit Agarwal
5697a42fc2
MDL-56565 forum: Make sure userfullname is not disclosed
2017-07-04 10:11:37 +08:00
Jake Dallimore
0ba4ffe353
MDL-56565 navigation: fix for cap checks in nav and context header
...
Fix to:
- Make sure we properly check both user and course contexts in
the load_for_user function in navigation lib and user the
user_can_view_profile function for same-course access checks.
- Use user_can_view_profile in the renderer's context_header to
properly decide whether a user can view another user's picture
and messaging options in the page header.
2017-07-04 10:11:37 +08:00
Jake Dallimore
31bae37249
MDL-56565 navigation: fix user details disclosure in nav tree
...
Fixes a bug in which a user's full name might be disclosed via the
nav tree. Nav generation now checks the current user's access to the
user before adding the node, else adds a dummy node.
2017-07-04 10:11:37 +08:00
Jake Dallimore
2423a989fc
MDL-56565 core: fix user details disclosure in page context header
...
Fixes a bug with context_header function in which user details were
displayed regardless of the current user's capabilities.
2017-07-04 10:11:37 +08:00
Mark Nelson
67103939ac
MDL-59304 core_calendar: check if course is hidden in bailout callback
2017-07-04 10:11:37 +08:00
Marina Glancy
4f91eb0ba1
MDL-59409 admin: check access to every setting in category
2017-07-04 10:03:16 +08:00
Jake Dallimore
07cb3212c5
Merge branch 'MDL-59008-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-07-03 15:56:18 +08:00
Simey Lameze
550e03463b
MDL-59008 repository: add reload parent window support to callback
2017-07-03 13:45:41 +08:00
Simey Lameze
4f2c5e18c0
MDL-59008 repository_onedrive: add method to serve login on a popup
2017-07-03 13:45:41 +08:00
Simey Lameze
73aad88f63
MDL-59008 repository_googledocs: add method to serve login on a popup
...
This commit also add a new string logintoaccount to make the login
button more clear.
2017-07-03 13:45:40 +08:00
Simey Lameze
88d7acff69
MDL-59008 mod_resource: add option to serve external files embed
2017-07-03 13:45:40 +08:00
Tim Hunt
cea8b76aba
MDL-59431 requirejs: better reporting if a JS file cannot be loaded
2017-06-30 17:26:13 +01:00
Marina Glancy
3d5edb5970
MDL-46495 tool_uploadcourse: set enablecompletion to default
2017-06-30 10:26:02 +08:00
Jake Dallimore
59f5f4a9df
weekly release 3.3+
2017-06-29 16:23:52 +08:00
Jake Dallimore
14509286e4
Merge branch 'install_33_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_33_STABLE
2017-06-29 16:23:51 +08:00
Marina Glancy
ecd7665605
MDL-59411 course: display access restriction in access error message
2017-06-29 13:47:08 +08:00
Marina Glancy
cde9031d53
MDL-58362 registration: correctly retrieve registration values
2017-06-29 08:32:12 +08:00
Mark Nelson
6b661ab0a2
MDL-56046 mod_quiz: do not close the sheet twice
2017-06-28 14:14:28 +08:00
Adam Olley
57cb067173
MDL-58651 logstore_database: Add ability to not send database options
...
In the core dml:
PostgreSQL connections now use advanced options to reduce connection overhead.
These options are not compatible with some connection poolers. The
dbhandlesoptions parameter has been added to allow the database to configure
the required defaults.
This item adds a setting to the logstore_database plugin to let you set the
same flag for your destination database - without it you won't be able to ship
logs to a postgresql database with a pgbouncer frontend.
2017-06-28 13:20:09 +09:30
Marina Glancy
bd845341f4
MDL-59363 mod_workshop: user object must have alternative name fields
2017-06-28 11:37:29 +08:00
Eloy Lafuente (stronk7)
65e5e9f454
Merge branch 'MDL-57809-33-progressbar' of https://github.com/roperto/moodle into MOODLE_33_STABLE
2017-06-27 20:17:34 +02:00
Eloy Lafuente (stronk7)
7984ae3581
Merge branch 'wip-MDL-59136-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-06-27 18:09:43 +02:00
David Monllao
f786e59224
Merge branch 'MDL-32151-33' of git://github.com/junpataleta/moodle into MOODLE_33_STABLE
2017-06-27 17:47:00 +02:00
Eloy Lafuente (stronk7)
c46c38d355
Merge branch 'MDL-59362_33' of git://github.com/markn86/moodle into MOODLE_33_STABLE
2017-06-27 17:22:02 +02:00
Danny Jung
67c112bf9c
MDL-59073 Workshop: Prevent submission without content or file
2017-06-27 17:05:35 +02:00
David Monllao
61812e3dd8
Merge branch 'wip-MDL-59308-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-06-27 16:42:33 +02:00
David Monllao
eaeed5b281
Merge branch 'MDL-59158-33' of git://github.com/junpataleta/moodle into MOODLE_33_STABLE
2017-06-27 16:39:56 +02:00
David Monllao
d259cafd3c
Merge branch 'MDL-57927-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-06-27 15:55:33 +02:00
Eloy Lafuente (stronk7)
e632f4ece5
Merge branch 'MDL-58844-33' of git://github.com/andrewnicols/moodle into MOODLE_33_STABLE
2017-06-27 11:42:14 +02:00
Eloy Lafuente (stronk7)
aff28d6243
Merge branch 'MDL-59296-33' of git://github.com/crazyserver/moodle into MOODLE_33_STABLE
2017-06-27 11:40:03 +02:00
Jake Dallimore
653ec0d0b0
Merge branch 'MDL-59312-33' of https://github.com/xow/moodle into MOODLE_33_STABLE
2017-06-27 15:08:23 +08:00
Jake Dallimore
62a71e4a17
Merge branch 'MDL-59275-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-06-27 13:59:14 +08:00
Damyon Wiese
35657809ed
MDL-59380 fragments: Include js from templates
...
Mustache templates containing {{#js}} blocks are not returned via the
fragments API. This is because the requirements manager is assigned when the renderer is created
and not updated by the call to start collecting page requirements.
2017-06-27 13:35:37 +08:00
Jake Dallimore
c61c5009a8
Merge branch 'MDL-56046_33-fix' of git://github.com/markn86/moodle into MOODLE_33_STABLE
2017-06-27 13:17:25 +08:00
Simey Lameze
fe9e229248
MDL-59275 auth: prevent user login failed coding error
2017-06-27 13:07:13 +08:00
Mark Nelson
db500a32a1
MDL-56046 dataformat: minor changes to PHPDocs and upgrade.txt
2017-06-27 11:25:22 +08:00
Andrew Nicols
75ead1e8cf
MDL-58844 testing: Move to GCE build infrastructure
...
Switch back to GCE build infrastructure for Travis Builds and move
databases to RAM Disk.
This also adds a software entropy generator (haveged) which is
recommended when using a RAMdisk for the database.
2017-06-27 09:36:52 +08:00
Eloy Lafuente (stronk7)
c7c9f4a46e
Merge branch 'MDL-56046_33' of git://github.com/markn86/moodle into MOODLE_33_STABLE
2017-06-27 02:42:48 +02:00
Eloy Lafuente (stronk7)
8e9c8f6583
Merge branch 'MDL-40818-33' of git://github.com/junpataleta/moodle into MOODLE_33_STABLE
2017-06-27 01:50:39 +02:00
Eloy Lafuente (stronk7)
037bf82652
Merge branch 'MDL-59295-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-06-27 00:53:44 +02:00
Eloy Lafuente (stronk7)
5341d76031
MDL-58813 phpunit: pick test from 32_STABLE to fix expected behavior
2017-06-26 19:45:05 +02:00
Eloy Lafuente (stronk7)
e71b162d09
Merge branch 'MDL-59297_myoverview_error_33' of git://github.com/davosmith/moodle into MOODLE_33_STABLE
2017-06-26 13:04:57 +02:00
Mark Nelson
58099bd24d
MDL-56046 core: enable multiple sheets for flexible table
2017-06-26 13:56:38 +08:00
Mark Nelson
c7da8264d0
MDL-56046 dataformat: added related information to upgrade.txt
2017-06-26 13:56:38 +08:00
Mark Nelson
ca47e80375
MDL-56046 dataformat_*: convert core plugins
2017-06-26 13:30:56 +08:00
Mark Nelson
40e7ac2c70
MDL-56046 core: convert download_as_dataformat to use new API
2017-06-26 13:30:56 +08:00
Mark Nelson
d7a2d1a2c8
MDL-56046 core_dataformat: added functions to support multiple sheets
...
Also removed write_header() and write_footer(). The reason for this
is because in core we want to know if the format being used supports
multiple sheets. To do this, and ensure we do not break third-party
dataformat plugins, we are using method_exist(). If write_header()
and write_footer() remain in the base class then this will always
be true.
2017-06-26 13:28:44 +08:00
Mark Nelson
d971e7dffe
MDL-59362 core: ensure we use 'new' when throwing exceptions
2017-06-26 13:10:31 +08:00
Marina Glancy
56855a2842
MDL-59136 roles: avoid double escaping in role names
2017-06-26 11:57:37 +08:00
Marina Glancy
7563339608
MDL-59336 themes: change FA mapping for i/new
2017-06-26 11:37:04 +08:00
Jake Dallimore
89d85f5a4b
Merge branch 'MDL-49484-moodle33' of github.com:jebarviabb/moodle into MOODLE_33_STABLE
2017-06-26 10:52:15 +08:00
Josh Ebarvia
74823e4e45
MDL-49484 mod_lesson: Fix lesson page headers when editing
2017-06-24 05:23:52 +09:30
AMOS bot
7a0e1cd70c
Automatically generated installer lang files
2017-06-24 00:08:53 +08:00
AMOS bot
4534c7b531
Merge branch 'MOODLE_33_STABLE' into install_33_STABLE
2017-06-24 00:08:53 +08:00
Pau Ferrer Ocaña
16f2fe5514
MDL-59296 data: Fix latlong field search
2017-06-23 09:15:35 +02:00
Andrew Nicols
eee0d699c3
MDL-59312 js: Improve display of exception stacktrace
2017-06-23 10:50:05 +08:00
John Okely
0d74c11cf7
MDL-59312 notification: Normalise backtrace/stacktrace
2017-06-23 10:50:05 +08:00
Andrew Nicols
6aebb4375f
MDL-59312 js: Add exception on AJAX error
2017-06-23 10:50:04 +08:00
Jun Pataleta
32f2e90522
MDL-32151 group: Use appropriate error langstring error key
2017-06-23 10:28:25 +08:00
Jun Pataleta
8e62bc79c7
MDL-32151 grade: Use appropriate error langstring error key
2017-06-23 10:28:25 +08:00
Jun Pataleta
c36c507277
MDL-59158 theme_boost: Remove auto width and height for user picture
2017-06-23 10:12:54 +08:00
Jun Pataleta
813f289b60
MDL-40818 calendar: Require login to calendar pages
...
* Make sure that the course ID being passed points to an existing course
* Require user to login before granting access to calendar pages.
2017-06-23 09:21:16 +08:00
Daniel Thee Roperto
e318be3772
MDL-57809 weblib: Added missing NO_OUTPUT_BUFFERING directive.
2017-06-23 09:43:32 +10:00
Daniel Thee Roperto
a67ff779d5
MDL-57809 weblib: Added opening disclaimer and file-level phpdocs.
2017-06-23 09:43:32 +10:00
Daniel Thee Roperto
222a87ae98
MDL-57809 weblib: Progress bar and output buffer - added debugging
...
This fix makes Moodle show a debbuging message if using progressbar without defining NO_OUTPUT_BUFFERING.
2017-06-23 09:43:32 +10:00
AMOS bot
8d0dd90520
Automatically generated installer lang files
2017-06-23 00:07:50 +08:00
Dan Poltawski
cccb1a6d21
weekly release 3.3+
2017-06-22 15:40:49 +01:00
Marina Glancy
3d8a2c5cd9
MDL-59308 calendar: pass module context when known
...
this will protect us from exceptions when context for removed instance can not be retrieved
2017-06-22 16:01:33 +08:00
Simey Lameze
ebe0cf3ed4
MDL-59295 tool_lp: remove useless ng-label attribute
2017-06-22 15:49:26 +08:00
Eloy Lafuente (stronk7)
9938165bb8
Merge branch 'MDL-59170-33' of https://github.com/xow/moodle into MOODLE_33_STABLE
2017-06-22 03:50:17 +02:00
John Okely
101271fd28
MDL-59170 fontawesome: Fix course total controls icon on grader report
2017-06-22 09:13:02 +08:00
Davo Smith
4ca3991e56
MDL-59297 block_myoverview: fix fatal error (missing require_once)
2017-06-21 08:01:53 +01:00
Eloy Lafuente (stronk7)
f6736dedd1
Merge branch 'MDL-58985-33-bluebubbles' of git://github.com/mudrd8mz/moodle into MOODLE_33_STABLE
2017-06-21 00:43:53 +02:00
Eloy Lafuente (stronk7)
5be425cf9e
Merge branch 'wip-MDL-59263-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-06-20 18:04:08 +02:00
Eloy Lafuente (stronk7)
0f0b45fd59
Merge branch 'MDL-59269-33-languninstall' of git://github.com/mudrd8mz/moodle into MOODLE_33_STABLE
2017-06-20 17:56:59 +02:00
Mathieu Petit-Clair
f05e2e6690
MDL-58952 admin: use valid default for language selection dropdown.
2017-06-20 11:31:49 +01:00
Dan Poltawski
b0b68a0bd4
Merge branch 'MDL-59005-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-06-20 09:52:12 +01:00
Dan Poltawski
7abe668bd6
Merge branch 'MDL-58472-33' of git://github.com/damyon/moodle into MOODLE_33_STABLE
2017-06-20 09:37:24 +01:00
Jun Pataleta
b31f3097c2
Merge branch 'wip-MDL-58911-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-06-20 16:34:02 +08:00
Jun Pataleta
82b3050e72
Merge branch 'MDL-57770-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-06-20 16:28:20 +08:00
Marina Glancy
153f74956d
MDL-58911 calendar: use the same callbacks in unittests and prod
...
Remove unittest-specific callbacks for checking access and displaying
the calendar events on the dashboard.
This will allow plugin developers unittest the full behavior
of how their plugins add events to the dashboard.
Reset all static caches between unittests.
2017-06-20 16:17:26 +08:00
Jake Dallimore
8b017ea78c
Merge branch 'wip-MDL-58729-33' of git://github.com/abgreeve/moodle into MOODLE_33_STABLE
2017-06-20 15:18:37 +08:00
Jun Pataleta
cea093be87
Merge branch 'MDL-58766_33-clean-tree-item-indent' of https://github.com/lucaboesch/moodle into MOODLE_33_STABLE
2017-06-20 15:10:19 +08:00
Jun Pataleta
970c74b280
Merge branch 'MDL-59270-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-06-20 10:00:19 +08:00
Simey Lameze
04e5ef2a3e
MDL-57927 tool_lp: make both buttons consistent
2017-06-20 08:50:14 +08:00
Simey Lameze
b2a90870ce
MDL-59270 block_myoverview: tab setting logic to main template on clean
2017-06-20 08:46:05 +08:00
Damyon Wiese
ae60722b14
MDL-58808 fontawesome: nav and settings blocks
2017-06-20 08:22:59 +08:00
Dan Poltawski
26277438ed
Merge branch 'MDL-59048_33' of https://github.com/timhunt/moodle into MOODLE_33_STABLE
2017-06-19 15:43:25 +01:00
Dan Poltawski
17eb11f801
Merge branch 'MDL-59173-33' of git://github.com/tobiasreischmann/moodle into MOODLE_33_STABLE
2017-06-19 12:27:44 +01:00
Dan Poltawski
3ae9ed890f
Merge branch 'wip-MDL-51917-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-06-19 12:21:46 +01:00
Dan Poltawski
0ff0caefc0
Merge branch 'MDL-46418-33-hiddenrepos' of git://github.com/mudrd8mz/moodle into MOODLE_33_STABLE
2017-06-19 10:33:35 +01:00
Jun Pataleta
a5efab81c9
Merge branch 'MDL-44961-33' of git://github.com/ankitagarwal/moodle into MOODLE_33_STABLE
2017-06-19 16:25:03 +08:00
Jun Pataleta
bc84e4e4ae
Merge branch 'MDL-58310-33' of https://github.com/xow/moodle into MOODLE_33_STABLE
2017-06-19 13:26:13 +08:00
John Okely
e70d1e66d6
MDL-58310 ajax: suppress errors upon page unload
2017-06-19 11:45:29 +08:00
John Okely
e256446c75
MDL-58310 message: No longer need to supress errors from messaging
2017-06-19 11:45:29 +08:00
Jake Dallimore
e4780bf151
Merge branch 'MDL-59230-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-06-19 09:13:22 +08:00
Vladimir Zhirov
4b8d403606
MDL-59005 resource: fixed zip extraction for filenames in CP-1251/CP-866
2017-06-19 08:50:59 +08:00
Luca Bösch
8a32c0fdb3
MDL-58766 css: clean theme block alignment
2017-06-16 16:12:28 +02:00
David Mudrák
a27fa5b50e
MDL-59269 lang: Fix ability to uninstall certain language packs
...
In the issue MDL-39319 (6ddf92c77 ), the ability to uninstall multiple
language packs at once was added. By a mistake, the PARAM_ALPHAEXT was
used as paramater type for the dash-separated list of language packs to
be uninstalled. Language packs with a number in the name (such as
en_us_k12) do not pass the ALPHAEXT cleaning.
This patch changes the parameter cleaning to PARAM_SAFEPATH which is
more appropriate for the given scenario as language code themselves must
be SAFEDIRs.
2017-06-16 14:05:31 +02:00
Simey Lameze
3cf5c5152e
MDL-59230 block_myoverview: add missing core notification module
2017-06-16 16:40:02 +08:00
Tobias Reischmann
c484b0574e
MDL-59173 tablelib.php: changed default of $params in set_sql to array()
...
Default of $params = null leads to a problem in query_db().
There this value is used in array_merge, which can not handle null
values. If null is passed for one of the params the outcome will be null
independent of the value of the second param!
2017-06-16 10:27:17 +02:00
Jake Dallimore
dec00f6a53
weekly release 3.3+
2017-06-16 13:29:39 +08:00
Jake Dallimore
d51518e24d
Merge branch 'install_33_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_33_STABLE
2017-06-16 13:29:38 +08:00
Jean-Roch Meurisse - University of Namur - Belgium
94925c38d0
MDL-59263 roles: Wrong order of parameters in calls to pix_icon function
2017-06-16 10:07:22 +08:00
David Mudrák
7abd8de776
MDL-46418 repositories: Fix how enabled repositories are populated
...
Repository instances are stored in the 'repository' table. Repositories
in the table are either 'Enabled and visible' or 'Enabled but hidden'.
Hidden repositories still serve their files, but are not visible in the
filepicker UI. Disabling a repository instance removes its record from
the table.
In the original implementation of the plugin manager (see b9934a17 ), the
method plugintype_repository::get_enabled_repositories() correctly
returned all records from the repository table. Then as a part of the
bigger refactoring in MDL-41437, the commit bde002b8 replaced the
original method with the new get_enabled_plugins() one which started to
return visible repositories only.
As a consequence, the admin tree stopped populating setting page nodes
for hidden repository instances. So attempting to visit their setting
page threw a section error. Credit goes to Ike Quigley for debugging and
tracing this down.
This patch fixes the way how the list of enabled repositories is
populated by the plugin manager so that both visible and hidden
repositories are returned again. This does not affect the filepicker
itself as it is using its own methods for obtaining the list.
2017-06-15 21:20:03 +02:00
Jake Dallimore
a358927e9e
MDL-58248 theme: use pix icon for side panel menu icon instead of char
...
Replaces the trigram for heaven char with the fa-bars pix icon for
improved support with all screen readers.
2017-06-15 17:08:33 +08:00
Simey Lameze
49e5b8438c
MDL-57770 tool_lp: style fixes for the competency rule dialog
2017-06-15 15:38:23 +08:00
Mark Nelson
2b026b44f7
MDL-59140 core: apply limit only on courses to be shown in specific nav
...
There can be a different number of courses displayed in the
'Navigation' block and in the 'Flat' navigation. This patch
decides what courses we want to display on each, then
applies the 'navcourselimit' setting individually.
2017-06-15 13:36:14 +08:00
Ankit Agarwal
63bfa5afdb
MDL-44961 logs: Keep log dates constant during restore
2017-06-14 15:21:54 +05:30
Jake Dallimore
d08cd28dae
Merge branch 'MDL-59142-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-06-14 11:36:19 +08:00
Marina Glancy
11438f4253
MDL-40408 mod_data: skip metadata fields during import
2017-06-14 11:32:24 +08:00
Dan Poltawski
5d7d2c0a45
Merge branch 'MDL-59171-33' of git://github.com/junpataleta/moodle into MOODLE_33_STABLE
2017-06-13 14:40:45 +01:00
Dan Poltawski
9eb46e7d75
Merge branch 'MDL-59140_33' of git://github.com/markn86/moodle into MOODLE_33_STABLE
2017-06-13 13:23:33 +01:00
Mark Nelson
481220cb4c
MDL-59140 core: upgrade 'navcourselimit' if set to old default value
2017-06-13 18:22:58 +08:00
Mark Nelson
d47b680074
MDL-59140 core: limit the number of courses shown in the navigation
...
If the user is enrolled in more courses than the limit then a 'More...'
link is displayed which takes the user to the course/index.php page.
2017-06-13 18:21:58 +08:00
Mark Nelson
76b6407cb8
MDL-59140 core: changes to the 'navcourselimit' setting
...
Changed the default and description.
2017-06-13 18:21:18 +08:00
Eloy Lafuente (stronk7)
ca1e040bbf
Merge branch 'wip-MDL-58523-33' of git://github.com/marinaglancy/moodle into MOODLE_33_STABLE
2017-06-13 11:21:12 +02:00
Jun Pataleta
1312c844a1
Merge branch 'MDL-59012-33-linkurl' of git://github.com/mudrd8mz/moodle into MOODLE_33_STABLE
2017-06-14 17:11:47 +08:00
Jun Pataleta
a21c3208ea
Merge branch 'MDL-58991-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-06-14 16:56:23 +08:00
Dan Poltawski
a1692f6362
Merge branch 'MDL-41426_33-block-completionstatus-spaces' of https://github.com/lucaboesch/moodle into MOODLE_33_STABLE
2017-06-13 09:53:59 +01:00
Eloy Lafuente (stronk7)
9bcb6e1bec
MDL-46322 database: alias sort fields to avoid ambiguous naming
2017-06-13 09:17:04 +01:00
Jake Dallimore
192a355707
Merge branch 'MDL-58136-33' of git://github.com/damyon/moodle into MOODLE_33_STABLE
2017-06-13 15:54:42 +08:00
Damyon Wiese
3709386ed5
MDL-58136 course: Remove lines from unit test
...
Remove unused vars and logic from the unit test for classifying a course.
2017-06-13 15:07:50 +08:00
Marina Glancy
c159483796
MDL-51917 course completion: order activities in reports
...
Thanks to Nick Phillips for initial patch
2017-06-13 14:49:35 +08:00
Marina Glancy
9bdff1611b
MDL-58523 mod_feedback: deleting response should reset completion
2017-06-13 14:36:24 +08:00
Jake Dallimore
ca18b0c33d
Merge branch 'MDL-51691-moodle33' of https://github.com/jebarviabb/moodle into MOODLE_33_STABLE
2017-06-13 10:32:45 +08:00
Damyon Wiese
0fb6f059a9
MDL-58136 navigation: Ensure we have all course fields
...
To properly classify courses we need the start/end dates etc.
2017-06-13 10:09:44 +08:00
Marcus Green
7dc35ed9d2
MDL-58248 theme_boost: label/span for sidepanel expand button
...
Add string "Side panel" to make the purpose of
trigram/hamburger icon at top left clearer, particularly
when using screen readers e.g. Jaws/NVDA.
Currently it reads out only "expand"
2017-06-13 09:50:01 +08:00
Simey Lameze
481a5ce58b
MDL-59142 core_theme: cache post-processed css
...
Thanks Cameron Ball for the base patch
2017-06-13 09:36:44 +08:00
Damyon Wiese
af153671de
MDL-58472 videojs: Force manual initialise
...
If we let videojs auto-init the video/audio tags present in the page - we cannot guarantee that the
youtube library will be loaded by the time video.js is processing the tag.
Video.js uses the presence of a data-setup attibute to signal that it should auto-init this tag, so
we have to rename our config attribute to something else.
2017-06-13 09:12:25 +08:00
Eloy Lafuente (stronk7)
48b929667e
Merge branch 'MDL-59032-33' of git://github.com/damyon/moodle into MOODLE_33_STABLE
2017-06-13 01:28:22 +02:00
Eloy Lafuente (stronk7)
6dc00c8423
Merge branch 'MDL-40015-33' of git://github.com/jleyva/moodle into MOODLE_33_STABLE
2017-06-13 01:23:43 +02:00
Eloy Lafuente (stronk7)
290ec233f5
Merge branch 'mdl58161-moodle33' of https://github.com/tlock/moodle into MOODLE_33_STABLE
2017-06-13 01:21:54 +02:00
Eloy Lafuente (stronk7)
56aa74ed3c
Merge branch 'MDL-59056_33-admin-allowstealth-select-checkbox' of https://github.com/lucaboesch/moodle into MOODLE_33_STABLE
2017-06-13 01:19:26 +02:00
Josh Ebarvia
fe3d722d69
MDL-51691 assignsubmission_feedback: Fix delete comments
2017-06-13 08:35:25 +09:30
Eloy Lafuente (stronk7)
792560a608
Merge branch 'MDL-58907_33' of git://github.com/markn86/moodle into MOODLE_33_STABLE
2017-06-13 01:03:43 +02:00
Eloy Lafuente (stronk7)
7041dc6f8a
Merge branch 'MDL-59132-33' of git://github.com/jleyva/moodle into MOODLE_33_STABLE
2017-06-13 00:45:09 +02:00
Tim Lock
57fb48743f
MDL-58161 user: tests: user_can_view_profile fails under certain cases
2017-06-13 08:10:43 +09:30
Eloy Lafuente (stronk7)
a9712dacbe
Merge branch 'MDL-59112-33' of git://github.com/jleyva/moodle into MOODLE_33_STABLE
2017-06-12 14:39:14 +02:00
Dan Poltawski
c0f4b8b3c1
Merge branch 'mdl46322-moodle33' of https://github.com/AndresMelo/moodle into MOODLE_33_STABLE
2017-06-12 10:29:18 +01:00
Damyon Wiese
9a9b9e53f0
MDL-58136 cache: Add a course completion cache
...
The last change added 1 db read per course per page which is not OK. Add a cache to compensate.
2017-06-12 16:08:57 +08:00
Damyon Wiese
e1d15194bc
MDL-58136 boost: Limit courses in flatnav
...
Only show "in-progress" courses in the boost flat navigation (as per the myoverview block).
2017-06-12 16:08:18 +08:00
David Mudrák
5b2f32ca92
MDL-58985 course: Fix display of availability information
...
The availability info text can be either a one line short text such as
"Hidden from students" but it can also be a long HTML formatted text
with the list of all restricted access conditions. For the latter, using
bootstrap labels was not appropriate.
This extends the template context data with some boolean flags that
allow to better distinguish the source and meaning of the availability
information and display it accordingly.
Credit goes to Marina Glancy for the solution idea.
2017-06-12 09:30:57 +02:00
Jun Pataleta
a53a439c08
Merge branch 'MDL-59042-33-upgradefix' of github.com:snake/moodle into MOODLE_33_STABLE
2017-06-12 15:30:54 +08:00
Jake Dallimore
2c12e7f534
MDL-59042 upgrade: fix for non existent table in core upgrade.
...
Moved upgrade step to the assign mod where table is known to exist.
2017-06-12 15:26:03 +08:00
Adrian Greeve
7255306cc8
MDL-58729 database: Improve performance of CLI tool.
...
Imporve the speed with which mysql_collation converts to
a different collation.
2017-06-12 14:14:35 +08:00
Jake Dallimore
b545e84294
Merge branch 'MDL-57103-33' of https://github.com/xow/moodle into MOODLE_33_STABLE
2017-06-12 14:00:25 +08:00
Jun Pataleta
72ebc73897
Merge branch 'MDL-59154-33' of git://github.com/andrewnicols/moodle into MOODLE_33_STABLE
2017-06-12 13:45:16 +08:00
Jun Pataleta
856e1c24c2
Merge branch 'MDL-59042-33' of git://github.com/snake/moodle into MOODLE_33_STABLE
2017-06-12 13:29:21 +08:00
Jake Dallimore
5b1dffd5b0
MDL-59042 upgrade: datafix assign group overrides with null priority
...
Find any events records for assign group overrides having null priority
and sets their priority to the sortorder value from the corresponding
assign_overrides table entry.
2017-06-12 13:19:28 +08:00
John Okely
6ebff58d8c
MDL-57103 lib: Force ajax renderer for all ajax fatal errors
2017-06-12 10:36:59 +08:00
Mark Nelson
54bee25c65
MDL-58907 block_myoverview: change URL when tab is selected
...
We then check if this paramter exists in the URL and if it
does we display the specified tab.
2017-06-12 10:35:23 +08:00
Mark Nelson
355fefbe71
MDL-58907 block_myoverview: display last tab user was on
2017-06-12 10:35:23 +08:00
Mark Nelson
11a24a823b
MDL-58907 block_myoverview: added setting to select default tab
2017-06-12 10:35:23 +08:00
Jun Pataleta
75797500ae
MDL-59171 mod_lti: Set mod_lti_view_lti's type to 'read'
2017-06-12 08:35:03 +08:00
Jake Dallimore
e2b8d30052
MDL-59042 assign: Group override edit no longer resets event priority
...
Fixed a bug in which $fromform->sortorder wasn't set before passing
$formdata to assign_update_events, resulting in the existing event
priority being incorrectly nulled and breaking the effective override.
2017-06-09 15:28:08 +08:00
Tim Lock
c14ce14e3c
MDL-55979 quiz: Fix error moving question from last page
...
When moving the last question from the last page to the last slot of the previous page would show the error in the error
log but move successfully.
2017-06-09 08:36:08 +09:30
Luca Bösch
571e862135
MDL-59056 admin: allowstealth yes/no checkbox instead of on/off
2017-06-08 21:09:54 +02:00
Luca Bösch
1e9ba1916b
MDL-41426 block: Whitespace lacking in completion status block
2017-06-08 19:10:41 +02:00
AMOS bot
ddd849e1d5
Automatically generated installer lang files
2017-06-09 00:18:26 +08:00
Dan Poltawski
760ed1dfde
weekly release 3.3+
2017-06-08 12:16:24 +01:00
Dan Poltawski
95a6fe8b05
Merge branch 'install_33_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_33_STABLE
2017-06-08 12:16:23 +01:00
Juan Leyva
0fca28e197
MDL-59132 mod_feedback: Fix anonymous responses numbering
...
This was done correctly by the web scrip but not by the WS.
2017-06-08 11:16:52 +01:00
Juan Leyva
cc5235bb77
MDL-40015 core_course: Fix description of duplicate_course WS
...
It said that the duplication didn’t include user data, but that’s not
true since there is a parameter to include it.
2017-06-08 10:20:39 +01:00
Juan Leyva
1099b7ce1d
MDL-59112 theme_clean: Always return expected moodle_url
...
The function was returned some times a moodle_url object and another
times just a string with a relative URL.
2017-06-08 09:40:39 +01:00
Andrew Nicols
dc403b8386
MDL-59154 theme: Lock for all caching builds
...
The previous behaviour was to only lock when in theme designer mode.
As a result, when generating the theme for after a reset, each new
client was starting the generation afresh and no locking was taking
place at all.
2017-06-08 12:05:27 +08:00
Dan Poltawski
23bec87007
Merge branch 'MDL-59101-33' of git://github.com/junpataleta/moodle into MOODLE_33_STABLE
2017-06-07 16:26:19 +01:00
Jun Pataleta
924db1a0a6
MDL-59101 calendar: Properly calculate expected until date
2017-06-07 23:13:05 +08:00
Jake Dallimore
f8326931a1
Merge branch 'MDL-59076_33' of git://github.com/markn86/moodle into MOODLE_33_STABLE
2017-06-07 09:24:57 +08:00
Damyon Wiese
0a98628841
MDL-58908 auth_oauth2: Don't kill gravatar
...
If gravatar is enabled, don't update profile pictures.
2017-06-06 17:29:56 +08:00
Dan Poltawski
d72a096797
Merge branch 'MDL-58658' of https://github.com/sk-unikent/moodle into MOODLE_33_STABLE
2017-06-06 10:02:32 +01:00
Damyon Wiese
a6379acaf3
MDL-59032 scorm: Don't show action events to teachers
2017-06-06 15:57:39 +08:00
Dan Poltawski
e002d8c2db
Merge branch 'MDL-59086_33' of git://github.com/markn86/moodle into MOODLE_33_STABLE
2017-06-06 08:44:49 +01:00
Simey Lameze
2b7268d645
MDL-58991 report_stats: use same date handling on chart rendering
...
This commmit fixes applies the same date handling used on stats
table render to the charts render.
2017-06-06 13:56:15 +08:00
Mark Nelson
6e34867b93
MDL-59076 format_weeks: if 'enddate' does not exist in backup then use 0
2017-06-06 12:42:36 +08:00
Jun Pataleta
9a6e95557f
Merge branch 'MDL-58646-33' of git://github.com/danpoltawski/moodle into MOODLE_33_STABLE
2017-06-06 12:24:29 +08:00
Jake Dallimore
88daff0ff3
Merge branch 'MDL-58900-33' of git://github.com/lameze/moodle into MOODLE_33_STABLE
2017-06-06 11:39:43 +08:00
Eloy Lafuente (stronk7)
3309800768
Merge branch 'MDL-58826_33_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_33_STABLE
2017-06-06 01:44:56 +02:00
Eloy Lafuente (stronk7)
adbba36a63
Merge branch 'MDL-59096-m33' of https://github.com/sammarshallou/moodle into MOODLE_33_STABLE
2017-06-06 01:41:41 +02:00
Dan Poltawski
37ff4578be
Merge branch 'MDL-59080_M33' of git://github.com/lazydaisy/moodle into MOODLE_33_STABLE
2017-06-05 12:49:46 +01:00
Mark Johnson
cbc3742d71
MDL-58826 theme_boost: Prevent fatal errors in action menu behat steps
2017-06-05 09:05:34 +01:00
AMOS bot
56e407f8a0
Automatically generated installer lang files
2017-06-05 00:05:48 +08:00
AMOS bot
362e7721f5
Automatically generated installer lang files
2017-06-04 00:07:14 +08:00
AMOS bot
53fd95f715
Automatically generated installer lang files
2017-06-04 00:07:14 +08:00
Dan Poltawski
078aaae0cf
Merge branch 'MDL-59091_gherkinlint_fix_33' of https://github.com/mrmark/moodle into MOODLE_33_STABLE
2017-06-03 08:54:44 +01:00
Mark Nielsen
4f66cd826f
MDL-59091 behat: Fix gherkinlint errors
...
Just whitespace problems.
2017-06-02 09:36:31 -07:00
Mark Nielsen
028f587670
MDL-59091 behat: Properly propagate gherkinlint exit code
2017-06-02 09:36:18 -07:00
AMOS bot
0b2e862c7a
Automatically generated installer lang files
2017-06-03 00:07:42 +08:00
sam marshall
8db0bcc018
MDL-59096 Tasks: Web running local plugin scheduled tasks fails
2017-06-02 17:07:01 +01:00
Dan Poltawski
bb6a2082f8
MDL-58646 lib: import latest sabberworm/PHP-CSS-Parser
...
This version includes a fix[1] contributed by Frédéric Massart investigating
our compilation time issues, which significantly improves the speed of
processing font awesome.
Thanks, Fred!
[1] https://github.com/sabberworm/PHP-CSS-Parser/pull/120
2017-06-02 11:04:23 +01:00
Mary Evans
dfac161651
MDL-59080 theme_boost: make drawer.scss variables default
...
--author="Urs Hunkler <urs.hunkler@unodo.de >"
2017-06-02 07:57:57 +01:00
Dan Poltawski
f41c1f82bc
weekly release 3.3+
2017-06-01 09:28:28 +01:00
Dan Poltawski
443f993467
Merge branch 'install_33_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_33_STABLE
2017-06-01 09:28:27 +01:00
Jake Dallimore
0e72aac68a
Merge branch 'MDL-59094-33' of git://github.com/danpoltawski/moodle into MOODLE_33_STABLE
2017-06-01 15:28:34 +08:00
AMOS bot
4cd564dd65
Automatically generated installer lang files
2017-06-01 00:12:20 +08:00
Dan Poltawski
c6c462903e
Merge branch 'MDL-59093-33' of git://github.com/junpataleta/moodle into MOODLE_33_STABLE
2017-05-31 11:10:38 +01:00
Dan Poltawski
be4a2e7773
MDL-59094 npm: Update shrinkwrap file to npm 5 generated
...
Starting with npm version 5, npm install will generate a lockfile
(now named package-lock.json) or update the existing npm-shrinkwrap.json
To prevent changes being generated in the codebase when this happens, we
need to commit the version 5 generated shrinkwrap.
This is related to a general overhaul [1] of how npm manages things. But
for our purposes, we the lockfile should be BC to previous versions [2].
Going forward, we need to ensure we generate the lockfile on npm >=5 to
prevent differences from the previously un-versioned lockfile.
[1] http://blog.npmjs.org/post/161081169345/v500
[2] https://github.com/npm/npm/issues/16728#issuecomment-305104149
2017-05-31 10:11:40 +01:00
Jun Pataleta
283140134b
MDL-59093 calendar: Use a fixed start day for forever BYMONTH test
2017-05-31 15:02:04 +08:00
Simey Lameze
c779c4fa0b
MDL-58900 mod_assign: fix incorrect overrides ordering
2017-05-31 10:51:21 +08:00
Jake Dallimore
4577aa88fd
Merge branch 'MDL-54887-33' of git://github.com/junpataleta/moodle into MOODLE_33_STABLE
2017-05-31 08:39:08 +08:00
Eloy Lafuente (stronk7)
3add309d96
Merge branch 'MDL-49988_fix_wiki_preview_33_STABLE' of https://github.com/DMaterka/moodle into MOODLE_33_STABLE
2017-05-31 00:30:19 +02:00
Dan Poltawski
1c2a935975
Merge branch 'MDL-58997_33-group-names-multilang' of https://github.com/lucaboesch/moodle into MOODLE_33_STABLE
2017-05-30 16:57:34 +01:00
Luca Bösch
574aa817c1
MDL-58997 calendar: Group names passing multilang filters.
2017-05-30 16:51:38 +02:00
Eloy Lafuente (stronk7)
98a7bb9cd5
Merge branch 'MDL-58994-33' of git://github.com/cameron1729/moodle into MOODLE_33_STABLE
2017-05-30 12:50:51 +02:00
Dan Poltawski
f35ff40f4a
Merge branch 'MDL-49040-moodle33' of https://github.com/jebarviabb/moodle into MOODLE_33_STABLE
2017-05-30 11:42:34 +01:00
Jun Pataleta
2529f11ce3
Merge branch 'MDL-57313-33-clibootswatch' of git://github.com/mudrd8mz/moodle into MOODLE_33_STABLE
2017-05-30 16:57:51 +08:00
Jun Pataleta
26f4cf3ad8
MDL-54887 calendar: PR fixes
...
* Use the calendar_event::description property and format it using
format_text() on it in order to apply the appropriate filters.
* Then use html_to_text() on it to strip the tags and convert the
description to plain text while converting <br> and <p> tags to
line breaks.
2017-05-30 16:54:05 +08:00
Soon-Systems
23ec9e80b4
MDL-54887 calendar: Format summary + description of an event for export
2017-05-30 16:54:05 +08:00
Dan Poltawski
8710174991
Merge branch 'MDL-59014-33' of git://github.com/junpataleta/moodle into MOODLE_33_STABLE
2017-05-30 08:33:37 +01:00
Mark Nelson
e399833263
MDL-59086 gradereport_grader: style 'Save changes' button
2017-05-30 13:44:04 +08:00
AMOS bot
59411b45f6
Automatically generated installer lang files
2017-05-28 14:07:00 +08:00
David Mudrák
767622050e
MDL-57313 boost: Fix the CLI utility import-bootswatch.php
2017-05-26 09:52:13 +02:00
Dan Poltawski
6696cff321
weekly release 3.3+
2017-05-24 19:14:46 +01:00
Tim Hunt
f59741cc6c
MDL-59048 user tours: avoid white-on-white text in Clean
2017-05-24 17:28:02 +01:00
Andrew Nicols
524724c642
Merge branch 'MDL-59011-33' of git://github.com/ankitagarwal/moodle into MOODLE_33_STABLE
2017-05-24 14:18:58 +08:00
Ankit Agarwal
ca31084da2
MDL-59011 restore: Check for userride only for activity events
2017-05-24 09:59:28 +05:30
Andrew Nicols
52ecbf8f4c
MDL-58577 stats: Correct groupby when getting report options
2017-05-23 19:45:28 +08:00
Andrew Nicols
d9c2abaa65
Merge branch 'MDL-58577_33-statistics-report-header-multilang' of https://github.com/lucaboesch/moodle into MOODLE_33_STABLE
2017-05-23 19:45:24 +08:00
David Mudrák
30613bca8d
MDL-59012 auth_oauth2: Do not escape URL in plain text emails
2017-05-23 13:38:28 +02:00
Jun Pataleta
cb3bad1d50
MDL-59014 calendar: Unescape event URL for the mini calendar
2017-05-23 17:21:18 +08:00
Luca Bösch
e4eab531bf
MDL-58577 stats: Use multilang with role in header
2017-05-23 11:12:22 +02:00
Jun Pataleta
068d573375
Merge branch 'MDL-58895-33' of git://github.com/ankitagarwal/moodle into MOODLE_33_STABLE
2017-05-23 16:53:45 +08:00
Jake Dallimore
df78e4c8ab
Merge branch 'MDL-58921_33-calculated-question-name-multilang' of https://github.com/lucaboesch/moodle into MOODLE_33_STABLE
2017-05-23 16:26:25 +08:00
Jun Pataleta
5fbe152a58
Merge branch 'MDL-58165-33' of https://github.com/abias/moodle into MOODLE_33_STABLE
2017-05-23 14:47:11 +08:00
Ankit Agarwal
7fe005f6d1
MDL-58895 groups: Add bootstrap classes to buttons
2017-05-23 12:05:56 +05:30
Alexander Bias
2a615a6031
MDL-58165 navigation: Add node key to private files navigation node
2017-05-23 07:22:23 +02:00
Josh Ebarvia
cb065a2d2f
MDL-49040 gradereport_grader: Fix feedback truncation after & char
2017-05-23 13:03:44 +09:30
Dan Poltawski
e0adce5360
Merge branch 'MDL-58922_33-calculatedmulti-question-name-multilang' of https://github.com/lucaboesch/moodle into MOODLE_33_STABLE
2017-05-22 10:45:52 +01:00
Luca Bösch
613db5afcb
MDL-58921 questions: Calculated question name passing multilang.
...
In edit calculated question the question name does pass format_string to process multilang tags.
2017-05-22 11:36:54 +02:00
Luca Bösch
b38538fbdf
MDL-58922 questions: Calculatedmulti question name passing multilang.
...
In edit calculatedmulti question the question name does pass format_string to process multilang tags.
2017-05-22 11:32:18 +02:00
David Monllao
f96167c02e
Merge branch 'MOODLE_33_STABLE_MDL-56973' of https://github.com/fwsl/moodle into MOODLE_33_STABLE
2017-05-22 15:14:09 +08:00
Jake Dallimore
c708549705
Merge branch 'MDL-56617_33-course-cbm-grade-to-pass' of https://github.com/lucaboesch/moodle into MOODLE_33_STABLE
2017-05-22 14:32:17 +08:00
Jun Pataleta
d14281e215
Merge branch 'MDL-58933_33' of git://github.com/stronk7/moodle into MOODLE_33_STABLE
2017-05-22 14:12:57 +08:00
Mark Nelson
19f6ca9457
MDL-58986 mod_quiz: add CSS classes to buttons on comment page
2017-05-22 12:23:04 +08:00
Dan Poltawski
7b4eb6082f
MDL-58966 completion: improve dashboard string
2017-05-22 10:48:00 +08:00
Henning Bostelmann
8b8fbc6b84
MDL-57957 mod_assign: show feedback file in absence of grade item
2017-05-22 10:44:18 +08:00
Eloy Lafuente (stronk7)
906b385784
MDL-58933 upgrade: add 3.3.0 separation line to all upgrade scripts
2017-05-19 19:23:55 +02:00
Luca Bösch
e13e5a42bc
MDL-56617 mod_quiz: No grade to pass check if CBM used
...
When certainty-based marking is used, grades can 'exceed' the maximum grade
(because they are multiplied by factors). Therefore, in such cases, don't show
no warning.
2017-05-19 12:34:21 +02:00
Grzegorz Ziółek
1fcfc991b9
MDL-56973 wiki: New page title readonly after changing course language
2017-05-19 11:11:55 +02:00
Cameron Ball
a4eaa35e23
MDL-58994 core_calendar: Coalesce event sort field
...
There are situations where we need to sort events on a field called
"timesort", but sometimes it is not set. So we can fall back to
"timestart" in this case.
2017-05-19 15:11:32 +08:00
David Monllao
df6749b03b
weekly release 3.3+
2017-05-19 13:08:39 +08:00
Andres
6fc4a6c17a
MDL-46322 mod_assign: Only list enrolled graders as potential markers
2017-05-18 22:32:59 -05:00
Andres Melo
f13c34e4a9
MDL-46322 mod_assign: Only list enrolled graders as potential markers
2017-05-17 16:48:43 -05:00
Mark Nelson
0899f6b9f9
MDL-58776 core_tag: removed whitespace from id attribute
...
This was preventing the JS from finding the element.
2017-05-17 12:13:54 +01:00
Simey Lameze
b68abdc7c2
MDL-58884 core_competency: add exporter required course fields
2017-05-17 15:01:05 +08:00
Jake Dallimore
7e68b9a0af
Merge branch 'MDL-58947-m33' of https://github.com/sammarshallou/moodle into MOODLE_33_STABLE
2017-05-17 09:16:01 +08:00
Andrew Nicols
63752139c4
Merge branch 'MDL-58795-moodle33' of https://github.com/jebarviabb/moodle into MOODLE_33_STABLE
2017-05-17 07:00:49 +08:00
Daniel Materka
67803cb430
MDL-49988 wiki: fix broken page layout if html contains line breaks
2017-05-16 19:10:26 +01:00
Ankit Agarwal
54b24b8a24
MDL-58776 tags: Add bootstrap classes to buttons
2017-05-16 17:51:11 +01:00
Iñaki Arenaza
3e97f327cf
MDL-57558 ldap: fix ldap_get_entries_moodle()
...
While ldap_get_entries_moodle() PHPdocs state that it returns "array
ldap-entries with lower-cased attributes as indexes.", this is not true. It
uses ldap_get_attributes() internally, which returns both numerically indexed
attribute names, and dictionary-like entries indexed by attribute names.
Current code lowercases the dictionary-like entries, but then uses the
numerically indexed entries for the attribute names used as keys in the
returned array. The numerically indexed names might or might not be lowercased,
depending on the LDAP server and PHP version) version. E.g., OpenLDAP 2.x,
Novell eDirectory 8.x and MS Active Directory return mixed-cased attribute
names, and PHP 5.x and PHP 7.x don't lowercase them inside ldap_get_entries().
This is probably why all calls to ldap_get_entries_moodle() are followed by
calls to array_change_key_case(), even if that shouldn't be necessary.
So make sure we always return lower-cased attributs as indexes and add some
unit tests to avoid regressions in the future.
2017-05-16 10:48:49 +01:00
Jun Pataleta
e91ffe1531
Merge branch 'MDL-58811-33-extra-slash' of https://github.com/dmitriim/moodle into MOODLE_33_STABLE
2017-05-16 17:42:55 +08:00
Josh Ebarvia
c4d5303ce0
MDL-58795 gradereport_grader: Prevent duplicates in grader report
...
Currently, the sorting being used for the grader report table
(asc/desc arrows) is just the grade_grades.finalgrade.
This adds grade_grades.userid in the sort to prevent duplicate
in records returned when using pages.
2017-05-16 18:49:45 +09:30
Jake Dallimore
0712ef7f54
Merge branch 'MDL-58723-33' of git://github.com/junpataleta/moodle into MOODLE_33_STABLE
2017-05-16 15:16:34 +08:00
Jun Pataleta
ddf6c958f8
MDL-58723 calendar: Better testing of forever recurring events
...
* Change the start date of the parent event to the current date
for tests that with events that recur forever.
* Limit query results to 100 for events that recur forever that can
generate more than 100 event records.
2017-05-16 14:40:39 +08:00
Andrew Nicols
fbf216799c
Merge branch 'MDL-58756_33-statslib-roles-multilang' of https://github.com/lucaboesch/moodle into MOODLE_33_STABLE
2017-05-16 13:52:45 +08:00
Luca Bösch
f8b0ee68bf
MDL-58756 stats: Use multilang with role .
2017-05-16 07:27:00 +02:00
Dmitrii Metelkin
069683984a
MDL-58811 backup: fix an extra slash on restore for the legacy files
2017-05-16 14:34:10 +10:00
Issam Taboubi
7a7dd2ff1f
MDL-58884 competency: Inaccurate stats proficient competencies in course
2017-05-16 10:42:39 +08:00
Stephen Vickers
8a0ed98b81
MDL-58770 mod_lti: Strip HTML from parameters
...
Remove HTML tags from parameters which should be plain text.
2017-05-16 09:58:09 +08:00
sam marshall
ce904a961d
MDL-58947 Search: Label URLs not correctly calculated
2017-05-15 17:57:58 +01:00
Ankit Agarwal
5ff898804f
MDL-58929 converters: Make link title consistent
2017-05-15 12:07:43 +01:00
Dan Poltawski
3bb50a471c
Merge branch 'MDL-58936_33' of git://github.com/markn86/moodle into MOODLE_33_STABLE
2017-05-15 11:45:19 +01:00
Cameron Ball
660182a172
MDL-58496 mod_chat: Update timesort when updating timestart
...
Previously when a repeating chat was updating the calendar
it would only update the timestart column. It needs to also
update the timesort column to display correctly on the new
overview.
2017-05-15 11:14:50 +01:00
John Okely
e8f0664d53
MDL-58916 user_profile: Pass site context when determining menu options
2017-05-15 11:01:34 +01:00
Cameron Ball
cb495b995c
MDL-58841 mod_assign: Style "view all" link on grading summary
2017-05-15 10:46:25 +01:00
Luca Bösch
c37bbda3ef
MDL-58852 choice: Use multilang for choice options in charts
2017-05-15 10:23:29 +01:00
Andrew Nicols
81432e74f4
Merge branch 'MDL-58893-33-missing-div' of https://github.com/dmitriim/moodle into MOODLE_33_STABLE
2017-05-15 15:13:04 +08:00
Luca Bösch
d231bf1272
MDL-58920 questions: Calculated question name passing multilang.
...
In "Shared wild cards" table calculated question name do pass format_string to process multilang tags.
Thus, not breaking the layout any more.
2017-05-15 14:44:06 +08:00
Dmitrii Metelkin
1aee3e9394
MDL-58893 portfolio: add missing closing div
2017-05-15 15:56:34 +10:00
Mark Nelson
9362f598dd
MDL-58936 core: ensure 'page->context' is not null
...
When using $page->context it calls magic_get_context() in lib/pagelib.php.
This method sets the context to context_system::instance() if it is currently
null and returns that as the context. However, when installing a new site
context_system::instance() also returns null.
2017-05-15 12:40:29 +08:00
Eloy Lafuente (stronk7)
b87a580aa3
Moodle release 3.3
2017-05-14 11:46:35 +02:00
Eloy Lafuente (stronk7)
206da19cd8
NOBUG: Change travis.yml to MOODLE_33_STABLE
2017-05-14 11:46:34 +02:00
AMOS bot
5c3287d5d8
Automatically generated installer lang files
2017-05-14 00:04:26 +08:00
AMOS bot
cc9857b71a
Automatically generated installer lang files
2017-05-13 00:04:20 +08:00
Dan Poltawski
49fa410dd1
Moodle release 3.3rc3
2017-05-12 10:02:41 +01:00
Dan Poltawski
f0cba09e16
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-05-12 10:02:40 +01:00
Dan Poltawski
4f3962e4b4
Merge branch 'MDL-58904-master-fix' of https://github.com/snake/moodle
2017-05-12 15:49:02 +08:00
Jake Dallimore
c0af95d789
MDL-58904 restore: temp fix for event priority notices
2017-05-12 15:10:23 +08:00
Jun Pataleta
ae9da6a222
Merge branch 'MDL-58905_master' of git://github.com/dmonllao/moodle
2017-05-12 14:57:49 +08:00
David Monllao
56fb39316f
MDL-58905 auth_oauth2: Return if no issuers allow login
2017-05-12 14:52:07 +08:00
David Monllao
ac8a0c4077
MDL-58905 auth_oauth2: Add plugin enabled checkings
2017-05-12 14:36:01 +08:00
David Monllao
011591a148
MDL-58905 auth_oauth2: No linked accounts if the plugin is not enabled
2017-05-12 14:36:01 +08:00
Andrew Nicols
2c69d24037
Merge branch 'MDL-58898-master' of https://github.com/xow/moodle
2017-05-12 12:32:23 +08:00
John Okely
081aad9986
MDL-58898 oauth: Cover orphaned linked logins in unit tests
2017-05-12 12:26:39 +08:00
John Okely
4c8727bad6
MDL-58898 oauth: Remove orphaned linked logins
2017-05-12 12:18:17 +08:00
Jun Pataleta
0e01f68e3c
Merge branch 'MDL-58899-master' of https://github.com/snake/moodle
2017-05-12 12:00:52 +08:00
Jake Dallimore
5ffe41b6c5
MDL-58899 auth: improve lang strings for confirmation failures in oauth
2017-05-12 11:45:36 +08:00
David Monllao
3227ac8374
Merge branch 'MDL-58774-master-fix' of git://github.com/andrewnicols/moodle
2017-05-12 11:07:42 +08:00
Andrew Nicols
d9d2c2f86f
Merge branch 'MDL-58904' of git://github.com/stronk7/moodle
2017-05-12 10:22:19 +08:00
Andrew Nicols
95dd5e3bd6
MDL-58774 auth_oauth2: Only check unexpired accounts for same issuer
...
It shoudl be possible to link multiple OAuth2 sources which have the
same e-mail address to an account.
This patch makes the check for an existing linked account stricter so
that it only checks for linked account records which match the same
issuer, and which do not have expired confirmation tokens.
2017-05-12 09:44:48 +08:00
Eloy Lafuente (stronk7)
f86e8699b9
MDL-58904 backup: old backups do not contain new fields
...
Hence we need to apply DB defaults for them when missing:
- type = 0
- timesort = null
2017-05-11 19:55:21 +02:00
AMOS bot
8f8b210fd6
Automatically generated installer lang files
2017-05-12 00:04:11 +08:00
Dan Poltawski
bcf69a655a
MDL-58837 js: fix jsdoc error
2017-05-11 14:29:11 +01:00
Dan Poltawski
a1c6871bb3
Merge branch 'wip-MDL-58837-master' of git://github.com/marinaglancy/moodle
2017-05-11 14:26:33 +01:00
Marina Glancy
88a7f77525
MDL-58837 course: do not confirm deleting empty sections
2017-05-11 18:48:08 +08:00
Marina Glancy
f24e17c93e
MDL-58837 course: allow to add multiple sections
2017-05-11 18:48:04 +08:00
Skylar Kelty
761ac5a0aa
MDL-58658 caching: Add static acceleration unit test for empty arrays
2017-05-11 10:56:04 +01:00
Jake Dallimore
e84fefdb09
Merge branch 'MDL-58777-master' of git://github.com/cameron1729/moodle
2017-05-11 11:41:48 +08:00
AMOS bot
1b6a8f3fdf
Automatically generated installer lang files
2017-05-11 00:04:22 +08:00
Eloy Lafuente (stronk7)
3a7afbe9cb
Merge branch 'MDL-58874-master' of https://github.com/xow/moodle
2017-05-10 13:31:24 +02:00
Dan Poltawski
e838654b4e
Merge branch 'MDL-58877-master-enfix' of git://github.com/mudrd8mz/moodle
2017-05-10 12:01:08 +01:00
Helen Foster
0d86195e8d
MDL-58877 lang: Merge English strings from the en_fix language pack
...
Significant string changes:
* loginerror_cannotcreateaccounts in auth_oauth2 - more understandable
error message
* config_keep_groups_and_groupings and config_keep_roles_and_enrolments
in core_backup - switch fix
2017-05-10 12:24:36 +02:00
Dan Poltawski
ef1a227e38
Merge branch 'wip-MDL-58867-master' of git://github.com/marinaglancy/moodle
2017-05-10 11:16:19 +01:00
John Okely
0ac1dcd8d1
MDL-58874 icons: Change the icon for grade in course completion report
2017-05-10 15:38:40 +08:00
John Okely
cf7ac86858
MDL-58874 icons: use table for grades icon in grader report
2017-05-10 15:34:45 +08:00
Marina Glancy
cd2c4b8548
MDL-58867 calendar: avoid fatal errors for non-module events
2017-05-10 14:26:14 +08:00
Cameron Ball
79b80ee540
MDL-58777 core: Remove redundant refresh events tasks
...
There were 4 instances of the calendar refresh events task being
queued, which is redundant as we now have the "one true task" to
fix the events table, and it needs to be run for everybody.
2017-05-10 14:16:13 +08:00
David Monllao
cb04995b30
Merge branch 'MDL-58833-master' of git://github.com/andrewnicols/moodle
2017-05-10 14:07:46 +08:00
David Monllao
a5ea94d85f
Merge branch 'MDL-58843-master-exchandler' of git://github.com/mudrd8mz/moodle
2017-05-10 14:05:51 +08:00
Dan Poltawski
fd8d1648a7
Merge branch 'MDL-58836-master' of git://github.com/damyon/moodle
2017-05-10 06:56:42 +01:00
David Monllao
265a1eafc5
Merge branch 'MDL-58857-master' of git://github.com/andrewnicols/moodle
2017-05-10 13:50:10 +08:00
Cameron Ball
9eb5a0417c
MDL-58777 mod_assign: Remove unnecessary upgrade step
...
This upgrade step was setting the priority field for assign events
in the events table. This is redundant since we queue a task to
refresh all events.
This patch also removes a redundant refresh_events task that is
queued from assign.
2017-05-10 13:41:18 +08:00
Cameron Ball
56d1ddd775
MDL-58777 mod_assign: Explicitly sort records and set event priority
...
The assign update events code depends on the "old" events in the
DB being returned in the same order as they were originally made,
however there was no guarantee that this would be the case.
There were also situations where the priority would not be explicitly
set (e.g., when creating the "original" event).
2017-05-10 13:41:18 +08:00
Cameron Ball
8dada7e334
MDL-58777 mod_lesson: Explicitly sort records and set event priority
...
The lesson update events code depends on the "old" events in the
DB being returned in the same order as they were originally made,
however there was no guarantee that this would be the case.
There were also situations where the priority would not be explicitly
set (e.g., when creating the "original" event).
2017-05-10 13:41:18 +08:00
Cameron Ball
4133df6fd6
MDL-58777 mod_quiz: Explicitly sort records and set event priority
...
The quiz update events code depends on the "old" events in the
DB being returned in the same order as they were originally made,
however there was no guarantee that this would be the case.
There were also situations where the priority would not be explicitly
set (e.g., when creating the "original" event).
2017-05-10 13:41:18 +08:00
Cameron Ball
9c98546da6
MDL-58777 core: Use component_callback in refresh events task
...
Previously we did not require the lib.php files for each module
in this ad-hoc task, which meant that the *_refresh_events functions
would only be called if some lucky sequence of events led to the
lib.php file for the module being required.
Instead we should use the component_callback function which can handle
that stuff automagically.
2017-05-10 13:41:18 +08:00
Andrew Nicols
865e2bc7dc
Merge branch 'MDL-58780-master' of git://github.com/junpataleta/moodle
2017-05-10 11:48:40 +08:00
David Monllao
396ae85082
Merge branch 'MDL-58774-master' of git://github.com/damyon/moodle
2017-05-10 10:43:58 +08:00
Damyon Wiese
4f705f5d0d
MDL-58774 auth_oauth2: Prevent duplicate linked logins
2017-05-10 10:17:56 +08:00
Eloy Lafuente (stronk7)
675ffb4d05
Merge branch 'wip-MDL-58854-master' of git://github.com/marinaglancy/moodle
2017-05-10 02:09:02 +02:00
AMOS bot
6f41250d82
Automatically generated installer lang files
2017-05-10 00:04:43 +08:00
Dan Poltawski
b16603770b
Moodle release 3.3rc2
2017-05-09 12:42:23 +01:00
Dan Poltawski
ac1a8f7de1
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-05-09 12:42:19 +01:00
Jun Pataleta
834da9a30f
Merge branch 'MDL-58860-master' of git://github.com/jleyva/moodle
2017-05-09 17:05:39 +08:00
Dan Poltawski
cd501e12c6
Merge branch 'MDL-58853' of git://github.com/stronk7/moodle
2017-05-09 09:17:47 +01:00
Juan Leyva
b50ff71052
MDL-58860 mod_lesson: Fix get_attempts_overview for no attempts
...
WS get_attempts_overview was failing when there weren’t attempts in the
given assignment.
2017-05-09 10:03:39 +02:00
Andrew Nicols
a011effb49
MDL-58857 admin: Terminate the session if a major upgrade is required
2017-05-09 15:00:00 +08:00
David Mudrák
8a9785a036
MDL-58843 core: Do not expect a particular class of the thrown exception
...
Since PHP 7, the custom exception handlers are also called to handle
thrown Errors which are not Exceptions.
2017-05-09 08:41:41 +02:00
Andrew Nicols
381db2fe8d
Merge branch 'MDL-58822-master' of git://github.com/ryanwyllie/moodle
2017-05-09 13:55:20 +08:00
Ryan Wyllie
a1ded17074
MDL-58822 backup: backup and restore new event columns
2017-05-09 05:48:40 +00:00
Ryan Wyllie
9e452e35d0
MDL-58822 backup: backup and restore user override events
2017-05-09 05:48:40 +00:00
Jake Dallimore
977a01c334
Merge branch 'MDL-56251_master-fix2' of https://github.com/markn86/moodle
2017-05-09 13:13:58 +08:00
Mark Nelson
6bee596079
MDL-56251 format_weeks: do not overwrite end date for pre 3.3 backups
2017-05-09 12:44:48 +08:00
Jun Pataleta
b5c24c99a0
MDL-58780 mod_assign: Remove AS keyword in table alias
...
* The AS keyword is not recognised by Oracle for table aliases.
This is okay with other databases, but optional, so better to
remove it.
2017-05-09 11:58:00 +08:00
Marina Glancy
947f5c3448
MDL-58854 theme_boost: override templates for columns
2017-05-09 10:36:16 +08:00
Eloy Lafuente (stronk7)
254d2cf46e
MDL-58853 versions: main version bump
2017-05-09 03:00:48 +02:00
Eloy Lafuente (stronk7)
d989ee1e03
MDL-58853 versions: bump all versions and requires near release
...
version = 2017051500 release version
requires= 2017050500 current rc1 version
2017-05-09 02:58:28 +02:00
AMOS bot
d7345a357d
Automatically generated installer lang files
2017-05-09 00:06:30 +08:00
Dan Poltawski
1595500ffe
Merge branch 'MDL-58793-master-authcfgskip' of git://github.com/mudrd8mz/moodle
2017-05-08 14:46:26 +01:00
Dan Poltawski
5da6b0f18b
Merge branch 'wip-MDL-58784-master' of git://github.com/marinaglancy/moodle
2017-05-08 12:06:32 +01:00
David Mudrák
2b948c204a
MDL-58793 auth: Do not report migrated settings as new ones on upgrade
...
As a result of fixing the auth plugins config storage in MDL-12689, many
settings would be falsely reported as new ones by
admin/upgradesettings.php. We do not want to confuse admins so we try to
reduce the bewilderment by pre-populating the config_plugins table with
default values. This should be done only for disabled auth methods. The
enabled methods have their settings already stored, so reporting actual
new settings for them is valid.
2017-05-08 11:51:55 +02:00
David Mudrák
9f29e45e15
MDL-58793 auth: Fix invalid access to $this in settings.php files
...
It has never been guaranteed that settings.php would always be included
from inside the core\plugininfo\auth::load_settings() scope only.
Alternative fix would be to use $plugininfo->name but I think it is
better to be explicit here (same as we are explicit with setting names,
strings etc).
2017-05-08 11:47:29 +02:00
Dan Poltawski
69015dd052
Merge branch 'MDL-58414-master' of git://github.com/damyon/moodle
2017-05-08 10:44:04 +01:00
Dan Poltawski
e18cd34bbb
Merge branch 'MDL-58765-master' of git://github.com/damyon/moodle
2017-05-08 10:31:59 +01:00
Dan Poltawski
3cc5abc163
Merge branch 'wip-MDL-58688-master-c' of git://github.com/marinaglancy/moodle
2017-05-08 10:31:37 +01:00
Jun Pataleta
9a10704e7d
Merge branch 'MDL-58771-master' of git://github.com/damyon/moodle
2017-05-08 16:58:20 +08:00
Damyon Wiese
406b92c6fd
MDL-58836 auth: Improve backwards compatibility
...
Auth plugins with custom signup forms may not be using renderables / renderers - or
even if they are they may return a renderable that can only be rendered with the renderer from the auth
plugin.
This change checks if the signup form is a renderable - if so try the plugin renderer or fall back on the general renderer.
Otherwise call display() from the mform which is the previous way of rendering an mform.
2017-05-08 16:14:01 +08:00
Jun Pataleta
472cae12a6
Merge branch 'MDL-58518-master' of git://github.com/ryanwyllie/moodle
2017-05-08 15:50:03 +08:00
Damyon Wiese
d9c7ab818a
MDL-58414 boost: Use a flippable CSS rule
...
Background position "left" can be flipped to "right" - no problem.
Background position "8px" cannot - because it's always measured from the top left.
2017-05-08 15:05:55 +08:00
Andrew Nicols
89ab16414a
MDL-58833 tool_templatelibrary: Skip if directory empty
2017-05-08 15:01:52 +08:00
Damyon Wiese
e0abc2e405
MDL-58774 auth_oauth2: Cleanup on user delete.
2017-05-08 14:26:44 +08:00
Jake Dallimore
99e9d9ef64
Merge branch 'MDL-56251_master-fix' of https://github.com/markn86/moodle
2017-05-08 14:16:14 +08:00
Jun Pataleta
d36377804e
Merge branch 'MDL-58704-master' of git://github.com/lameze/moodle
2017-05-08 13:58:59 +08:00
Marina Glancy
cee8c18b42
MDL-56251 format_weeks: ensure we use 'automaticenddate' default
2017-05-08 13:28:02 +08:00
Eloy Lafuente (stronk7)
b7b97f1d72
MDL-56251 format_weeks: Cannot group by TEXT in Oracle
...
Perform the grouping in subquery and later
simply join with the table containing the TEXT col.
2017-05-08 13:27:50 +08:00
Damyon Wiese
ae53889d14
MDL-58771 tinymce: emoticon bug
...
Um - this code is regexing for exact strings generated from the rendering of icons. I'm not going to rewrite anything
to do with tinymce - for now we just make the regexes far less specific.
2017-05-08 12:32:26 +08:00
Andrew Nicols
5d9c1b2f8e
Merge branch 'MDL-58684-master-rerun-upgrade-step' of https://github.com/snake/moodle
2017-05-08 12:30:59 +08:00
Jake Dallimore
021a143914
MDL-58684 upgrade: re-run deletion of portfolio_tempdata upgrade step
2017-05-08 12:26:16 +08:00
Marina Glancy
7b14c50bb0
MDL-58784 mod_glossary: student can see his entries before approval
2017-05-08 11:35:29 +08:00
Andrew Nicols
1d5a366488
Merge branch 'MDL-58684-master-fix1' of https://github.com/snake/moodle
2017-05-08 11:20:39 +08:00
Jake Dallimore
e927581a50
MDL-58684 files: Ensure stored_file never serializes the file_storage
...
Magic methods __sleep and __wakeup used to properly store only the
file_record property and to reinit using get_file_storage().
2017-05-08 11:12:39 +08:00
Damyon Wiese
6a7552fe70
MDL-58765 repository: controlled links fix
...
If a file is selected as a controlled link, only copy it to the system account the first time
the form is saved.
2017-05-08 10:53:58 +08:00
David Monllao
ac6b845de7
Merge branch 'MDL-58810-master' of git://github.com/junpataleta/moodle
2017-05-08 09:59:32 +08:00
Jun Pataleta
c3b1178d58
MDL-58810 calendar: Fix rrule_manager issues
...
* Set the correct repeat ID for the recurring event
* Unset UUID for 'child' events of recurring events
2017-05-08 09:49:13 +08:00
Eloy Lafuente (stronk7)
8f60a02d5f
MDL-58704 behat: Restrict search to the target tab (by css_element)
...
The existing search is too broad, and the text being searched exists
a number of times in the block, all them hidden, but one (the one
where we want to really check for the existence of the text).
So this patch only changes the search from block to the target
tab, doing it by css element id. Ideally we should be able to
search in tabs more naturally, but we don't have support for that right
now.
2017-05-08 09:49:10 +08:00
Jun Pataleta
bf57bde20d
MDL-58810 calendar: Add coverage for UUID in recurring events
2017-05-08 09:33:47 +08:00
Andrew Nicols
7167d25f5f
Merge branch 'MDL-58823-master' of git://github.com/jleyva/moodle
2017-05-08 09:32:58 +08:00
AMOS bot
39861e76b4
Automatically generated installer lang files
2017-05-08 00:05:46 +08:00
AMOS bot
6893b18db0
Automatically generated installer lang files
2017-05-07 00:05:39 +08:00
Eloy Lafuente (stronk7)
48ad73619f
Moodle release 3.3rc1
2017-05-05 17:40:04 +02:00
Eloy Lafuente (stronk7)
e50f35380c
NOBUG: Fixed SVG browser compatibility
2017-05-05 17:40:00 +02:00
Jun Pataleta
e290cf781e
Merge branch 'MDL-58535-fix-c' of http://github.com/damyon/moodle
2017-05-05 16:48:23 +08:00
Damyon Wiese
eeaee38a75
MDL-58535 onedrive: Try the upload twice
...
For work accounts we need to specify the auth headers, for personal accounts we cannot specify the auth headers.
We don't know which is which so we have to try both cases.
2017-05-05 16:44:52 +08:00
Juan Leyva
fcdd7730bd
MDL-58823 repository: Fix redirections to external files
...
We cannot use redirect() because is not compatible with
webservice/pluginfile.php
This script is defined as an AJAX_SCRIPT so redirections are not
allowed by redirect() function.
2017-05-05 10:04:51 +02:00
Andrew Nicols
529d52f39a
Merge branch 'wip-MDL-50670-master-fix' of https://github.com/marinaglancy/moodle
2017-05-05 14:55:22 +08:00
Marina Glancy
aef5c363d0
MDL-50670 course: apply defaults when format was switched
2017-05-05 14:47:27 +08:00
Jake Dallimore
1d116698c7
Merge branch 'MDL-56251_master' of git://github.com/markn86/moodle
2017-05-05 13:39:57 +08:00
Mark Nelson
50bbb5b254
MDL-56251 format_weeks: fixed broken upgrade when using CLI
2017-05-05 12:55:06 +08:00
Jake Dallimore
7a37f761bc
Merge branch 'MDL-56251_master' of git://github.com/markn86/moodle
2017-05-05 12:29:44 +08:00
Mark Nelson
a526c706f4
MDL-56251 core: fixed failing unit tests
2017-05-05 12:14:56 +08:00
Mark Nelson
18557be2c2
MDL-56251 format_weeks: handle restore of < 3.3 backups
2017-05-05 12:14:56 +08:00
Mark Nelson
9f8a15b461
MDL-56251 format_weeks: add upgrade for new 'automaticenddate' setting
2017-05-05 12:14:56 +08:00
Mark Nelson
b0f0200e4f
MDL-56251 backup: trigger course_section_created/updated events
2017-05-05 12:14:55 +08:00
Marina Glancy
7aa3925c9a
MDL-56251 format_weeks: do not use caches in event observers
2017-05-05 12:14:55 +08:00
Jun Pataleta
33673d89e5
Merge branch 'MDL-58807-activities-result-title-multilang' of https://github.com/lucaboesch/moodle
2017-05-05 12:09:29 +08:00
Jake Dallimore
42a123b1b7
Merge branch 'MDL-58796-master' of git://github.com/lameze/moodle
2017-05-05 12:01:06 +08:00
Juan Leyva
609a10739d
MDL-58259 mod_forum: Check create attachment cap in forum_add_attachment
...
We should add the permission check there because this function is used
indirectly by the external API that is not checking for this capability.
2017-05-05 10:28:11 +08:00
Andrew Nicols
fbc15bb977
Merge branch 'MDL-55371-master' of git://github.com/jleyva/moodle
2017-05-05 09:57:40 +08:00
Andrew Nicols
c428f58a3a
Merge branch 'MDL-58772' of git://github.com/stronk7/moodle
2017-05-05 08:26:26 +08:00
Andrew Nicols
5e7de08be5
Merge branch 'MDL-58749' of git://github.com/stronk7/moodle
2017-05-05 08:23:27 +08:00
Eloy Lafuente (stronk7)
da60573291
MDL-58772 behat: change step to 3.2 and up alternative
2017-05-05 00:14:31 +02:00
Eloy Lafuente (stronk7)
2df7f223b8
MDL-58749 lang: fix couple of scenarios to use new lang string
2017-05-04 23:46:46 +02:00
Dan Poltawski
97b93cafef
Merge branch 'MDL-58725_master' of git://github.com/markn86/moodle
2017-05-04 15:15:35 +01:00
Dan Poltawski
ad587bee83
Merge branch 'MDL-58709-master' of git://github.com/jleyva/moodle
2017-05-04 15:13:05 +01:00
Luca Bösch
e0e70bda35
MDL-58807 block_activity_results: Use multilang in block title
...
The title passes format_string now.
2017-05-04 11:30:00 +02:00
Dan Poltawski
bf39e7c7aa
Merge branch 'MDL-58800-master' of git://github.com/damyon/moodle
2017-05-04 10:00:37 +01:00
Marina Glancy
47a710177a
MDL-58688 calendar: retrieve event module without db queries
2017-05-04 16:53:19 +08:00
Juan Leyva
396395b8d3
MDL-55371 mod_assign: Do not return empty users in get_participant WS
...
The WS was returning null users making the WS to fail.
2017-05-04 10:09:35 +02:00
Mark Nelson
dbcc8b3153
MDL-58725 course: include selector change notes in format/upgrade.txt
2017-05-04 15:40:55 +08:00
Jun Pataleta
1e324a4a88
Merge branch 'MDL-58749-master-enfix' of git://github.com/mudrd8mz/moodle
2017-05-04 14:45:08 +08:00
Andrew Nicols
6628153eb3
Merge branch 'MDL-58736-master' of git://github.com/cameron1729/moodle
2017-05-04 14:33:27 +08:00
Andrew Nicols
641af8d17c
Merge branch 'MDL-58803-master-fix' of git://github.com/junpataleta/moodle
2017-05-04 14:11:23 +08:00
Simey Lameze
84d4411b01
MDL-58796 mod_quiz: add handling for fontawesome icons
2017-05-04 13:51:14 +08:00
David Monllao
03262b0469
Merge branch 'MDL-56675-master' of git://github.com/andrewnicols/moodle
2017-05-04 13:32:59 +08:00
Andrew Nicols
28bf0a03a7
MDL-56675 cachestore_memcached: Check all connected servers for support
2017-05-04 13:11:07 +08:00
Mark Nelson
c61b3b4a70
MDL-56251 format_weeks: added observers for updating the course end date
2017-05-04 13:08:50 +08:00
Jun Pataleta
e8d39b3926
MDL-58803 calendar: Require calendar/lib.php
2017-05-04 13:03:55 +08:00
Damyon Wiese
00879eca66
MDL-58800 repository_googledocs: Switch oauth clients
...
We need to ensure we use the correct oauth client to download files. This change
is the same as the one made to the onedrive repository where a usesystem flag
is added to the file reference if the file has been copied to the system account.
2017-05-04 12:57:23 +08:00
David Monllao
175a51c472
Merge branch 'wip-MDL-58594-v2' of https://github.com/marinaglancy/moodle
2017-05-04 12:38:04 +08:00
Cameron Ball
eeb27f03bd
MDL-58736 core_calendar: Revert calendar_get_events to 3.2 implementation
...
We modified calendar_get_events in a non backwards compatible way
so instead of fixing that, an easier approch is to simply revert
it to the 3.2 implementation. This should be fine since the way
to get events is going to change in an upcomming release, and we
had to swap all occurences of calendar_get_events in core with
calendar_get_legacy_events to make sure the calendar and overview match.
2017-05-04 12:19:35 +08:00
Andrew Nicols
2e3c23b25f
Merge branch 'MDL-58707-master' of git://github.com/jleyva/moodle
2017-05-04 11:42:38 +08:00
Andrew Nicols
f8633212ee
Merge branch 'MDL-58803-master' of git://github.com/junpataleta/moodle
2017-05-04 11:07:37 +08:00
Andrew Nicols
edf1ea10ca
Merge branch 'MDL-58431-master' of git://github.com/jleyva/moodle
2017-05-04 11:01:39 +08:00
David Monllao
bde7f06ce8
Merge branch 'MDL-58497-master' of git://github.com/ankitagarwal/moodle
2017-05-04 10:58:36 +08:00
David Monllao
5abd0f6e6f
Merge branch 'MDL-56675-master' of git://github.com/andrewnicols/moodle
2017-05-04 10:56:29 +08:00
Andrew Nicols
680ad78cf0
Merge branch 'MDL-58684-master-2' of https://github.com/snake/moodle
2017-05-04 10:14:41 +08:00
Jake Dallimore
5529b4701a
MDL-58684 portfolio: use file id instead of stored_file
2017-05-04 10:00:54 +08:00
Damyon Wiese
039ff55129
MDL-56251 format_weeks: add new 'automaticenddate' setting
2017-05-04 09:56:51 +08:00
Jun Pataleta
c9d775fc92
MDL-58803 calendar: Use fully qualified name for call to rrule_manager
2017-05-04 08:58:11 +08:00
Andrew Nicols
b1517237ad
Merge branch 'MDL-58514-master' of git://github.com/cameron1729/moodle
2017-05-04 08:49:48 +08:00
David Mudrák
ee9e7ee31d
MDL-58749 lang: Change "inline text" to "online text" in qtype_essay
...
This change has been agreed by Helen and Tim in MDL-49208.
2017-05-03 22:07:01 +02:00
Helen Foster
06d0aa4432
MDL-58749 lang: Merge English strings from the en_fix language pack
...
Significant string changes:
* errorinvalidbyhour,core_calendar - correcting number from 59 to 23
* cron_help,core_admin - updated recommendation to run cron every minute
* tour1_content_end, tour1_content_welcome, tour2_content_end,
tour2_content_welcome all in tool_usertours - removing reference to
3.2
* invalidsesskey,core_error and invalidsesskey,mod_wiki - more
understandable error message
* pluginname_help and pluginnamesummary in qtype_essay - explaining that
the question type can be used for file uploads
* formatnoinline, mustattach and mustrequire in qtype_essay - changing
the word 'inline' to 'online'
2017-05-03 22:05:51 +02:00
Eloy Lafuente (stronk7)
c30bddcfb4
Merge branch 'MDL-58754-master' of git://github.com/andrewnicols/moodle
2017-05-03 19:32:45 +02:00
Eloy Lafuente (stronk7)
91edf89d86
Merge branch 'MDL-58788-master' of git://github.com/danpoltawski/moodle
2017-05-03 18:44:38 +02:00
Dan Poltawski
c201e4df40
Merge branch 'MDL-58772' of git://github.com/aolley/moodle
2017-05-03 16:50:29 +01:00
Dan Poltawski
9a5f5ed56b
Merge branch 'MDL-35913-master' of git://github.com/jleyva/moodle
2017-05-03 14:15:11 +01:00
Dan Poltawski
a724a97f25
Merge branch 'MDL-58434-master' of git://github.com/jleyva/moodle
2017-05-03 14:01:59 +01:00
Dan Poltawski
a1646c1869
Merge branch 'MDL-50670_master' of git://github.com/markn86/moodle
2017-05-03 13:30:43 +01:00
Dan Poltawski
93c253d303
Merge branch 'MDL-58794-master' of git://github.com/junpataleta/moodle
2017-05-03 13:19:19 +01:00
Dan Poltawski
be7c4e4cac
Merge branch 'MDL-58798-master' of git://github.com/junpataleta/moodle
2017-05-03 12:17:13 +01:00
Dan Poltawski
2e04d92718
Merge branch 'MDL-58692-master-authcfgnames' of git://github.com/mudrd8mz/moodle
2017-05-03 11:17:45 +01:00
David Mudrák
31bd102316
MDL-58692 auth: Improve the migration of auth setting names
...
Some auth plugins used to have a mix of the legacy style of plugin names
in config_plugins table (such as 'auth/mnet') and the new correct
style (such as 'auth_mnet'). Attempting to rename the setting plugin via
low level SQL UPDATE could lead to duplicate key violation.
The patch introduces a new helper function to safely migrate the old
settings to the new ones, eventually informing the admin about the
values mismatch.
2017-05-03 12:02:43 +02:00
Dan Poltawski
b2a57a53f8
Merge branch 'wip-MDL-58661-master' of git://github.com/marinaglancy/moodle
2017-05-03 10:39:51 +01:00
Dan Poltawski
69cdead3d1
MDL-58788 docs: Note new behat compatibility page
2017-05-03 10:35:48 +01:00
Cameron Ball
26aedd4abf
MDL-58514 mod_assign: Apply consistent logic for overrides
...
Previously the assign submission page was using "lenient" logic
for overrides when more than one group override applied to a user
(i.e., use the earliest "open" date and the latest "due" date)
when really it should be using the sortorder as per the assign
grading table.
2017-05-03 16:59:22 +08:00
Jun Pataleta
4d771e8099
Merge branch 'MDL-58535-master' of git://github.com/damyon/moodle
2017-05-03 16:41:38 +08:00
Jake Dallimore
d59415222d
Merge branch 'MDL-58650_master' of git://github.com/markn86/moodle
2017-05-03 15:56:55 +08:00
Marina Glancy
5900513f75
MDL-58688 calendar: use modinfo to check module availability
2017-05-03 15:07:43 +08:00
Jun Pataleta
428f7864a1
MDL-58794 core_course: Use a simpler future timestamp for test
2017-05-03 14:52:38 +08:00
Jun Pataleta
37c47e32bc
MDL-58798 theme_boost: Override font size for big icon fonts
2017-05-03 14:44:33 +08:00
Marina Glancy
99fbcc7bd4
MDL-58670 blog: respect capability to search entries
2017-05-03 10:49:01 +08:00
Marina Glancy
b7fcd09582
MDL-58635 blogs: check edited blog belongs to current user
2017-05-03 10:49:01 +08:00
Andrew Hancox
dca8394630
MDL-58172 mod_choice: Make export choice respect id fields
2017-05-03 10:49:01 +08:00
David Monllao
932bc91cb4
on-demand release 3.3beta+
2017-05-03 10:28:52 +08:00
David Monllao
03f4f26608
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-05-03 10:28:51 +08:00
Andrew Nicols
77f1729eec
MDL-56675 cachestore_memcached: Disable store if not purgeable
...
If the store is shared and the getAllKeys function is broken due to an
incompatability between libmemcached and memcached >= 1.4.23, then it is
not possible to purge the cache, and we cannot support the plugin.
This patch adjusts the isready check to additionally check if the
combination of libmemcached and memcached is affected by this issue.
2017-05-03 09:24:23 +08:00
Andrew Nicols
d98d245ba0
MDL-58746 core: Simplify environment check
2017-05-03 08:32:24 +08:00
Juan Leyva
91357e7c36
MDL-58434 mod_lesson: Display invalid responses in detailed report
...
In the detailed statistics view for one user attempt, the user response
for numerical question types was not being displayed.
This was only happening for incorrect responses.
2017-05-02 19:56:47 +02:00
AMOS bot
aac25da7fd
Automatically generated installer lang files
2017-05-03 00:05:36 +08:00
Marina Glancy
98b3fa4c63
MDL-50670 course: correctly apply defaults for format options
2017-05-02 16:06:46 +08:00
Mark Nelson
685daf1aed
MDL-58650 core_message: always use 'popup' processor for messages
2017-05-02 15:46:48 +08:00
Andrew Nicols
458e5f66c2
MDL-58754 competency: Change query for DISTINCT COUNT
2017-05-02 14:48:35 +08:00
Damyon Wiese
8eb128120a
MDL-58535 oauth: Make the refreshtoken protected
...
It is set in subclasses so it should be protected (it was working regardless).
2017-05-02 12:21:36 +08:00
Damyon Wiese
f942de3c8a
MDL-58535 repository_onedrive: Use correct user
...
If the file was copied to a system account, we need to use the system oauth when accessing it.
2017-05-02 11:45:57 +08:00
Adam Olley
0fb1335924
MDL-58772 mod_feedback: Dont overwrite anonymous entries
...
The feedback module lets you alternate between responses being anonymised and
not anonymised. When the module is in anonymous mode, its possible for a single
user to make multiple responses.
However when the activity is switched to non-anon mode, if a user leaves a
follow up feedback, one of their previously anonymous responses is used, so
their new response stays anonymous and their old anon response is lost.
This change lets them leave a new non-anonymised feedback entry and retains all
previous anonymous responses instead of incorrectly reusing one of their anon
ones at random.
2017-05-02 12:49:33 +09:30
Ryan Wyllie
f31240ebdf
MDL-58518 block_myoverview: use user's midnight for sort by courses
2017-05-02 02:53:26 +00:00
Ryan Wyllie
405f8491e5
MDL-58518 calendar: ignore events from courses user not enrolled in
2017-05-02 02:53:25 +00:00
Andrew Nicols
4270ebea38
Merge branch 'MDL-57704-master' of https://github.com/xow/moodle
2017-05-02 10:35:46 +08:00
Damyon Wiese
3ba79ff19a
MDL-58535 oauth2: Don't rely on the return scopes
...
MS makes a big mess of returning scopes from oauth requests. They only return the custom MS scopes like
User.Read and they never return non-MS scopes (like openid, profile, email).
2017-05-02 10:03:58 +08:00
John Okely
087662037b
MDL-57704 ltiprovider: Don't force SSLv3
2017-05-02 09:33:18 +08:00
Andrew Nicols
db2c66e700
Merge branch 'wip-MDL-58665-master' of git://github.com/marinaglancy/moodle
2017-05-02 09:00:07 +08:00
Marina Glancy
bb9d5f7f1b
MDL-55468 mod_feedback: revive export analysis to excel
2017-05-01 14:28:55 +01:00
Dan Poltawski
f0572ad21f
Merge branch 'MDL-58760-master-pixescape' of git://github.com/mudrd8mz/moodle
2017-05-01 11:25:39 +01:00
Marina Glancy
0302548806
MDL-58594 backup: setting locked by permission can not be overriden
2017-05-01 17:04:04 +08:00
Marina Glancy
50d845e3ed
MDL-58665 dashboard: use bigger course object for completion
...
class completion_info will make an extra DB query to retrieve the course if course->enablecompletion is not present
2017-05-01 16:59:07 +08:00
Marina Glancy
cd477f8c3e
MDL-58665 mod_scorm: cache times in modinfo for performance
2017-05-01 16:59:04 +08:00
Ankit Agarwal
bb40a28d9b
MDL-58497 forum: Show correct itemcount on action events
2017-05-01 13:48:30 +05:30
Damyon Wiese
13d21db324
MDL-58535 repository_onedrive: Use the weblink
...
The permission has it's own weblink which is different from the link on the original doc.
2017-05-01 16:15:36 +08:00
Damyon Wiese
c0a4efdce2
MDL-58535 repository_onedrive: Better error
...
When OneDrive has never been initialised the Graph API returns an error. Detect this and
direct the user to log in to OneDrive.
2017-05-01 16:15:36 +08:00
Damyon Wiese
8381b05d49
MDL-58535 repository_onedrive: Integration review fixes
...
Fixes for some missing imports and unused variables.
2017-05-01 16:15:36 +08:00
Damyon Wiese
68c6fd20a7
MDL-58535 onedrive: Fix upload to system account
...
This was failing for personal accounts (but was fine for business).
2017-05-01 16:15:35 +08:00
Damyon Wiese
c593a0b001
MDL-58535 assign: Always pass file serving options.
...
This allows the mobile app to pass offline=1 in urls to files to force export/download of the source file
for controlled links.
2017-05-01 16:15:35 +08:00
Damyon Wiese
536ed579b9
MDL-58535 repository_onedrive: Controlled link fixes
...
It is impossible to reliable copy a file between users without downloading and uploading the file.
This sucks but it's true...
2017-05-01 16:15:35 +08:00
Andrew Nicols
2a87d81c5a
Merge branch 'MDL-58732-master' of git://github.com/ryanwyllie/moodle
2017-05-01 15:22:53 +08:00
Jake Dallimore
c7fe56a79b
Merge branch 'MDL-58167-master' of git://github.com/lameze/moodle
2017-05-01 14:51:43 +08:00
Jun Pataleta
e85579693b
Merge branch 'MDL-58632-master' of https://github.com/xow/moodle
2017-05-01 14:26:37 +08:00
David Monllao
e4838ca91b
Merge branch 'MDL-58746-master' of git://github.com/andrewnicols/moodle
2017-05-01 13:41:07 +08:00
Marina Glancy
e1577187ed
MDL-58665 mod_data: cache times in modinfo for performance
2017-05-01 12:57:22 +08:00
Marina Glancy
19228840b8
MDL-58665 mod_choice: cache choice time in modinfo for performance
2017-05-01 12:57:22 +08:00
Marina Glancy
aa708b550e
MDL-58665 mod_feedback: avoid extra db queries on dashboard
2017-05-01 12:57:19 +08:00
Jake Dallimore
434f31bc12
Merge branch 'MDL-58575-master' of git://github.com/cameron1729/moodle
2017-05-01 12:14:42 +08:00
Jun Pataleta
8011a2bf47
Merge branch 'MDL-58720-master' of git://github.com/jleyva/moodle
2017-05-01 10:47:52 +08:00
Ryan Wyllie
74e5816a7e
MDL-58732 block_myoverview: fix course view event groupings
2017-05-01 02:18:57 +00:00
Ryan Wyllie
2104e7a5e3
MDL-58732 block_myoverview: improve style of empty course palceholder
2017-05-01 02:17:47 +00:00
Ryan Wyllie
7243eef945
MDL-58732 block_myoverview: add max-width to block content
2017-05-01 02:15:41 +00:00
Simey Lameze
efa0c254e7
MDL-58167 theme: update accessibility templates on clean
2017-05-01 09:42:10 +08:00
Simey Lameze
cff78dc47b
MDL-58167 block_myoverview: improve block accessibility
2017-05-01 09:42:10 +08:00
Andrew Nicols
9a2854cc65
MDL-58746 core: Add environment check for finfo
2017-05-01 09:01:21 +08:00
David Mudrák
a84d351e3d
MDL-58760 templates: Fix the template context documentation
...
This change was missed in the commit 663640f5 and I spotted it while
working on this issue.
2017-04-28 23:08:13 +02:00
David Mudrák
74e238f4b7
MDL-58760 templates: Make {{#pix}} helper work with escaped icon key
...
There is a difference between how our PHP mustache engine and JS
mustache engine escaping works. If the icon key is not hard-coded in the
template but defined as a context variable, the JS mustache engine
escapes the forward slashes.
2017-04-28 23:04:04 +02:00
Dan Poltawski
06e3b6d8ba
on-demand release 3.3beta+
2017-04-28 12:36:29 +01:00
Dan Poltawski
0fa1c5a100
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-04-28 12:36:27 +01:00
Dan Poltawski
712a9b6481
Merge branch 'MDL-58643-master' of git://github.com/snake/moodle
2017-04-28 09:44:35 +01:00
Jake Dallimore
7b86f2208f
MDL-58643 behat: ensure results are in first page + multi suite fix.
2017-04-28 12:47:55 +08:00
Jun Pataleta
dcb8e677f9
Merge branch 'MDL-58741-master' of git://github.com/jleyva/moodle
2017-04-28 11:59:47 +08:00
Andrew Nicols
847d88bb4c
MDL-58573 mod_assign: Whitespace fix
2017-04-28 11:58:14 +08:00
Andrew Nicols
8374422402
Merge branch 'MDL-58573-master' of git://github.com/junpataleta/moodle
2017-04-28 11:46:02 +08:00
Andrew Nicols
e6c0e75ed8
Merge branch 'wip-MDL-58731-master' of git://github.com/marinaglancy/moodle
2017-04-28 10:29:50 +08:00
Jun Pataleta
a43e85d5e4
MDL-58573 mod_assign: Upgrade code for default gradingduedate
...
* Set default grading due date one week from the due date if:
- there is no grading due date set; and
- the assignment's due date is not older than 3 weeks from the
current date.
2017-04-28 10:28:35 +08:00
Marina Glancy
438c01d0dd
MDL-58731 modules: display intro on the course page
...
something that was forgotten when adding _get_coursemodule_info to activities in MDL-58190
2017-04-28 09:14:25 +08:00
Dan Poltawski
baf3d04954
Merge branch 'wip-MDL-58689-master' of git://github.com/marinaglancy/moodle
2017-04-27 18:35:28 +01:00
Dan Poltawski
e6dd8f32f5
Merge branch 'wip-MDL-58671-double-escaping-in-course-overview' of https://github.com/marcusgreen/moodle
2017-04-27 17:02:12 +01:00
Juan Leyva
a4727b81f6
MDL-58741 webservice: Add missing params to webservice/pluginfile.php
...
MDL-58334 and MDL-32471 introduced new parameters in pluginfile.php but
they are missing from webservice/pluginfile.php
We need the offline one in the Mobile app (this new parameter was
designed thinking in the mobile app)
2017-04-27 17:04:01 +02:00
Juan Leyva
b44e4748d6
MDL-58709 registration: Fix incorrect setType
2017-04-27 16:57:45 +02:00
Dan Poltawski
3ee1817ea0
Merge branch 'MDL-58722-master' of git://github.com/damyon/moodle
2017-04-27 14:36:23 +01:00
Cameron Ball
d0dc97bf3a
MDL-58575 core_calendar: Group override tests for same priority
...
This patch adds tests for when group override events have the same
priority.
2017-04-27 19:12:50 +08:00
Damyon Wiese
51742ffdc4
MDL-58722 mathjax: Update to 2.7.1 and remove a11y
...
2.7.1 bundles the accessibility and mchem extensions so we no longer need to bundle them and apply custom config.
2017-04-27 16:57:03 +08:00
Juan Leyva
935429e2a5
MDL-58720 course: Return restricted sections and modules in get_contents
...
core_course_get_contents was only checking for modules visible by the
user (via uservisible).
It was not checking for modules that are not visible for the user but
should be displayed in the course because they have access restrictions
configured.
2017-04-27 10:53:17 +02:00
Eloy Lafuente (stronk7)
7a21720039
Merge branch 'wip-MDL-58683-master' of git://github.com/marinaglancy/moodle
2017-04-27 09:55:45 +02:00
Cameron Ball
4bd022ed0c
MDL-58575 core_calendar: Properly restrict groups in event vault
...
Previously we were not filtering on groups in the event vault
which meant events for all groups would be returned regardless
of which user was passed in.
This resulted in situations where one student would group overrides
for groups they were not in.
2017-04-27 15:23:53 +08:00
David Monllao
af282469b4
Merge branch 'MDL-58578-master' of git://github.com/cameron1729/moodle
2017-04-27 15:16:27 +08:00
Cameron Ball
30aa540fe7
MDL-58578 mod_assign: Correctly update user override priority
...
Since we now sort priority in ASC order, the top priority should be 0.
2017-04-27 15:15:12 +08:00
Cameron Ball
7eae70e167
MDL-58578 mod_quiz: Correctly provide group override priorities
...
Previously the override priorities were being provided
back to front.
2017-04-27 15:15:12 +08:00
Cameron Ball
756a132ff6
MDL-58578 mod_lesson: Correctly provide group override priorities
...
Previously the override priorities were being provided
back to front.
2017-04-27 15:15:12 +08:00
Cameron Ball
a776415d55
MDL-58578 core_calendar: Properly respect priorities on overview
...
Prior to this patch, if a user was in two groups, and an override
existed for both groups in an assignment the override
visually lower on the override list would be displayed on the
overview, whereas the one visually higher would be displayed
in the assignment grading table.
2017-04-27 15:15:12 +08:00
Ryan Wyllie
a0499b7fff
MDL-58557 mod_choice: only check responses if event is actionable
2017-04-27 07:00:03 +00:00
Marina Glancy
8559427687
MDL-58661 filepicker: correct size for alias icons
2017-04-27 14:40:13 +08:00
Andrew Nicols
ae068eb145
Merge branch 'MDL-58644-master' of git://github.com/ankitagarwal/moodle
2017-04-27 13:55:02 +08:00
Ankit Agarwal
47820478b0
MDL-58644 myoverview: Filter course summary before displaying.
2017-04-27 11:22:03 +05:30
Jake Dallimore
ef35154953
Merge branch 'MDL-58701-master' of git://github.com/ankitagarwal/moodle
2017-04-27 13:33:10 +08:00
David Monllao
aabee00d58
Merge branch 'MDL-58628-master' of git://github.com/jleyva/moodle
2017-04-27 12:19:20 +08:00
David Monllao
0b90afb59e
Merge branch 'MDL-58727-master' of git://github.com/jleyva/moodle
2017-04-27 12:11:29 +08:00
Ankit Agarwal
9743b2d4a9
MDL-58701 phpunit: Add tests for external_settings
2017-04-27 09:37:53 +05:30
Ankit Agarwal
1d772481dd
MDL-58701 libraries: Use pluginfile.php as rewrite url for web req.
2017-04-27 09:37:53 +05:30
David Monllao
d40c8844a1
Merge branch 'MDL-58708-master' of git://github.com/jleyva/moodle
2017-04-27 12:07:21 +08:00
Marina Glancy
56236c7d86
MDL-58683 mod_data: fix behat in clean
...
In clean theme the behat step to add record to mod_data does not actually view the database
activity. In 3.3 the default value for completionview is 1 and it breaks the behat in Clean.
2017-04-27 11:40:47 +08:00
David Monllao
160c263da5
Merge branch 'MDL-58557-master' of git://github.com/ryanwyllie/moodle
2017-04-27 11:36:26 +08:00
David Monllao
8d12f5f2c0
Merge branch 'MDL-58698-master-strlang' of git://github.com/mudrd8mz/moodle
2017-04-27 11:34:47 +08:00
David Monllao
f944d2561f
Merge branch 'wip-MDL-57807-master' of git://github.com/abgreeve/moodle
2017-04-27 11:33:27 +08:00
David Monllao
cab131a350
Merge branch 'MDL-58372-master' of git://github.com/Dagefoerde/moodle
2017-04-27 11:31:31 +08:00
Andrew Nicols
14ed05c0dc
Merge branch 'MDL-58691-master' of git://github.com/ankitagarwal/moodle
2017-04-27 11:25:35 +08:00
David Monllao
3e7d5a82b9
Merge branch 'MDL-54849-master' of git://github.com/damyon/moodle
2017-04-27 11:20:02 +08:00
David Monllao
f539dc3aa5
Merge branch 'MDL-58718-master' of git://github.com/andrewnicols/moodle
2017-04-27 11:14:04 +08:00
Marina Glancy
f2b5ed40f9
MDL-58689 dml: prevent logging during setup
2017-04-27 10:07:01 +08:00
Adrian Greeve
0a497898c5
MDL-57807 mod_data: Advanced search with menu item.
...
It is now possible to search other criteria without first
setting the menu items.
Thanks to Sergey Gorbatov for providing this patch.
2017-04-27 08:58:13 +08:00
David Mudrák
f387058839
MDL-58698 js: Fix the detection of the moodle language
...
This is the same problem that we had in MDL-52486. When the language
pack with multiple underscores (such as "en_us_k12") is selected, the
html root element's "lang" attribute is set to
<html lang="en-us-12" ...>
which we then map back to the Moodle lang code using the JS function
replace().
What was missed in MDL-52486 was that when replacing a value (and not a
regular expression), only the first instance of the value is replaced.
So the value "en_us-k12" was sent as the lang parameter for the
core_string, which is invalid PARAM_LANG value and the exception was
thrown.
In case of the user_date.js, there was no actual problem experienced and
probably there is none as the language code is used as a cache key
rather than a PARAM_LANG parameter. But we are changing it too for
consistency.
2017-04-26 18:47:10 +02:00
AMOS bot
b80e9344e5
Automatically generated installer lang files
2017-04-27 00:05:04 +08:00
Juan Leyva
e7a11c20d6
MDL-58708 mod_lesson: Fix notice in lesson
...
The notice was displayed only when accesing restored Moodle 1.X lessons.
2017-04-26 16:05:25 +02:00
Jan Dageförde
c7de40a8ed
MDL-58372 repository_webdav: Explicitly pass some filename
...
Not passing anything triggers PHP 7.1 "Too few arguments" exception.
2017-04-26 11:28:41 +02:00
Juan Leyva
b103797868
MDL-58727 tool_mobile: Return always launcher in get_public_config WS
...
Recently we added support to the new OAuth SSO methods (Google,
Facebook, Microsoft) and identity providers, that will require
launchurl to be returned always by tool_mobile_get_public_config
It is safe to return always the launchurl, the main reason to not
return it was to reduce data returned by Web Services when was not
required.
2017-04-26 09:26:13 +02:00
Jake Dallimore
5ccddd27df
on-demand release 3.3beta+
2017-04-26 14:49:49 +08:00
Jake Dallimore
5e74acef0e
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-04-26 14:49:48 +08:00
Jun Pataleta
abaf8106ea
Merge branch 'MDL-58668-master' of git://github.com/jleyva/moodle
2017-04-26 11:06:30 +08:00
Ryan Wyllie
71cd51b8ff
MDL-58557 mod_choice: change action event callback logic
2017-04-26 02:11:18 +00:00
Andrew Nicols
9020212522
MDL-58718 filestorage: Normalise file paths for Windows
2017-04-26 09:36:10 +08:00
Eloy Lafuente (stronk7)
a25116c0ac
MDL-58718 unit tests: fix some windows + 32bits problems
...
- We were using number beyond 32 bits MAXINT.
- setTimestamp() needs an integer. Better fulfill it.
2017-04-26 09:36:10 +08:00
John Okely
d1076e3ef5
MDL-58632 assignsubmission_file: Don't allow any extension
2017-04-26 09:34:44 +08:00
Marcus Green
7283d0382e
MDL-58671 blocks: double-escaping-in-course-overview
...
Added extra { } braces in mustache to prevent double escaping
which means they are now tripple braces.
Previously if a course name or item such as an assighment
had a character like & it would show as & in the course
overview block.
2017-04-25 18:51:31 +01:00
Juan Leyva
3b07da4a6d
MDL-58707 mod_assign: Fix param type for returned field
...
The ‘description’ field is populated via a get_string call, this means
that it may content html.
The component used for translation is also fixed in this commit.
2017-04-25 14:41:24 +02:00
Juan Leyva
d5eefdb6a0
MDL-58668 mod_lesson: Fix how multi answers are processed
...
The module was choosing as incorrect the first possible incorrect
answer instead the first student incorrect answer.
In the patch I also refactored the foreach loop to avoid code
duplication.
2017-04-24 13:32:44 +02:00
Dan Poltawski
371482f881
Merge branch 'MDL-58556-master' of git://github.com/damyon/moodle
2017-04-24 11:05:09 +01:00
Ankit Agarwal
34773ccf70
MDL-58691 exporter: Filters should always apply for web pages
...
The variables AJAX_SCIRPT, CLI_SCRIPT, WS_SERVER are always defined (and set to false)
when webpages are rendered, hence the check of 'defined' is invalid
2017-04-24 13:43:11 +05:30
Jake Dallimore
0dcfadd9e4
Merge branch 'MDL-57793-master' of git://github.com/junpataleta/moodle
2017-04-24 15:16:30 +08:00
Damyon Wiese
44565f5cfc
MDL-58556 auth: better expired password
...
If the auth plugin is using a custom url to change password - don't rely on forcepasswordchange
user preference being reset.
2017-04-24 15:08:39 +08:00
Damyon Wiese
ff8a1930ad
MDL-54849 lesson: Move on to next question
...
Move on to next question button takes you to the same question again.
2017-04-24 14:06:57 +08:00
Jake Dallimore
4c7dc6af94
Merge branch 'MDL-58659-master' of git://github.com/jleyva/moodle
2017-04-24 12:02:20 +08:00
David Monllao
ac44bda247
Merge branch 'wip-MDL-58666-master' of git://github.com/marinaglancy/moodle
2017-04-24 11:47:56 +08:00
Jun Pataleta
e5eef6c545
Merge branch 'MDL-58600-master' of git://github.com/ankitagarwal/moodle
2017-04-24 11:09:33 +08:00
Ankit Agarwal
266d033896
MDL-58600 competencies: Use correct formating api in exporter
2017-04-24 08:31:13 +05:30
Jun Pataleta
a84e03ed69
Merge branch 'MDL-58681' of git://github.com/stronk7/moodle
2017-04-24 10:24:33 +08:00
Jun Pataleta
439616450e
Merge branch 'MDL-58586-master' of git://github.com/damyon/moodle
2017-04-24 09:33:12 +08:00
Jun Pataleta
3e9c150d94
Merge branch 'MDL-51932-master-workshopswitch' of git://github.com/mudrd8mz/moodle
2017-04-24 08:34:06 +08:00
Eloy Lafuente (stronk7)
641d75bde6
MDL-58681 behat: Split checkbox and advcheckbox tests
...
MDL-58267 converted "Display description on course page" to advcheckbox
(see 7f53e8aa22 ).
Advanced checkboxes cannot be tested without real browser because Goutte
does not support the hidden+checkbox duality (MDL-55386).
So this patch does:
- Convert the NON-JS checks to use the "Force format" field (normal checkbox).
- Move the "Display description on course page" (adv. checkbox) to the JS scenario.
- Complete the 2 groups of checks above so the two ways to tick and untick are covered:
- I set the field "xxxx" to "yyyy"
- I set the following fields to these values:
- Complete the 2 groups of checks above so the two ways to verify the values are covered:
- the field "xxxx" [matches|does not match] value "yyyy"
- the following fields [match|do not match] these values:
That's all! The scenario is a bit spaghetti but it's way off the scope
of the issue to fix that.
2017-04-23 18:13:02 +02:00
AMOS bot
75ce4b4cfa
Automatically generated installer lang files
2017-04-23 00:04:01 +08:00
Dan Poltawski
faedb2736e
Moodle release 3.3beta
2017-04-21 15:48:31 +01:00
Dan Poltawski
bff89dd434
NOBUG: Fixed SVG browser compatibility
2017-04-21 15:48:28 +01:00
Dan Poltawski
427327e9be
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-04-21 15:48:27 +01:00
Dan Poltawski
97182da01a
Merge branch 'MDL-58138-master-bulkcompletefix' of https://github.com/mudrd8mz/moodle
2017-04-21 15:37:51 +01:00
David Mudrák
4088416c14
MDL-58138 completion: Fix capability required for setting defaults
...
As per core_completion\manager::get_available_completion_tabs() the
required capability for this feature is moodle/course:manageactivities,
not moodle/course:update.
2017-04-21 16:22:50 +02:00
Dan Poltawski
79420165f0
Merge branch 'wip-MDL-58138-fix2' of https://github.com/marinaglancy/moodle
2017-04-21 09:04:43 +01:00
Marina Glancy
694502b611
MDL-58138 completion: manual completion may have expected date
2017-04-21 15:01:32 +08:00
David Monllao
f0de5c5500
Merge branch 'MDL-58621-master-fix' of git://github.com/lameze/moodle
2017-04-21 14:30:52 +08:00
Simey Lameze
55c64521a8
MDL-58621 block_myoverview: remove behat steps checking dates
2017-04-21 13:15:47 +08:00
David Monllao
35ec6bebaa
Merge branch 'MDL-58349-int-fix-1' of github.com:ryanwyllie/moodle
2017-04-21 13:10:50 +08:00
Marina Glancy
23e5104ae2
MDL-58666 course: add module name to cache
...
without it there will be an extra db read in get_array_of_activities() to retrieve it for each activity
2017-04-21 13:00:28 +08:00
Ryan Wyllie
fa16d7fb8c
MDL-58349 mod_assign: text wrap for comment search while grading
2017-04-21 04:58:14 +00:00
Jun Pataleta
4b358b4f39
Merge branch 'MDL-58566_master' of github.com:markn86/moodle
2017-04-21 11:52:35 +08:00
Damyon Wiese
711cf2cda1
MDL-58586 css: add margin to userpictures
...
Boost has a right margin on the userpicture but this is missing in bootstrapbase (it is
added only on random pages).
Add a margin to bootstrapbase so it matches boost.
2017-04-21 11:38:32 +08:00
Jun Pataleta
6d65f190f0
Merge branch 'MDL-58636-master' of git://github.com/andrewnicols/moodle
2017-04-21 11:37:57 +08:00
Mark Nelson
37c38dfca1
MDL-58566 calendar: fixed comment's reference to non-existent function
2017-04-21 11:27:15 +08:00
Andrew Nicols
a496497c57
MDL-58636 course: Ensure that the drag constraint has height
2017-04-21 10:45:53 +08:00
Andrew Nicols
7125b4f17c
Merge branch 'MDL-58490-master-fix' of https://github.com/lameze/moodle
2017-04-21 10:39:41 +08:00
Simey Lameze
c5515a34b5
MDL-58490 block_myoverview: add missing completionlib include
2017-04-21 10:33:36 +08:00
Jake Dallimore
dd9c469ffc
Merge branch 'MDL-58613-master-workshopfullname' of git://github.com/mudrd8mz/moodle
2017-04-21 10:26:00 +08:00
Marina Glancy
aef1e7f500
MDL-57457 mod_book: Chapters are not userdata plus some improvements
2017-04-21 10:06:09 +08:00
Andrew Hancox
0e8c334eb5
MDL-57457 mod_book: Fix bug with edit form when tagging disabled
2017-04-21 10:06:08 +08:00
Andrew Hancox
4282634fcd
MDL-57457 mod_book: performance improvement for tags backup/restore
2017-04-21 10:06:08 +08:00
Andrew Hancox
0178314682
MDL-57457 mod_book: Implement tagging
2017-04-21 10:06:08 +08:00
David Monllao
8e96553708
Merge branch 'MDL-58590' of https://github.com/sk-unikent/moodle
2017-04-21 10:03:59 +08:00
Jun Pataleta
7a7dbe1b7a
Merge branch 'MDL-58482-master' of git://github.com/lameze/moodle
2017-04-21 09:04:32 +08:00
Andrew Nicols
4707816095
Merge branch 'MDL-58490-master' of git://github.com/lameze/moodle
2017-04-21 08:52:15 +08:00
Simey Lameze
ff54d94bd1
MDL-58482 theme_boost: css fixes for view badge page
2017-04-21 08:50:27 +08:00
AMOS bot
421802e9a4
Automatically generated installer lang files
2017-04-21 00:09:48 +08:00
Dan Poltawski
992b296209
Merge branch 'MDL-58621-master' of git://github.com/ryanwyllie/moodle
2017-04-20 13:14:00 +01:00
Juan Leyva
01c26702d3
MDL-58659 enroll: Add start and end date fields required by overview
...
Those fields are required to display the courses overview for final
users.
2017-04-20 13:00:15 +02:00
Juan Leyva
ef83fc2a33
MDL-58659 course: Add missing enddate field in get_courses_by_field
2017-04-20 12:53:10 +02:00
Dan Poltawski
1d53b80c44
Merge branch 'MDL-58426-master-bigicons' of git://github.com/mudrd8mz/moodle
2017-04-20 10:33:53 +01:00
Skylar Kelty
32ec2da151
MDL-58658 caching: Fix static acceleration for empty arrays
2017-04-20 09:49:09 +01:00
David Mudrák
750bbb68a8
MDL-58426 icons: Fix CSS for displaying big icons
...
The expected size of icons in the pix/b/ (big) folder was not respected
and they were displayed as 16x16 px.
2017-04-20 10:48:38 +02:00
Skylar Kelty
30fccfcd82
MDL-58590 mobile: Cache mobile-supporting plugins
2017-04-20 09:36:20 +01:00
Jun Pataleta
c1e917844c
Merge branch 'MDL-58415-master' of git://github.com/jleyva/moodle
2017-04-20 16:11:31 +08:00
David Monllao
10e5071b85
Merge branch 'MDL-58623_master' of git://github.com/markn86/moodle
2017-04-20 16:08:52 +08:00
Juan Leyva
d96d72955e
MDL-58415 mod_lesson: Fix code styles and missing declaration
...
Found by the integrator review:
- Some incorrect code style declaration and phpdocs
- Missing $USER declaration
- Incorrect use of $lesson (should be $this)
2017-04-20 09:58:48 +02:00
Juan Leyva
9c543014a2
MDL-58415 mod_lesson: Add missing answer fields
...
There were a couple of fields missing when returning the complete
answer information required for offline usage.
2017-04-20 09:58:47 +02:00
Juan Leyva
dd60892155
MDL-58415 mod_lesson: EOL var must be always numeric
...
Otherwise it will break the Web Service return description.
2017-04-20 09:58:47 +02:00
Juan Leyva
f1cdd978aa
MDL-58415 mod_lesson: Out of time should be a string
...
process_eol_page expects a string, right now we are passing a boolean.
We should convert it to the correct string when is set to true, that is
‘normal’
2017-04-20 09:58:46 +02:00
Juan Leyva
a33c0e30eb
MDL-58415 mod_lesson: Return always allowofflineattempts
...
We need this field always to be able to display if the lesson is
available or not for download
2017-04-20 09:58:46 +02:00
Juan Leyva
0fc1f24b12
MDL-58415 mod_lesson: Handle correctly review mode
2017-04-20 09:58:45 +02:00
Juan Leyva
0259109fb5
MDL-58415 mod_lesson: Avoid API http redirections
...
Deep in the lesson API there are some http redirections in special
pages like clusters.
We need to handle it via new parameters to avoid redirections.
2017-04-20 09:58:44 +02:00
Juan Leyva
16ca026c4b
MDL-58415 mod_lesson: Force int type for calculated progress
...
Under some circumstances the value returned by the function needs
casting.
2017-04-20 09:58:44 +02:00
Dan Poltawski
8afd1e2bd6
Merge branch 'MDL-58538-master' of git://github.com/junpataleta/moodle
2017-04-20 08:26:54 +01:00
Mark Nelson
0f5e3fd952
MDL-58623 course: allow course summaries to be null in exporter
2017-04-20 15:26:11 +08:00
Andrew Nicols
e44400ceca
Merge branch 'MDL-58494-master' of git://github.com/ryanwyllie/moodle
2017-04-20 15:23:50 +08:00
David Monllao
626b05c09c
Merge branch 'MDL-58349-master' of git://github.com/damyon/moodle
2017-04-20 15:17:59 +08:00
Jake Dallimore
7b79a90bea
Merge branch 'wip-MDL-58452-master' of git://github.com/marinaglancy/moodle
2017-04-20 15:10:21 +08:00
Simey Lameze
4a995a1fe7
MDL-58490 block_myoverview: separate course and activity completion
2017-04-20 14:45:04 +08:00
Dan Poltawski
cdfcfb1f8c
Merge branch 'MDL-58498-master' of git://github.com/ryanwyllie/moodle
2017-04-20 07:44:56 +01:00
Dan Poltawski
fd91fe42ca
Merge branch 'MDL-58637_master' of git://github.com/markn86/moodle
2017-04-20 07:27:56 +01:00
Dan Poltawski
13e58982bb
Merge branch 'MDL-58617-master' of git://github.com/lameze/moodle
2017-04-20 07:19:17 +01:00
David Monllao
ba1ad89e7d
Merge branch 'MDL-58278-master' of git://github.com/damyon/moodle
2017-04-20 14:05:39 +08:00
Simey Lameze
f3dacc3860
MDL-58617 core_output: add mapping for dashboard on user menu
2017-04-20 13:56:13 +08:00
Andrew Nicols
d1131cd8b6
Merge branch 'wip-MDL-58138-fix' of https://github.com/marinaglancy/moodle
2017-04-20 13:54:43 +08:00
Mark Nelson
2c77be65cc
MDL-58637 format_*: fixed incorrect CSS selector
2017-04-20 13:53:42 +08:00
Ryan Wyllie
55e55a773f
MDL-58494 mod_feedback: no action after feedback submitted
...
Don't provide an action in the action event callback if the user has
already submitted their feedback or if they don't have permission to
submit.
2017-04-20 05:51:32 +00:00
Marina Glancy
6c48135896
MDL-58138 completion: mform wants 0-based indexes for arrays
2017-04-20 13:49:56 +08:00
Andrew Nicols
6f9f15d1ad
MDL-58515
2017-04-20 13:47:21 +08:00
Andrew Nicols
9517ea662d
Merge branch 'MDL-58515-master' of https://github.com/lucisgit/moodle
2017-04-20 13:03:34 +08:00
Andrew Nicols
d41402a046
Merge branch 'MDL-58370-master' of git://github.com/damyon/moodle
2017-04-20 12:58:48 +08:00
Andrew Nicols
5ca4dbe6f6
Merge branch 'MDL-57456_master-fix' of git://github.com/dmonllao/moodle
2017-04-20 12:38:05 +08:00
David Monllao
f60404b5ca
MDL-57456 mod_glossary: Proper course access in behat test
2017-04-20 12:32:05 +08:00
David Monllao
ce85011f5a
Merge branch 'MDL-58280-master' of git://github.com/damyon/moodle
2017-04-20 12:05:42 +08:00
Damyon Wiese
f2a6b9cac9
MDL-58278 mod_assign: Ignore send notify with mw
...
When marking workflow is on and the grade is not released we never send notifications anyway.
Instead of preventing the grading form from submitting (validation error) we silently ignore it.
2017-04-20 11:43:34 +08:00
Damyon Wiese
0b1a14aef9
MDL-58280 fileconverter_googledrive: More helpful errors
...
Detect some config errors and give a better error message.
2017-04-20 11:28:06 +08:00
Damyon Wiese
32f01c546c
MDL-58280 fileconverter_googledrive: Fix cibot complaints
2017-04-20 10:49:17 +08:00
Damyon Wiese
9fe3363301
MDL-58280 fileconverter_googledrive: Is born.
2017-04-20 10:49:17 +08:00
Damyon Wiese
e241e76afe
MDL-58370 theme: Tiny alignment fixes for icons
...
The group / completion icons on the course page do not quite line up perfectly in boost or clean.
This tweaks them.
2017-04-20 10:36:56 +08:00
Jake Dallimore
d8f9177462
Merge branch 'MDL-58412-master' of git://github.com/jleyva/moodle
2017-04-20 09:56:10 +08:00
AMOS bot
db0cc54592
Automatically generated installer lang files
2017-04-20 00:06:41 +08:00
Juan Leyva
78681d03b0
MDL-58431 mod_lesson: Fix error in random jumps on first visit
...
Random jumps to content pages were not working when they were set in
the first page.
This was caused because the page where the jump was, was not being
marked as visited before calculating the jump.
2017-04-19 17:47:21 +02:00
Juan Leyva
bcd6249d53
MDL-58628 mod_quiz: Return missing fields in get_quizzes_by_courses
...
These fields must be returned always (even if the quiz is closed).
Those fields are required to display data to users that, for example,
finished a timed quiz.
2017-04-19 16:12:09 +02:00
David Mudrák
7fc7377082
MDL-58613 workshop: Provide all data to display user name
...
Additional fields such as middlename, alternatename and others were not
passed to the fullname(), causing a debugging message.
2017-04-19 13:43:21 +02:00
Juan Leyva
cadae8dce6
MDL-58412 mod_feedback: Use constant for anonymous feedback
...
We were using hardcoded values instead the correct constant
FEEDBACK_ANONYMOUS_NO
2017-04-19 11:37:15 +02:00
Jun Pataleta
04577e6599
Merge branch 'wip-MDL-58530-master' of git://github.com/marinaglancy/moodle
2017-04-19 16:55:14 +08:00
Jun Pataleta
f03d9b1946
Merge branch 'MDL-58642-master' of git://github.com/lameze/moodle
2017-04-19 16:20:21 +08:00
Jake Dallimore
fedb00d4bb
Merge branch 'MDL-58520-master' of git://github.com/ryanwyllie/moodle
2017-04-19 15:50:48 +08:00
David Monllao
a61fe737d4
MDL-57456 glossary: Refine patch changes
2017-04-19 15:44:45 +08:00
David Monllao
c2118c8902
Merge branch 'wip-MDL-57456-master' of git://github.com/marinaglancy/moodle
2017-04-19 15:42:29 +08:00
Simey Lameze
5252d2835f
MDL-58642 mod_glossary: add mapping for minus icon
2017-04-19 15:01:28 +08:00
Andrew Nicols
07e5b34c95
Merge branch 'MDL-58536-master' of git://github.com/ryanwyllie/moodle
2017-04-19 13:50:28 +08:00
Ryan Wyllie
4671ae6374
MDL-58520 block_myoverview: change display name to Course overview
...
Change the display name of the my overview block to Course overview to
match the block it is replacing (and the UX prototype).
The use of "My" is no longer recommended when naming things in Moodle.
2017-04-19 05:47:40 +00:00
Ryan Wyllie
5f6ff89549
MDL-58536 block_myoverview: use moodle user timezone for midnight calc
...
Pass the user's midnight timestamp to the javascript to ensure that a
user's timezone is respected when calculating the categories the events
should be placed in on the event list.
2017-04-19 05:38:25 +00:00
Jun Pataleta
089810fb06
MDL-58538 repository_onedrive: Use image_url() instead of pix_url()
2017-04-19 12:29:22 +08:00
Jun Pataleta
088598ba28
MDL-58538 core: Set proper PHP Documentation for pix_url()
...
Add @deprecated tag for theme_config::pix_url(). Add PHPDoc block for
renderer_base::pix_url().
2017-04-19 12:29:19 +08:00
Andrew Nicols
442908a100
Merge branch 'MDL-58138-master-v2' of git://github.com/snake/moodle
2017-04-19 11:53:40 +08:00
Jake Dallimore
273d310601
MDL-58138 completion: Fixes for a number of small issues.
2017-04-19 11:41:57 +08:00
Ryan Wyllie
d6c25e5c7d
MDL-58621 block_myoverview: align course icon when no progress
2017-04-19 03:30:44 +00:00
David Monllao
ac0553aa64
Merge branch 'MDL-54901' of git://github.com/stronk7/moodle
2017-04-19 11:30:03 +08:00
Ryan Wyllie
5cb960c6b4
MDL-58621 block_myoverview: don't display course start and end dates
2017-04-19 03:08:17 +00:00
Marina Glancy
32b93ea7f8
MDL-58138 completion: changes after rebasing
...
The defaults for the completion have been changed in MDL-55611
2017-04-19 08:56:11 +08:00
Marina Glancy
61167c16d0
MDL-58460 mod_data: work with bulk completion API
...
Part of MDL-58138 epic
2017-04-19 08:56:11 +08:00
Jake Dallimore
d233adbb77
MDL-58460 completion: add callbacks to mod_data for bulk completion
...
Part of MDL-58138 epic
2017-04-19 08:56:11 +08:00
Marina Glancy
6445f17bfc
MDL-58408 completion: can not require grade if grading is not available
...
Part of MDL-58138 epic
2017-04-19 08:56:11 +08:00
Jake Dallimore
22002ed74b
MDL-58138 completion: consolidate bulk edit notifications to single call
...
Part of MDL-58138 epic
2017-04-19 08:56:11 +08:00
Jake Dallimore
5976f85c95
MDL-58138 completion: move new lang strings to the completion lang file
...
Part of MDL-58138 epic
2017-04-19 08:56:11 +08:00
Jake Dallimore
59d9c851f8
MDL-58138 completion: conditional state buttons and css fixes
...
Part of MDL-58138 epic
2017-04-19 08:56:11 +08:00
Jake Dallimore
6b3b9c1d02
MDL-58138 completion: rebase on font-awesome changes.
...
Part of MDL-58138 epic
2017-04-19 08:56:11 +08:00
Jake Dallimore
b17ee68202
MDL-58138 completion: Assorted linting fixes.
...
Part of MDL-58138 epic
2017-04-19 08:56:11 +08:00
Jake Dallimore
8db355c58f
MDL-58138 tests: unit and behat tests covering bulk and default tabs
...
Part of MDL-58138 epic
2017-04-19 08:56:11 +08:00
Marina Glancy
a64a9f9ce4
MDL-58267 completion: style and capabilities cleanup
...
Part of MDL-58138 epic
2017-04-19 08:54:35 +08:00
Marina Glancy
7f53e8aa22
MDL-58267 completion: allow to set default activity completion
...
Part of MDL-58138 epic
2017-04-19 08:54:35 +08:00
Marina Glancy
06cdda468a
MDL-58139 completion: bulk update completion
...
Part of MDL-58138 epic
2017-04-19 08:52:57 +08:00
Marina Glancy
0cbc248dd3
MDL-58140 completion: access control refinements
...
Part of MDL-58138 epic
2017-04-19 08:52:57 +08:00
Adrian Greeve
6e60511953
MDL-58140 completion: Added form change checker.
...
Part of MDL-58138 epic
2017-04-19 08:52:57 +08:00
Adrian Greeve
e8a71f8509
MDL-58140 completion: Default completion page.
...
Part of MDL-58138 epic
2017-04-19 08:52:57 +08:00
Adrian Greeve
0b6208018f
MDL-58140 completion: Added bulk activity completion page.
...
Part of MDL-58138 epic
2017-04-19 08:52:57 +08:00
Jake Dallimore
b54bcddda4
MDL-58190 completion: callbacks to get completion rule descriptions
...
- Activities can have their custom completion rules added to cm_info
through the get_coursemodule_info callback.
- Descriptions of a modules active completion rules can be fetched using
the component callback mod_xxx_get_completion_active_rule_descriptions
which takes in a cm_info object and returns an array of strings.
Part of MDL-58138 epic
2017-04-19 08:52:57 +08:00
David Monllao
afa5a3d7d2
Merge branch 'MDL-58624-master' of git://github.com/ankitagarwal/moodle
2017-04-19 07:14:43 +08:00
David Monllao
6778792008
Merge branch 'MDL-58631-master-authdoc' of git://github.com/mudrd8mz/moodle
2017-04-19 06:20:41 +08:00
David Monllao
80362f64db
Merge branch 'MDL-58096-master' of git://github.com/StudiUM/moodle
2017-04-19 05:17:50 +08:00
David Monllao
2b4bafc6c2
Merge branch 'MDL-58625-master' of git://github.com/danpoltawski/moodle
2017-04-19 03:50:44 +08:00
Gilles-Philippe Leblanc
dfbc82ec5f
MDL-58096 reports: Add SQL required by preload_from_record()
2017-04-18 15:40:00 -04:00
Dan Poltawski
9c1889810a
Merge branch 'wip-MDL-58502-master' of git://github.com/marinaglancy/moodle
2017-04-18 19:48:35 +01:00
Dan Poltawski
385e2fc839
Merge branch 'MDL-58526_m33v2' of https://github.com/sbourget/moodle
2017-04-18 19:47:04 +01:00
Dan Poltawski
c4642d14a7
Merge branch 'MDL-58463-master' of git://github.com/junpataleta/moodle
2017-04-18 18:53:51 +01:00
David Monllao
3fa64904cd
Merge branch 'MDL-58116-master' of https://github.com/barrasroger/moodle-1
2017-04-19 00:49:41 +08:00
David Monllao
fc394ded2a
Merge branch 'MDL-58566-master' of git://github.com/junpataleta/moodle
2017-04-19 00:43:02 +08:00
AMOS bot
b7c942e3a7
Automatically generated installer lang files
2017-04-19 00:04:23 +08:00
David Mudrák
b45193ca12
MDL-51932 workshop: Improve UX for teachers on switching workshop phases
...
The icon itself has been found insufficient, teachers did not realize it
was used to switch the phase. Its semantics is even less intuitive in
Boost when we do not show it on course outline any more.
So this patch starts to display the information that has been present
for assistive technologies only. As a side effect, I spotted there was a
bug that caused the id attribute "mod_workshop-userplancurrenttasks"
was used for all titles (not only the current one) so it did not
really serve the purpose well.
2017-04-18 18:00:59 +02:00
Dan Poltawski
10422a5545
Merge branch 'MDL-58629' of git://github.com/stronk7/moodle
2017-04-18 16:54:33 +01:00
Dan Poltawski
6bf6a54b75
Merge branch 'MDL-58618-master' of https://github.com/xow/moodle
2017-04-18 16:47:31 +01:00
Dan Poltawski
c7b7d67295
Merge branch 'MDL-58374-master-ltierrorlog' of git://github.com/mudrd8mz/moodle
2017-04-18 16:46:12 +01:00
Dan Poltawski
06fcba4bd9
Merge branch 'MDL-58603-master' of git://github.com/ankitagarwal/moodle
2017-04-18 16:45:09 +01:00
David Mudrák
1cb5c7b31f
MDL-58631 auth: Clarify documentation of changes in loginpage_idp_list()
...
This should clarify the new 'iconurl' key returned by the auth plugin's
loginpage_idp_list() method.
2017-04-18 17:00:40 +02:00
Gilles-Philippe Leblanc
6a54bd292c
MDL-58096 reports: Optimize database request
2017-04-18 10:59:41 -04:00
Dan Poltawski
34702e22e6
MDL-58625 behat: update tool_lp data generator
2017-04-18 12:51:13 +01:00
Dan Poltawski
6d14355ce8
on-demand release 3.3dev+
2017-04-18 12:34:50 +01:00
Dan Poltawski
114bcbe0ba
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-04-18 12:34:49 +01:00
barrasroger
499d37755c
MDL-58116 core_enrol: fix handling of users on different methods
2017-04-18 13:28:08 +02:00
Eloy Lafuente (stronk7)
fea4557cc0
MDL-58629 install: update the list of stale files for 3.3
2017-04-18 13:19:37 +02:00
Dan Poltawski
bdc70bbffd
MDL-58625 competency restore: avoid use of magic gettter
...
These were deprecated when persistents moved to core.
2017-04-18 10:43:05 +01:00
Ankit Agarwal
f939ae13f9
MDL-58624 persistent: Use correct namespace for exception
2017-04-18 13:54:45 +05:30
Dan Poltawski
38a941990e
Merge branch 'MDL-58464-int-fix-2' of git://github.com/ryanwyllie/moodle
2017-04-18 09:03:58 +01:00
Ryan Wyllie
1036b86819
MDL-58464 block_myoverview: remove additional placeholder in timeline
...
Remove the additional placeholder image when the user is not enrolled in
any courses from the sort by courses view in the timeline because there
is already a check for no in progress courses.
2017-04-18 07:50:41 +00:00
Dan Poltawski
0680dcac83
Merge branch 'MDL-58464-int-fix-1' of git://github.com/ryanwyllie/moodle
2017-04-18 08:15:57 +01:00
Ryan Wyllie
318d1f56de
MDL-58464 block_myoverview: fix js error in timeline view courses
2017-04-18 07:03:13 +00:00
Jun Pataleta
762550d7d2
Merge branch 'MDL-58574-master' of git://github.com/lameze/moodle
2017-04-18 14:43:57 +08:00
Ankit Agarwal
82db704eb0
MDL-58603 glossary: Fix fontawesome api name
2017-04-18 11:58:30 +05:30
Simey Lameze
666b7b5644
MDL-58574 templates: remove unnecessary imageurl check
2017-04-18 14:01:01 +08:00
Jun Pataleta
6d5661a9b3
MDL-57793 calendar: Additional edge-case tests
...
* Added leap year and 31th day of the month tests.
2017-04-18 13:55:25 +08:00
Jun Pataleta
dbb49e8d48
MDL-57793 calendar: Add recursion to satisfy COUNT rule
...
* Add recursion to the creation of recurring calendar events to satisfy
the COUNT rule, if necessary.
2017-04-18 13:55:25 +08:00
John Okely
c17d949c8d
MDL-58618 auth: Fix idp icon urls
2017-04-18 13:35:59 +08:00
Jun Pataleta
bb3fc8d6b1
MDL-58463 mod_assign: Improve coverage of test_assign_refresh_events()
2017-04-18 13:26:23 +08:00
Jun Pataleta
22753c8c5c
MDL-58566 calendar: Move \core_calendar\local\api::get_legacy_events()
...
* Move and rename \core_calendar\local\api::get_legacy_events() to
calendar_get_legacy_events() in calendar/lib.php.
* Fix the parameter-normalising callback function in
calendar_get_legacy_events() so that it correctly handles false values
by returning an empty array instead of it returning a non-empty array
that contains an empty element.
2017-04-18 10:32:09 +08:00
Andrew Nicols
a1b98c934c
Merge branch 'MDL-58551-master' of git://github.com/lameze/moodle
2017-04-18 10:23:03 +08:00
Simey Lameze
e6a1843efb
MDL-58551 config: add alternative_file_system_class description
2017-04-18 10:13:48 +08:00
Andrew Nicols
2660f7dabe
Merge branch 'MDL-58559-master' of git://github.com/lameze/moodle
2017-04-18 09:42:36 +08:00
Eloy Lafuente (stronk7)
55946a892a
MDL-54901 phpunit: Change phpunit wwwroot to HTTPS and fix tests
...
This includes:
- Changing PHPUnit's bootstrap to use https://www ...
- Modify all existing expectations to the new wwwroot.
- Amend some tests now with different defaults because of is_https()
- Added a note to main upgrade.php about the change.
2017-04-18 03:40:17 +02:00
Andrew Nicols
80483bf3cc
Merge branch 'MDL-58582-master' of https://github.com/Dagefoerde/moodle
2017-04-18 09:20:10 +08:00
Simey Lameze
4e785511b7
MDL-58559 block_community: check if the course has subject
2017-04-18 08:56:07 +08:00
Andrew Nicols
d4be750a7c
Merge branch 'MDL-58539_master' of https://github.com/dmonllao/moodle
2017-04-18 08:41:59 +08:00
Eloy Lafuente (stronk7)
6e6a768c15
MDL-54901 travis: ensure pg93 is available and https served
2017-04-18 02:12:53 +02:00
Eloy Lafuente (stronk7)
9d2112e88d
MDL-54901 environment: pg93, openssl, https & utf8mb4
2017-04-18 02:12:45 +02:00
Ruslan Kabalin
fc9bc65863
MDL-58539 assignfeedback_editpdf: Fix group assignment fatal error.
...
This makes sure that $grade->attemptnumber is not NULL before using its
value.
2017-04-17 17:00:47 +02:00
Tony Butler
e082fbd978
MDL-58515 assignfeedback_editpdf: Fix comment tabbing and focus outline
2017-04-17 15:40:27 +01:00
Jan Dageförde
62306cdf3d
MDL-58582 theme: Improve PHPDoc comment on SVG image resolution
2017-04-17 15:23:13 +02:00
David Monllao
bb17eafab0
Merge branch 'MDL-58478-master' of git://github.com/damyon/moodle
2017-04-17 14:44:39 +02:00
Dan Poltawski
4ba4ecfa96
MDL-58486 userprefs: clarifying comment
2017-04-17 12:17:18 +01:00
Dan Poltawski
48411a8843
Merge branch 'MDL-58486' of git://github.com/timhunt/moodle
2017-04-17 12:15:40 +01:00
Dan Poltawski
ae86b0879a
Merge branch 'MDL-58499-master' of git://github.com/barbararamiro/moodle
2017-04-17 11:23:52 +01:00
Eloy Lafuente (stronk7)
71318407ef
MDL-54901 environment: 3.3 base information
...
This is a direct copy of the 3.2 branch to
have changes under control easier in next commits.
2017-04-17 12:22:10 +02:00
Dan Poltawski
2d48a763f5
Merge branch 'MDL-58549-master' of https://github.com/xow/moodle
2017-04-17 11:07:43 +01:00
Dan Poltawski
e526e43269
Merge branch 'MDL-58479-33-weblib-notice-phpdoc' of git://github.com/roperto/moodle
2017-04-17 10:59:47 +01:00
Dan Poltawski
9556d5ec52
Merge branch 'MDL-46929' of https://github.com/stronk7/moodle
2017-04-17 10:53:42 +01:00
Eloy Lafuente (stronk7)
43bb3b77a5
MDL-46929 mod_forum: behat fixes
...
- Keep old scenarios being non-javascript.
- Move the tags stuff to recently added scenario.
- Change some "my" by "your" to avoid problems detecting results
while keeping previous tests (based on "subject") working.
2017-04-17 11:44:00 +02:00
Dan Poltawski
6a346ab440
Merge branch 'MDL-58507_master' of git://github.com/markn86/moodle
2017-04-17 10:42:48 +01:00
Dan Poltawski
a9d3bf7666
Merge branch 'MDL-58465-master' of git://github.com/ankitagarwal/moodle
2017-04-17 10:41:16 +01:00
Dan Poltawski
0bb4ee0fe3
Merge branch 'MDL-58393-33_filter-order' of https://github.com/roperto/moodle
2017-04-17 10:30:32 +01:00
Dan Poltawski
6e45cfc0c0
Merge branch 'MDL-58593-master' of git://github.com/merrill-oakland/moodle
2017-04-17 10:03:07 +01:00
Eric Merrill
cd729dc905
MDL-58593 database: More efficiently track issued key names
2017-04-13 12:21:13 -04:00
Dan Poltawski
0c290ad191
Merge branch 'MDL-32596_master' of https://github.com/rezaies/moodle
2017-04-13 15:58:00 +01:00
Dan Poltawski
ca7de06cf3
Merge branch 'MDL-58085-master' of git://github.com/cameron1729/moodle
2017-04-13 15:33:43 +01:00
Ryan Wyllie
b9ce916ac9
MDL-58464 block_myoverview: paginate timeline sort by courses view
2017-04-13 15:24:14 +01:00
David Monllao
32c249621b
Merge branch 'MDL-58244-master' of https://github.com/MartinGauk/moodle
2017-04-13 12:58:23 +02:00
David Monllao
faf661cb4c
Merge branch 'MDL-58171-report-role-format_text' of https://github.com/lucaboesch/moodle
2017-04-13 12:39:44 +02:00
Martin Gauk
8abec10d55
MDL-58244 shibboleth: handle users who are logged out
...
If the user is (already) logged out, do not access $USER->auth and redirect him to the return URL.
2017-04-13 10:05:39 +00:00
David Monllao
d0d0a7b482
Merge branch 'MDL-58560-master' of https://github.com/xow/moodle
2017-04-13 11:38:37 +02:00
David Monllao
378936ea20
Merge branch 'MDL-58493-master' of git://github.com/damyon/moodle
2017-04-13 11:36:54 +02:00
Andrew Nicols
e4a090c105
Merge branch 'MDL-58501_master' of git://github.com/markn86/moodle
2017-04-13 13:21:42 +08:00
Andrew Nicols
20026ab3c1
Merge branch 'MDL-58356-master' of git://github.com/damyon/moodle
2017-04-13 12:10:45 +08:00
Andrew Nicols
270d5c1cc5
Merge branch 'MDL-46929' of https://github.com/andrewhancox/moodle
2017-04-13 10:00:58 +08:00
Andrew Nicols
28b966a5f9
Merge branch 'MDL-39913-master-new-validation' of https://github.com/xow/moodle
2017-04-13 08:44:15 +08:00
Andrew Nicols
4041ac0c4d
Merge branch 'MDL-58537-master' of git://github.com/damyon/moodle
2017-04-13 08:36:20 +08:00
AMOS bot
a7e60c1291
Automatically generated installer lang files
2017-04-13 00:03:51 +08:00
David Monllao
cd249c747f
MDL-58235 myoverview: Remove trailing whitespace
2017-04-12 16:39:15 +02:00
David Monllao
c94e64fad1
Merge branch 'MDL57475-master' of https://github.com/mmafrar/moodle
2017-04-12 16:18:53 +02:00
David Monllao
10a6361e1c
Merge branch 'MDL-58235-master-3' of git://github.com/ryanwyllie/moodle
2017-04-12 15:46:01 +02:00
Luca Bösch
99c0ad51b4
MDL-58171 report: role name passing format_text
...
Have the role name in h2 of the participation report passing filters
like multilang2 by having it call format_text.
Signed-off-by: Luca Bösch <luca.boesch@bfh.ch >
2017-04-12 15:31:43 +02:00
David Monllao
ebebbb307b
Merge branch 'MDL-58555' of https://github.com/timhunt/moodle
2017-04-12 14:08:27 +02:00
Ankit Agarwal
f712568c1f
MDL-57573 phpmailer: Update to version 5.2.23
2017-04-12 14:06:18 +02:00
Mark Nelson
59391e80ad
MDL-58501 mod_*: improved docs for new calendar callbacks
2017-04-12 17:43:52 +08:00
David Monllao
0714bcb2a2
on-demand release 3.3dev+
2017-04-12 09:33:40 +02:00
David Monllao
a701701869
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-04-12 09:33:39 +02:00
Andrew Nicols
30829b5dc3
MDL-58311 cachestore_redis: Set password correctly
2017-04-12 14:41:54 +08:00
Mark Nelson
063b7ee647
MDL-58507 core: link functions with final deprecation issue
2017-04-12 12:38:51 +08:00
Jun Pataleta
8168bfd3e4
Merge branch 'MDL-58576-master' of git://github.com/andrewnicols/moodle
2017-04-12 10:06:13 +08:00
Andrew Nicols
0c0f3fdc1e
MDL-58576 mod_forum: Fix behat failures after string change
2017-04-12 09:32:05 +08:00
Eloy Lafuente (stronk7)
ad02561c15
Merge branch 'MDL-58453-master' of git://github.com/jleyva/moodle
2017-04-11 16:47:29 +02:00
Andrew Hancox
32a96916a6
MDL-46929 mod_forum: Improve behat tests
2017-04-11 13:34:22 +01:00
Juan Leyva
7f700290b2
MDL-58453 mod_feedback: Add missing security checks
...
Some checks done in mod/feedback/show_nonrespondents.php were missing.
- Check for anonymous feedback
- Check for real courses (not site home)
2017-04-11 09:42:27 +01:00
Andrew Hancox
e9c46768b5
MDL-46929 mod_forum: Fix for edge cases when searching
2017-04-11 08:30:09 +01:00
Marina Glancy
151113f93a
MDL-46929 mod_forum: performance improvement for tags backup/restore
2017-04-11 08:30:09 +01:00
Marina Glancy
34c8585d83
MDL-46929 mod_forum: small fixes for post tagging
2017-04-11 08:30:09 +01:00
Andrew Hancox
d2ba493cfe
MDL-46929 mod_forum: Implement tagging
2017-04-11 08:30:09 +01:00
Jake Dallimore
c89eba308a
Merge branch 'MDL-58563-master' of git://github.com/junpataleta/moodle
2017-04-11 15:09:27 +08:00
Jun Pataleta
d3679c37af
MDL-58563 group: Specify table alias in sort parameter for group test
2017-04-11 12:40:41 +08:00
Andrew Nicols
1ad2ff0404
Merge branch 'wip-MDL-57616-master' of git://github.com/marinaglancy/moodle
2017-04-11 11:51:59 +08:00
Damyon Wiese
473d849fd0
MDL-58493 enrol: Update JS to use font-awesome icon
2017-04-11 11:28:01 +08:00
Ryan Wyllie
bfc8fbea97
MDL-58498 mod_lesson: no action after lesson submission
...
Update the action event callback to not provide an action for the user
if they have already attempted the lesson.
2017-04-11 03:26:08 +00:00
Cameron Ball
a05e4f25a7
MDL-58085 core_calendar: Display actions on calendar events page
2017-04-11 11:21:43 +08:00
Andrew Nicols
9b18c0e075
Merge branch 'MDL-58461-master' of git://github.com/damyon/moodle
2017-04-11 11:15:32 +08:00
Damyon Wiese
c698b85ae8
MDL-58560 icons: Better mapping for t/move
2017-04-11 10:56:27 +08:00
Jake Dallimore
84fb93a77e
Merge branch 'MDL-58297-master' of git://github.com/andrewnicols/moodle
2017-04-11 10:49:07 +08:00
Damyon Wiese
56468ae9c3
MDL-58537 theme_clean: Fix the required field icon
...
It is a custom sized icon so it needs some custom CSS to size it properly.
2017-04-11 10:44:18 +08:00
John Okely
4bfb467842
MDL-58549 libraries: Add version to jabber/XMPP
2017-04-11 10:36:00 +08:00
Andrew Nicols
f669ad5ca7
Merge branch 'MDL-58552-master' of git://github.com/damyon/moodle
2017-04-11 09:46:04 +08:00
Damyon Wiese
21b4989ac4
MDL-58461 filter_mathjaxloader: Update defaults
...
Also included a version bump for Moodle in order to trigger a filter upgrade.
2017-04-11 09:19:02 +08:00
Damyon Wiese
3db9004f7d
MDL-58461 mathjax: Ship accessibility extensions
...
There are not mirrored on the new CDN so we need to ship them with moodle.
2017-04-11 09:18:23 +08:00
Damyon Wiese
7a0f141dfe
MDL-58461 filter_mathjaxloader: Change CDN url
...
The MathJax CDN url is going away - we need to switch to another mirror.
2017-04-11 09:18:23 +08:00
Jun Pataleta
f59c43a0fa
Merge branch 'MDL-58400-master' of git://github.com/junpataleta/moodle
2017-04-11 09:14:12 +08:00
Andrew Nicols
23605e9fbc
Merge branch 'MDL-58504_master' of git://github.com/markn86/moodle
2017-04-11 08:57:30 +08:00
Andrew Nicols
18baa6c956
Merge branch 'MDL-57290_master' of https://github.com/nadavkav/moodle
2017-04-11 08:43:36 +08:00
Ryan Wyllie
db861ea9d7
MDL-58235 block_myoverview: fix buttons on courses view
2017-04-11 00:20:29 +00:00
AMOS bot
867c560f43
Automatically generated installer lang files
2017-04-11 00:04:27 +08:00
Tim Hunt
c1ac8e7fbf
MDL-58555 ajax: make ajax web service log entries more useful
...
It is not used for anything, but we put the method name(s) being called in the URL.
2017-04-10 16:29:16 +01:00
David Monllao
eda9dbcfe0
Merge branch 'patch-24' of https://github.com/sk-unikent/moodle
2017-04-10 16:59:13 +02:00
David Monllao
696bfb490b
Merge branch 'mdl-58489' of https://github.com/Dagefoerde/moodle
2017-04-10 16:55:46 +02:00
David Monllao
9f22961d93
Merge branch 'mdl-58485' of https://github.com/Dagefoerde/moodle
2017-04-10 16:31:58 +02:00
David Monllao
fff1b3c464
Merge branch 'wip-MDL-55950-master' of git://github.com/marinaglancy/moodle
2017-04-10 16:05:07 +02:00
David Monllao
ad6478225b
Merge branch 'MDL-57858-master' of git://github.com/pavelsokolov/moodle
2017-04-10 14:14:59 +02:00
David Monllao
d096ebe0e4
MDL-56370 mod_feedback: Note about undeprecation
2017-04-10 13:15:15 +02:00
David Monllao
af938cf46e
Merge branch 'wip-MDL-56370-master' of git://github.com/marinaglancy/moodle
2017-04-10 13:13:20 +02:00
David Monllao
3c8b8b8262
Merge branch 'wip-MDL-55939-master' of git://github.com/marinaglancy/moodle
2017-04-10 12:57:34 +02:00
David Monllao
f0ad40d13c
Merge branch 'MDL-57553-master' of git://github.com/andrewnicols/moodle
2017-04-10 11:44:14 +02:00
David Monllao
538dbf37e1
Merge branch 'MDL-58492-master-famarkers' of git://github.com/mudrd8mz/moodle
2017-04-10 11:10:04 +02:00
Jun Pataleta
60b6e1bf0b
Merge branch 'MDL-58295-master' of git://github.com/andrewnicols/moodle
2017-04-10 16:51:06 +08:00
David Monllao
7841e9f337
Merge branch 'MDL-58104-m' of git://github.com/pavelsokolov/moodle
2017-04-10 09:51:32 +02:00
Nadav Kavalerchik
85b0d4a9cb
MDL-57290 Theme: Narrow admin page "menu" columns, in Boost & Clean
2017-04-10 10:09:03 +03:00
Barbara Ramiro
24b423fdd1
MDL-58235 block_myoverview: clean theme style for block_myoverview
...
This is for the 'Timeline' view in Clean theme
Part of MDL-55611
2017-04-10 06:28:22 +00:00
Ryan Wyllie
c3d8643772
MDL-58235 block_myoverview: add styling for clean theme
...
Part of MDL-55611
2017-04-10 06:28:21 +00:00
Damyon Wiese
f3432e038e
MDL-58552 quiz: keep quiz css in quiz
...
The selectors introduced by MDL-48771 need to be qualified to prevent them
breaking random pages (like the course page).
2017-04-10 13:51:02 +08:00
Andrew Nicols
137ea0572d
Merge branch 'wip-MDL-58180-master' of git://github.com/marinaglancy/moodle
2017-04-10 13:37:06 +08:00
Andrew Nicols
17cc2842a7
Merge branch 'MDL-58359-master' of git://github.com/damyon/moodle
2017-04-10 13:35:36 +08:00
Jun Pataleta
9be24e45b7
Merge branch 'MDL-58357-master' of git://github.com/damyon/moodle
2017-04-10 13:26:21 +08:00
Andrew Nicols
3afd529013
Merge branch 'MDL-57393-master' of git://github.com/jleyva/moodle
2017-04-10 13:20:13 +08:00
Andrew Nicols
04e45e8e25
Merge branch 'master' of https://github.com/tniessen/moodle
2017-04-10 13:16:29 +08:00
Jake Dallimore
cea0492924
Merge branch 'MDL-58543' of git://github.com/stronk7/moodle
2017-04-10 12:36:56 +08:00
John Okely
61527865a1
MDL-39913 assignsubmission_file: Add validation
2017-04-10 12:07:58 +08:00
Andrew Nicols
3de074e4bf
Merge branch 'MDL-58311_master' of https://github.com/sk-unikent/moodle
2017-04-10 12:00:59 +08:00
Andrew Nicols
1adae85448
Merge branch 'wip-mdl-58068' of https://github.com/rajeshtaneja/moodle
2017-04-10 11:54:09 +08:00
Damyon Wiese
d84b7f7f5c
MDL-58359 icons: Revert the icons for completion
...
We are missing one for "auto-completion not yet completed" etc.
2017-04-10 11:47:08 +08:00
Damyon Wiese
1a10c79f67
MDL-58356 icons: Revert file type icons
2017-04-10 11:36:51 +08:00
Andrew Nicols
b140b13c25
Merge branch 'MDL-58453-master' of git://github.com/jleyva/moodle
2017-04-10 11:23:37 +08:00
Juan Leyva
e352f30699
MDL-58400 tool_mobile: Support direct launch of OAuth SSO process
2017-04-10 11:12:29 +08:00
Juan Leyva
a67e3bda2e
MDL-58400 tool_mobile: Return enabled identity providers
...
Via this public Ajax Web Service we return the list of identity
providers in a site.
2017-04-10 11:12:28 +08:00
Jun Pataleta
627ea5b10e
MDL-58400 auth: New helper methods for identity providers
...
* get_identity_providers(): Retrieves available auth identity providers
* prepare_identity_providers_for_output(): Prepares auth identity
provider data for output (e.g. to templates, WS, etc)
* Use these helpers for the login renderer
2017-04-10 11:12:03 +08:00
Jake Dallimore
94a26699b1
Merge branch 'MDL-57813-master' of git://github.com/jleyva/moodle
2017-04-10 10:25:23 +08:00
Stephen Bourget
3ee50231e7
MDL-58526 auth: Improve labels on field mappings
2017-04-09 17:15:33 -04:00
Eloy Lafuente (stronk7)
2f090f4619
MDL-58543 upgrade: Replay 4 steps missed for some combinations
...
Moved 4 steps (2017033100.01-04) that were introduced after master
version was 2017040300 and were not executed always.
They have been moved to 2017040700.01-04, just on top of current
weekly (2017040700.00), so they will be executed by everybody.
As far as the 4 fields are XMLDB ones they are executed conditionally
so it's safe to replay them (for people that already had them run).
2017-04-09 14:11:20 +02:00
AMOS bot
56a9a019ae
Automatically generated installer lang files
2017-04-08 00:05:03 +08:00
David Mudrák
f7cfa26ec4
MDL-58492 icons: Fix fontawesome for i/marker and i/marked icons
...
These combo icons are used to mark something the current element. They
are supposed to be used in places like the course outline to
mark/highlight a section as the current one. Also workshop uses them to
switch to a phase (mark it as the current one).
2017-04-07 14:35:16 +02:00
David Mudrák
2937aa56cb
MDL-58374 lti: Log the error message of a failed message verification
...
Previously the exception message (which holds the actual explanation of
what went wrong) was thrown away so the user had no way to debug.
2017-04-07 11:25:11 +02:00
Jan Dageförde
6abce1e19a
MDL-58485 admin: Show all SVG plugin icons
2017-04-07 10:10:22 +02:00
Luca Bösch
9955d65e5c
MDL-58180 lib: Role name pass format_text.
...
In function stats_get_report_options, the role names are returned after
having been processed through format_text which lets the filters work on them.
Signed-off-by: Luca Bösch <luca.boesch@bfh.ch >
2017-04-07 16:09:25 +08:00
Marina Glancy
4cf6871ccf
MDL-57616 media_videojs: set min height for videos
...
This partially reverts changes from MDL-57187 that added the limit for all videos and not just videojs.
Videojs displays a big play button that overlaps contents below during video loading.
2017-04-07 16:09:02 +08:00
Marina Glancy
c4b8e61128
MDL-57456 mod_glossary: performance improvement for tags backup/restore
2017-04-07 16:08:33 +08:00
Andrew Hancox
694d2f8eac
MDL-57456 mod_glossary: Implement tagging
2017-04-07 16:08:31 +08:00
Marina Glancy
fde2e5b1a7
MDL-58452 ajax: do not show popup when can't retrieve the message count
2017-04-07 16:05:19 +08:00
Marina Glancy
a0cf7ee8de
MDL-55939 course: no permission is needed to view frontpage
2017-04-07 16:04:29 +08:00
Marina Glancy
85b969f130
MDL-56370 mod_feedback: behat for repeat completion
2017-04-07 16:04:06 +08:00
Marina Glancy
d6f77a435f
MDL-56370 mod_feedback: allow to restore values from last attempt
2017-04-07 16:04:06 +08:00
Marina Glancy
d0b4c8a787
MDL-55950 mod_feedback: correct link to response in the email
2017-04-07 16:03:42 +08:00
Marina Glancy
4aaaabb0da
MDL-58530 media_videojs: upgrade videojs to 5.18.4
2017-04-07 16:03:15 +08:00
Marina Glancy
f4dba1755c
MDL-58502 mod_feedback: courseid is not course where feedback is
2017-04-07 16:02:39 +08:00
John Okely
62e87ae4b8
MDL-39913 assign: Add help on filetype submissions
2017-04-07 16:02:00 +08:00
Jonathon Fowler
4044cad5ea
MDL-39913 assignsubmission_file: add file types restriction
...
Testing for uploading a non-permitted file won't work as things stand
currently because the filemanager throws an exception that Behat
catches, which causes a fail.
2017-04-07 16:02:00 +08:00
Jonathon Fowler
4e5a22df7a
MDL-39913 filetypes: mimetypes remediation
...
Going by http://www.iana.org/assignments/media-types/media-types.xhtml .
Disambiguated the Office 2007 types, Apple iWorks and other types
changes by tonyjbutler.
2017-04-07 16:02:00 +08:00
Jan Dageförde
eb4ab7c4b8
MDL-58489 core: Fix unreachable HTTP error handling
2017-04-07 09:50:15 +02:00
Jun Pataleta
bd99cb9021
weekly release 3.3dev
2017-04-07 12:45:45 +08:00
Jun Pataleta
7e4a4d30df
NOBUG: Fixed file access permissions
2017-04-07 12:45:45 +08:00
Jun Pataleta
dde6b3e9e3
NOBUG: Fixed SVG browser compatibility
2017-04-07 12:45:44 +08:00
Jun Pataleta
8fe00b70fc
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-04-07 12:45:44 +08:00
Andrew Nicols
e6a4780452
MDL-58297 core: Update to use new hashing functions
2017-04-07 10:40:23 +08:00
Andrew Nicols
a30a04fa01
MDL-58297 filestorage: New functions for hash calculation
2017-04-07 10:40:23 +08:00
David Monllao
6099f29beb
MDL-55611 mod_quiz: Adapt behat test to myoverview
2017-04-06 18:59:12 +02:00
AMOS bot
92fa451cc2
Automatically generated installer lang files
2017-04-07 00:04:33 +08:00
David Monllao
2a69ffd212
MDL-12689 auth_shibboleth: No remote updates
2017-04-06 15:51:27 +02:00
Dan Poltawski
92fe5da36d
MDL-12689 version: bump after behat fix
2017-04-06 10:52:24 +01:00
Dan Poltawski
b634c32668
Merge branch 'MDL-12689_master-fix' of git://github.com/dmonllao/moodle
2017-04-06 10:51:37 +01:00
David Monllao
6ef63c5920
MDL-12689 auth_cas: Default to English
2017-04-06 11:20:22 +02:00
Shamim Rezaie
74f83c14ee
MDL-32596 tool_xmldb: Updated confirmcheckforeignkeys
...
Updated $string['confirmcheckforeignkeys']
2017-04-06 18:36:10 +10:00
Jake Dallimore
c846111951
Merge branch 'MDL-58220-master-fix5' of http://github.com/damyon/moodle
2017-04-06 16:29:13 +08:00
David Monllao
bc99a34d9c
MDL-23919 mod_data: Required entries not available by default anymore
...
Updating test accordingly, but still setting and checking a
field that is not part of the fieldsets opened by default.
2017-04-06 10:25:17 +02:00
Damyon Wiese
340659cc29
MDL-58220 auth_oauth2: Linked logins only 4U
...
You can only manage your own linked logins - never anyone elses.
2017-04-06 16:06:12 +08:00
Dan Poltawski
b6deaa14b6
Merge branch 'MDL-55611-master-behat-fix' of git://github.com/lameze/moodle
2017-04-06 08:56:51 +01:00
Juan Leyva
94478c083d
MDL-57813 mod_feedback: New WS mod_feedback_get_last_completed
2017-04-06 09:40:26 +02:00
David Monllao
287848d267
Merge branch 'wip-MDL-58364-master' of git://github.com/marinaglancy/moodle
2017-04-06 09:30:45 +02:00
Andrew Nicols
8602be9f00
MDL-55611 course: Fix incorrect merge conflict
2017-04-06 15:22:55 +08:00
Simey Lameze
daef59826a
MDL-55611 core_tests: replace remaining I follow coursename steps
2017-04-06 15:22:15 +08:00
Mark Nelson
01f96180ff
MDL-58504 mod_*: fixed PHPDoc return type for *_provide_event_action
2017-04-06 15:00:02 +08:00
David Monllao
a10461e034
Merge branch 'MDL-58369-master' of git://github.com/damyon/moodle
2017-04-06 08:59:21 +02:00
David Monllao
12b471a4d3
Merge branch 'MDL-58398-master' of git://github.com/ankitagarwal/moodle
2017-04-06 08:38:52 +02:00
Andrew Nicols
ffc4b7e4af
Merge branch 'MDL-55611_master' of git://github.com/markn86/moodle
2017-04-06 13:24:05 +08:00
Mark Nelson
5c85bfe122
MDL-55611 core_calendar: Fixed query for Oracle
...
Also fixed unit test filter.
2017-04-06 12:56:00 +08:00
Andrew Nicols
97f17c0490
Merge branch 'MDL-58220-master-fix4' of http://github.com/damyon/moodle
2017-04-06 11:54:58 +08:00
Damyon Wiese
427fa27cf4
MDL-58220 auth_oauth2: Fix login domains
...
The login domains were checking the email of the moodle account, not the returned
email from oauth. Also after a failure, it was not killing the oauth session, which
prevents you trying again with a different account.
2017-04-06 11:35:02 +08:00
Damyon Wiese
0eb4c06645
MDL-58220 oauth2: Fix account linking
...
The username passed to the confirm account link request is the oauth username,
which may be different to the moodle username so can't be used to look up the user record.
2017-04-06 10:41:46 +08:00
Jake Dallimore
b8094f8a18
Merge branch 'MDL-58443-master' of git://github.com/jleyva/moodle
2017-04-06 09:41:37 +08:00
Jake Dallimore
6e58427458
Merge branch 'MDL-55611-master-fix' of git://github.com/andrewnicols/moodle
2017-04-06 09:23:29 +08:00
Andrew Nicols
3e57763833
Merge branch 'wip-MDL-23919-master' of https://github.com/marinaglancy/moodle
2017-04-06 09:02:36 +08:00
Marina Glancy
63709b0e16
MDL-23919 mod_data: fix bug when completion is reset
2017-04-06 08:54:00 +08:00
Andrew Nicols
95f38c22ca
MDL-55611 calendar: Fix unit test filter
...
The event test factory uses a closure to return only every other record.
This was previously working based on ID but MSSQL starts from an even
number rather than an odd number.
This change changes that to use a static variable which keeps a count of
the records instead and only returns every other record in this fashion,
removing the dependance upon ID.
2017-04-06 08:50:12 +08:00
AMOS bot
a946e1a838
Automatically generated installer lang files
2017-04-06 00:07:08 +08:00
AMOS bot
2ee6fc9fd8
Automatically generated installer lang files
2017-04-06 00:07:08 +08:00
Dan Poltawski
5f5f71ea62
Merge branch 'MDL-57411-master' of git://github.com/jleyva/moodle
2017-04-05 12:44:03 +01:00
Juan Leyva
8c60d198c2
MDL-57411 groups: Fix tests for MSSQL
2017-04-05 13:17:46 +02:00
Dan Poltawski
c3345f32f0
Merge branch 'MDL-58220-master-fix3' of http://github.com/damyon/moodle
2017-04-05 10:16:57 +01:00
Damyon Wiese
f331513347
MDL-58220 auth_oauth2: Fix for login via linked login
...
This was broken by the refactoring to always link logins. Some of the static
variables could also be removed but I'll do that in a later issue to keep this patch small.
2017-04-05 15:55:53 +08:00
Andrew Nicols
00aa58eb5f
Merge branch 'MDL-58399-master' of git://github.com/jleyva/moodle
2017-04-05 15:49:49 +08:00
Juan Leyva
dbc404de71
MDL-58399 webservice: Add missing upgrade.txt information
...
We should indicate the API changes for developers.
2017-04-05 09:41:15 +02:00
Juan Leyva
682aea9b84
MDL-58453 mod_feedback: Refactor get_non_respondents WS
...
We should return more information like if the user started or not the
feedback and the total number of non respondents (to be able to
paginate).
2017-04-05 09:28:29 +02:00
Andrew Nicols
c254588732
Merge branch 'MDL-58361-master' of https://github.com/xow/moodle
2017-04-05 15:19:58 +08:00
Barbara Ramiro
9436711f28
MDL-58499 block_myoverview: show two blocks of courses on XL
2017-04-05 15:09:31 +08:00
Juan Leyva
007b7cad82
MDL-57813 mod_feedback: Create exporter and required API changes
2017-04-05 09:07:43 +02:00
Andrew Nicols
c46ae2fbc1
Merge branch 'MDL-58361-master' of https://github.com/xow/moodle
2017-04-05 15:04:44 +08:00
Andrew Nicols
3aa424703b
Merge branch 'MDL-58220-master-fix2' of http://github.com/damyon/moodle
2017-04-05 14:43:13 +08:00
Damyon Wiese
a647e7d762
MDL-58220 oauth2: missing param confirmtokenexpires
2017-04-05 14:42:22 +08:00
Andrew Nicols
941cb7ce3c
Merge branch 'MDL-58399-master' of git://github.com/jleyva/moodle
2017-04-05 14:22:39 +08:00
Andrew Nicols
2a44422e54
Merge branch 'MDL-58220-master-fix1' of http://github.com/damyon/moodle
2017-04-05 12:56:01 +08:00
Damyon Wiese
6cee96c8af
MDL-58220 oauth2: obey $CFG->authpreventaccountcreation
2017-04-05 12:52:32 +08:00
Andrew Nicols
038db9734f
Merge branch 'MDL-58444-master' of git://github.com/jleyva/moodle
2017-04-05 12:29:13 +08:00
Andrew Nicols
e31dba2c8d
Merge branch 'MDL-12689_master' of https://github.com/markn86/moodle
2017-04-05 11:13:31 +08:00
Mark Nelson
90b735b169
MDL-12689 core: fixed incorrect use of the term 'depreciated'
2017-04-05 11:12:07 +08:00
Andrew Nicols
04056e715b
Merge branch 'MDL-51998_master' of https://github.com/nadavkav/moodle
2017-04-05 09:56:29 +08:00
Jun Pataleta
458315f857
Merge branch 'MDL-57821-master' of git://github.com/jleyva/moodle
2017-04-05 09:39:02 +08:00
Jake Dallimore
170a8b3ec4
Merge branch 'MDL-58368-master' of git://github.com/damyon/moodle
2017-04-05 09:33:45 +08:00
Eloy Lafuente (stronk7)
e58654f452
Merge branch 'scorm-task' of https://github.com/GanitGenius/moodle
2017-04-05 02:02:03 +02:00
Eloy Lafuente (stronk7)
aa2b5b214d
Merge branch 'wip-MDL-57769-master' of https://github.com/marinaglancy/moodle
2017-04-05 01:31:08 +02:00
Eloy Lafuente (stronk7)
a2c15cc5a2
Merge branch 'MDL-58055-master' of git://github.com/andrewnicols/moodle
2017-04-05 00:22:19 +02:00
Eloy Lafuente (stronk7)
4c9919fb15
Merge branch 'MDL-55326-master' of git://github.com/andrewnicols/moodle
2017-04-04 19:01:57 +02:00
Dan Poltawski
67aaf4eeda
MDL-55611 upgrade.txt: remove duplicated note
2017-04-04 17:32:13 +01:00
Eloy Lafuente (stronk7)
fc96fac29e
Merge branch 'MDL-55499-master' of git://github.com/andrewnicols/moodle
2017-04-04 18:23:02 +02:00
Dan Poltawski
6ebb0947f0
MDL-55611 upgrade: bump redirect_if_major_update_required
2017-04-04 17:08:35 +01:00
Dan Poltawski
1e4e5c52d7
Merge branch 'MDL-55611-master' of git://github.com/danpoltawski/moodle
2017-04-04 17:07:41 +01:00
AMOS bot
e2a60440e1
Automatically generated installer lang files
2017-04-05 00:04:21 +08:00
Dan Poltawski
14286ebd4a
MDL-55611 calendar: remove duplicated 'scheduled task stuff'
2017-04-04 17:02:07 +01:00
Tim Hunt
2524990d09
MDL-58486 user_prefs: always update $USER cache when applicable
...
set_user_preference and unset_user_preference let you pass the user to
set preferences for as an id. Previously, if you passed $USER->id there,
those methods did not update the Cache in $USER, which was surprising,
and not easy to debug.
Now, we always update the preference cache in $USER if the preference is
being changed for the current user.
2017-04-04 16:20:26 +01:00
Simey Lameze
5342a54159
MDL-58474 block_myoverview: change step datetime format
...
Part of MDL-55611 epic.
2017-04-04 11:01:58 +01:00
Simey Lameze
53cbac18ba
MDL-58474 core_calendar: add missing action_event_interface import
...
Part of MDL-55611 epic.
2017-04-04 11:01:57 +01:00
Mark Nelson
d7bc2c6fd5
MDL-55611 core_calendar: fixed unit tests failing in isolation
2017-04-04 11:01:57 +01:00
Cameron Ball
c28f1077c4
MDL-58442 core_calendar: Better documentation for the container
...
Part of MDL-55611 epic.
2017-04-04 11:01:57 +01:00
Cameron Ball
92ac08bcee
MDL-58442 core_calendar: Nuke action_event_factory and friends
...
These are unecessary since the only place the factory
is used is in the container.
Part of MDL-55611 epic.
2017-04-04 11:01:56 +01:00
Cameron Ball
d10693cb63
MDL-58442 core_calendar: Rename core_container to simply container
...
core_container was confusing as it looks Frankenstyleish.
Part of MDL-55611 epic.
2017-04-04 11:01:56 +01:00
Simey Lameze
e77830f2e3
MDL-58438 mod_lti: replace step using course overview block
...
Part of MDL-55611 epic.
2017-04-04 11:01:56 +01:00
Simey Lameze
7698ecb2c0
MDL-58438 core_badges: fix behat issues on award badge feature
...
Part of MDL-55611 epic.
2017-04-04 11:01:55 +01:00
Cameron Ball
42e76c3f70
MDL-58430 core_calendar: Keep interfaces with implementations
...
All interfaces have been moved from the interfaces folder such
that they now live with their default implementations.
Part of MDL-55611 epic.
2017-04-04 11:01:55 +01:00
Ryan Wyllie
4265458949
MDL-58303 theme_boost: change dashboard block breakpoint to xl
...
Part of MDL-55611 epic.
2017-04-04 11:01:54 +01:00
Jun Pataleta
e6661428ad
MDL-57607 upgrade: Add post-upgrade adhoc task for refreshing mod events
...
Insert an ad-hoc task into the task_adhoc table that updates existing calendar
events to convert them to action-type events, where applicable.
Part of MDL-55611 epic.
2017-04-04 11:01:54 +01:00
Jun Pataleta
3651c22b75
MDL-57607 mod_assign: Make assign_refresh_events refresh overrides
...
Part of MDL-55611 epic.
2017-04-04 11:01:54 +01:00
Mark Nelson
2229368a3c
MDL-58424 core_calendar: moved api::get_events
...
This function was moved to local_api::get_legacy_events.
Also removed the calendar/classes/api.php file since it no longer contained any
functionality and added unit tests for local_api::get_legacy_events (a copy of
the unit tests for calendar_get_events).
Part of MDL-55611 epic.
2017-04-04 11:01:53 +01:00
Mark Nelson
f8443a26f9
MDL-58424 core_calendar: removed unused get_action_events_* functions
...
Also moved associated unit tests to another location and changed
them so that they were testing local_api instead.
Part of MDL-55611 epic.
2017-04-04 11:01:53 +01:00
Mark Nelson
23a29de7ee
MDL-58424 core_calendar: moved logic from api.php to lib.php
...
Also moved related PHPUnit tests.
Part of MDL-55611 epic.
2017-04-04 11:01:52 +01:00
Mark Nelson
10515e152d
MDL-58424 core: undeprecated calendar_* functions
...
Part of MDL-55611 epic.
2017-04-04 11:01:52 +01:00
Ryan Wyllie
80a1ea5542
MDL-58348 block_myoverview: keep paging bar under courses
...
Part of MDL-55611 epic.
2017-04-04 11:01:52 +01:00
Jun Pataleta
db3b790920
MDL-58425 block_myoverview: Add more details to blocks/upgrade.txt
...
Part of MDL-55611 epic.
2017-04-04 11:01:51 +01:00
Jun Pataleta
82afbfab31
MDL-58302 block_myoverview: Set fixed height of items in courses view
...
Part of MDL-55611 epic.
2017-04-04 11:01:51 +01:00
Jun Pataleta
aac4653365
MDL-58365 block_myoverview: Show course summary in plain text
...
Part of MDL-55611 epic.
2017-04-04 11:01:51 +01:00
Jun Pataleta
c755cb354c
MDL-58441 calendar: Pass $withduration to the correct function
...
Part of MDL-55611 epic.
2017-04-04 11:01:50 +01:00
Simey Lameze
8d63ed6ed5
MDL-58207 mod_assign: reword grading due date lang string
...
Part of MDL-55611 epic.
2017-04-04 11:01:50 +01:00
Mark Nelson
2a8e41b990
MDL-58432 core_calendar: allow event properties to be null
...
Part of MDL-55611 epic.
2017-04-04 11:01:49 +01:00
Mark Nelson
e1cd93ce20
MDL-58423 core_calendar: moved \core_calendar\event class
...
Part of MDL-55611 epic.
2017-04-04 11:01:49 +01:00
Simey Lameze
1dc764a6d9
MDL-57449 block_myoverview: add behat tests for UI
...
Part of MDL-55611 epic.
2017-04-04 11:01:48 +01:00
Cameron Ball
71d1430c27
MDL-58396 core_calendar: Fix failing unit test
...
Part of MDL-55611 epic.
2017-04-04 11:01:48 +01:00
Andrew Nicols
0822417d5e
MDL-58386 block_myoverview: Mustache tidyup
...
Part of MDL-55611 epic.
2017-04-04 11:01:48 +01:00
Jun Pataleta
197b6d9e5a
MDL-58386 mod_forum: Fixed CI issues
...
Part of MDL-55611 epic.
2017-04-04 11:01:47 +01:00
Jun Pataleta
0eb42c8579
MDL-58386 mod_workshop: Fixed CI issues
...
Part of MDL-55611 epic.
2017-04-04 11:01:47 +01:00
Jun Pataleta
20592f5ff2
MDL-58386 calendar: Fixed CI issues
...
Part of MDL-55611 epic.
2017-04-04 11:01:47 +01:00
Jun Pataleta
966cbed632
MDL-58386 core: Fixed CI issues
...
Part of MDL-55611 epic.
2017-04-04 11:01:46 +01:00
Jun Pataleta
775c6bac6d
MDL-58386 block_myoverview: Fixed CI issues
...
Part of MDL-55611 epic.
2017-04-04 11:01:46 +01:00
Mark Nelson
1054c6f879
MDL-58188 mod_assign: added missing require_once and updated docs
...
The only reason the exclusion of require_once was not exploding before
is because the call to provider_event_action() was being triggered first
which required the file. We can't rely on this happening all the time.
The doc update describes when the usage of is_event_visible() is appropriate.
Part of MDL-55611 epic.
2017-04-04 11:01:45 +01:00
Mark Nelson
de036a2d76
MDL-58188 mod_label: fixed call to update_completion_date_event()
...
Part of MDL-55611 epic.
2017-04-04 11:01:45 +01:00
Cameron Ball
8d4e0f29dc
MDL-58383 core_calendar: Correctly filter in event vault
...
The filter parameter was being passed in as the wrong argument which
was allowing non action events to be returned.
Part of MDL-55611 epic.
2017-04-04 11:01:45 +01:00
Damyon Wiese
de66ac3cd6
MDL-55611 calendar: fix calendar_event uses
...
It was renamed to \core_calendar::event
2017-04-04 11:01:44 +01:00
Damyon Wiese
01a95b86cd
MDL-55611 icons: Remove pix_url
...
Change to image_url because these are not "pix icons".
2017-04-04 11:01:44 +01:00
Andrew Nicols
569d091b03
MDL-58333 core_calendar: Make WS available to Mobile
...
Part of MDL-55611 epic.
2017-04-04 11:01:43 +01:00
Andrew Nicols
80ece0847e
MDL-58333 enrol: Include course progress in course listing WS
...
Part of MDL-55611 epic.
2017-04-04 11:01:43 +01:00
Mark Nelson
08db22c105
MDL-58017 mod_quiz: added action event unit tests
...
Part of MDL-55611 epic.
2017-04-04 11:01:43 +01:00
Mark Nelson
b3d7d175b8
MDL-58017 mod_quiz: added action events
...
Part of MDL-55611 epic.
2017-04-04 11:01:42 +01:00
Damyon Wiese
739de5fefe
MDL-58087 mod_forum: Fix fragile test
...
This test was dependant on the randomly generated group names coming back in a
specific order.
Part of MDL-55611 epic.
2017-04-04 11:01:42 +01:00
Cameron Ball
378259a8ab
MDL-58087 core_calendar: Fix random unit test failure
...
Part of MDL-55611 epic.
2017-04-04 11:01:42 +01:00
Cameron Ball
200f979c4c
MDL-58087 core_calendar: Keep legacy implementation of calendar_get_events
...
The new implementation of calendar_get_events (i.e., \core_calendar\api::get_events)
has a subtly different behaviour. So we need to maintain the existing implementation
in deprecatedlib.
Part of MDL-55611 epic.
2017-04-04 11:01:41 +01:00
Cameron Ball
bd01fd15d4
MDL-58087 core_calendar: Unit tests now jam with new vault behaviour
...
Some unit tests needed to be updated to specify a few extra
bits and pieces on the events to work properly with the
new event vault behaviour.
Part of MDL-55611 epic.
2017-04-04 11:01:41 +01:00
Cameron Ball
258a570563
MDL-58087 core_calendar: Move logic from get_events to the local API
...
The logic from get_events has now been moved in to our local API
and is used by the event vault to retrieve events, instead of
querying the database directly.
This has the advantage that it deals with overrides and only
returns events for the relevant user.
Part of MDL-55611 epic.
2017-04-04 11:01:40 +01:00
Cameron Ball
02854eac9e
MDL-58087 core_calendar: Don't pass non action events through our plumbing
...
The event factory should simply instantiate an event for non action
events and pass only action events through the plumbing.
This way modules implementing the callbacks can be sure that what
is passed in to the callback is actually supposed to be an action event.
Part of MDL-55611 epic.
2017-04-04 11:01:40 +01:00
Cameron Ball
f8a3e28b16
MDL-58087 core_calendar: Don't process events not created by modules
...
Our API infrastructure currently only deals with events created
by course modules. Site, user, etc events can't be dealt with.
Part of MDL-55611 epic.
2017-04-04 11:01:40 +01:00
Cameron Ball
aa1cdff5f6
MDL-58087 mod_lesson: Apply overrides in event action callback
...
Part of MDL-55611 epic.
2017-04-04 11:01:39 +01:00
Cameron Ball
a82becaa25
MDL-58087 mod_assign: Apply overrides in event action callback
...
Part of MDL-55611 epic.
2017-04-04 11:01:39 +01:00
Cameron Ball
b6d9b701f0
MDL-58087 core_calendar: Remove redundant event vault factory
...
Part of MDL-55611 epic.
2017-04-04 11:01:38 +01:00
Juan Leyva
a24289f12f
MDL-57821 mod_feedback: New WS mod_feedback_get_responses_analysis
2017-04-04 12:01:23 +02:00
Juan Leyva
495745a36e
MDL-57821 mod_feedback: Allow export tables to external structure
2017-04-04 12:01:22 +02:00
Cameron Ball
59a601e632
MDL-58087 core_calendar: Set correct ID for repeat event collection
...
Initially we were only sending "top level" events through our API
i.e., events that can be repeated, but are not repeats themselves.
In the future we will be sending ALL events through our API and int
that situation the ID of the collection needs a small bit of logic
to correctly set the ID of the parent.
Part of MDL-55611 epic.
2017-04-04 11:01:19 +01:00
Marina Glancy
125c4c4cb8
MDL-57961 course: change wording of module availability
...
renamed Visible to Availability and added help strings
AMOS BEGIN
CPY [availability,core_moodle],[modvisible,core_moodle]
CPY [availability,core_moodle],[modvisiblewithstealth,core_moodle]
CPY [availability,core_moodle],[modvisiblehiddensection,core_moodle]
CPY [show,core_moodle],[modshow,core_moodle]
CPY [hide,core_moodle],[modhide,core_moodle]
AMOS END
2017-04-04 17:05:57 +08:00
Dan Poltawski
5eff54929d
Merge branch 'MDL-12689-master-fix1' of http://github.com/damyon/moodle
2017-04-04 07:51:05 +01:00
Damyon Wiese
46d5582ec9
MDL-58478 oauth2: Use real admin settings
...
This is an upgrade to real admin settings to comply with MDL-12689
2017-04-04 14:37:13 +08:00
Daniel Thee Roperto
745212bda0
MDL-58479 documentation: fixed phpdoc for notice().
2017-04-04 16:20:41 +10:00
Daniel Thee Roperto
589c8eb61b
MDL-57246 forum: Fixed mod/forum/view.php redirection.
...
Fixed: Trying to view a forum without the capability may lead you to a broken page.
2017-04-04 16:16:54 +10:00
Dan Poltawski
ab8aa88214
Merge branch 'MDL-55941-initialbar-ux' of https://github.com/ilya-catalyst/moodle
2017-04-04 06:56:26 +01:00
Dan Poltawski
dda4dcaffb
Merge branch 'MDL-58220-master-fix1' of http://github.com/damyon/moodle
2017-04-04 06:54:07 +01:00
Andrew Nicols
930cab683d
Merge branch 'master' of https://github.com/koennys/moodle
2017-04-04 11:48:50 +08:00
Damyon Wiese
d37945c37a
MDL-58220 repository_onedrive: standard plugin
...
Add this plugin to the standard plugin list.
2017-04-04 11:18:27 +08:00
Damyon Wiese
3615842625
MDL-12689 auth: No settings if ldap missing
2017-04-04 11:15:29 +08:00
Andrew Nicols
a9bca28400
Merge branch 'wip-MDL-41809-master' of git://github.com/marinaglancy/moodle
2017-04-04 10:43:41 +08:00
Andrew Nicols
7d1709f91e
MDL-48771 mod_quiz: Rebase conflict fix img => .icon
2017-04-04 10:41:22 +08:00
Damyon Wiese
6e53e3d232
MDL-58220 repo: Fix typo in FILE_CONTRLLED_LINK
2017-04-04 10:40:01 +08:00
Andrew Nicols
23f1f5211e
Merge branch 'MDL-48771-squashed' of git://github.com/timhunt/moodle
2017-04-04 10:37:26 +08:00
Damyon Wiese
bcd08003fa
MDL-58220 lang: Add / fix lang strings
...
The refactoring during integration caused some lang string errors.
2017-04-04 10:28:14 +08:00
Colin Chambers
f37cffb6a5
MDL-48771 quiz edit: delete mulitiple tidy up & Behat tests
2017-04-04 01:53:43 +01:00
David Monllao
6d353d2dfd
MDL-23919 mod_data: completionentries can be null
2017-04-04 00:27:30 +02:00
David Monllao
b1e8f8bf37
MDL-12689 mod_data: Remove trailing whitespaces
2017-04-04 00:14:35 +02:00
David Monllao
fcada374ac
Merge branch 'MDL-12689_m33v4' of https://github.com/sbourget/moodle
2017-04-04 00:08:50 +02:00
David Monllao
bf3b4321c0
MDL-23919 mod_data: Clean illegal whitespace
...
Also moving upgrade step below 3.2 mark.
2017-04-04 00:07:24 +02:00
Mohamed Afrar
49b60a1c9a
MDL-57475 Forum: Fixing issue with the 'preferences' link in emails
2017-04-04 03:00:55 +05:30
David Monllao
ea51aa631b
Merge branch 'MDL-23919-mod_data-required-entry-completion' of https://github.com/marcusgreen/moodle
2017-04-03 23:24:28 +02:00
Luca Bösch
5d803e5395
MDL-48771 quiz: Select multiple questions to delete
...
Upon Moodle 2.8 the option to bulk delete all questions of a quiz
disappeared.
This patch adresses this and reintruduces a bulk action button.
Pushing that button shows a Delete and a Cancel button as well as
two Select all / Deselect all triggers and each and every question
gets a checkbox. The UI is slimmed down and other elements (e.g.
'Repaginate' button and so on) are hidden. Questions can be chosen
and deleted by pushing the Delete button. The bulk action button
is disabled when quiz attempts are present, just like the
'Repaginate' button.
TODO: Behat tests are lacking.
2017-04-03 20:11:47 +01:00
Marina Glancy
cf873ada46
MDL-23919 mod_data: small corrections to completion form element
2017-04-03 18:15:52 +01:00
Dan Poltawski
a29cd3138c
Merge branch 'MDL-57411-master' of git://github.com/jleyva/moodle
2017-04-03 17:59:34 +01:00
AMOS bot
510a16b23f
Automatically generated installer lang files
2017-04-04 00:05:15 +08:00
Stephen Bourget
037273d87e
MDL-12689: convert auth plugins to use settings.php
2017-04-03 10:50:09 -04:00
Eloy Lafuente (stronk7)
8478e5b44c
Merge branch 'MDL-58462-master' of git://github.com/junpataleta/moodle
2017-04-03 16:35:50 +02:00
David Monllao
371e2385a9
Merge branch 'MDL-55459-master' of https://github.com/lucisgit/moodle
2017-04-03 16:27:26 +02:00
Dan Poltawski
ece14dab98
MDL-37765 install: Fix missinf field definition
2017-04-03 13:45:59 +01:00
Dan Poltawski
49c2964b71
MDL-37765 block_login: fix whitespace
2017-04-03 12:55:07 +01:00
Dan Poltawski
3ca68f24f7
Merge branch 'MDL-58220-master' of git://github.com/damyon/moodle
2017-04-03 12:41:56 +01:00
Dan Poltawski
1e3aa70ff0
MDL-37765 version: bump
2017-04-03 09:14:46 +01:00
Dan Poltawski
02eaa42f23
Merge branch 'MDL-37765-MASTER' of https://github.com/jacac/moodle
2017-04-03 09:13:55 +01:00
Andrew Nicols
6fdf167b0f
Merge branch 'MDL-50970-master' of git://github.com/jleyva/moodle
2017-04-03 15:38:53 +08:00
Juan Leyva
8446ba3641
MDL-50970 core_block: New Web Service core_block_get_course_blocks
2017-04-03 09:27:53 +02:00
Jun Pataleta
cefd780fa3
MDL-58462 mod_data: Generate users with different names
...
* Give test users different first and last names.
* Declare class member variables instead of dynamically assigning them.
* Rename member variable $data to $database since it conflicts with the
private member variable PHPUnit_Framework_TestCase::$data.
* Replace setExpectedException usage with expectException().
2017-04-03 13:49:25 +08:00
Damyon Wiese
aa89bf2e6c
MDL-58220 repo: Dont expect file info for any file
...
Some plugins do not implement the file info callback so expect and handle null in this case.
2017-04-03 13:43:27 +08:00
Damyon Wiese
1d43165a5a
MDL-58220 oauth2: Provide template specific help links
...
E.g. separate pages for Microsoft / Google.
2017-04-03 13:43:27 +08:00
Damyon Wiese
14cfd280d3
MDL-58220 oauth2: Sanity check user pictures
2017-04-03 13:43:27 +08:00
Damyon Wiese
7b9f5b9986
MDL-58220 oauth2: Cleanup on user delete
...
Delete the linked logins for this user account when it is deleted.
2017-04-03 13:43:27 +08:00
Damyon Wiese
512e681a3b
MDL-58220 oauth2: Don't login as deleted users
...
Also prevent sesskey error on first page of new logins.
2017-04-03 13:43:27 +08:00
Damyon Wiese
7f15866006
MDL-58220 oauth2: Use email as default username
...
And give better error messages.
2017-04-03 13:43:27 +08:00
Damyon Wiese
e7688f559a
MDL-58220 onedrive: Add import from skydrive
...
If the skydrive repo exists - show a button on the config page for the onedrive repo to "steal" all the files
from the other repo and disable it.
2017-04-03 13:43:27 +08:00
Damyon Wiese
86a5f1efe1
MDL-58220 repository_skydrive: Add deprecation warning
2017-04-03 13:43:27 +08:00
Damyon Wiese
e518ea7949
MDL-58220 repository_onedrive: rename from skydrive
...
Update all references from skydrive to onedrive in the code / lang strings.
2017-04-03 13:43:27 +08:00
Damyon Wiese
9b8a36e882
MDL-58220 repository_skydrive: put back existing
...
Restore the existing skydrive repo from integration / master.
Because we cannot upgrade cleanly - it's better not to touch the existing repo.
2017-04-03 13:43:27 +08:00
Damyon Wiese
0931acf96b
MDL-58220 repository: Move skydrive -> onedrive
2017-04-03 13:43:27 +08:00
Damyon Wiese
33536fb2b7
MDL-58220 repositories: missing/disabled issuer
...
This makes the code checking for a missing / disabled issuer a bit cleaner.
2017-04-03 13:43:26 +08:00
Dan Poltawski
5afb4f0e50
MDL-58220 repository: prevent repo breaking when issuer doesn't exist
2017-04-03 13:43:26 +08:00
Damyon Wiese
9c2baf096b
MDL-58220 unittests: Fix randomly failing unit test
...
The scheduled task unit tests does not handle 'R' fields properly. We don't need it here.
2017-04-03 13:43:26 +08:00
Damyon Wiese
4dc53b15fd
MDL-58220 oauth2: More prominent help link
2017-04-03 13:43:26 +08:00
Damyon Wiese
bc55c88ba0
MDL-58220 tool_oauth2: Lang string fix
2017-04-03 13:43:26 +08:00
Damyon Wiese
3605eb9a9e
MDL-58220 tool_oauth2: Disable short forms
...
All of these forms only have one section so we should disable short forms.
2017-04-03 13:43:26 +08:00
Damyon Wiese
ba3b0145ff
MDL-58220 repository_skydrive: Remove references to google
2017-04-03 13:43:26 +08:00
Damyon Wiese
eb47ad4a6e
MDL-58220 repository: More docs / comments
...
More docs / comments for the reference_file_selected function used by controlled links.
2017-04-03 13:43:26 +08:00
Damyon Wiese
9165e83831
MDL-58220 unittests: Fix errors found in unittests
2017-04-03 13:43:26 +08:00
Damyon Wiese
6f8a03f196
MDL-58220 skydrive: Upgrade from old settings
...
Upgrade the oauth2 settings to an oauth2 issuer.
2017-04-03 13:43:26 +08:00
Damyon Wiese
0b9bb5bdc4
MDL-58220 oauth2: Alphabetise lang strings.
2017-04-03 13:43:26 +08:00
Damyon Wiese
1a911be57b
MDL-58220 oauth2: Fix docs in test file
...
(and remove unused global $SESSION).
2017-04-03 13:43:26 +08:00
Damyon Wiese
e25362a7db
MDL-58220 auth: $OUTPUT -> $output
...
Don't use global $OUTPUT when there is a more specific renderer.
2017-04-03 13:43:26 +08:00
Damyon Wiese
d9fbe3146c
MDL-58220 oauth2: Use the same list of user fields
...
Authentication has a hard coded list of valid internal user fields - but they are in a class variable. We need them
in oauth user_field_mapping so we need to move them to a central place and call them from oauth2 and auth.
2017-04-03 13:43:26 +08:00
Damyon Wiese
68ecf7635b
MDL-58220 oauth2: tighten the param types
...
These come from external sources - but still should not contain crazy stuff.
2017-04-03 13:43:26 +08:00
Damyon Wiese
440df5fb7f
MDL-58220 oauth2: quote image attributes
2017-04-03 13:43:26 +08:00
Damyon Wiese
c45d4b6a73
MDL-58220 oauth2: Change $OUTPUT to $this
2017-04-03 13:43:26 +08:00
Damyon Wiese
7949b3b2ac
MDL-58220 oauth2: Remove is_system_account_setup_supported
...
This was left from an earlier branch but no longer useful.
2017-04-03 13:43:26 +08:00
Damyon Wiese
5b0b35c096
MDL-58220 oauth2: Add is_configured to issuer
...
Saves repeated checks for clientid and clientsecret.
2017-04-03 13:43:25 +08:00
Damyon Wiese
5aa0f0ae48
MDl-58220 auth_oauth2: Skip upgrade for new plugin
2017-04-03 13:43:25 +08:00
Damyon Wiese
8d90d29460
MDL-58220 oauth2: Use iputils to check domain
...
Allows wild cards and more strict checking against spec.
2017-04-03 13:43:25 +08:00
Damyon Wiese
4ab80291e7
MDL-58220 tool_oauth2: forms cleanup
...
Remove extra field length attributes and fix type of action fields.
2017-04-03 13:43:25 +08:00
Damyon Wiese
ae596d4a54
MDL-58220 auth_oauth2: Remove allow linked logins
...
This was already removed - I just missed some spots.
2017-04-03 13:43:25 +08:00
Damyon Wiese
5b926a6a09
MDL-58220 oauth2: Move help icons to table header
...
In the Site Administration -> Server -> OAuth 2 Services page.
2017-04-03 13:43:25 +08:00
Damyon Wiese
818e789a00
MDL-58220 oauth2: Remove extra step
...
Show create google/facebook/office365 buttons on the main page instead
of hiding them behind a click.
2017-04-03 13:43:25 +08:00
Damyon Wiese
4a32445dc9
MDL-58220 oauth2: use PARAM_RAW_TRIMMED
...
Client ID and secret and copy/pasted from elsewhere so trim them.
2017-04-03 13:43:25 +08:00
Damyon Wiese
bfc60d386d
MDL-58220 auth_oauth: return false for non-oauth
...
Always return false for non-oauth logins.
2017-04-03 13:43:25 +08:00
Damyon Wiese
f59d81f487
MDL-58220 block_login: Update icon rendering of idp list
2017-04-03 13:43:25 +08:00
Damyon Wiese
13b449f4a5
MDL-58220 oauth2: cibot cleanups
2017-04-03 13:43:25 +08:00
Damyon Wiese
99e3c347f9
MDL-58220 oauth2: Minor cleanups
...
Fixes spotted by Jun in peer review.
2017-04-03 13:43:25 +08:00
Damyon Wiese
28b592d5a6
MDL-58338 oauth2: Force email confirmation
...
New accounts and linking a login to an existing account MUST go through email verification.
We cannot trust the emails we get from oauth providers have been confirmed.
Part of MDL-58220
2017-04-03 13:43:25 +08:00
Damyon Wiese
d5bb9f1ffc
MDL-58334 repositories: Offline downloads
...
Support an optional param for offline downloads for repositories supporting external links (googledrive and skydrive).
Part of MDL-58220
2017-04-03 13:43:25 +08:00
Damyon Wiese
fa78244d17
MDL-58220 oauth2: Fix unit tests and add more
2017-04-03 13:43:25 +08:00
Damyon Wiese
092304a3de
MDL-58220 oauth2: Cibot fixes
...
Missing phpdocs.
2017-04-03 13:43:25 +08:00
Damyon Wiese
738c4a2a73
MDL-58220 oauth2: More help buttons
...
Add help for system account connections and discovery.
2017-04-03 13:43:25 +08:00
Damyon Wiese
c21a66e40a
MDL-58220 auth_oauth2: Restrict logins to a set of domains
...
This is set on the issuer, so you can have different lists for each oauth2 provider.
2017-04-03 13:43:25 +08:00
Damyon Wiese
979d1f66dd
MDL-58220 auth_oauth2: Fix new account creation
...
This was not allowing new accounts to be registered.
2017-04-03 13:41:19 +08:00
Damyon Wiese
eca128bf47
MDL-58220 oauth2: Global enable/disable for issuers.
2017-04-03 13:41:19 +08:00
Damyon Wiese
6e0d700de8
MDL-58220 assign: Only show write access to teachers
...
In filebrowser api - this is also used by repositories using controlled links.
2017-04-03 13:41:19 +08:00
Damyon Wiese
ffda3e395c
MDL-58127 skydrive: Upgrades to new oauth2
...
Support for controlled links workflow.
Part of MDL-58220
2017-04-03 13:41:19 +08:00
Damyon Wiese
af28b22892
MDL-58219 googledocs: Use google file extensions
...
Only rename on export for download.
Part of MDL-58220
2017-04-03 13:41:19 +08:00
Damyon Wiese
72643dc688
MDL-58219 googledocs: Update to new model for controlledlinks
...
Part of MDL-58220
2017-04-03 13:41:19 +08:00
Damyon Wiese
141ee541ca
MDL-58219 repository: Change how controlled links work
...
Files are copied to the system user as soon as they are uploaded. Write access is then controlled when
serving links to the file.
Part of MDL-58220
2017-04-03 13:41:19 +08:00
Damyon Wiese
72fd103add
MDL-58219 cibot: Fixes
...
Fixes for cibot warnings.
Part of MDL-58220
2017-04-03 13:41:19 +08:00
Damyon Wiese
dece386586
MDL-58219 oauth2: Fix unit tests because we changed the model
...
We added 2 fields to the model and we needed to update the tests.
I also removed some error_log from the rest client (very useful while developing)
Part of MDL-58220
2017-04-03 13:41:18 +08:00
Damyon Wiese
ec504d94f6
MDL-58219 googledocs: Fix upgrade script nesting
...
Part of MDL-58220
2017-04-03 13:41:18 +08:00
Damyon Wiese
3739559644
MDL-58219 workshop: Fix unit tests
...
The bug is caused by the new code to freeze the files in the fileareas when switching phases.
Part of MDL-58220
2017-04-03 13:41:18 +08:00
Damyon Wiese
39f60f6c00
MDL-58219 googledocs: Use a cache
...
Speed up folder operations with a simple cache.
Part of MDL-58220
2017-04-03 13:41:18 +08:00
Damyon Wiese
6da1c55ba8
MDL-58219 googledocs: Keep original name on copy
...
Also - only add writers to files that have been "claimed" (prevent_changes_to_external_files)
Part of MDL-58220
2017-04-03 13:41:18 +08:00
Damyon Wiese
2fad141006
MDL-58219 oauth2: Fix token upgrade problem with incremental auth
...
Part of MDL-58220
2017-04-03 13:41:18 +08:00
Damyon Wiese
28dddbc129
MDL-58219 oauth2: Show connected system account info
...
Show the username and email of the connected system account (if it ever requires refreshing - this will help identity the account
to re-authorise).
Part of MDL-58220
2017-04-03 13:41:18 +08:00
Damyon Wiese
1a1a09d8f8
MDL-58142 calendar: Add an obvious link to the help docs
...
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
5823a27e7e
MDL-58131 googledocs: Add manage url -> drive
...
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
5ffaf17dad
MDL-58168 oauth2: Check for new access code before checking scopes
...
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
1dca8d1a1d
MDL-58168 auth_oauth2: Allow linking other accounts
...
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
151b0f9409
MDL-58132 repositories: Controlled link file type
...
This introduces a new "controlled link" file type where the file is not
stored in Moodle - but Moodle will control the access permissions on the file.
Plugins can "freeze" a filearea which means Moodle will take ownership of all the remote
files of this type.
When accessing a file, if the "filebrowser" infomation indicates the current user can write to the file, they
will be granted temporary write access.
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
8ece1d70d8
MDL-58128 googledocs: Don't copy files
...
When linking - add the moodle account to the file and
organise it on the moodle side. Also allow read access with link,
but don't make any other changes to the perm/ownership.
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
989e14fea0
MDL-58128 googledocs: Support reference files.
...
Add options so the admin can control the types of files this repository can support (and the default).
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
6c9cd495a2
MDL-58128 googledocs: Upgrade repo config
...
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
d247a63dfa
MDL-58128 oauth2: Add a scheduled task for refresh
...
We need to make sure our refresh tokens do not expire. We run a scheduled
task to update the refresh token once per hour.
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
0e59638bdb
MDL-58126 googledocs: Re-implement the google docs repo
...
Use latest REST API (v3) - but avoid the google client libraries
(too big, too much to update, not integrated with auth).
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
299112498b
MDL-58090 oauth2: Coding style
...
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
870a4a824e
MDL-58090 oauth2: Improve help
...
Provide a link to the help for setting up an OAuth 2 service.
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
722a6d0881
MDL-58090 oauth2: Remove wrong tests from branch
...
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
931c023468
MDL-58090 oauth2: Add unit tests
...
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
f9f243f93e
MDL-58090 oauth2: Complete phpdocs
...
Part of MDL-58220
2017-04-03 13:40:13 +08:00
Damyon Wiese
2b09b2daa3
MDL-58090 oauth2: Load and resave the DB files
...
Edit the DB files with XMLDB to detect/fix errors.
Part of MDL-58220
2017-04-03 13:40:12 +08:00
Damyon Wiese
dc4b56852a
MDL-58090 oauth2: Do not install services by default
...
Instead provide buttons to quickly create pre-configured
versions of any of the known OAuth 2 services.
Part of MDL-58220
2017-04-03 13:40:12 +08:00
Damyon Wiese
237fd80cd2
MDL-58090 oauth2: API to get a system client
...
Request an oauth client with an access token retrieved with the stored refresh token from the OAuth issuer.
Part of MDL-58220
2017-04-03 13:39:45 +08:00
Damyon Wiese
ddf65b8c05
MDL-58090 oauth2: Facebook
...
Add defaults for facebook authentication and drop behaviour field completely.
Part of MDL-58220
2017-04-03 13:39:45 +08:00
Damyon Wiese
485a22fc98
MDL-58090 oauth2: Get rid of behaviour field
...
OAuth services working fully from config - no more subclasses for each OAuth issuer.
Part of MDL-58220
2017-04-03 13:39:44 +08:00
Damyon Wiese
8445556b4c
MDL-58090 oauth2: Move code from subclasses to config
...
Allow the behaviour of each oauth service to be customised by config instead of
subclasses.
Part of MDL-58220
2017-04-03 13:39:44 +08:00
Damyon Wiese
60237253a2
MDL-58090 oauth2: Store a list of oauth2 services
...
Build an admin page where OAuth 2 services can be installed and configured.
Part of MDL-58220
2017-04-03 13:39:02 +08:00
Daniel Thee Roperto
a0e2748aac
MDL-58394 filters: Fixed order not being respected.
2017-04-03 14:47:44 +10:00
Ankit Agarwal
75c597daed
MDL-58465 unittests: Fix invalid use of exception
2017-04-03 09:24:34 +05:30
Cameron Ball
6d82ef49ea
MDL-58087 core_calendar: Event mapper learned to map to stdClass and array
...
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Mark Nelson
4477520e5a
MDL-58371 core_completion: ensure calendar constant is defined
...
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Mark Nelson
9bd158a3c7
MDL-57878 core: fixed failing unit test
...
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Mark Nelson
6c83e65928
MDL-57878 mod_*: added unit tests for event decoration
...
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Mark Nelson
b3bd7a66a0
MDL-57878 mod_*: added inclusion of completion event and callbacks
...
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Mark Nelson
88d14007b3
MDL-57878 core_calendar: additional unit test for bailout callback
...
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Mark Nelson
74588eecc4
MDL-57878 core_calendar: extended bailout callback
...
Do not display completion related events if completion is disabled.
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Mark Nelson
7925aab94f
MDL-57878 core_completion: added unit tests for new API
...
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Mark Nelson
45d00aab43
MDL-57878 core_completion: added expected completion date function
...
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Andrew Nicols
3b2be06b3b
MDL-58337 mod_chat: Adjust display of chats in past/future
...
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Andrew Nicols
d846cb244d
MDL-58337 mod_assign: Do not show submitted assignments in dashboard
...
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Simey Lameze
1d23b50c56
MDL-58300 block_myoverview: conditionally disable paging bar
...
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Andrew Nicols
3957222d44
MDL-58363 mod_workshop: Remove calendar is_visible
...
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Andrew Nicols
b375ec262d
MDL-58363 mod_feedback: Remove calendar is_visible
...
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Andrew Nicols
89cfa1e6b2
MDL-58363 mod_data: Remove calendar is_visible
...
Part of MDL-55611 epic.
2017-04-03 11:37:09 +08:00
Andrew Nicols
dd2e7e6323
MDL-58363 mod_choice: Remove calendar is_visible
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Andrew Nicols
73be2a8821
MDL-58363 mod_chat: Remove calendar is_visible
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Mark Nelson
0c9dc98b44
MDL-58340 core_calendar: bailout callback now uses '$cm->uservisible'
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Jun Pataleta
3fcf13fd75
MDL-58341 blocks_myoverview: Fix course sorting logic in courses view
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Ryan Wyllie
cbd3c4fee5
MDL-58251 block_myoverview: empty list image placeholders
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Ryan Wyllie
6ef2ceb715
MDL-58251 block_myoverview: style courses view on clean theme
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Andrew Nicols
fece943797
MDL-58339 block_myoverview: Hide end date if not set
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Andrew Nicols
5e52a8a9fc
MDL-58301 block_myoverview: Show overdue items in Timeline
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Damyon Wiese
7737c79792
MDL-58102 completion: Don't expand completion
...
The form looks wierd with one expanded section.
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Jun Pataleta
12a0c74a29
MDL-58102 mod: Behat fixes
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Jun Pataleta
2c1a1b15b1
MDL-58102 completion: Behat fix
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Jun Pataleta
e44d71a6ee
MDL-58102 mod: Set sensible defaults for additional completion fields
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Jun Pataleta
a0a6762ec3
MDL-58102 course: Set sensible defaults for completion form fields
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Jun Pataleta
f8ffd1f249
MDL-58102 admin: Set 'moodlecourse/enablecompletion' default to Yes
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Ryan Wyllie
5a0974c748
MDL-58218 calendar: correct offset using last seen event
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Ryan Wyllie
0a2b761c1a
MDL-58299 block_myoverview: fix styling of progress chart
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Simey Lameze
07d1abe346
MDL-58265 mod_feedback: change custom step to link behat to course
...
Part of MDL-55611 epic.
2017-04-03 11:37:08 +08:00
Simey Lameze
f7c476bac5
MDL-58265 mod_lesson: remove steps using course overview block
...
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
09fe4eba87
MDL-58265 mod_assign: remove references to collapsibleregioncaption
...
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
fdeeaff954
MDL-58265 core_test: replace I turn editing on steps
...
Also remove few more unnecessary steps that redirects behat to
site home page to actually get to the course.
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
3353cfd8c1
MDL-58265 core_test: add I am on course homepage in edit mode step
...
This commit also:
- Rename i_am_on_course_page to i_am_on_course_homepage.
- Pass false to out_as_local_url()
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
93be3f730c
MDL-58265 core_test: remove unnecessary steps
...
This commmit removes steps that take behat to site home page
to actually get to a course page.
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
c987d1b2ef
MDL-58265 core_test: replace all uses of I follow course steps
...
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
95f11fde64
MDL-58265 core_test: add I am on course page behat step
...
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Jun Pataleta
99f38abb40
MDL-58298 block_myoverview: Show item count only when applicable
...
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Cameron Ball
8a8bd42528
MDL-57986 mod_lesson: Add action events
...
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Damyon Wiese
9a67798a5e
MDL-57585 myoverview: Remove tabs from template
...
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Barbara Ramiro
cc6f8645f8
MDL-57585 block_myoverview: remove unnecessary row classes
...
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Barbara Ramiro
db95fab094
MDL-57585 block_myoverview: grid adjustments and responsive layout
...
This is for the course info on the 'Courses' view.
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Barbara Ramiro
e083be6ace
MDL-57585 block_myoverview: resize event list heading
...
This is for the 'Timeline' view.
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Barbara Ramiro
a88da91bba
MDL-57585 block_myoverview: grid adjustments to add more space
...
This is for the 'Sort by courses' view.
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Barbara Ramiro
ff582ae512
MDL-57585 block_myoverview: responsive layout for course summary
...
This is for the 'Sort by courses' view.
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Barbara Ramiro
90b030461f
MDL-57585 block_myoverview: widen columns on sort by dates
...
Show more text when the drawer is open.
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Ryan Wyllie
ccd1716c48
MDL-57585 block_myoverview: add styling for timeline view in clean
...
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Ryan Wyllie
0eb8556245
MDL-57585 block_myoverview: add styling for timeline view in boost
...
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Ryan Wyllie
4cc0d2d91f
MDL-57585 dashboard: remove side block region
...
Made the central block region the default region and removed the side
block region on the dashboard to allow the middle block region more
space.
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Cameron Ball
e798fa76f5
MDL-58110 core_calendar: Add proxy for modules
...
Modules associated with an event are stored in the event table
as the module's name and instance number not the actual ID of the instance
in the modules table.
So to lazy load them we need a proxy that uses the module name and instance
rather than the ID.
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Simey Lameze
55b36b18c6
MDL-58145 block_myoverview: format timestamps using userdate helper
...
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Jun Pataleta
fb36d8dd2c
MDL-58048 mod: New callback implementation
...
* Callback function implementation of
<modname>_core_calendar_event_action_shows_item_count for:
- mod_assign
- mod_forum
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Jun Pataleta
fe75ef33ee
MDL-58048 blocks_myoverview: Show item count when applicable
...
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Jun Pataleta
6b7b39fe3a
MDL-58048 calendar: Show itemcount conditionally
...
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Simey Lameze
1dd4375f2f
MDL-58146 block_myoverview: format summary using shortentext helper
...
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Mark Nelson
a7f9abc8be
MDL-58209 block_myoverview: sort by course full name
...
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Mark Nelson
56885618d9
MDL-58236 core_calendar: do not display events with 0 item counts
...
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Mark Nelson
00995f0339
MDL-58239 core_output: fixed user date helper doc example
...
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Jun Pataleta
c7d75292f0
MDL-58240 mod_assign: Only use due for assign override event types
...
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Simey Lameze
2eaa43dd42
MDL-57987 mod_workshop: add action event
...
Part of MDL-55611 epic.
2017-04-03 11:37:06 +08:00
Mark Nelson
15c7d75fc0
MDL-58210 core: course summary exporter provides full name to display
...
Part of MDL-55611 epic.
2017-04-03 11:37:05 +08:00
Mark Nelson
240e52365c
MDL-58222 core: minor correction to the course summary exporter
...
Part of MDL-55611 epic.
2017-04-03 11:37:05 +08:00
Mark Nelson
3a41f730ac
MDL-57998 mod_scorm: added action events
...
Part of MDL-55611 epic.
2017-04-03 11:37:05 +08:00
Cameron Ball
7aedfe32f4
MDL-58187 core_calendar: Skip callbacks when events module is invisible
...
Previously every event would get piped through the two callbacks
even when the associated course module was invisible. This patch
adds an early bail out check to avoid that.
Part of MDL-55611 epic.
2017-04-03 11:37:05 +08:00
Mark Nelson
8aa761b021
MDL-58211 core_calendar: fixed incompatibility with PHP 5.x
...
Part of MDL-55611 epic.
2017-04-03 11:37:05 +08:00
Ryan Wyllie
42016853d1
MDL-57503 block_myoverview: use get actions events by course
...
Updated the myoverview block javascript to use the new external
functions that retrieve events by course.
Part of MDL-55611 epic.
2017-04-03 11:37:05 +08:00
Ryan Wyllie
89e9edf4a4
MDL-57503 block_myoverview: version bump
...
Part of MDL-55611 epic.
2017-04-03 11:37:05 +08:00
Ryan Wyllie
1aeb58faad
MDL-57503 calendat: test external function get action events by courses
...
Part of MDL-55611 epic.
2017-04-03 11:36:34 +08:00
Ryan Wyllie
9b8e505715
MDL-57503 calendar: external function for action events by courses
...
Added an external function to get action events by a list of courses and
timesort.
Part of MDL-55611 epic.
2017-04-03 11:36:34 +08:00
Ryan Wyllie
5e026bb05f
MDL-57503 calendar: test external function get action events by course
...
Part of MDL-55611 epic.
2017-04-03 11:36:34 +08:00
Ryan Wyllie
60774b28c3
MDL-57503 calendar: external function get action events by course
...
Added an external function to get action events by course and timesort.
Part of MDL-55611 epic.
2017-04-03 11:36:34 +08:00
Ryan Wyllie
42ac7ac629
MDL-57503 calendar: test for api function for action events by courses
...
Part of MDL-55611 epic.
2017-04-03 11:36:34 +08:00
Ryan Wyllie
8a082024e7
MDL-57503 calendar: add api function for action events by courses
...
Add get_action_events_by_courses to calendar api.
Part of MDL-55611 epic.
2017-04-03 11:36:34 +08:00
Ryan Wyllie
39e7bbaec4
MDL-57503 calendar: test for api function for action events by course
...
Part of MDL-55611 epic.
2017-04-03 11:36:34 +08:00
Ryan Wyllie
e62cd85fc5
MDL-57503 calendar: add api function for action events by course
...
Add get_action_events_by_course to calendar api.
Part of MDL-55611 epic.
2017-04-03 11:36:34 +08:00
Ryan Wyllie
1ef06b4335
MDL-57503 enrol: allow course ids for enrol_get_my_courses
...
Allow enrol_get_my_courses to be filtered by a set of known course ids
that the user may or may not be enrolled on.
The result will be a subset of the given course ids that the user is
enrolled in.
Part of MDL-55611 epic.
2017-04-03 11:36:34 +08:00
Mark Nelson
7c6f961bf9
MDL-57877 mod_data: added action events
...
Part of MDL-55611 epic.
2017-04-03 11:36:34 +08:00
Ryan Wyllie
d4718e5ab9
MDL-58099 block_myoverview: display message when no events
...
Part of MDL-55611 epic.
2017-04-03 11:36:34 +08:00
Simey Lameze
90e8330f1a
MDL-57879 mod_feedback: add action events
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Ryan Wyllie
6890a914a9
MDL-57501 block_myoverview: show course progress doughnut chart
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Ryan Wyllie
3f0c421b22
MDL-57501 block_myoverview: add completion progress to renderables
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Ryan Wyllie
cab053f702
MDL-57501 block_myoverview: add progress-chart template
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Mark Nelson
213dcf5191
MDL-57732 mod_choice: added action events
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Cameron Ball
1d364a89e9
MDL-58060 core_calendar: Use static course cache in event factory
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Mark Nelson
ed0f8d3ca3
MDL-58101 block_myoverview: don't display link if inactionable
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Simey Lameze
cf3e261607
MDL-58098 block_myoverview: various fixes
...
- remove unnecessary amd modules
- fix wrong template names
- fix undefined variable JS error
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Simey Lameze
890c95c975
MDL-58098 block_myoverview: conditionally display the paging bar
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Simey Lameze
788a79eb88
MDL-58098 block_myoverview: load courses view data on server side
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Simey Lameze
eb481a3e52
MDL-58098 block_myoverview: change renderables to load courses once
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Mark Nelson
bea71d5732
MDL-57731 mod_chat: added action events
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Mark Nelson
c91b4c0278
MDL-57730 core_calendar: fixed failing unit tests
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Mark Nelson
294dce6764
MDL-57730 mod_assign: added action events
...
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Mark Nelson
bb19f80414
MDL-57730 core_calendar: handle '0' as a courseid
...
User overrides set the course id as 0 in the events table
(Moodle can be stupid). We need to deal with this.
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Mark Nelson
5e6e3babf4
MDL-57730 core_calendar: fixed incompatibility with PHP 5.x
...
Also removed unused function and fixed PHPDocs.
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Cameron Ball
aa457b7dee
MDL-57730 core_calendar: Action interface aware of actionability
...
We need a way to decide whether an action can currently be completed
(e.g., an assignment where submissions are not yet open can not
be actioned, even though it may be displayed on the upcomming events
list).
To do this, the action interface now contains an is_actionable method.
Part of MDL-55611 epic.
2017-04-03 11:36:33 +08:00
Cameron Ball
42ec9f0d63
MDL-57730 core_calendar: Map action events to legacy events
...
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Cameron Ball
2a5cce61ba
MDL-57730 core_calendar: Allow modules to control event visibility
...
By implementing the mod_{modname}_core_calendar_is_event_visible callback
a module can decide whether or not a user should see an event.
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Simey Lameze
5df117d438
MDL-57447 block_myoverview: build paging bar data structure
...
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Simey Lameze
ce37c375f6
MDL-57447 block_myoverview: add missing docs on amd modules
...
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Simey Lameze
58929f0e78
MDL-57447 block_myoverview: paging bar module needs page number
...
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Simey Lameze
afe1a3c3b6
MDL-57447 block_myoverview: bug fixes and code clean up
...
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Ryan Wyllie
6391b320e6
MDL-57447 block_myoverview: make paging bar buttons work
...
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Ryan Wyllie
9ac2e865a4
MDL-57447 block_myoverview: add context for courses view
...
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Ryan Wyllie
0b320903b6
MDL-57447 block_myoverview: created courses-view-by-status template
...
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Ryan Wyllie
e8f4d95408
MDL-57447 block_myoverview: create paging bar and content modules
...
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Simey Lameze
208ee9b09c
MDL-57447 block_myoverview: courses view amd modules
...
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Simey Lameze
0fc7dbce37
MDL-57447 block_myoverview: add templates for courses view
...
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Simey Lameze
6922c9a183
MDL-57447 block_myoverview: escape html content on course summary
...
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Ryan Wyllie
bf313ce202
MDL-57502 core: version bump for action event webservice
...
Part of MDL-55611 epic.
2017-04-03 11:36:32 +08:00
Ryan Wyllie
6fbecb9219
MDL-57502 block_myoverview: use get calendar action events web service
...
Part of MDL-55611 epic.
2017-04-03 11:36:08 +08:00
Ryan Wyllie
4139f1311f
MDL-57502 core_calendar: get calendar action events tests
...
Part of MDL-55611 epic.
2017-04-03 11:36:08 +08:00
Mark Nelson
c0f877fa62
MDL-57502 core_calendar: add get calendar action events web service
...
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Ryan Wyllie
984355ce57
MDL-57502 core_calendar: add calendar event exporters
...
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Ryan Wyllie
392d6a49f8
MDL-57502 calendar: add local api class for internal use
...
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Ryan Wyllie
1575194a5c
MDL-57750 calendar: tests for api get_action_events_by_timesort
...
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Ryan Wyllie
ca21b08de8
MDL-57750 calendar: add api function to get action events by timesort
...
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Ryan Wyllie
18a96325a7
MDL-57750 calendar: calendar event vault tests
...
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Ryan Wyllie
84d865d69b
MDL-57750 calendar: add event vault
...
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Mark Nelson
5b3c691fd5
MDL-57443 core_completion: added API to retrieve completion progress
...
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Cameron Ball
5ca71c2dc3
MDL-57442 core_calendar: Allow course modules to create actions for events
...
Course modules can now implement the function mod_{module}_core_calendar_provide_event_action
which allows them to return an action to attach to an event.
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Cameron Ball
bee158fa4b
MDL-57442 block_myoverview: Complete renderer params list
...
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Cameron Ball
0efe462b12
MDL-57442 core_calendar: Fix incorrect copyright notice
...
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Cameron Ball
c5478a5b6c
MDL-57442 core_calendar: Update proxies to accept a 'base' class
...
The base class can contain information we would prefer not to
have to hit the database for.
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Cameron Ball
33be1706e1
MDL-57442 core_calendar: Add missing return to event factory interface docs
...
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Cameron Ball
4c19dc323a
MDL-57442 core_calendar: Add missing method to times interface
...
Also adds a missing member to event_times implementation.
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Mark Nelson
3e1c027532
MDL-57938 mod_assign: added new 'gradingduedate' setting
...
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Damyon Wiese
410f2fb30d
MDL-57446 myoverview: version bump for new classes.
...
Part of MDL-55611 epic.
2017-04-03 11:36:07 +08:00
Simey Lameze
dd61723edb
MDL-57446 core_course: add required fields to exporter
...
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Simey Lameze
084cabeb9f
MDL-57446 block_myoverview: add course summary renderable
...
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Simey Lameze
be99bd617c
MDL-57446 block_myoverview: add timeline sort by courses templates
...
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Simey Lameze
bcd6ae736b
MDL-57446 block_myoverview: add event list by course module
...
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Simey Lameze
cfc57eec1b
MDL-57446 block_myoverview: make event list module filter by course
...
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Simey Lameze
4f580aa7a9
MDL-57446 block_myoverview: add methods to query data by course
...
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Mark Nelson
12cbce0aa3
MDL-57888 core_calendar: moved functions from calendar/lib.php
...
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Cameron Ball
e46efe3a72
MDL-57599 core_calendar: Add action event class
...
This patch adds a "regular" calendar event class, and a simple extension
of it which we are calling an action event.
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Simey Lameze
f7ce6eab7e
MDL-57545 core_calendar: add missing record snapshots
...
This commit adds missing add_record_snapshot() calls everywhere calendar_event_updated is triggered.
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Simey Lameze
a22fa7cb68
MDL-57545 core_calendar: remove visibility fields from calendar events
...
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Mark Nelson
c45266d115
MDL-57545 core_calendar: trigger update event when toggling visibility
...
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Cameron Ball
10a8ea172b
MDL-57445 block_myoverview: refactor event_list render
...
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Ryan Wyllie
ed9c238cae
MDL-57445 block_myoverview: remove timeline_view_dates.js
...
Removed the JS for the timeline_view_dates template as it is no longer
required.
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Ryan Wyllie
1d0cbd7746
MDL-57445 block_myoverview: timeline view sort-by-date event list
...
The list of calendar events on the sort-by-date view of the timeline is
now treated as a single long list of calendar events where the groupings
(today, next 7 days etc) are purely for display purposes.
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Ryan Wyllie
42f80a9acf
MDL-57445 block_myoverview: templates for theme clean
...
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Ryan Wyllie
b858d66699
MDL-57445 block_myoverview: add aria-describedby to event list
...
Part of MDL-55611 epic.
2017-04-03 11:35:38 +08:00
Ryan Wyllie
5081983215
MDL-57445 block_myoverview: add example contexts to tempaltes
...
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Ryan Wyllie
6103ce8b82
MDL-57445 block_myoverview: change event list loading icon
...
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Ryan Wyllie
0fa82f8463
MDL-57445 block_myoverview: javascript docs
...
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Ryan Wyllie
e03d5d4790
MDL-57445 core: allow context variables in pix helper
...
Allow the user of context variables in the id and component section of
the pix helper.
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Cameron Ball
992c63043a
MDL-57445 block_myoverview: Add courses view to myoverview block
...
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Cameron Ball
6a12232581
MDL-57445 block_myoverview: Add course view to timeline
...
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Cameron Ball
38c795b2ce
MDL-57445 block_myoverview: Add timeline sort by dates
...
This patch adds a basic timeline view for the events sorted by date.
The events data is stubbed in the calendar events repository.
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Ryan Wyllie
41b571a1ea
MDL-57445 block_myoverview: Add renderer
...
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Cameron Ball
1c68e83b1f
MDL-57445 block_myoverview: Add timeline by date templates
...
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Mark Nelson
ca622fd9fa
MDL-57435 core: added additional columns to 'event' table
...
Part of MDL-55611 epic.
2017-04-03 11:35:37 +08:00
Mark Nelson
5019e69588
MDL-57578 core_calendar: removed the function calendar_event_hook()
...
Part of MDL-55611 epic.
2017-04-03 11:33:55 +08:00
Mark Nelson
e057f279e4
MDL-57497 core_calendar: added new calendar event class
...
Moved calendar_event class to new location using replaceclasses.php
Part of MDL-55611 epic.
2017-04-03 11:33:55 +08:00
Mark Nelson
e9dfeec94e
MDL-57434 core: deprecated xxx_print_overview() and related functions
...
Part of MDL-55611 epic.
2017-04-03 11:33:55 +08:00
Mark Nelson
4c5cde3134
MDL-57433 block_course_overview: removed block from core
...
Part of MDL-55611 epic.
2017-04-03 11:33:55 +08:00
Mark Nelson
932f299bc0
MDL-57437 core: upgrade code for introduction of block_myoverview
...
Part of MDL-55611 epic.
2017-04-03 11:32:57 +08:00
Mark Nelson
1c69e1994d
MDL-57436 core: added 'myoverview' block to list of standard plugins
...
Part of MDL-55611 epic.
2017-04-03 11:31:32 +08:00
Mark Nelson
3a37efa87f
MDL-57436 block_myoverview: added infrastructure for new block
...
Part of MDL-55611 epic.
2017-04-03 11:31:32 +08:00
Juan Leyva
0a34838725
MDL-57411 course: Return modules updates for teachers
2017-04-01 19:39:02 +02:00
Skylar Kelty
09fc9a69ab
MDL-58456 chat: Add missing new in throw
2017-03-31 16:12:48 +01:00
Marcus Green
f9729dcfe0
MDL-23919 mod_data: add requiredentries to completion settings
...
Added required entries text field to the completion criteria area.
This field accepts a number.
If the legacy Entries required field has a value greater than 0 it will
be displayed and editable. For new instances this field will not be displayed.
2017-03-31 15:20:44 +01:00
Dan Poltawski
bf919ddf02
weekly release 3.3dev
2017-03-31 09:16:27 +01:00
Dan Poltawski
0e4530f0fd
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-03-31 09:16:24 +01:00
Dan Poltawski
acfab4cc7b
Merge branch 'MDL-58450_master' of git://github.com/dmonllao/moodle
2017-03-31 09:12:16 +01:00
Juan Leyva
a7d9c5373e
MDL-57411 groups: New helper functions
...
- groups_get_groups_members
- groups_get_activity_shared_group_members
2017-03-31 09:04:58 +02:00
Andrew Nicols
cd924456a2
MDL-58055 theme_bootstrap: Change padding around unread link
2017-03-31 14:18:19 +08:00
Ankit Agarwal
92a951c5cd
MDL-58398 core_files: Fix phpdoc and other minor issues
2017-03-31 08:40:30 +05:30
David Monllao
1535cd5bad
MDL-58450 mod_forum: Force groups to be returned as they are created
...
Long history resumed: The test relies on the first group
being the first that is created, the first group is
actually the first one ordering by name. If is
group-999 and is group-1000 is returned
as the first group.
2017-03-31 01:44:21 +02:00
Juan Leyva
2256bb74af
MDL-58444 mod_forum: Return number of unread posts in WS
2017-03-30 11:55:38 +02:00
Nadav Kavalerchik
29f504dede
MDL-51998 Forum: Move subscription update button into page (from navbar)
2017-03-30 12:06:39 +03:00
Juan Leyva
c3e745b7b8
MDL-58443 tool_mobile: List data, feedback, lesson as supported by app
2017-03-30 10:30:57 +02:00
Pavel Sokolov
8406ac6e9b
MDL-58104 mod_assign: Show attempt settings for the latest attempt
2017-03-30 11:08:11 +03:00
Juan Leyva
b0f3e6d618
MDL-57924 mod_data: Fix get_entry call
...
It was using the pre-integration version where a group was mandatory
2017-03-30 09:29:08 +02:00
Juan Leyva
8cc04bcc67
MDL-57920 mod_data: Fix var dynamic creation (failing in php7)
2017-03-30 09:26:27 +02:00
Andrew Nicols
9a8753de73
MDL-55499 mod_forum: Use context when formatting e-mail text
2017-03-30 11:37:46 +08:00
Juan Leyva
57ab070e01
MDL-57925 mod_data: Implement check_updates_since callback
2017-03-30 03:41:55 +02:00
Juan Leyva
01b7ec36d1
MDL-57925 mod_data: Support new search criteria
2017-03-30 03:19:45 +02:00
Juan Leyva
4ca2890d8e
MDL-57924 mod_data: New WS mod_data_update_entry
2017-03-30 02:36:32 +02:00
Juan Leyva
df0c549f88
MDL-57924 mod_data: Move update record code to new function
2017-03-30 02:35:59 +02:00
Juan Leyva
61c640c13a
MDL-57923 mod_data: New WS mod_data_add_entry
2017-03-30 02:28:54 +02:00
Marina Glancy
1091687ac2
MDL-57769 backup: support removed 'numsections' in backup/restore
2017-03-30 08:26:17 +08:00
Marina Glancy
98d9af3cdb
MDL-57769 format_weeks: remove numsections option
2017-03-30 08:26:17 +08:00
Marina Glancy
af0698c007
MDL-57769 format_topics: remove numsections option
2017-03-30 08:26:17 +08:00
Marina Glancy
89b909f6de
MDL-57769 course: prepare to remove numsections option
2017-03-30 08:26:12 +08:00
Juan Leyva
b376f55e59
MDL-57923 mod_data: Move entry creation code to function
2017-03-30 02:26:11 +02:00
Juan Leyva
67bb168e1f
MDL-57922 mod_data: New Web Service mod_data_delete_entry
2017-03-30 02:15:46 +02:00
Juan Leyva
229158fe74
MDL-57921 mod_data: New WS mod_data_approve_entry
2017-03-30 02:12:53 +02:00
Juan Leyva
b8e0e64455
MDL-57921 mod_data: Move approval code to new function
2017-03-30 02:11:46 +02:00
Juan Leyva
56b8edcb1e
MDL-57920 mod_data: New WS mod_data_search_entries
2017-03-30 01:53:46 +02:00
Juan Leyva
c8a804ff68
MDL-57920 mod_data: Refactor search array creation
2017-03-30 01:53:35 +02:00
Eloy Lafuente (stronk7)
4f164a3e2d
Merge branch 'MDL-57919-master' of git://github.com/jleyva/moodle
2017-03-29 13:03:53 +02:00
David Monllao
85384d44c7
MDL-57757 mod_lesson: Check that there is an object
2017-03-29 12:56:33 +02:00
David Monllao
f9b99736f4
Merge branch 'MDL-57757-master' of git://github.com/jleyva/moodle
2017-03-29 12:51:46 +02:00
David Monllao
9653e19b7e
Merge branch 'MDL-57754-master' of git://github.com/jleyva/moodle
2017-03-29 12:37:35 +02:00
Juan Leyva
a934c89639
MDL-57919 mod_data: New WS mod_data_get_fields
2017-03-29 11:38:39 +02:00
Juan Leyva
aefe9c5faa
MDL-57919 mod_data: Refactor and new method get_configs_for_external
2017-03-29 11:38:38 +02:00
Juan Leyva
8c21800470
MDL-57754 mod_lesson: Include missing required file
...
The constant LESSON_PAGE_BRANCHTABLE requires the page type file.
2017-03-29 11:31:35 +02:00
Juan Leyva
86ff8ccd22
MDL-57757 mod_lesson: Handle empty answers
...
This is and edge case created by a bug in the numeric question type.
2017-03-29 11:01:02 +02:00
Abhishek Kumar
1c0d4f1ebd
MDL-53343 mod_scorm: Migrated scorm_cron into new tasks API
2017-03-29 13:11:27 +05:30
Andrew Nicols
6e1523c38b
MDL-57822 feedback: Correct page param for nonrespondents WS
2017-03-29 11:20:57 +08:00
Marina Glancy
4ead659398
MDL-58364 course: fix error in drag&drop activities
2017-03-29 11:14:14 +08:00
Eloy Lafuente (stronk7)
5d267581fb
Merge branch 'MDL-57918-master' of git://github.com/jleyva/moodle
2017-03-29 01:27:19 +02:00
Eloy Lafuente (stronk7)
d858278a58
Merge branch 'MDL-49409-master' of git://github.com/jleyva/moodle
2017-03-29 01:25:59 +02:00
David Monllao
d4a8fb899a
Merge branch 'MDL-58177-master' of https://github.com/sammarshallou/moodle
2017-03-28 23:16:42 +02:00
David Monllao
46c6d0df5a
Merge branch 'MDL-57822_master' of git://github.com/dmonllao/moodle
2017-03-28 22:57:15 +02:00
David Monllao
92c1ed4f85
Merge branch 'MDL-58230_master' of git://github.com/dmonllao/moodle
2017-03-28 22:55:34 +02:00
Juan Leyva
bb66bc4a89
MDL-57822 mod_feedback: New WS mod_feedback_get_non_respondents
2017-03-28 22:52:03 +02:00
Juan Leyva
52f57996f4
MDL-58230 mod_feedback: New WS mod_feedback_get_finished_responses
2017-03-28 22:50:36 +02:00
Juan Leyva
1104a9fa44
MDL-58399 webservice: Return additional file fields for repositories
...
We should be detecting when we are treating files that are linked to
external repositories.
For doing that we'd need to return some additional fields via Web
Services:
- isexternalfile
- mimetype (google docs files use an special one)
- repositorytype (the repository plugin name)
2017-03-28 20:23:16 +02:00
Dan Poltawski
f98ad251ae
Merge branch 'MDL-55139' of git://github.com/stronk7/moodle
2017-03-28 18:33:19 +01:00
Dan Poltawski
a1355e53e8
Merge branch 'MDL-58264' of https://github.com/darrencocco/moodle
2017-03-28 18:02:40 +01:00
AMOS bot
e5eb821020
Automatically generated installer lang files
2017-03-29 00:04:57 +08:00
David Monllao
842217de6c
Merge branch 'MDL-58070-visible-reword' of https://github.com/DSI-Universite-Rennes2/moodle
2017-03-28 17:46:00 +02:00
David Monllao
618336bf88
MDL-58079 enrol: Move new test to existing test case
2017-03-28 17:34:28 +02:00
David Monllao
6d8b31d3c9
Merge branch 'MDL-58079_master' of https://github.com/kiklop74/moodle
2017-03-28 17:30:40 +02:00
David Monllao
17dda0c4cf
Merge branch 'MDL-57965-gzip_svg' of https://github.com/DSI-Universite-Rennes2/moodle
2017-03-28 17:14:23 +02:00
Juan Leyva
e8a7f5ff3b
MDL-35913 site home: Set the page layout before setting blocks
...
When the default home page is set by user preference the site home
blocks are gone.
This is caused because the page layout is not correctly set before
manipulating the navigation block (the base layout it is used instead).
2017-03-28 17:10:15 +02:00
Dan Poltawski
54e9302b5f
Merge branch 'MDL-58227-master' of git://github.com/jleyva/moodle
2017-03-28 16:02:07 +01:00
Dan Poltawski
6ba920575f
Merge branch 'master' of https://github.com/fwsl/moodle
2017-03-28 12:07:29 +01:00
Dan Poltawski
702be5ee47
Merge branch 'MDL-58160' of git://github.com/aolley/moodle
2017-03-28 11:34:33 +01:00
Dan Poltawski
c7c96ddc7c
Merge branch 'wip-MDL-58092-master' of git://github.com/marinaglancy/moodle
2017-03-28 10:56:00 +01:00
Dan Poltawski
313aa61610
Merge branch 'MDL-58257' of https://github.com/ak4t0sh/moodle
2017-03-28 10:50:57 +01:00
Dan Poltawski
ed8ab587be
Merge branch 'MDL-38278-pptx-et-al-presentation-group' of https://github.com/lucaboesch/moodle
2017-03-28 10:15:22 +01:00
Luca Bösch
5ee4e09334
MDL-38278 core_files: Populating presentation group some more.
...
Now all filetypes with icon 'powerpoint' and 'impress', i.e.
pps, ppt, pptx, pptm, potx, potm, ppam, ppsx, ppsm, odp, otp, sxi, sti
are all attributed to the "presentation" group.
Signed-off-by: Luca Bösch <luca.boesch@bfh.ch >
2017-03-28 10:50:34 +02:00
Juan Leyva
2b2a0319a0
MDL-58412 mod_feedback: Handle array parameters
...
We should handle array parameters for multi choice (multi select) .
2017-03-28 10:13:26 +02:00
Juan Leyva
592306c60b
MDL-58412 mod_feedback: Always set gonextpage when moving forward
...
In some cases the last page will be omitted in a feedback (for example
when using dependent questions).
Because of that the save process will be launched in a page that is not
the last.
2017-03-28 10:05:56 +02:00
Juan Leyva
1b0b4ab25f
MDL-58412 mod_feedback: Add default value for responses
...
In some cases we will be processing pages without responses, like a
page introduction with a label.
2017-03-28 10:01:25 +02:00
Juan Leyva
8e11464fd6
MDL-58412 mod_feedback: Remove access control in get_items
...
This function it is used for printing the list of questions.
The feedback preview doesn’t have any access restriction, you can see
the list of questions at any time.
2017-03-28 09:58:47 +02:00
John Okely
fb73f60a36
MDL-58361 media: Make core_meda_manager constructor private
2017-03-28 12:11:14 +08:00
John Okely
2553d67c74
MDL-58361 media: Remove media manager subclass from unit test
2017-03-28 12:11:14 +08:00
AMOS bot
e3e6f92151
Automatically generated installer lang files
2017-03-28 00:06:19 +08:00
Jakob
6a36b8526e
MDL-37765 course: Add capability to ignore availability restrictions.
...
Allow a role to view activities without addressing the restriction rules.
2017-03-27 08:37:27 -07:00
Tony Butler
23990a0a80
MDL-55459 assignfeedback_editpdf: Make comments collapsible in editor
2017-03-27 15:13:37 +01:00
David Monllao
3ecbebc816
Merge branch 'MDL-58329-master' of git://github.com/jleyva/moodle
2017-03-27 15:47:55 +02:00
Juan Leyva
448a488642
MDL-58329 mod_lesson: New WS function mod_lesson_get_lesson
2017-03-27 14:48:28 +02:00
Juan Leyva
a0558b5607
MDL-58329 mod_lesson: Refactor to use new exporter
...
Refactor existing WS to use the new summary_exporter
2017-03-27 14:42:11 +02:00
David Monllao
76e4853585
Merge branch 'MDL-57760-master' of git://github.com/jleyva/moodle
2017-03-27 13:39:44 +02:00
David Monllao
7cf5c3d54c
Merge branch 'MDL-57762-master' of git://github.com/jleyva/moodle
2017-03-27 13:31:29 +02:00
David Monllao
e8be22337d
Merge branch 'MDL-57759-master' of git://github.com/jleyva/moodle
2017-03-27 13:21:35 +02:00
Juan Leyva
2db90397f1
MDL-57759 mod_lesson: Handle offline attempts in view and WS
...
- Notify the user if there are previous offline attempts
- Set the offline attempts and return additional information via Web
Services
2017-03-27 13:10:01 +02:00
Juan Leyva
c6f9f06146
MDL-57759 mod_lesson: New settings for allowing offline attempts
2017-03-27 13:10:00 +02:00
David Monllao
49ba56cf38
Merge branch 'MDL-57757-master' of git://github.com/jleyva/moodle
2017-03-27 11:50:35 +02:00
David Monllao
aad9ea040c
Merge branch 'MDL-57754-master' of git://github.com/jleyva/moodle
2017-03-27 11:43:44 +02:00
Mike Olsen
7782e6610b
MDL-58311 cache: Add password support for redis
...
add password support for redis connects in cache and session
2017-03-27 10:31:45 +01:00
Juan Leyva
635721f5c1
MDL-57762 mod_lesson: Implement the check_updates callback
2017-03-27 10:51:42 +02:00
Juan Leyva
707d50d1c8
MDL-57760 mod_lesson: New WS mod_lesson_get_pages_possible_jumps
2017-03-27 10:47:07 +02:00
Dan Poltawski
a6c34f3298
Merge branch 'MDL-57510-master' of git://github.com/ankitagarwal/moodle
2017-03-27 09:41:27 +01:00
Juan Leyva
87e472bd15
MDL-57759 mod_lesson: Handle offline attempts in view and WS
...
- Notify the user if there are previous offline attempts
- Set the offline attempts and return additional information via Web
Services
2017-03-27 10:41:09 +02:00
Juan Leyva
d874370b20
MDL-57759 mod_lesson: New settings for allowing offline attempts
2017-03-27 10:41:08 +02:00
Juan Leyva
79d5e88215
MDL-57757 mod_lesson: New WS mod_lesson_get_user_attempt
2017-03-27 10:37:21 +02:00
Juan Leyva
49e353782f
MDL-57757 mod_lesson: Move user report code to function
2017-03-27 10:37:20 +02:00
Juan Leyva
899b000d99
MDL-57754 mod_lesson: New Web Service mod_lesson_get_attempts_overview
2017-03-27 10:34:45 +02:00
Juan Leyva
7d5564d959
MDL-57754 mod_lesson: Move overview report code to function
...
Move the table and statistics generation to a new function
2017-03-27 10:34:44 +02:00
Damyon Wiese
6f418b0759
MDL-58369 icons: Fix mapping for scorm icons
2017-03-27 16:14:58 +08:00
Damyon Wiese
4413b46626
MDL-58357 icons: Better mapping for backup/restore
2017-03-27 15:26:09 +08:00
Andrew Nicols
13659515fd
MDL-55326 core_text: Correct typo3 file permissions
2017-03-27 15:07:01 +08:00
Damyon Wiese
23fc4008c5
MDL-58368 icons: Revert course icon to svg
2017-03-27 14:01:33 +08:00
Andrew Nicols
0549f2538f
MDL-57553 tool_usertours: Update tour libraries
2017-03-27 10:23:35 +08:00
Darren Cocco
81c53579ac
MDL-58264 quiz: removed additional = symbol
...
Removed superflous = symbol from SQL snippet
2017-03-27 11:07:40 +11:00
Tobias Nießen
4000d6e59d
MDL-56632 book: position of "Turn editing on/off"
2017-03-25 12:30:20 +01:00
Koen Nys
bb9f8451b7
MDL-57686 auth/db: added pdo support.
2017-03-24 17:19:59 +01:00
Juan Leyva
e453ed685c
MDL-57393 core_calendar: Add external functions to the mobile service
...
We are including:
- core_calendar_create_calendar_events
- core_calendar_delete_calendar_events
2017-03-24 17:04:58 +01:00
Juan Leyva
771effef8d
MDL-57918 mod_data: New WS mod_data_get_entry
2017-03-24 15:19:46 +01:00
Ankit Agarwal
0fa21eb715
MDL-57510 questionbank: Add horizontal navigation
2017-03-24 19:07:15 +05:30
Tony Butler
2c153c5649
MDL-55459 assignfeedback_editpdf: Add linked comments and markers to PDF
2017-03-24 09:48:42 +00:00
Ilya Tregubov
8b844f702e
MDL-55941 output: Refactor and improve initialbar UX to use templates
2017-03-24 20:31:03 +11:00
Brendan Heywood
d2df110950
MDL-55941 tablelib: Improve initialbar UX
2017-03-24 20:04:41 +11:00
Julien Boulen
a56cf2e374
MDL-57965 performance: compress svg files with gzip
2017-03-24 09:55:56 +01:00
Grzegorz Ziółek
16973d64c8
MDL-58325 config_log: Record changes in editor management to config_log.
2017-03-24 09:24:11 +01:00
Marina Glancy
f9f30189dd
MDL-58092 gradingform_guide: behat to demonstrate double quote fix
2017-03-24 13:27:24 +08:00
gthomas2
cc65414a04
MDL-58092 grading methods: Fix double escape for freq used questions
2017-03-24 13:21:27 +08:00
Eloy Lafuente (stronk7)
216ea39be7
weekly release 3.3dev
2017-03-23 20:30:35 +01:00
Eloy Lafuente (stronk7)
0f9b7d3409
NOBUG: Fixed SVG browser compatibility
2017-03-23 20:30:33 +01:00
Eloy Lafuente (stronk7)
89d1ddc9a8
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-03-23 20:30:32 +01:00
David Monllao
7e448ee5b4
Merge branch 'MDL-57724-master' of git://github.com/jleyva/moodle
2017-03-23 12:47:19 +01:00
Juan Leyva
f3d9512d34
MDL-57724 mod_lesson: Init progress completed by default
2017-03-23 11:47:39 +01:00
Marina Glancy
212c6861b4
MDL-41809 course: do not rely on page context
...
page context may not be set, use the correct course context when calling format_string
2017-03-23 14:44:33 +08:00
Andrew Nicols
3d85d1685d
Merge branch 'MDL-57429-master-fix' of https://github.com/snake/moodle
2017-03-23 11:51:50 +08:00
Andrew Nicols
85ead19b34
Merge branch 'MDL-40759-master-fix3' of http://github.com/damyon/moodle
2017-03-23 11:33:11 +08:00
Damyon Wiese
fe4f35b29b
MDL-40759 fontawesome: Style fix for clean theme
...
Action menu items were misaligned because of change from smallicon to icon.
2017-03-23 11:30:48 +08:00
Jake Dallimore
29631e628f
MDL-57429 badges: handle curl problems nicely during connection creation
...
- Properly validate the displayer API response before sending the
verification email.
- Properly validate the displayer API response before creating the
saved connection.
2017-03-23 11:27:15 +08:00
Damyon Wiese
2375f37c5a
MDL-40759 fontawesome: Behat fix
...
Lang string fix.
2017-03-23 10:57:34 +08:00
Damyon Wiese
6586ad36ed
MDL-40759 fontawesome: Fix section highlighting
...
The section highlighting code was re-written in parallel to font-awesome - so we need
to apply the same font-awesome tweaks here now.
2017-03-23 10:50:48 +08:00
David Monllao
b7cc51ca60
Merge branch 'MDL-57724-master' of git://github.com/jleyva/moodle
2017-03-22 21:20:03 +01:00
Juan Leyva
5f3351d747
MDL-57724 mod_lesson: New Web Service mod_lesson_finish_attempt
2017-03-22 17:24:24 +01:00
Juan Leyva
dfcabd3b33
MDL-57724 mod_lesson: Move EOL code to lib methods
2017-03-22 17:23:49 +01:00
David Mudrák
b4ef04e754
MDL-40759 icons: Fix the core_renderer::spacer() parameters
2017-03-22 13:44:20 +00:00
David Monllao
ee82b48efc
MDL-57696 lesson: Replace old var reference by self
2017-03-22 13:13:06 +01:00
David Monllao
33c5f9fd63
Merge branch 'MDL-57696-master' of git://github.com/jleyva/moodle
2017-03-22 13:01:03 +01:00
Juan Leyva
8077107565
MDL-57918 mod_data: Minor refactors for the new WS
...
- Move entry permission code to function
- Retrieve user record when missing
2017-03-22 11:31:04 +01:00
Julien Boulen
ba17a2c3f8
MDL-58070 language: reword visible core string
2017-03-22 11:11:47 +01:00
Juan Leyva
e1f88fe7c4
MDL-57696 mod_lesson: New WS mod_lesson_process_page
2017-03-22 10:54:12 +01:00
David Monllao
2800c3f43d
Merge branch 'MDL-57688-master' of git://github.com/jleyva/moodle
2017-03-22 10:16:54 +01:00
Eloy Lafuente (stronk7)
81f6163928
Merge branch 'MDL-40759-master-fix2' of http://github.com/damyon/moodle
2017-03-22 10:15:43 +01:00
Juan Leyva
269eb6c810
MDL-57688 mod_lesson: Fix parameter type for pageid and review
2017-03-22 10:09:39 +01:00
Dan Poltawski
d959810fcf
Merge branch 'wip-MDL-34859-fix' of https://github.com/marinaglancy/moodle
2017-03-22 08:52:57 +00:00
Damyon Wiese
d9f730fd69
MDL-58349 assign: editpdf search comments style
...
The line height and margins are messed up on the comment search dialog.
2017-03-22 13:29:01 +08:00
Damyon Wiese
2a096103ac
MDL-40759 comments: Update behat test
...
Don't call the deprecated lang string.
2017-03-22 11:35:13 +08:00
Marina Glancy
cc401e6f30
MDL-34859 forms: fix the checkbox in defaultcustom element
2017-03-22 11:25:58 +08:00
Jun Pataleta
745f79dad4
MDL-57994 course: Fix newsitems setting for course formats without news
2017-03-22 09:26:13 +08:00
Juan Leyva
ef6aea9db8
MDL-49409 mod_data: New Web Service mod_data_get_entries
2017-03-21 23:03:01 +01:00
Juan Leyva
5b901787db
MDL-49409 mod_data: Create exporters for record and content
2017-03-21 23:03:00 +01:00
Juan Leyva
31aae5d459
MDL-49409 mod_data: Create new API function for search entries
2017-03-21 23:02:59 +01:00
David Monllao
7f0ddd40fb
Merge branch 'MDL-57693-master' of git://github.com/jleyva/moodle
2017-03-21 21:18:11 +01:00
David Monllao
5b95bd50df
Merge branch 'MDL-57688-master' of git://github.com/jleyva/moodle
2017-03-21 19:59:00 +01:00
Juan Leyva
8d6748380c
MDL-57696 mod_lesson: Remove redirects from API
...
In this commit I removed redirects that potentially could break the Web
Services layer.
Instead doing redirect inside APIs I return a special flag that is
properly checked.
2017-03-21 15:51:51 +01:00
Juan Leyva
61b51764b8
MDL-57696 mod_lesson: Move code to lesson methods
...
Small refactor to avoid duplication in the Web Service
2017-03-21 15:51:50 +01:00
Juan Leyva
ef8d1c9a15
MDL-57693 mod_lesson: New WS mod_lesson_get_page_data
2017-03-21 15:48:18 +01:00
Juan Leyva
66cd7b8ecc
MDL-57693 mod_lesson: Refactor to move code to lesson methods
...
This is a big refactor to avoid code duplication in the new WS.
Basically I’ve moved code from the page and renderer to the lesson
class.
New code is into methods, there are no code functionality changes (just
minor fixes in comments).
2017-03-21 15:48:17 +01:00
Juan Leyva
d088632b97
MDL-57688 mod_lesson: New WS mod_lesson_launch_attempt
2017-03-21 15:43:24 +01:00
Juan Leyva
dbba944e32
MDL-57688 mod_lesson: Move duplicated code to methods
...
Some code that will be used by Web Services was moved, we created new
methods to avoid code duplication:
- To generate the lesson messages on page view
- To check the time restrictions in a current attempt
2017-03-21 15:18:44 +01:00
Juan Leyva
ac9f0a6800
MDL-58229 mod_feedback: New WS get_unfinished_responses
2017-03-21 13:21:32 +01:00
Juan Leyva
82b2cd7d19
MDL-57820 mod_feedback: New WS mod_feedback_get_analysis
2017-03-21 13:12:35 +01:00
Juan Leyva
ac122465e0
MDL-57820 mod_feedback: Create function to get analysis for external api
2017-03-21 13:12:22 +01:00
Dan Poltawski
e3aced3b59
MDL-57162 tool_mobile: add a bit more phpdoc info
2017-03-21 12:07:54 +00:00
Dan Poltawski
0c5eee372b
Merge branch 'MDL-57162-master' of git://github.com/jleyva/moodle
2017-03-21 11:38:06 +00:00
Dan Poltawski
5fd24a89a6
Merge branch 'MDL-56324-master' of https://github.com/lucisgit/moodle
2017-03-21 11:28:13 +00:00
Juan Leyva
82a7a67869
MDL-57818 mod_feedback: New WS mod_feedback_process_page
2017-03-21 12:25:32 +01:00
Juan Leyva
96ae31bddc
MDL-57818 mod_feedback: Refactor form processing
2017-03-21 12:24:41 +01:00
Juan Leyva
74975948e5
MDL-57817 mod_feedback: New WS mod_feedback_get_page_items
2017-03-21 11:33:55 +01:00
Juan Leyva
951ddedf6f
MDL-57816 mod_feedback: New WS mod_feedback_launch_feedback
2017-03-21 11:22:13 +01:00
David Monllao
a2ccbae441
Merge branch 'MDL-57685_master' of git://github.com/dmonllao/moodle
2017-03-21 10:54:44 +01:00
Juan Leyva
f4d0909fc0
MDL-57685 mod_lesson: New Web Service mod_lesson_get_pages
2017-03-21 10:53:35 +01:00
Eloy Lafuente (stronk7)
4d505af519
Merge branch 'MDL-55267-master-deprecation' of https://github.com/marcusgreen/moodle
2017-03-21 10:18:56 +01:00
Juan Leyva
e8eb889326
MDL-57162 tool_mobile: Native app banners for Android
2017-03-21 10:07:21 +01:00
Juan Leyva
6d21073b08
MDL-58227 mod_feedback: Delete duplicated completions records
...
This commit also fixes the way the previous completion record was
fetched to avoid the creation of new duplicates.
2017-03-21 09:46:44 +01:00
Dan Poltawski
dca0ea03b1
Merge branch 'MDL-58317-master' of git://github.com/damyon/moodle
2017-03-21 08:03:42 +00:00
David Monllao
67b09d8323
Merge branch 'MDL-37168-master-fix' of git://github.com/xow/moodle
2017-03-21 07:14:05 +01:00
Andrew Nicols
afc8dc90fc
Merge branch 'MDL-40759-master-fix1' of http://github.com/damyon/moodle
2017-03-21 11:31:26 +08:00
Damyon Wiese
dc633a24b9
MDL-40759 fontawesome: lang strings comments
2017-03-21 11:13:43 +08:00
Damyon Wiese
7e8940b544
MDL-40759 fontawesome: Use a cache
...
Cache the callback info.
2017-03-21 10:51:41 +08:00
John Okely
cd9b8f4e57
MDL-37168 mod_lti: Fix rename behat
2017-03-21 10:29:50 +08:00
Eloy Lafuente (stronk7)
79262cb681
Merge branch 'MDL-57840-33-get_users_by_field' of https://github.com/roperto/moodle
2017-03-21 01:05:47 +01:00
Eloy Lafuente (stronk7)
592cdff297
Merge branch 'MDL-57815-master' of git://github.com/jleyva/moodle
2017-03-21 00:48:44 +01:00
Juan Leyva
10948ae133
MDL-57823 mod_feedback: Implement the check_updates callback
...
- added a mini version bump.
- fix some conflicts.
- fix phpdoc @version
2017-03-20 20:12:54 +01:00
Eloy Lafuente (stronk7)
beff62f6ec
Merge branch 'MDL-57814-master' of git://github.com/jleyva/moodle
2017-03-20 18:00:48 +01:00
Eloy Lafuente (stronk7)
74ccc7768e
Merge branch 'MDL-57916-master' of git://github.com/jleyva/moodle
...
Mini bump version in merge...
2017-03-20 17:53:02 +01:00
Eloy Lafuente (stronk7)
d8c8082998
Merge branch 'MDL-57811-master' of git://github.com/jleyva/moodle
2017-03-20 17:39:53 +01:00
AMOS bot
5bc1692b50
Automatically generated installer lang files
2017-03-21 00:04:03 +08:00
Dan Poltawski
7bb2eafe9c
Merge branch 'MDL-58262-master' of git://github.com/merrill-oakland/moodle
2017-03-20 15:19:55 +00:00
Dan Poltawski
230216803c
Merge branch 'wip-mdl-58261-m' of https://github.com/rajeshtaneja/moodle
2017-03-20 13:51:30 +00:00
Dan Poltawski
83a6b8c48c
Merge branch 'MDL-58050-master-msgtrans' of git://github.com/mudrd8mz/moodle
2017-03-20 13:19:22 +00:00
Dan Poltawski
57ee1502fd
Merge branch 'MDL-58121-master' of https://github.com/snake/moodle
2017-03-20 13:15:07 +00:00
Dan Poltawski
7d77fb1421
Merge branch 'MDL-58255-master' of git://github.com/junpataleta/moodle
2017-03-20 13:08:54 +00:00
Dan Poltawski
d4d91727bf
Merge branch 'MDL-58263-master' of git://github.com/jleyva/moodle
2017-03-20 11:39:58 +00:00
Eloy Lafuente (stronk7)
ec116fe676
Merge branch 'MDL-57812-master' of git://github.com/jleyva/moodle
2017-03-20 12:35:43 +01:00
Dan Poltawski
5de6c5dc3b
Merge branch 'MDL-57838-master' of git://github.com/jleyva/moodle
2017-03-20 11:27:04 +00:00
Dan Poltawski
d9b094a31d
Merge branch 'MDL-58273-master-ldapenrol' of git://github.com/mudrd8mz/moodle
2017-03-20 11:09:33 +00:00
David Monllao
2ddcf27219
Merge branch 'MDL-57665_master' of git://github.com/dmonllao/moodle
2017-03-20 11:25:09 +01:00
David Monllao
c12578d3a2
Merge branch 'MDL-57664_master' of git://github.com/dmonllao/moodle
2017-03-20 11:20:22 +01:00
Juan Leyva
f8edef2e58
MDL-57665 mod_lesson: New WS mod_lesson_get_user_timers
2017-03-20 11:18:34 +01:00
Juan Leyva
592c94f3ba
MDL-57665 mod_lesson: New method for get timers
2017-03-20 11:18:29 +01:00
Juan Leyva
ba6b2c11f6
MDL-57664 mod_lesson: New Ws mod_lesson_get_content_pages_viewed
2017-03-20 11:16:55 +01:00
Juan Leyva
b584c49d03
MDL-57664 mod_lesson: New lesson method get_content_pages_viewed
2017-03-20 11:16:46 +01:00
David Monllao
e11d2d87ff
Merge branch 'MDL-37168-master' of https://github.com/xow/moodle
2017-03-20 10:15:36 +01:00
Dan Poltawski
e8f8594244
Merge branch 'MDL-58285' of https://github.com/NeillM/moodle
2017-03-20 08:53:23 +00:00
Dan Poltawski
11e7eb3088
Merge branch 'MDL-58291-master-unoconvlink' of git://github.com/mudrd8mz/moodle
2017-03-20 08:49:54 +00:00
John Okely
ea1d9f7c86
MDL-37168 grade: Debugging if gradebook callbacks are not both present
2017-03-20 16:02:11 +08:00
John Okely
68e1f52814
MDL-37168 mod_lti: Add behat test to cover lti quick edit
2017-03-20 16:02:11 +08:00
Sam Chaffee
77a827e14d
MDL-37168 mod_lti: Fix LTI activity quick edit title
2017-03-20 16:02:11 +08:00
Dan Poltawski
48f5c05019
Merge branch 'wip-MDL-34859-master' of git://github.com/marinaglancy/moodle
2017-03-20 07:54:22 +00:00
Dan Poltawski
5d8d3a8ce2
Merge branch 'MDL-57657-master' of git://github.com/jleyva/moodle
2017-03-20 07:24:54 +00:00
Darko Miletic
fa0029b11d
MDL-58079 core_enrol: Fixed invalid category tag
2017-03-20 04:09:15 -03:00
Marina Glancy
44e86fb3d5
MDL-34859 backup: add restore defaults
2017-03-20 14:59:45 +08:00
Marina Glancy
f840bf03e0
MDL-34859 course: use defaultcustom element for sections
2017-03-20 14:59:45 +08:00
Marina Glancy
b4eb5f0212
MDL-34859 forms: new element defaultcustom
2017-03-20 14:59:45 +08:00
Andrew Nicols
dfa5d22700
MDL-40759 themes: Correct ignore file whitespace
2017-03-20 14:40:37 +08:00
David Monllao
28b1cc19e7
Merge branch 'MDL-57419-master-2' of https://github.com/xow/moodle
2017-03-20 07:33:25 +01:00
Andrew Nicols
2154c9824d
Merge branch 'MDL-40759-master' of git://github.com/damyon/moodle
2017-03-20 13:57:38 +08:00
David Monllao
72005b6daf
Merge branch 'MDL-57254-master' of git://github.com/jleyva/moodle
2017-03-20 06:48:43 +01:00
Damyon Wiese
8626dc99fa
MDL-40759 fontawesome: Add BC for unmapped icons
...
This is yukky but it works. Note: I had to duplicate the standard pix icon template
inside the font-awesome one because the way this is rendered does not support partials.
2017-03-20 13:47:30 +08:00
David Monllao
89a4995fa5
Merge branch 'MDL-57994' of https://github.com/ak4t0sh/moodle
2017-03-20 06:29:16 +01:00
Damyon Wiese
f4e623b3e7
MDL-58317 templates: Fix async template render
...
There is an edge case where we do not wait for all promises before
rendering a template. This can generate "failed to pre-fetch the template" JS errors.
2017-03-20 13:29:09 +08:00
David Monllao
51060a665f
Merge branch 'MDL-57390-master' of git://github.com/jleyva/moodle
2017-03-20 06:07:25 +01:00
David Monllao
a9cba0ba69
Merge branch 'MDL-58288-master' of git://github.com/andrewnicols/moodle
2017-03-20 05:15:29 +01:00
David Monllao
050d8e84cd
Merge branch 'MDL-58166-m' of git://github.com/pavelsokolov/moodle
2017-03-20 05:13:10 +01:00
David Monllao
eaf3bcfecd
Merge branch 'MDL-58182-master' of https://github.com/snake/moodle
2017-03-20 05:04:25 +01:00
Andrew Nicols
640b8efad8
Merge branch 'MDL-57429-master' of https://github.com/snake/moodle
2017-03-20 08:16:07 +08:00
AMOS bot
a60ffc39fa
Automatically generated installer lang files
2017-03-20 00:07:08 +08:00
AMOS bot
ec46a37eb8
Automatically generated installer lang files
2017-03-19 00:05:23 +08:00
AMOS bot
935b049bc4
Automatically generated installer lang files
2017-03-18 00:08:51 +08:00
Pavel Sokolov
32ad5c86ae
MDL-57858 mod_assign: fix submissions count for assign with scales
2017-03-17 18:28:43 +03:00
Pavel Sokolov
bfca67f045
MDL-58166 mod_assign: markingworkflow breaks assign for non-graders
2017-03-17 17:46:09 +03:00
Tony Butler
05aa787bde
MDL-56324 assignfeedback_editpdf: Revert erroneous commits
...
This reverts commits 88d309d and 3cd718e .
2017-03-17 11:01:41 +00:00
Dan Poltawski
1ea1180a6f
Merge branch 'MDL-57648-master' of git://github.com/jleyva/moodle
2017-03-17 08:21:03 +00:00
Damyon Wiese
42d4689c65
MDL-40759 fontawesome: Minor cleanups
...
Remove eslint hints that are not required and revert changes to the
behat test for recycle bin that are not needed.
2017-03-17 15:52:46 +08:00
Damyon Wiese
07171e831e
MDL-40759 fontawesome: Fix bugs from rebase
2017-03-17 15:52:46 +08:00
Damyon Wiese
c8d0efc332
MDL-40759 icons: More details in upgrade.txt
...
More details in upgrade.txt for developers who were using pix_url.
2017-03-17 15:52:46 +08:00
Damyon Wiese
b9b409cfc3
MDL-40759 icons: Peer review fixes (all minor)
2017-03-17 15:52:46 +08:00
Damyon Wiese
1caabd8468
MDL-40759 icons: Keep separate alt/title
...
For font awesome icons I had only supported one of alt/title. This was because (subjectively) we have
done a terrible job of providing meaningful alt text for icons. This is not a good idea and not backwards
compatible so I have put it back again.
Fingers crossed I did not break 1000 behats.
2017-03-17 15:52:18 +08:00
Damyon Wiese
3e6adcd69c
MDL-40759 icons: Rename activity_icon
...
image_icon is a better name because there are some valid uses for these other than for activity icons.
E.g. Old JS code that is not worth re-writing.
2017-03-17 15:52:18 +08:00
Damyon Wiese
8857c715d1
MDL-40759 icons: Behat fixes for font-awesome
2017-03-17 15:52:18 +08:00
Damyon Wiese
ad056aa267
MDL-40759 icons: Better mapping of some icons
2017-03-17 15:52:18 +08:00
Damyon Wiese
e330b1c214
MDL-40759 icons: Refactor to allow theme icon systems
2017-03-17 15:52:18 +08:00
Damyon Wiese
24a6b59412
MDL-40759 icons: Remove unused file type icons.
...
Because we can use svgs always - we got rid of different size icons for file types.
2017-03-17 15:52:18 +08:00
Damyon Wiese
9d67a40862
MDL-40759 icons: Fixes for icons used in CSS
2017-03-17 15:52:18 +08:00
Damyon Wiese
7776c9e112
MDL-40759 icons: Fix when icon map comes from cache
2017-03-17 15:52:17 +08:00
Damyon Wiese
0b772813dc
MDL-40759 icons: Update unit tests
...
Match the expected output for unit tests.
2017-03-17 15:52:17 +08:00
Damyon Wiese
3c8850711f
MDL-40759 icons: filepicker
...
Use font awesome svg icons for files in the file picker. Move the old icons to bootstrapbase.
2017-03-17 15:52:17 +08:00
Damyon Wiese
663640f5b3
MDL-40759 icons: convert uses of pix_url to pix_icon
...
Also change filepicker to use scaled svgs instead of sets of custom pngs. The svgs are taken from font-awesome.
2017-03-17 15:52:17 +08:00
Damyon Wiese
7cf6ef7bbb
MDL-40759 icons: Fix icons in action menus and links
...
Always use the pix icon helper in templates.
2017-03-17 15:51:29 +08:00
Damyon Wiese
c266d256e7
MDL-40759 icons: Deprecate $OUTPUT->pix_url()
2017-03-17 15:51:29 +08:00
Damyon Wiese
c2dde7eebc
MDL-40759 icons: Split pix_icon from activity_icon
...
Activity icons always use the standard icon renderer.
2017-03-17 15:51:29 +08:00
Damyon Wiese
95b06c13c6
MDL-40759 icons: Refactor icon system to be extensible.
2017-03-17 15:51:29 +08:00
Damyon Wiese
348aed801c
MDL-40759 pix: Use proper pix tags for required fields.
2017-03-17 15:51:29 +08:00
Damyon Wiese
5e73ccfb38
MDL-40759 output: Fix non-existent fa icons
2017-03-17 15:51:29 +08:00
Damyon Wiese
3be09119d9
MDL-40759 upgrade: Note about fontawesome callback
2017-03-17 15:51:29 +08:00
Damyon Wiese
2b931458ad
MDL-40759 plugins: Add font icon mapping to all plugins
2017-03-17 15:51:29 +08:00
Damyon Wiese
e6bf10c772
MDL-40759 dragdrop: Use a pix icon renderer for drag handles.
2017-03-17 15:51:28 +08:00
Damyon Wiese
d3d2f09cef
MDL-40759 atto: Use pix_icon renderer for atto buttons
2017-03-17 15:51:28 +08:00
Damyon Wiese
ec7b552251
MDL-40759 course: Fix group mode switcher to use renderPix
...
Dont assume icons are image tags and call Templates.renderPix to rebuild the entire icon.
2017-03-17 15:51:28 +08:00
Damyon Wiese
a26ce2482a
MDL-40759 themes: font awesome support
...
We add a new theme config so the theme can say it supports font-awesome.
If this is true, the pix_icon renderer will call a mapping function to map
from the moodle style t/edit to a font-awesome style fa-cog icon name. Then the renderer
will either render an image tag for old icons - or an accessible font-awesome <i> tag.
This mostly works - but there are some places where we don't use the pix icon renderer, and
we directly create image tags with pix_url image sources. These will need updating (Atto icons,
drag and drop move icons, editpdf icons).
2017-03-17 15:51:28 +08:00
Andrew Nicols
9d6698060f
MDL-58295 fileconverter: Update the conversion correctly
2017-03-17 09:49:07 +08:00
Jun Pataleta
f3ec5411b0
MDL-58255 mod_assign: Fix usage of assign object for overrides
...
* Fix the parameters being passed for the assign constructor.
* Use assign::get_instance() instead of assign::get_context() to fetch
the assignment instance's properties.
2017-03-17 09:33:00 +08:00
Andrew Nicols
c563adfa78
MDL-58288 fileconverter_unoconv: Remove old test conversions
2017-03-17 09:31:57 +08:00
Andrew Nicols
2935d0fe7f
MDL-58288 fileconverter_unoconv: Fix issue with test generation
2017-03-17 09:27:37 +08:00
Jake Dallimore
62b482938b
MDL-58121 email: ensure support user is defined in email_to_user
2017-03-17 09:08:45 +08:00
Jake Dallimore
3d4339b817
MDL-58182 javascript: Fix for buttons regression in core dialog.
...
Fixes a regression caused by MDL-56364, wherein the buttons were made
readOnly, meaning addButtons wouldn't work. This removes that change,
while maintaining the original dependency between the buttons and the
closeButton config options.
2017-03-17 09:05:04 +08:00
David Mudrák
b2c395d367
MDL-58291 fileconverter_unoconv: Fix the admin section name
2017-03-16 19:56:59 +01:00
Arnaud Trouve
ce4379973f
MDL-58257 course: fix search containing a hyphen
...
In case a hyphen (-) was preceded and followed by spaces,
the pattern for the "not regex" was empty causing an empty response from the database.
2017-03-16 18:43:15 +01:00
Arnaud Trouve
019186b7b5
MDL-57994 course: fix newsitems value
2017-03-16 18:34:30 +01:00
Darko Miletic
ed63ffc715
MDL-58079 core_enrol: Implementing fix and unit test
2017-03-16 14:23:34 -03:00
Juan Leyva
d37472d88f
MDL-57657 mod_lesson: New WS mod_lesson_get_user_attempt_grade
2017-03-16 16:45:02 +01:00
Juan Leyva
78dbb42c80
MDL-57657 mod_lesson: New WS mod_lesson_get_user_grade
2017-03-16 16:45:01 +01:00
Juan Leyva
d689c1ed46
MDL-57648 mod_lesson: New Web Service mod_lesson_get_questions_attempts
2017-03-16 16:43:03 +01:00
Dan Poltawski
aed2641a8b
Merge branch 'MDL-57645-master' of git://github.com/jleyva/moodle
2017-03-16 15:42:07 +00:00
Juan Leyva
4ac71790b6
MDL-57645 mod_lesson: New Web Service mod_lesson_view_lesson
2017-03-16 16:40:25 +01:00
Juan Leyva
7d7a2a4ef1
MDL-57645 mod_lesson: Refactor code to move completion to lib
...
This commit also fix how completion was being set (before the access
restriction checks)
2017-03-16 16:40:24 +01:00
Juan Leyva
bb676b74fe
MDL-57815 mod_feedback: New Web Service mod_feedback_get_items
2017-03-16 15:35:06 +01:00
Juan Leyva
d52973ae19
MDL-57815 mod_feedback: Add new method to item class to return other data
2017-03-16 15:35:05 +01:00
Neill Magill
1c668c3ce0
MDL-58285 tool_mobile: Web service generates incorrect fileurl on IIS
...
The tool_mobile_get_plugins_supporting_mobile generated an incorrect
fileurl on IIS. The /mobile/filename.zip part was generated as
\mobile\filename.zip, this failed the PARAM_URL check.
This change stops the use of OS specific directory separators and uses
the linux/web separator. PHP file functions recognise this properly.
2017-03-16 12:08:36 +00:00
Dan Poltawski
98c4094eac
weekly release 3.3dev
2017-03-16 11:52:46 +00:00
Dan Poltawski
ec673f6f98
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-03-16 11:52:44 +00:00
John Okely
e09066d0eb
MDL-57419 messaging: Don't use enter to send
2017-03-16 10:46:40 +08:00
Rajesh Taneja
49bf960cbb
MDL-58261 behat: Fixed missing @_file_upload tags
2017-03-16 09:35:26 +08:00
Jake Dallimore
cb2a75dcbf
MDL-57429 badges: removal of unused Persona code
...
Removed the backpackconnect script used with Persona, and all the
associated js code.
2017-03-16 09:35:14 +08:00
Jake Dallimore
80e8e0061e
MDL-57429 badges: lang string deprecation for new email verify process
...
Deprecated those lang strings used in the old Persona login process.
2017-03-16 09:35:14 +08:00
Jake Dallimore
091eaab0da
MDL-57429 badges: add email verification for openbackpack connections
...
With the Persona provider now out of commission, no new connections to
the Mozilla openbackpack can be created. This patch adds an email
verification step to core to restore the openbackpack functionality.
2017-03-16 09:35:12 +08:00
Andrew Nicols
9c2ca40041
Merge branch 'MDL-57643-master' of git://github.com/jleyva/moodle
2017-03-16 07:58:08 +08:00
Andrew Nicols
eb6f04732a
Merge branch 'MDL-57913_auth_db_sync_task_master' of git://github.com/gthomas2/moodle
2017-03-16 07:39:48 +08:00
David Mudrák
935f428ac7
MDL-58273 enrol_ldap: Fix the name of the capability
...
This capability controls who can hide/show the enrolment instance.
2017-03-15 18:30:46 +01:00
gthomas2
0d9704d817
MDL-57913 auth_db: warn CLI about scheduled task, abort CLI if scheduled task enabled
2017-03-15 16:42:45 +00:00
Juan Leyva
b315d721d9
MDL-57814 mod_feedback: New WS mod_feedback_get_current_completed_tmp
2017-03-15 15:31:38 +01:00
Juan Leyva
1a305933c7
MDL-57814 mod_feedback: Create exporter and required API changes
2017-03-15 15:28:03 +01:00
Juan Leyva
0f3c09979f
MDL-57811 mod_feedback: New Web Service mod_feedback_view_feedback
2017-03-15 15:25:00 +01:00
Juan Leyva
3f62cbd33e
MDL-57812 mod_feedback: New WS get_feedback_access_information
2017-03-15 15:23:24 +01:00
Juan Leyva
bae88061cc
MDL-57838 tool_mobile: Point to the docs for more information
...
We should ask the admin to check the "Moodle docs for this page"
instead of adding a constant including a URL in the code.
2017-03-15 11:53:10 +01:00
Juan Leyva
cac43b9b6a
MDL-57916 mod_data: New WS mod_data_get_access_information
2017-03-15 11:48:08 +01:00
Juan Leyva
a99c13af84
MDL-57916 mod_data: Move notifications code to new functions
2017-03-15 11:44:28 +01:00
Juan Leyva
630f0e3bce
MDL-57643 mod_lesson: New WS mod_lesson_get_access_information
2017-03-15 11:35:27 +01:00
Juan Leyva
37029e468f
MDL-57643 mod_lesson: Refactor, move php code to locallib
2017-03-15 11:35:25 +01:00
Dan Poltawski
943055c72d
Merge branch 'MDL-57631_master-disable-cli' of git://github.com/dmonllao/moodle
2017-03-15 08:12:04 +00:00
David Monllao
e93f74f446
MDL-57631 enrol_ldap: Disable CLI script if task is enabled
2017-03-15 08:49:22 +01:00
Andrew Nicols
6fcdbc7912
Merge branch 'MDL-57658-master-integration-fix-2' of git://github.com/junpataleta/moodle
2017-03-15 14:44:17 +08:00
Andrew Nicols
5fba3bd7af
Merge branch 'MDL-55528-master-fix' of git://github.com/andrewnicols/moodle
2017-03-15 14:31:49 +08:00
Jun Pataleta
02edbe1e30
MDL-57658 calendar: Remove BYDAY filtering dependence on NumberFormatter
2017-03-15 14:18:27 +08:00
Andrew Nicols
484eeebc48
Merge branch 'MDL-57658-master-integration-fix' of git://github.com/junpataleta/moodle
2017-03-15 11:42:28 +08:00
Jun Pataleta
620ffacea1
MDL-57658 calendar: Set sort order for fetched DB records
2017-03-15 11:18:21 +08:00
Andrew Nicols
ef452d9cbc
Merge branch 'MDL-47354_gradereport_singleview_perpage' of git://github.com/davosmith/moodle
2017-03-15 11:17:49 +08:00
Andrew Nicols
ac1c66a0c0
MDL-55528 fileconverter_unoconv: Unit test correction
2017-03-15 10:59:53 +08:00
Andrew Nicols
7f2d58bf06
MDL-55528 fileconverter_unoconv: Move env check langstring to core
...
AMOS BEGIN
MOV [unoconvwarning,fileconverter_unoconv],[unoconvwarning,admin]
AMOS END
2017-03-15 09:15:34 +08:00
Eloy Lafuente (stronk7)
0dc0281cc2
Merge branch 'MDL-57066-master' of git://github.com/junpataleta/moodle
2017-03-15 01:17:19 +01:00
Eloy Lafuente (stronk7)
fc31b06a28
Merge branch 'm33_MDL-58027_Restore_Missing_HTMLEntities_Call' of https://github.com/scara/moodle
2017-03-15 00:37:02 +01:00
Juan Leyva
1882158316
MDL-58263 tool_mobile: Use new callback to print header tags
2017-03-14 22:19:18 +01:00
Eric Merrill
28cdba9dcf
MDL-58262 assign: Use unique sql parameter
2017-03-14 15:09:27 -04:00
Dan Poltawski
edf102805a
Merge branch 'MDL-58023_behat_find_node_in_navigation_improvement_master' of https://github.com/gthomas2/moodle
2017-03-14 16:31:05 +00:00
Dan Poltawski
bcd510e36d
Merge branch 'MDL-57658-master-3' of git://github.com/junpataleta/moodle
2017-03-14 16:06:19 +00:00
AMOS bot
4cd229238c
Automatically generated installer lang files
2017-03-15 00:04:32 +08:00
Juan Leyva
1f7734931f
MDL-50538 mod_feedback: New WS mod_feedback_get_feedbacks_by_courses
2017-03-14 15:54:26 +01:00
Juan Leyva
581e75bf3c
MDL-57390 mod_forum: Return more permissions in can_add_discussion
...
When adding new discussions we should know if:
- Pinned discussions can be created
- Attachments are supported
2017-03-14 15:25:54 +01:00
Juan Leyva
fa19c73350
MDL-57254 mod_choice: Add not open case in choice_can_view_results
...
If the choice is not available (not open yet), the function must return
false even is CHOICE_SHOWRESULTS_ALWAYS is set to true.
This was failing only in Web Services, in Web that function is not
reached (execution stops when the time open check is done).
2017-03-14 13:34:27 +01:00
Dan Poltawski
732bd13171
Merge branch 'MDL-55528-master' of git://github.com/andrewnicols/moodle
2017-03-14 12:07:33 +00:00
David Monllao
f7c7799cbf
Merge branch 'MDL-57631_ldap_enrol_sync_task_master' of https://github.com/gthomas2/moodle
2017-03-14 11:27:27 +01:00
David Monllao
291767fbfe
Merge branch 'MDL-58114-master-excparams' of git://github.com/mudrd8mz/moodle
2017-03-14 11:27:26 +01:00
David Monllao
f17fc9dba7
MDL-58109 report_security: Remove empty line
2017-03-14 11:27:26 +01:00
David Monllao
f41bbf8e93
Merge branch 'MDL-58109-preventexecpath-check' of https://github.com/brendanheywood/moodle
2017-03-14 11:27:25 +01:00
Dan Poltawski
1a22d8d572
Merge branch 'wip-mdl-58169' of https://github.com/rajeshtaneja/moodle
2017-03-14 11:27:24 +01:00
Andrew Nicols
594ada13c2
Merge branch 'MDL-57751-master' of https://github.com/xow/moodle
2017-03-14 11:27:24 +01:00
Andrew Nicols
ada10e7c18
Merge branch 'MDL-57583-master' of https://github.com/snake/moodle
2017-03-14 11:27:23 +01:00
Andrew Nicols
224853595c
Merge branch 'MDL-58217-master' of git://github.com/jleyva/moodle
2017-03-14 11:27:22 +01:00
Andrew Nicols
0c6435838a
Merge branch 'wip-mdl-58250' of https://github.com/rajeshtaneja/moodle
2017-03-14 11:27:22 +01:00
Eloy Lafuente (stronk7)
501ed0c46d
Merge branch 'MDL-57915-master' of git://github.com/jleyva/moodle
2017-03-14 11:26:55 +01:00
Rajesh Taneja
dba39da081
MDL-58169 phpunit: Clear opcode cache before checking file
...
In unit test, we write cache file often and
opcache might fail to detect changes. It will
be nice to invalidate opcode cache to ensure
we have the correct file_exists status
2017-03-14 13:30:24 +08:00
Rajesh Taneja
337eaa2b55
MDL-58250 behat: Status should be new exit code
...
Oring should not be done with old status,
as it will always return failure.
2017-03-14 07:31:37 +08:00
Matteo Scaramuccia
bf4f857acf
MDL-58027 files: Restored missing htmlentities() call
2017-03-13 22:24:33 +01:00
Juan Leyva
9fac7c8640
MDL-57915 mod_data: New Web Service mod_data_view_database
2017-03-13 19:21:08 +01:00
Juan Leyva
023ffa656d
MDL-57915 mod_data: Move view completion and event code to function
2017-03-13 19:21:07 +01:00
Marcus Green
f2894f322d
MDL-55267 cache: Remove deprecated field datasourceaggregate
2017-03-13 16:31:45 +00:00
AMOS bot
e315200ca5
Automatically generated installer lang files
2017-03-14 00:04:26 +08:00
gthomas2
01f2a530b7
MDL-58023 behat: Improve find_node_in_navigation function
2017-03-13 11:41:23 +00:00
Krishnan
78b60a181c
MDL-57066 theme_boost: Fix course section move icon alignment
2017-03-13 14:41:25 +08:00
Andrew Nicols
815c6b203f
MDL-51853 calendar: Whitespace fix
2017-03-13 09:18:07 +08:00
Jake Dallimore
5a24e2177e
MDL-57583 completion: fix bug with advcheckbox in course completion form
...
Added the appropriate checks to handle the advcheckbox post data.
2017-03-13 09:17:55 +08:00
Andrew Nicols
4c6edf9dd8
Merge branch 'MDL-51853_m33v3' of https://github.com/sbourget/moodle
2017-03-13 08:40:45 +08:00
AMOS bot
9e2314ebfb
Automatically generated installer lang files
2017-03-13 00:03:54 +08:00
AMOS bot
ac0888d101
Automatically generated installer lang files
2017-03-12 00:03:49 +08:00
AMOS bot
aa280729eb
Automatically generated installer lang files
2017-03-12 00:03:49 +08:00
Eloy Lafuente (stronk7)
1034421264
weekly release 3.3dev
2017-03-10 20:59:40 +01:00
Eloy Lafuente (stronk7)
2e9a62ca92
NOBUG: Fixed SVG browser compatibility
2017-03-10 20:59:35 +01:00
Eloy Lafuente (stronk7)
0856b75fb6
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-03-10 20:59:34 +01:00
Andrew Nicols
34f5a23e6a
MDL-55956 mod_assign: Do not use API constant in upgrade
2017-03-10 18:04:50 +00:00
Andrew Nicols
aabe41f359
Merge branch 'MDL-55956-master-integration' of git://github.com/junpataleta/moodle
2017-03-10 18:04:49 +00:00
Damyon Wiese
ac40d8b589
MDL-57596 forms: CLEANHTML in persistent forms
...
Add special handling for text fields with the CLEANHTML type. This should
be used when students and teachers can edit the same field (you can't trust those students).
Applies cleaning on submitted data, and on data stored in the DB before it is put back in an editing form.
2017-03-10 18:04:48 +00:00
Jun Pataleta
5f399bcf55
MDL-55956 mod_assign: Set priorities of old assign event overrides
2017-03-10 18:04:48 +00:00
Marina Glancy
6e65554ea1
MDL-58010 user: allow to update only whitelisted user preferences
2017-03-10 18:04:47 +00:00
Ryan Wyllie
77f591831c
MDL-57557 theme_boost: tweak js popover settings
...
Added the focus trigger to non hover popovers so that they close when
they lose focus.
Also added a 500ms delay to hiding the hover triggered popover to give
time for clicking on the contents.
2017-03-10 18:04:47 +00:00
Jun Pataleta
91b2bf2c9d
MDL-55956 core: Update major db change version
2017-03-10 18:04:46 +00:00
Andrew Nicols
5286837617
Merge branch 'MDL-55956-master-5' of git://github.com/junpataleta/moodle
2017-03-10 18:04:46 +00:00
Andrew Nicols
ef607980cf
Merge branch 'MDL-57914-master' of git://github.com/jleyva/moodle
2017-03-10 18:04:45 +00:00
Andrew Nicols
c742c61956
Merge branch 'wip-mdl-57940' of https://github.com/rajeshtaneja/moodle
2017-03-10 18:04:44 +00:00
Andrew Nicols
e2310e4361
Merge branch 'MDL-57975-master' of git://github.com/ryanwyllie/moodle
2017-03-10 18:04:42 +00:00
Eloy Lafuente (stronk7)
4e0cad1cbd
Merge branch 'MDL-58123-master' of git://github.com/junpataleta/moodle
2017-03-10 18:03:53 +00:00
Eloy Lafuente (stronk7)
d8a70ba35f
Merge branch 'MDL-57557-master' of git://github.com/danpoltawski/moodle
2017-03-10 18:03:53 +00:00
Dan Poltawski
1523d53bdc
Merge branch 'MDL-58035' of git://github.com/timhunt/moodle
2017-03-10 18:03:52 +00:00
Ankit Agarwal
58d85af209
MDL-56526 userlib: Do not allow not loggedin users if forceloginforprofile is set
2017-03-10 18:03:52 +00:00
Ankit Agarwal
6f5a433c95
MDL-56526 globalsearch: Fix bug in phpdocs
2017-03-10 18:03:51 +00:00
David Mudrák
6f88c26864
MDL-57597 competency: Fix serving of prior learning evidence files
...
For security reasons, all files submitted by students must be disposed
as attachments, not inline contents.
2017-03-10 18:03:51 +00:00
Juan Leyva
1abfa3a95e
MDL-58217 mod_feedback: Add data generators for items
2017-03-10 10:51:51 +01:00
Juan Leyva
5bbada53e3
MDL-58217 mod_feedback: API changes to allow generators
...
We include a new function set_date at item level so we can add the data
instead using the forms.
2017-03-10 10:51:32 +01:00
Andrew Nicols
357712eabe
MDL-55528 assignfeedback_editpdf: Remove unnecessary escapes
2017-03-10 10:45:47 +08:00
Andrew Nicols
3bd0d4397c
MDL-55528 assignfeedback_editpdf: Add step to check all pages loaded
2017-03-10 10:45:46 +08:00
Andrew Nicols
f7a9f1dd0e
MDL-55528 assignfeedback_editpdf: Update to use fileconverter_unoconv
2017-03-10 10:45:46 +08:00
Andrew Nicols
1568168717
MDL-55528 fileconverter_unoconv: Add new unoconv plugin
...
AMOS BEGIN
MOV [pathtounoconv,admin],[pathtounoconv,fileconverter_unoconv]
MOV [pathtounoconv_help,admin],[pathtounoconv_help,fileconv_helperter_unoconv_help]
MOV [unoconvwarning,admin],[unoconvwarning,fileconverter_unoconv]
MOV [test_unoconv,assignfeedback_editpdf],[test_unoconv,fileconverter_unoconv]
MOV [test_unoconvempty,assignfeedback_editpdf],[test_unoconvempty,fileconverter_unoconv]
MOV [test_unoconvdoesnotexist,assignfeedback_editpdf],[test_unoconvdoesnotexist,fileconverter_unoconv]
MOV [test_unoconvdownload,assignfeedback_editpdf],[test_unoconvdownload,fileconverter_unoconv]
MOV [test_unoconvisdir,assignfeedback_editpdf],[test_unoconvisdir,fileconverter_unoconv]
MOV [test_unoconvnotestfile,assignfeedback_editpdf],[test_unoconvnotestfile,fileconverter_unoconv]
MOV [test_unoconvnotexecutable,assignfeedback_editpdf],[test_unoconvnotexecutable,fileconverter_unoconv]
MOV [test_unoconvok,assignfeedback_editpdf],[test_unoconvok,fileconverter_unoconv]
MOV [test_unoconvversionnotsupported,assignfeedback_editpdf],[test_unoconvversionnotsupported,fileconverter_unoconv]
AMOS END
2017-03-10 10:45:46 +08:00
Andrew Nicols
34df779a95
MDL-55528 core_files: Create new fileconverter plugintype
2017-03-10 09:31:14 +08:00
AMOS bot
2dfec31ef5
Automatically generated installer lang files
2017-03-10 00:04:10 +08:00
sam marshall
832a18a46a
MDL-58177 tasks: Refactor scheduled task gui to use NO_OUTPUT_BUFFERING
2017-03-09 11:21:49 +00:00
Jun Pataleta
8ddc656739
MDL-57658 calendar: Fix rrulemanager and unit tests
...
Issues fixed:
* Additional rule validations.
* Rewrote recurrence logic.
* Additional unit tests, especially from the examples in the RFC.
* The date format "YmdThis" results into an incorrect date for the
"UNTIL" parameter. The literal "T" should be escaped, and a literal
"Z" is also needed at the end of the format string to indicate UTC.
* Implemented handling of negative modifier values for BYxxx rules.
* Implemented handling of BYWEEKNO, BYYEARDAY, BYSETPOS, BYHOUR,
BYMINUTE, BYSECOND rules.
2017-03-09 16:10:08 +08:00
Davo Smith
c6dd683cd0
MDL-47354 gradereport_singleview: allow choice of 'perpage' values
2017-03-08 11:39:29 +00:00
Jun Pataleta
f113169573
MDL-55956 calendar: Include courses parameter in subquery conditions
2017-03-08 15:30:04 +08:00
Ryan Wyllie
373029ec33
MDL-57975 core: version bump
...
Part of MDL-55611
2017-03-08 03:33:24 +00:00
Ryan Wyllie
8fa8675de8
MDL-57975 core: add userdate mustache php helper
...
Part of MDL-55611
2017-03-08 03:33:24 +00:00
Ryan Wyllie
0e5b3e282f
MDL-57975 javascript: add userdate mustache js helper
...
Part of MDL-55611
2017-03-08 03:33:24 +00:00
Ryan Wyllie
b61015cfcd
MDL-57975 javascript: add user_date.js
...
Part of MDL-55611
2017-03-08 03:33:23 +00:00
Ryan Wyllie
9c7ffb80d3
MDL-57975 core: test for user date external function
...
Part of MDL-55611
2017-03-08 03:33:23 +00:00
Ryan Wyllie
88c2941b26
MDL-57975 core: add get user date external function
...
Part of MDL-55611
2017-03-08 03:33:23 +00:00
John Okely
c0f70d1a7a
MDL-57751 libraries: Remove <2.6 only check from load_installed_plugins
2017-03-08 08:37:36 +08:00
Dan Poltawski
228637feff
Merge branch 'MDL-57990-master' of git://github.com/crazyserver/moodle
2017-03-07 14:00:07 -03:00
AMOS bot
305ecff614
Automatically generated installer lang files
2017-03-08 00:05:35 +08:00
Eloy Lafuente (stronk7)
21521604af
Merge branch 'MDL-58064-master-enfix' of git://github.com/mudrd8mz/moodle
2017-03-07 16:36:54 +01:00
Dan Poltawski
6dba6a5a6a
Merge branch 'MDL-57999_2' of https://github.com/zoebogner/moodle
2017-03-07 11:12:32 -03:00
Dan Poltawski
7ebe17f38a
Merge branch 'wip-mdl-58056' of https://github.com/rajeshtaneja/moodle
2017-03-07 11:08:24 -03:00
Dan Poltawski
58798ecb52
Merge branch 'MDL-57361-master' of git://github.com/jleyva/moodle
2017-03-07 11:07:47 -03:00
Tim Hunt
56068f5972
MDL-58035 tool_templatelibrary: fix unit test using removed base theme
2017-03-07 13:35:06 +00:00
Tim Hunt
ea049ee618
MDL-58035 lib: log when the expected theme cannot be initialised
2017-03-07 13:29:46 +00:00
David Monllao
58f7a83036
Merge branch 'MDL-58106' of git://github.com/timhunt/moodle
2017-03-07 13:37:24 +01:00
David Monllao
2aa1855205
Merge branch 'wip-mdl-58091' of https://github.com/rajeshtaneja/moodle
2017-03-07 13:15:55 +01:00
David Monllao
68aab93ea5
Merge branch 'MDL-57280-master' of git://github.com/ryanwyllie/moodle
2017-03-07 13:13:51 +01:00
David Mudrák
e7d380ca40
MDL-58064 lang: Clarify the PHP 7.x limitations
...
These are related to SQL*Server support only and affect all PHP 7
versions, not just 7.0.x. Credit goes to Eloy Lafuente for spotting
this.
2017-03-07 13:01:27 +01:00
David Monllao
9a2e5ad36c
Merge branch 'wip-MDL-57485-master' of git://github.com/abgreeve/moodle
2017-03-07 12:15:46 +01:00
David Monllao
02c7f6e888
Merge branch 'MDL-58057-master' of https://github.com/snake/moodle
2017-03-07 12:09:00 +01:00
David Monllao
996731dded
Merge branch 'MDL-45584_master' of git://github.com/markn86/moodle
2017-03-07 12:00:01 +01:00
Dan Poltawski
a7fc1af138
MDL-58040 blocks: add upgrade.txt note
2017-03-07 07:46:38 -03:00
Dan Poltawski
a3da85e42e
Merge branch 'MDL-58040' of git://github.com/timhunt/moodle
2017-03-07 07:43:46 -03:00
Dan Poltawski
44c4f148da
Merge branch 'MDL-55859-master' of git://github.com/ankitagarwal/moodle
2017-03-07 07:02:33 -03:00
Dan Poltawski
473efd8d53
Merge branch 'MDL-58052_behat_get_session_user' of https://github.com/gthomas2/moodle
2017-03-07 06:54:37 -03:00
Dan Poltawski
d04310cb21
Merge branch 'MDL-57362-master' of git://github.com/ankitagarwal/moodle
2017-03-07 06:47:38 -03:00
Ankit Agarwal
0884ddea86
MDL-57362 assign: Fix permission checks
2017-03-07 12:43:30 +05:30
Andrew Nicols
0c90bfe39b
Merge branch 'MDL-57972-master' of git://github.com/ryanwyllie/moodle
2017-03-07 14:35:00 +08:00
Ryan Wyllie
75378ded5f
MDL-57972 mustache: add shortentext template helper
...
Part of MDL-55611
2017-03-07 06:33:56 +00:00
Ryan Wyllie
180f5f23a6
MDL-57972 javascript: add upgrade instructions for truncate.js
...
Part of MDL-55611
2017-03-07 06:33:56 +00:00
Ryan Wyllie
7172b33e24
MDL-57972 javascript: Change truncate.js behaviour
...
Updated truncate.js to behave closer to the moodle implementation of
shorten_text.
Part of MDL-55611
2017-03-07 05:22:38 +00:00
Ryan Wyllie
d74d91f49a
MDL-57972 javascript: Add truncate.js third party lib
...
Part of MDL-55611
2017-03-07 05:22:34 +00:00
Andrew Nicols
342af35ab8
Merge branch 'MDL-55956-master-5' of git://github.com/junpataleta/moodle
2017-03-07 12:07:50 +08:00
Jun Pataleta
f7a9bca847
MDL-55956 mod_assign: Remove calendar events with 'open' eventtype
...
Remove creation of calendar events for mod_assign with
eventtype = 'open'. Since mod_assign instance creation only creates a
calendar event for the due date, there's no point in creating an override
event for an event type that does not exist.
2017-03-07 11:33:17 +08:00
Jun Pataleta
f52459bbbe
MDL-55956 calendar: Show only one of duplicate events relevant to user
...
If there are multiple, non-repeating events with the same module name,
instance and event type. The most specific event or the event with the
highest priority will be shown.
The ordering of event priorities:
User override events > Group override events > Course events.
If there are no user override events and there are multiple group
overrides for an event, then the one with the highest priority will be
shown.
2017-03-07 11:33:17 +08:00
Jun Pataleta
98239b2df8
MDL-55956 mod: Set event priority for activity overrides
...
Set the event priority of the following activity overrides:
* mod_assign
* mod_lesson
* mod_quiz
Always create separate events for start and end dates of activities.
2017-03-07 11:33:13 +08:00
Jake Dallimore
e858840437
MDL-58057 core_files: properly trim curl whitelist config when fetching
2017-03-07 09:49:22 +08:00
Ryan Wyllie
b6563dcfc3
MDL-57975 javascript: add sessionstorage.js
...
Part of MDL-55611
2017-03-07 01:29:13 +00:00
Andrew Nicols
29ce005862
MDL-55528 admin: Add a new generic admin setting type
2017-03-07 08:22:42 +08:00
Dan Poltawski
113d58a9f7
MDL-57932 version: bump for new icon
2017-03-06 13:54:32 -03:00
Dan Poltawski
99ad8199d8
Merge branch 'MDL-57932-core-moodle-logo-svg' of https://github.com/lucaboesch/moodle
2017-03-06 13:51:07 -03:00
Dan Poltawski
8b9196d7d2
Merge branch 'MDL-57887-nginx-username-logging' of https://github.com/brendanheywood/moodle
2017-03-06 13:43:38 -03:00
gthomas2
1b5c0dd8d4
MDL-57913 auth_db: Add scheduled task for syncing users
2017-03-06 13:49:15 +00:00
Dan Poltawski
892ceeb74e
Merge branch 'MDL-57362-master' of git://github.com/ankitagarwal/moodle
2017-03-06 10:27:10 -03:00
gthomas2
958dbe499a
MDL-57631 enrol_ldap: Add sheduled task
2017-03-06 13:24:00 +00:00
Jun Pataleta
ca75ec4fe0
MDL-55956 db: Add priority column for event table
...
* New priority column in order to enable the rendering of a single,
relevant calendar event for a module that has user/group overrides.
* Insert refresh_mod_calendar_events_task record to task_adhoc
table to upgrade existing calendar events for mod plugins via cron
after upgrade process.
2017-03-06 16:15:26 +08:00
Jun Pataleta
37d0c7c7fd
MDL-55956 core: New adhoc task refresh_mod_calendar_events_task
...
* New adhoc task that loops over mod plugins and calls the
<modname>_refresh_events() hook, if available.
2017-03-06 16:12:07 +08:00
Jun Pataleta
efe2497623
MDL-55956 mod: New function *_get_group_override_priorities()
...
New module functions quiz_get_group_override_priorities() and
lesson_get_group_override_priorities() to calculate the priorities
of group overrides for a quiz/lesson activity.
2017-03-06 16:10:54 +08:00
Adam Olley
b3e4fbc011
MDL-58160 coursecat: Use set_many to populate category cache
...
When the course category cache needs to be repopulated, two entries are added
to the cache for each category. In core this is currently done in a for-loop,
resulting in N set calls to the cache (where N is twice the number of
categories in Moodle).
This change switches that code to using a single set_many cache call instead,
which makes this an O(1) operation instead of O(N).
For a site with say, 1000 categories, this results in only 1 set call to the
cachestore instead of 2000.
2017-03-06 12:04:25 +10:30
Luca Bösch
15de9ec847
MDL-57932 core: Serve the Moodle logo as SVG
...
The Moodle logo in the login page footer is served in SVG format.
Signed-off-by: Luca Bösch <luca.beosch@bfh.ch >
2017-03-04 18:54:35 +01:00
gthomas2
353e78765a
MDL-58052 behat: user session function - use to edit current profile
2017-03-03 13:57:01 +00:00
Pau Ferrer Ocaña
fb41d2f0ef
MDL-57990 course: Add sortorder as public field
2017-03-03 11:53:52 +01:00
Eloy Lafuente (stronk7)
3c45d26f58
weekly release 3.3dev
2017-03-03 10:33:35 +01:00
Eloy Lafuente (stronk7)
a516247092
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-03-03 10:33:30 +01:00
Adrian Greeve
d630c0e37b
MDL-57485 themes: Set images to default display type.
...
Imported images in atto would no longer hold a URL
tag around it. display: block was the culprit.
2017-03-03 11:15:23 +08:00
Juan Leyva
f97305b025
MDL-57914 mod_data: Refactor get_databases_by_courses
...
- Use a exporter
- Return more fields for users with the view entry capability enabled
2017-03-02 22:57:05 +01:00
Juan Leyva
44acbb815f
MDL-57914 mod_data: Allow to export properties for external_files
2017-03-02 22:57:04 +01:00
Tim Hunt
125f65259f
MDL-58106 random Q restore: avoid MySQL performance issues
2017-03-02 19:40:32 +00:00
Ankit Agarwal
4d76de6fbf
MDL-55859 assign_editpdf: cleanup htmlfile in case of errors
2017-03-02 21:23:02 +05:30
Cameron Ball
e40d5048ca
MDL-57321 theme_boost: Remove extra quotation mark
2017-03-02 16:01:01 +08:00
Russell Smith
f3789f2fb3
MDL-45584 cache: Make identifiers part of the cache creation.
...
It is now safe to cache a reference to a cache and expect consistent results.
Changing identifiers altered cache results where a reference was
held to the cache. Identifiers have been set to be cached with
identifiers included so the caches are separate.
As a consequence of this it was identified that invalidation events
and identifiers don't easily work together as an event can't determine
which identifiers should be used for cache invalidation. So invalidation
events have been made incompatible with identifiers being set. No core
code used this combination as it's not possible to understand any expected
behaviour.
Event invalidation for application and session caches was centralised to the same
location. The only difference was the name of the lastinvalidation variable. This
improves support and consistency of invalidation code.
2017-03-02 11:06:17 +08:00
Jun Pataleta
2b9d97406f
MDL-58123 mod_lesson: Fix lesson table name in refresh_events DB query
2017-03-02 10:54:49 +08:00
Andrew Nicols
1b70f778fd
MDL-53978 tool_usertours: No tours for guest or no user
2017-03-02 10:24:06 +08:00
Andrew Nicols
50dcc8af9c
MDL-53978 core: Do not run callbacks if upgrade is running
2017-03-02 10:24:05 +08:00
Eloy Lafuente (stronk7)
bb9716ccd6
Merge branch 'MDL-57321-master' of git://github.com/cameron1729/moodle
2017-03-02 00:00:37 +01:00
Juan Leyva
92f505171d
MDL-57361 auth_email: Force policy agreed on sign-up
2017-03-01 18:20:19 +01:00
David Mudrák
0355e76ffa
MDL-58114 plugin manager: Fix exception parameters
2017-03-01 15:05:44 +01:00
Brendan Heywood
f2b7572a54
MDL-58109 reports: Add security check for preventexecpath
2017-03-01 15:18:30 +11:00
Cameron Ball
df21e24f26
MDL-57321 theme_boost: Remove duplicate aria-labelledby attribute
2017-03-01 11:35:50 +08:00
Cameron Ball
32778e73de
MDL-57321 theme_boost: Fix improperly nested ul elements in footer
2017-03-01 11:35:50 +08:00
Cameron Ball
c77cdbd704
MDL-57321 theme_boost: Use div instead of span for dropdown items
2017-03-01 11:35:49 +08:00
Cameron Ball
f6d94dc01f
MDL-57321 theme_boost: Consistently apply attributes on elements
2017-03-01 11:35:44 +08:00
Andrew Nicols
7b0a41447a
Merge branch 'MDL-58072_master_tabtree_mustache' of https://github.com/mchurchward/moodle
2017-03-01 11:09:38 +08:00
Eloy Lafuente (stronk7)
b0253c3323
Merge branch 'wip-MDL-48228-master-v2' of git://github.com/abgreeve/moodle
2017-03-01 02:56:56 +01:00
Eloy Lafuente (stronk7)
b239dfd9aa
Merge branch 'MDL-53978-master-fix' of https://github.com/andrewnicols/moodle
2017-03-01 02:46:06 +01:00
Andrew Nicols
e890de5531
Merge branch 'm33_MDL-57789_Add_Cache_Control_Immutable_Support' of https://github.com/scara/moodle
2017-03-01 09:31:45 +08:00
Andrew Nicols
5d86494808
MDL-53978 core: Improve cache usage when no callbacks are defined
2017-03-01 09:18:13 +08:00
Adrian Greeve
8c1288dbdb
MDL-48228 database: Unit test addition and update.
2017-03-01 09:03:12 +08:00
Adrian Greeve
0bbefd81cd
MDL-48228 database: Make utf8mb4 the default character set for mysql.
...
Thanks to Jetha Chan for providing the initial patch that this is
based on.
2017-03-01 09:03:12 +08:00
Eloy Lafuente (stronk7)
dd6b41a5c7
Merge branch 'MDL-58071-master' of git://github.com/jleyva/moodle
2017-02-28 22:57:09 +01:00
Eloy Lafuente (stronk7)
211843420d
Merge branch 'MDL-55980-master' of https://github.com/sammarshallou/moodle
2017-02-28 22:11:16 +01:00
Eloy Lafuente (stronk7)
1e8af13516
Merge branch 'MDL-55762-master' of git://github.com/ankitagarwal/moodle
2017-02-28 20:38:56 +01:00
Stephen Bourget
c3feaf269e
MDL-51853 calendar: allow entries imported from a file to be updated.
2017-02-28 10:14:25 -05:00
Zoe Bogner
004738e03d
MDL-57999 grades: Add itemname to gradereport_user_get_grade_items
2017-02-28 21:29:59 +10:30
David Monllao
f3221d8d79
Merge branch 'wip-MDL-51833-master' of git://github.com/abgreeve/moodle
2017-02-28 11:29:33 +01:00
Rajesh Taneja
db4b59fa03
MDL-58068 testing: Whitelist alternative_file_system_class in testing
...
Unit test and behat should be allowed to
run with alternative file system
2017-02-28 14:58:49 +08:00
Ankit Agarwal
ca09e2157b
MDL-57362 assignlib: Fix minor bug in phpdocs
2017-02-28 10:34:03 +05:30
Ankit Agarwal
f445fb8fa1
MDL-57362 assignlib: Check for sep groups edge case
2017-02-28 10:34:02 +05:30
Andrew Nicols
b6cab2b505
Merge branch 'MDL-58038-master-3' of https://github.com/snake/moodle
2017-02-28 12:19:33 +08:00
Jake Dallimore
9e44cec27f
MDL-58038 email: make sure all allowedemaildomain entries are respected
...
Fixes a bug with exploding the config var, in which trailing carriage
returns were causing string matches to fail.
2017-02-28 12:17:52 +08:00
Rajesh Taneja
da52592a7b
MDL-58091 behat: Added missing @_file_upload tag
2017-02-28 11:21:13 +08:00
Andrew Nicols
3c395fe486
Merge branch 'master' of git.in.moodle.com:moodle/integration; branch 'MDL-35980-master' of git://github.com/snake/moodle
2017-02-28 10:33:40 +08:00
Jake Dallimore
2671500dee
MDL-35980 behat: fix link text in submission_comments feature
2017-02-28 10:23:21 +08:00
Andrew Nicols
d83be33f3d
MDL-55547 tool_monitor: Coding style fixes
2017-02-28 09:43:21 +08:00
Andrew Nicols
d28357fbca
Merge branch 'wip-MDL-55547-master' of git://github.com/marinaglancy/moodle
2017-02-28 09:43:14 +08:00
Eloy Lafuente (stronk7)
7002b7c320
Merge branch 'MDL-58041_master' of https://github.com/sam-moodle/moodle
2017-02-28 02:29:17 +01:00
Eloy Lafuente (stronk7)
b4472fb459
Merge branch 'MDL-57524_master' of https://github.com/nadavkav/moodle
2017-02-28 02:24:08 +01:00
Eloy Lafuente (stronk7)
06fb1df811
Merge branch 'MDL-58030' of git://github.com/aolley/moodle
2017-02-27 22:47:14 +01:00
Helen Foster
ecfe6f58ce
MDL-58064 lang: Merge English strings from the en_fix language pack
2017-02-27 10:14:34 +01:00
Rajesh Taneja
26bf6d4ead
MDL-57940 behat: Allow behat parallel run to start with delay
...
Behat parallel run if executed together
then selenium might fail to launch browser
and timeout. It would be nice to have a
custom delay between the start of each process
2017-02-27 16:15:31 +08:00
Andrew Nicols
d21b71fb1a
MDL-53978 usertours: Coding style fix
2017-02-27 15:21:36 +08:00
Andrew Nicols
d9a5f82086
Merge branch 'MDL-53978-render-callbacks' of https://github.com/brendanheywood/moodle
2017-02-27 15:20:28 +08:00
Andrew Nicols
71cc1e529d
Merge branch 'MDL-50719-fast-locks' of https://github.com/brendanheywood/moodle
2017-02-27 13:42:55 +08:00
Andrew Nicols
696099b94f
Merge branch 'MDL-35980-master' of git://github.com/snake/moodle
2017-02-27 11:58:23 +08:00
Ankit Agarwal
1f3556b010
MDL-55762 assignpdf: Handle errored pages better
2017-02-27 09:24:07 +05:30
Ankit Agarwal
b6d06a5f78
MDL-55762 assignpdf: Fix bug in phpdocs
2017-02-27 09:24:07 +05:30
Andrew Nicols
50d567767c
Merge branch 'MDL-58032-master' of git://github.com/ankitagarwal/moodle
2017-02-27 11:45:30 +08:00
Andrew Nicols
b117fb3db9
MDL-33483 repository: Coding style tidyup
2017-02-27 11:31:00 +08:00
Andrew Nicols
eccbea3dd0
Merge branch 'MDL-33483_m33v2' of https://github.com/sbourget/moodle
2017-02-27 10:40:21 +08:00
Ryan Wyllie
0531ce1a29
MDL-57280 javascript: add modal registry
...
Add a modal registry for the types and make the factory use it to allow
code to register modal types at run time and use the factory for
non-core modals.
2017-02-27 01:05:44 +00:00
Adrian Greeve
7c8afa8ff8
MDL-51833 tool_monitor: Improve access check for monitor.
2017-02-27 08:59:45 +08:00
Matteo Scaramuccia
203c5bce27
MDL-57789 files: Reviewed lifetime value
2017-02-25 23:42:37 +01:00
Matteo Scaramuccia
ed0a1cd708
MDL-57789 files: Use immutable Cache-Control extension.
2017-02-25 23:42:35 +01:00
Matteo Scaramuccia
f2de8226a8
MDL-57789 files: Used if-then instead of ternary operators
2017-02-25 23:36:07 +01:00
Matteo Scaramuccia
7338ce0182
MDL-57789 files: Let send_stored_file() rely on send_file().
2017-02-25 23:36:04 +01:00
Nadav Kavalerchik
f9c1a7515a
MDL-57524 theme_boost: Fix ignored input size on admin pages
2017-02-24 21:52:41 +02:00
Juan Leyva
eeae783ca3
MDL-58071 user: Return usernotfullysetup exception in WS
...
If there is an empty required custom user profile field, Web Services
should return the usernotfullysetup exception instead ignoring it.
The mobile app already handles this exception for core fields
redirecting the user to web in order to fill the missing field.
2017-02-24 20:11:27 +01:00
Mike Churchward
85d9ed8b3b
MDL-58072 theme_boost: Added quotes to title; removed extra spaces.
2017-02-24 11:15:30 -05:00
sam marshall
38fa1ca558
MDL-55980 Scheduled tasks: Run individual scheduled tasks from web
2017-02-24 10:42:28 +00:00
Brendan Heywood
504d569b71
MDL-50719 cron: Fixed parallel task lock contention issues
2017-02-24 13:13:23 +11:00
Brendan Heywood
3e050643c7
MDL-53978 usertours: Swap to better callback
2017-02-24 13:06:54 +11:00
Brendan Heywood
5ebd1fb976
MDL-53978 core: Added callbacks for all major render stages
2017-02-24 13:06:54 +11:00
Jake Dallimore
35fcaac78b
MDL-56364 javascript: Prevent bad prototype chains in core dialogue
...
The DIALOGUE object was using Y.clone to copy the input config, messing
up the prototype chains for any objects in the config param. Really,
this doesn't need to clone the config, so I've refactored to avoid doing
so. Also moved some of the other attribute init and setup calls to the
appropriate places (initializer and modifyAttrs).
2017-02-24 08:25:31 +08:00
Jake Dallimore
cb1cb9575f
MDL-35980 comment: deprecate deletecomment string
2017-02-24 08:15:40 +08:00
Jake Dallimore
86f1d1bb86
MDL-35980 comment: add comment info to delete button for screen readers
...
For each delete button in the comments widget, make the spoken text a
string containing the name of the poster and the datetime.
2017-02-24 08:15:40 +08:00
AMOS bot
18f050062e
Automatically generated installer lang files
2017-02-24 00:06:38 +08:00
David Monllao
0f59b6dd75
weekly release 3.3dev
2017-02-23 08:07:39 +01:00
David Monllao
8cdd8312d5
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-02-23 08:07:37 +01:00
Rajesh Taneja
acdda4f5f7
MDL-58056 behat: Ensure form element exists
...
Before getting form field, ensure node is
visible. Else it may fail to get form
field
2017-02-23 14:44:44 +08:00
Rajesh Taneja
ade50a118a
MDL-58056 behat: Catch webdriver exception if element removed
...
While checking for element visibility, ensure
that element is there in dom
2017-02-23 14:44:43 +08:00
AMOS bot
be5e864416
Automatically generated installer lang files
2017-02-23 00:05:13 +08:00
David Mudrák
bb2924d018
MDL-58050 message: Commit the transaction before the early return
...
If there was no conversation found and the method returned early, the
active transaction was not marked as committable and the error was
reported by the request shutdown handler.
Attaching a unit test for the case just because it did not seem to be
covered. I was trying to reproduce the thrown error in the unit test but
it can't be used in this case. The shutdown handler puts the warning
directly into the error_log and it is not guaranteed where such messages
go (depending on the PHP configuration). And we do not even raise it
during the unit test execution (presumably due to noise it would
produce) anyway.
2017-02-22 13:56:02 +01:00
David Mudrák
0c44da7887
MDL-58050 message: Fix the DB transaction handling
...
Consumer code is not supposed to call commit_delegated_transaction()
method directly, this was incorrect usage of the delegated transactions.
2017-02-22 13:42:05 +01:00
Daniel Thee Roperto
b80caca188
MDL-57840 libraries: Fixed missing fields in get_users_by_field().
2017-02-22 16:07:14 +11:00
Ankit Agarwal
3e40dc8c61
MDL-58032 core_user: Fix case when acting user is a visitor
2017-02-22 09:00:45 +05:30
Eloy Lafuente (stronk7)
492099d929
Merge branch 'MDL-57527-master' of git://github.com/danpoltawski/moodle
2017-02-22 00:52:03 +01:00
Eloy Lafuente (stronk7)
5c73061bb9
Merge branch 'wip-mdl-57765' of https://github.com/rajeshtaneja/moodle
2017-02-21 23:53:39 +01:00
Eloy Lafuente (stronk7)
edc44ac356
Merge branch 'MDL-57633-master' of git://github.com/jleyva/moodle
2017-02-21 23:45:14 +01:00
Sam Chaffee
29be72373c
MDL-58041 tool_monitor: Fix event monitor subscription behat failures
2017-02-21 11:19:40 -07:00
Tim Hunt
898da28afd
MDL-58040 blocklib: never use global in block manager class
...
This switches everything to ->page, including coverting static method to real one.
2017-02-21 15:19:11 +00:00
David Monllao
73eceea93f
Merge branch 'wip-MDL-40838-master-2' of git://github.com/marinaglancy/moodle
2017-02-21 09:30:31 +01:00
David Monllao
b98b37c670
Merge branch 'MDL-57602-master' of https://github.com/lucisgit/moodle
2017-02-21 08:43:16 +01:00
Adam Olley
767761b7d8
MDL-58030 gradingform_guide: Init $commentchooser before use
...
The initialisation of $commentschooser was moved into an IF condition,
whilst still using it outside of that IF conditions scope. As such, if
there are no comments to choose from, the variable is never init'd but
it still goes to use it, emitting a PHP notice.
2017-02-21 14:31:20 +10:30
Eloy Lafuente (stronk7)
3cb7fc4f9a
Merge branch 'MDL-57619-master' of git://github.com/ankitagarwal/moodle
2017-02-21 01:06:29 +01:00
Eloy Lafuente (stronk7)
ac1837e6d6
Merge branch 'wip-MDL-57113-master' of https://github.com/kwiliarty/moodle
2017-02-21 00:59:54 +01:00
Eloy Lafuente (stronk7)
860b099f46
Merge branch 'wip-mdl-56616' of https://github.com/rajeshtaneja/moodle
2017-02-21 00:56:26 +01:00
Eloy Lafuente (stronk7)
aedde678c7
Merge branch 'MDL-55867_m33v1' of https://github.com/sbourget/moodle
2017-02-21 00:52:20 +01:00
Eloy Lafuente (stronk7)
fbbda1ec6e
Merge branch 'MDL-56206-text-enrolled-users-page-aligned' of https://github.com/lucaboesch/moodle
2017-02-20 19:15:23 +01:00
David Monllao
74d2cce2fa
Merge branch 'MDL-57576-33-updatefeedbackfile' of git://github.com/roperto/moodle
2017-02-20 12:27:26 +01:00
Dan Poltawski
f1b1c85b63
Merge branch 'MDL-57962-master' of git://github.com/dpalou/moodle
2017-02-20 11:19:16 +00:00
David Monllao
4163871cea
Merge branch 'MDL-57795-master' of https://github.com/snake/moodle
2017-02-20 10:28:16 +01:00
David Monllao
742043f3b7
Merge branch 'MDL-57801-master' of https://github.com/lucisgit/moodle
2017-02-20 10:10:01 +01:00
David Monllao
2e57a90e0e
Merge branch 'MDL-57859-master' of git://github.com/merrill-oakland/moodle
2017-02-20 09:42:25 +01:00
David Monllao
cb0f30cf77
Merge branch 'MDL-58014_master' of git://github.com/markn86/moodle
2017-02-20 09:32:11 +01:00
David Monllao
6c6492a284
Merge branch 'MDL-56679-master' of git://github.com/junpataleta/moodle
2017-02-20 09:20:11 +01:00
David Monllao
49b8fa7fce
Merge branch 'MDL-57274-master' of https://github.com/snake/moodle
2017-02-20 09:07:18 +01:00
David Monllao
6b9d6d2eab
Merge branch 'MDL-50729-master' of git://github.com/ankitagarwal/moodle
2017-02-20 08:26:39 +01:00
Mark Nelson
29c3b0b4d2
MDL-58014 core_message: fixed unread message count
2017-02-20 13:29:13 +08:00
Marina Glancy
0c30e89f34
MDL-55547 tool_monitor: fix exceptions when course was deleted
...
Delete subscriptions when course is deleted
2017-02-20 12:11:29 +08:00
Marina Glancy
92253b15b7
MDL-40838 backup: restore enrolment methods without users
2017-02-20 12:08:35 +08:00
Jake Dallimore
a448a38b1d
MDL-57274 upgrade: fix curl security notices during upgrade/install
...
Handles the case where $CFG->curlsecurityxxx vars don't yet exist
during install or upgrade by treating not set the same as empty.
2017-02-20 08:55:57 +08:00
Jake Dallimore
5cb060b878
MDL-57795 mod_assign: fix for filters killing review pane when grading
...
Fixes a bug in which the review pane was destroyed if the user selected
a combination of filters resulting in no matched users. Now, the pane
is just hidden in such cases, and displayed again if subsequent filter
changes return one or more users.
2017-02-20 08:51:35 +08:00
Dan Poltawski
c7abec68a6
Merge branch 'MDL-57967_master' of git://github.com/markn86/moodle
2017-02-19 19:44:51 +00:00
Matteo Scaramuccia
cdf8238b14
MDL-57379 Files: Improved file argument evaluation.
...
get_file_argument() is responsible to extract the relative path
of the file to be served by a specific Moodle component
like a theme or a module.
Some modules like scorm and imscp require slasharguments support
and they force it when creating the URLs to serve their files.
It should honor the slasharguments setting but this could break
those instances where existing hard-coded links still make usage of
the "old" format, the one when slasharguments is set to No i.e. '?file='.
Its logic has been improved by looking at when the URL is related to
serving a plug-in file in a "forced" slasharguments way of serving it
i.e. using '/pluginfile.php/' and not '/pluginfile.php?'.
2017-02-19 16:39:04 +01:00
Dan Poltawski
ddc1306c97
MDL-57557 calendar: remove YUI module
2017-02-17 14:05:30 +00:00
Dan Poltawski
6e24853aa1
MDL-57557 calendar: convert from yui module to bootstrap popovers
2017-02-17 14:05:29 +00:00
Dan Poltawski
facf039a00
MDL-57557 boost: allow any type of popover
2017-02-17 14:05:29 +00:00
Tony Butler
efa7d24168
MDL-57801 core_filestorage: Delete temp file if disk space runs out
2017-02-16 12:41:06 +00:00
Tony Butler
961323a05f
MDL-57801 core_filestorage: Verify hash of temp file before committing
...
This addresses an edge scenario on NFS filesystems with no space
remaining, where subsequent uploads fail silently while zero byte files
are saved to the pool (and for some reason the filesize check passes).
2017-02-16 12:38:58 +00:00
Tony Butler
eb43ef6c97
MDL-57602 mod_assign: Add 'Granted extension' filter for grading UI
2017-02-16 11:23:41 +00:00
Tony Butler
696bd4d68b
MDL-57602 mod_assign: Add 'Granted extension' filter for grading table
2017-02-16 11:23:41 +00:00
Gergely Kún
2a00bd159d
MDL-56679 core: Initialise $SESSION if necessary
2017-02-16 16:17:14 +08:00
Dan Poltawski
9ec952f237
weekly release 3.3dev
2017-02-16 08:14:32 +00:00
Dan Poltawski
3129b28a28
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-02-16 08:14:28 +00:00
Dan Poltawski
1fff8332cf
Merge branch 'wip-MDL-4782-fix' of https://github.com/marinaglancy/moodle
2017-02-16 07:51:02 +00:00
Ankit Agarwal
d58adec8de
MDL-57619 behat: Final deprecation of old behat steps
2017-02-16 11:54:10 +05:30
Mark Nelson
f512355b31
MDL-57967 core_message: do not process conversations from deleted users
2017-02-16 13:01:06 +08:00
Marina Glancy
024d120ffc
MDL-4782 install: add major db change version
2017-02-16 09:28:29 +08:00
David Monllao
c181f152d7
MDL-57697 survey: Remove unexisting param
2017-02-15 11:02:02 +01:00
David Monllao
759a70d32e
Merge branch 'MDL-57697-master' of git://github.com/danpoltawski/moodle
2017-02-15 11:00:55 +01:00
Dan Poltawski
bdad6c4a99
MDL-57697 mod_survey: clean up data passing to js
...
Get rid of the ugly huge array passed to JS as it went over our debug
limit.
(It's a cleaner solution and we get rid of one globals hack.. I just was
avoiding doing to many changes in the original patch, because this whole
interface is not very usable and needs rethinking)
2017-02-15 09:51:16 +00:00
Eloy Lafuente (stronk7)
2ea3a89aa2
Merge branch 'wip-mdl-57030-fix' of https://github.com/rajeshtaneja/moodle
2017-02-15 10:38:08 +01:00
Eloy Lafuente (stronk7)
c362c351de
Merge branch 'MDL-57896-master-clicfg' of git://github.com/mudrd8mz/moodle
2017-02-15 10:33:36 +01:00
David Mudrák
00eeb686bf
MDL-57896 admin: Prevent cfg.php from trying to change hard-set value
...
Credit goes to Andrew Nicols for spotting and suggesting this check.
2017-02-15 09:23:02 +01:00
Rajesh Taneja
52d1697c12
MDL-57030 behat: Save run status after execution
2017-02-15 10:16:09 +08:00
Eloy Lafuente (stronk7)
bad6e880b2
Merge branch 'MDL-53991_m33v4' of https://github.com/sbourget/moodle
2017-02-14 18:12:39 +01:00
Eloy Lafuente (stronk7)
afd3eb9e11
Merge branch 'wip-mdl-57030' of https://github.com/rajeshtaneja/moodle
2017-02-14 16:30:39 +01:00
David Monllao
ab1058247c
MDL-56122 editpdf: Fix ghostscript checking
2017-02-14 13:45:21 +01:00
Dan Poltawski
c3998beb3f
Merge branch 'MDL-57810-nginx-buffers' of https://github.com/brendanheywood/moodle
2017-02-14 11:20:37 +00:00
Dan Poltawski
898f227f40
Merge branch 'MDL-46375-master' of git://github.com/andrewnicols/moodle
2017-02-14 10:34:39 +00:00
Dani Palou
aa9059b965
MDL-57962 forum: Allow creating new discussions with groupid -1
2017-02-14 10:28:33 +01:00
David Monllao
2fe4261efd
Merge branch 'wip-MDL-4782-master-3' of https://github.com/marinaglancy/moodle
2017-02-14 10:00:32 +01:00
David Monllao
ccaf17855e
Merge branch 'MDL-56122-master' of https://github.com/lucisgit/moodle
2017-02-14 09:53:22 +01:00
Dan Poltawski
518f42f5f9
Merge branch 'wip-mdl-55476' of https://github.com/rajeshtaneja/moodle
2017-02-14 08:40:07 +00:00
Marina Glancy
3f9503468f
MDL-4782 course: Behat tests for stealth mode support
2017-02-14 16:38:08 +08:00
Marina Glancy
8341055eb4
MDL-4782 course: Allow activities in the "stealth" mode
...
Add field 'visibleoncoursepage' to the course_modules table
Add site-wide setting for turning on stealth mode availability
Add callback for "stealth" mode support in the course formats
Change display of modules/sections availability on the course page
2017-02-14 16:38:05 +08:00
Rajesh Taneja
30536aaadb
MDL-55476 auth: Fixed missing double quote in template
2017-02-14 16:19:20 +08:00
Marina Glancy
4b6728e431
MDL-4782 course: substitute YUI with AMD and rest.php with calling WS
2017-02-14 15:57:33 +08:00
Marina Glancy
4529327a22
MDL-4782 course: new WS for section and module editing
2017-02-14 15:57:33 +08:00
Marina Glancy
28ac3a54b9
MDL-4782 availability: new template for course display
2017-02-14 15:57:33 +08:00
Marina Glancy
084c2ef1ef
MDL-4782 course: swap availability info and description
2017-02-14 15:57:32 +08:00
Ankit Agarwal
cb9abded42
MDL-50729 gradelib: Regrade event should be assigned to system
2017-02-14 10:15:52 +05:30
Ankit Agarwal
0edba58d50
MDL-50729 events: Add user constants to events base class
2017-02-14 10:15:52 +05:30
Eric Merrill
75e74407a3
MDL-57859 persistent: Add a combined create/update call
2017-02-13 22:33:42 -05:00
Damyon Wiese
dd7de4ea82
MDL-57766 assign: Put back the manual marker filter
...
I removed too much from gradingtable.php in the last patch.
2017-02-14 10:16:56 +08:00
Andrew Nicols
0c03db6a32
MDL-46375 core_files: Correct filename in mbz test
...
I noticed during the file system abstraction that this test was
incorrect.
Since both $storagefalse, and $storagetrue are in the same context,
component, area, itemid, and folder, the fact that they had the same
filename meant that they constantly overwrote one another.
As part of archive_to_storage, existing files in the same location are
found, the files themselves deleted, and the existing file record in the
files table is deleted.
The tests continued to pass because:
* the existing variables were not affected by the deletion of the file
record and file so the comparisons were successful; and
* subsequent calls to fetch the content of the file meant that the
files themselves were restored from the trash directory.
2017-02-14 08:42:28 +08:00
Andrew Nicols
16a34ae189
MDL-46375 core_files: Split parts of file_storage into new file system
...
This change moves all operations which deal with the fetching/updating, or
setting of files from the file_storage class into a new file_system class.
A new file_system can be specified in the config.php and used to replace
all relevant methods in order to move the file system component to an
alternative solution.
2017-02-14 08:42:28 +08:00
Eloy Lafuente (stronk7)
846d899329
Merge branch 'MDL-57868-master' of git://github.com/jleyva/moodle
2017-02-13 23:37:39 +01:00
Eloy Lafuente (stronk7)
369df31150
Merge branch 'MDL-57708-master' of git://github.com/merrill-oakland/moodle
2017-02-13 23:32:35 +01:00
Eloy Lafuente (stronk7)
a2c0fff9d1
Merge branch 'MDL-57687-master' of git://github.com/danpoltawski/moodle
2017-02-13 19:14:22 +01:00
Tony Butler
63a117dcb2
MDL-56122 assignfeedback_editpdf: Add test assertions for pdf generation
2017-02-13 17:27:24 +00:00
Tony Butler
fecfb4c6fb
MDL-56122 assignfeedback_editpdf: Regenerate PDF & page images if blank
2017-02-13 17:23:42 +00:00
Eloy Lafuente (stronk7)
8b1af72760
Merge branch 'MDL-57890-master' of git://github.com/dpalou/moodle
2017-02-13 17:53:37 +01:00
Eloy Lafuente (stronk7)
11db8fe2b9
Merge branch 'MDL-57896-master-clicfg' of git://github.com/mudrd8mz/moodle
2017-02-13 17:41:02 +01:00
Dan Poltawski
cb00816610
Merge branch 'MDL-56841' of https://github.com/andrewhancox/moodle
2017-02-13 16:22:34 +00:00
B Krishnan Iyer
5c3e1eedb7
MDL-57354 output: Render continue button as a primary button.
2017-02-13 15:50:52 +00:00
Dan Poltawski
7322592606
MDL-55476 block_login: fix whitespace
2017-02-13 15:32:36 +00:00
Dan Poltawski
69723d002b
Merge branch 'MDL-57752_tracksessionip' of git://github.com/davosmith/moodle
2017-02-13 13:53:10 +00:00
Dan Poltawski
f5af2e6866
Merge branch 'MDL-55476-master' of git://github.com/jadet23/moodle
2017-02-13 13:41:13 +00:00
Dan Poltawski
b747a90082
Merge branch 'MDL-57768-webservice-config-error' of https://github.com/ilya-catalyst/moodle
2017-02-13 13:28:37 +00:00
David Monllao
43e890aabe
Merge branch 'MDL-57697-master' of git://github.com/danpoltawski/moodle
2017-02-13 13:19:39 +01:00
David Monllao
815ce88f44
Merge branch 'MDL-57766-master' of git://github.com/damyon/moodle
2017-02-13 10:12:14 +01:00
Davo Smith
a2f1c5c39a
MDL-57752 session: fix check_security() session termination
2017-02-13 07:54:02 +00:00
Marina Glancy
a572272768
MDL-50770 blocks: remove orphaned block positions
2017-02-13 15:18:51 +08:00
Marina Glancy
34c9d28e62
MDL-50770 blocks: copy sitewide blocks positions when cloning dashboards
2017-02-13 15:17:09 +08:00
Rajesh Taneja
8819e01dde
MDL-56616 theme_boost: Fix style for performance info
2017-02-13 14:35:10 +08:00
AMOS bot
55bbbfafe7
Automatically generated installer lang files
2017-02-11 00:11:06 +08:00
Ilya Tregubov
1138af352a
MDL-57768 webservice: Delete manual setting of config in test
2017-02-10 11:49:09 +11:00
David Mudrák
dfefcef2f1
MDL-57896 admin: Introduce the new admin/cli/cfg.php utility
2017-02-09 12:51:19 +01:00
Damyon Wiese
230ae095b4
MDL-57766 mod_assign: Marker allocation fixes
...
Marking allocation was only ever applied in the view for the grading table. It should
have been added to the list_participants function because that is used by webservices and
the new grading UI.
2017-02-09 17:06:21 +08:00
David Monllao
7a3b115d37
weekly release 3.3dev
2017-02-09 08:00:01 +01:00
David Monllao
0c991a2e06
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-02-09 08:00:00 +01:00
Ryan Wyllie
e12d9f494c
MDL-57370 message: add unread count to conversation tests
2017-02-09 03:39:14 +00:00
Ryan Wyllie
c9b82e402e
MDL-57370 message: improve message union sql
2017-02-09 03:39:09 +00:00
Eric Merrill
7dfc65dbf9
MDL-57708 assign: Fix display of overridden submissions
2017-02-08 14:30:56 -05:00
David Monllao
375b9ce0e7
Merge branch 'wip-MDL-57316-master' of git://github.com/marinaglancy/moodle
2017-02-08 13:11:28 +01:00
Dan Poltawski
3f037586ae
MDL-57697 survery: migrate validation script from yui2
...
Just a modernisation of the existing yui2 code to AMD/jQuery and away from alert();
2017-02-08 11:22:11 +00:00
Dan Poltawski
e1a38878c1
MDL-57687 js: Remove M.util.init_toggle_class_on_click
2017-02-08 11:09:54 +00:00
Dan Poltawski
e46b11a6a1
MDL-57527 portfolio: remove legacy yui from js
2017-02-08 11:04:59 +00:00
Dan Poltawski
c73e3ef153
MDL-57527 reports: remove JS svg rotation
...
Just use CSS
2017-02-08 11:04:59 +00:00
Dan Poltawski
a06677a3b5
Merge branch 'MDL-57370-master-int-fix-1' of git://github.com/ryanwyllie/moodle
2017-02-08 09:14:07 +00:00
Ryan Wyllie
42e2f6c0e9
MDL-57370 message: fix duplicate ids
2017-02-08 07:40:07 +00:00
Rajesh Taneja
f540dcc96c
MDL-57030 behat: Added option to automatically rerun failures
2017-02-08 13:22:55 +08:00
Marina Glancy
63c102e095
MDL-57316 media: create different instances for different pages
2017-02-08 10:17:43 +08:00
Rajesh Taneja
808cfcc372
MDL-56954 behat: Fixed string to pass behat
...
colon is not concatenated to Search courses string
2017-02-08 09:50:02 +08:00
AMOS bot
0c66451c51
Automatically generated installer lang files
2017-02-08 00:08:49 +08:00
Dani Palou
16840c7126
MDL-57890 ws: Return cmid in all get_by_courses WebServices
2017-02-07 14:07:51 +01:00
Dan Poltawski
cf8c463de6
Merge branch 'MDL-57009-master' of git://github.com/damyon/moodle
2017-02-07 12:32:34 +00:00
Dan Poltawski
125fa38af3
Merge branch 'MDL-57370-master' of git://github.com/ryanwyllie/moodle
2017-02-07 10:35:13 +00:00
Damyon Wiese
3d6ae65b61
MDL-57009 javascript: Reject on all errors
...
Not all error paths were resulting in a reject() call to fail a promise.
2017-02-07 15:36:48 +08:00
Damyon Wiese
f3cd5c5b7b
MDL-57009 javascript: Always use when.apply
...
Or it does not really wait for the promises.
2017-02-07 15:03:43 +08:00
Luca Bösch
f66ab0706b
MDL-56206 themes: Text on Enrolled users page well aligned
...
Helps to align the table row content.
2017-02-07 07:28:31 +01:00
Eloy Lafuente (stronk7)
3587ee29c2
Merge branch 'MDL-56954-master' of git://github.com/lameze/moodle
2017-02-07 06:20:26 +01:00
Brendan Heywood
c31a35b57d
MDL-57887 setup: Support logging usernames in nginx access logs
2017-02-07 13:47:40 +11:00
Ryan Wyllie
b1e6f1a8fb
MDL-57370 message: deprecate message_get_recent_conversations
2017-02-07 01:40:47 +00:00
Ryan Wyllie
98be2d2009
MDL-57370 message: change indexes on message tables
2017-02-07 01:40:47 +00:00
John Okely
1abd43763c
MDL-57316 media: Setup media plugins in media_manager::instance()
2017-02-07 09:16:01 +08:00
John Okely
c2e00335e1
MDL-57316 videojs: Add behat tests for lesson, url and resource
2017-02-07 09:16:01 +08:00
Ryan Wyllie
4d146f1a45
MDL-57370 message: unit tests for get_conversations
2017-02-07 01:04:11 +00:00
Ryan Wyllie
349f426197
MDL-57370 message: remove joins from get_conversations
...
I have broken up the single query that was doing multiple joins on the
messaging and user tables. It no longer does any joins and will instead
query each data set individually.
This may cost more in terms of PHP processing but it will mean that
standard database tunings should be able to handle larger data sets.
For example this function was taking a long time to run on moodle.org
and was causing the MySQL join buffer to overflow.
2017-02-07 01:04:11 +00:00
Eloy Lafuente (stronk7)
470ae44956
Merge branch 'wip-mdl-57851' of https://github.com/rajeshtaneja/moodle
2017-02-07 01:26:03 +01:00
Eloy Lafuente (stronk7)
7373f641e5
Merge branch 'MDL-57846-master' of git://github.com/jleyva/moodle
2017-02-07 00:12:30 +01:00
Eloy Lafuente (stronk7)
7c8ae843ed
Merge branch 'wip-mdl-57853' of https://github.com/rajeshtaneja/moodle
2017-02-06 21:52:16 +01:00
Eloy Lafuente (stronk7)
f20f598ab5
Merge branch 'MDL-57841-master' of git://github.com/damyon/moodle
2017-02-06 20:18:17 +01:00
Eloy Lafuente (stronk7)
8abe17288b
Merge branch 'MDL-57844-master' of git://github.com/dpalou/moodle
2017-02-06 19:53:55 +01:00
AMOS bot
199994d398
Automatically generated installer lang files
2017-02-07 00:05:17 +08:00
Eloy Lafuente (stronk7)
f65a48c50e
Merge branch 'MDL-53349-master' of https://github.com/xow/moodle
2017-02-06 16:06:25 +01:00
Dan Poltawski
808d652e81
Merge branch 'MDL-57660-master' of git://github.com/junpataleta/moodle
2017-02-06 13:46:50 +00:00
Dan Poltawski
586543f2dc
Merge branch 'MDL-57587' of git://github.com/timhunt/moodle
2017-02-06 10:59:26 +00:00
Juan Leyva
79cc1c4ff6
MDL-57868 mod_feedback: Fix incorrect query parameters order
...
get_records_menu call get_records using the same params ordering, it is
causing a duplicated value error for the first column
2017-02-06 11:31:56 +01:00
David Monllao
695f2b09ce
Merge branch 'MDL-57777-m' of https://github.com/micaherne/moodle
2017-02-06 09:41:13 +01:00
Rajesh Taneja
9bb156ee75
MDL-57853 phpunit: Remove use of setExpectedException
2017-02-06 11:44:42 +08:00
Stephen Bourget
af46e2b83e
MDL-55867 block_activity_results: Sort activities alphabetically.
2017-02-05 20:54:01 -05:00
Rajesh Taneja
a30e1c3192
MDL-57851 behat: Add some more wait for scenario to pass
...
On slow machine with phnatomjs profile
this scenario keeps failing. Add some more
wait to ensure the page is stable and next
step can be executed
2017-02-03 12:53:24 +08:00
Kevin Wiliarty
4274880b6a
MDL-57113 boost: min-width for region-main in grade views
2017-02-02 23:16:02 -05:00
AMOS bot
17699abe5a
Automatically generated installer lang files
2017-02-03 00:03:53 +08:00
Andrew Hancox
26ca6df76a
MDL-56841 mod_folder: Display edit and download buttons inline
2017-02-02 15:15:30 +00:00
Dani Palou
21d9f020ae
MDL-57844 message: Add some message WS to the Mobile service
2017-02-02 10:03:05 +01:00
Damyon Wiese
b302369d17
MDL-57009 javascript: cibot nagging
2017-02-02 15:54:19 +08:00
Damyon Wiese
39bf2a985b
MDL-57009 javascript: Dont rely on async ajax
...
Recursively pre-scan mustache templates to extract the list of blocks and partials. Then
we can pre-fetch them all and don't have to rely on jquery async ajax (which is deprecated).
This is part of a refactoring of the promises code in the templates module to prevent duplicate requests.
2017-02-02 15:54:19 +08:00
Damyon Wiese
f20a336b43
MDL-57009 js: Do not fetch the same template twice
...
Also clean up promises use of done vs then.
2017-02-02 15:54:19 +08:00
Damyon Wiese
dcdf7c6155
MDL-57009 js: Skip ajax request for same string
...
This is done by caching the first promise generated to fetch a string.
2017-02-02 15:54:19 +08:00
Simey Lameze
6dccde9d41
MDL-56954 theme_boost: apply bs4 styles to course management page
2017-02-02 15:52:00 +08:00
Andrew Nicols
f99313477d
weekly release 3.3dev
2017-02-02 11:32:03 +08:00
Andrew Nicols
ea6eb1cc48
Merge branch 'MDL-57630-m' of https://github.com/micaherne/moodle
2017-02-02 09:18:17 +08:00
Rajesh Taneja
6fd35788c1
MDL-54628 behat: Rerun command now include replace option passed
2017-02-02 08:21:11 +08:00
Juan Leyva
d472f530ac
MDL-57846 core_exporter: Allow properties description in exporters
2017-02-01 19:10:18 +01:00
Nadav Kavalerchik
e375029ea0
MDL-53349 Autocomplete: Support multi lingual COMMA keycode (44)
2017-02-01 16:00:41 +08:00
Damyon Wiese
13fb78a4f6
MDL-57841 exporter: Allow scalars as related objects
2017-02-01 15:30:56 +08:00
Ankit Agarwal
2118859218
MDL-57300 lti: Make tool provider page more readable
2017-02-01 11:40:47 +05:30
Ankit Agarwal
5e80c61df4
MDL-57027 accesslib: Improve perf of sql
2017-02-01 13:01:29 +08:00
Petr Skoda
a6210651a9
MDL-57027 fix get_users_by_capability()
...
Change-Id: I98dc88784dfa0293f88a19c3d36e7a46a3f52672
2017-02-01 13:01:28 +08:00
Eloy Lafuente (stronk7)
326cd6f661
Merge branch 'MDL-57592-master' of https://github.com/mwehr/moodle
2017-02-01 13:01:27 +08:00
Dan Poltawski
326efc7c66
Merge branch 'MDL-57588' of git://github.com/timhunt/moodle
2017-02-01 13:01:27 +08:00
Dan Poltawski
8cf4591a8e
Merge branch 'wip-mdl-54628' of https://github.com/rajeshtaneja/moodle
2017-02-01 13:01:26 +08:00
Dan Poltawski
ac08d4556a
Merge branch 'MDL-57300-master' of git://github.com/ankitagarwal/moodle
2017-02-01 13:01:26 +08:00
Dan Poltawski
7a6b7f0b75
Merge branch 'MDL-57586-master' of https://github.com/nashtechdev01/moodle
2017-02-01 13:01:25 +08:00
Dan Poltawski
f17eb36771
Merge branch 'MDL-57728_m33v1' of https://github.com/sbourget/moodle
2017-02-01 13:01:24 +08:00
Juan Leyva
af0e70b60a
MDL-57633 mod_lesson: New WS mod_lesson_get_lessons_by_courses
2017-01-31 17:01:49 +01:00
Juan Leyva
4a3391b694
MDL-57633 mod_lesson: Move to function the lesson availability checks
...
This commit is just about moving code and updating the lesson class to
manage the context and cm.
2017-01-31 17:01:48 +01:00
Michael Aherne
655727381d
MDL-57777 rss: Return 404 when context not found.
2017-01-31 09:29:08 +00:00
Andrew Nicols
22f93579fa
Merge branch 'MDL-57638_rss_skip' of git://github.com/davosmith/moodle
2017-01-31 13:21:35 +08:00
Andrew Nicols
7a2121d7f2
Merge branch 'wip-MDL-57785-master' of git://github.com/amygroshek/moodle
2017-01-31 12:19:13 +08:00
Andrew Nicols
ca12fb5458
Merge branch 'master_MDL-56808' of git://github.com/danmarsden/moodle
2017-01-31 12:10:48 +08:00
Andrew Nicols
88107dc944
Merge branch 'MDL-35978-master-blockfix' of https://github.com/snake/moodle
2017-01-31 11:43:38 +08:00
Jake Dallimore
bb80768558
MDL-35978 comments: fix for comments block which has no toggler
2017-01-31 11:24:42 +08:00
Andrew Nicols
b462c655dc
Merge branch 'MDL-57410-master' of git://github.com/jleyva/moodle
2017-01-31 09:00:34 +08:00
Andrew Nicols
f417416cf1
Merge branch 'MDL-57296-master' of git://github.com/ankitagarwal/moodle
2017-01-31 08:35:41 +08:00
wehr
f58861051f
MDL-57592 assignment: Adds filtering of assignment name in grader view
2017-01-30 18:27:22 +01:00
Tim Hunt
2d708a7365
MDL-57588 questions: regrading should not lose flags
2017-01-30 14:31:52 +00:00
Dan Poltawski
010e22169b
Merge branch 'wip-MDL-57782-master' of git://github.com/marinaglancy/moodle
2017-01-30 10:08:26 +00:00
Dan Poltawski
b040b52340
Merge branch 'MDL-35978-master' of https://github.com/snake/moodle
2017-01-30 09:54:13 +00:00
Dan Poltawski
9e3df32f5c
Merge branch 'MDL-36233-master' of git://github.com/lameze/moodle
2017-01-30 09:34:27 +00:00
Ankit Agarwal
6c6bd6e1ad
MDL-57296 gradelib: Fix get_hidding_effect for grade_type_none items
2017-01-30 13:37:48 +05:30
Andrew Nicols
7463727761
Merge branch 'wip-MDL-57568-master' of git://github.com/abgreeve/moodle
2017-01-30 13:56:16 +08:00
Brendan Heywood
cfd35ec846
MDL-57810 lib: Disable nginx buffers when not required
2017-01-30 15:51:50 +11:00
Rajesh Taneja
1dc320f140
MDL-57765 behat: Allow exact selectors to be used
...
In Blocks with boost theme selector to
find block with name is partial match
it might fail in some cases. It would
be nice to use exact match to avoid
unexpected failures
2017-01-30 11:37:34 +08:00
Mike Churchward
559cfa03f4
MDL-36233 mod_assign: fixed submission time comparison sql and test.
2017-01-30 09:06:55 +08:00
Rajesh Taneja
36cc9f8e37
MDL-54628 behat: Set behat dir for each run under behat_dataroot
...
Before this patch behat_dataroot for parallel runs
were created at same level as ->behat_dataroot
After this patch, it will be created 1 level under
->behat_dataroot with BEHAT_PARALLEL_SITE_NAME
prefix and run number as suffix. This will allow
common files as test enabled and parallel run info
to be saved in parent directory and access it easily.
2017-01-30 08:51:53 +08:00
Amy Groshek
c178ba7275
MDL-57785 scorm: Prevents SCORM nav refresh when nav not shown.
...
This improvement prevents refresh of SCORM 1.2 navigation menu
when the navigation menu is not displayed.
2017-01-27 09:11:16 -06:00
Marina Glancy
bbf401bec6
MDL-57782 enrol_self: fix check when email needs to be sent
...
Thanks to Leandro for providing a fix
2017-01-27 14:24:10 +08:00
Helson Castro
5ad0bb82f1
MDL-57568 forms: Added missing include for button element.
2017-01-27 13:58:31 +08:00
Jake Dallimore
af65270e87
MDL-35978 comments: expandable comments announce change when toggled
...
Added role and aria-expanded attributes to the toggler link and added
a key handler for the space and enter keys.
2017-01-27 13:03:53 +08:00
Jun Pataleta
1da58a1a75
MDL-57660 mod_forum: Preserve forum ID selection after form submission
2017-01-27 10:09:37 +08:00
Eloy Lafuente (stronk7)
e7059ec5e2
weekly release 3.3dev
2017-01-27 00:27:34 +01:00
Eloy Lafuente (stronk7)
47b5a0fc25
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-01-27 00:27:30 +01:00
Tim Hunt
c28bfbef24
MDL-57587 question file access: fix regression caused by MDL-53744
2017-01-26 18:53:16 +00:00
Dan Poltawski
e7ecb4a90f
MDL-57690 js: fix core modal uses in amd
...
Converting the uses to the AMD modules is a bit risky for now, instead
just require the YUI depdency.
2017-01-26 11:28:59 +00:00
Dan Poltawski
0053c77d62
MDL-57690 js: fix missing requirement before using M.core.dialogue
2017-01-26 08:52:50 +00:00
Dan Marsden
e62e8545dc
MDL-56808 scorm: remove some eval function that aren't needed.
2017-01-26 09:56:29 +13:00
Andrew Nicols
e0e5407e77
MDL-57550 mod_forum: Set dates to initial checkbox state
2017-01-25 14:04:47 +08:00
Andrew Nicols
190c79ac3e
MDL-57273 report_competency: Use correct getters
2017-01-25 13:16:25 +08:00
Damyon Wiese
5c83f8cdb9
MDL-57273 persistent: Remove use of helper as getter
...
get('blah') are for properties
get_blah() are for helpers
2017-01-25 11:14:00 +08:00
Andrew Nicols
ae099a2a1d
Merge branch 'MDL-57273-master' of git://github.com/damyon/moodle
2017-01-25 08:48:27 +08:00
wehr
88671590f2
MDL-57655 session: Adds igbinary serializer to Redis session handler
2017-01-25 00:47:25 +01:00
Eloy Lafuente (stronk7)
ae8e8e6aa1
Merge branch 'MDL-55915_master' of https://github.com/rezaies/moodle
2017-01-24 22:03:48 +01:00
Eloy Lafuente (stronk7)
0396389272
Merge branch 'MDL-57690-master' of git://github.com/danpoltawski/moodle
2017-01-24 20:22:44 +01:00
Eloy Lafuente (stronk7)
0db24a200a
Merge branch 'MDL-49423-master' of git://github.com/jleyva/moodle
2017-01-24 19:05:51 +01:00
AMOS bot
00fc9c15f7
Automatically generated installer lang files
2017-01-25 00:04:31 +08:00
Ankit Agarwal
7f38d8f3ee
MDL-57300 lti: Rename lti2 as registration url
...
AMOS BEGIN
CPY [registrationurl,mod_lti],[registrationurl,enrol_lti]
AMOS END
2017-01-24 16:40:49 +05:30
Ankit Agarwal
bba75cb186
MDL-57296 gradebook: Fix issue with gradebook while collapsing grades
2017-01-24 15:48:36 +05:30
Dan Poltawski
9f43d5052a
Merge branch 'MDL-57639-master' of git://github.com/andrewnicols/moodle
2017-01-24 10:11:30 +00:00
Dan Poltawski
948aec4a09
Merge branch 'MDL-57667-master' of https://github.com/snake/moodle
2017-01-24 09:38:14 +00:00
Dan Poltawski
8120cbd939
Merge branch 'MDL-50539-master' of git://github.com/jleyva/moodle
2017-01-24 09:15:59 +00:00
Dan Poltawski
48034807ee
Merge branch 'MDL-50545-master' of git://github.com/jleyva/moodle
2017-01-24 09:15:50 +00:00
Dan Poltawski
79b717ec04
Merge branch 'MDL-56449_assign_groups' of git://github.com/davosmith/moodle
2017-01-24 09:01:59 +00:00
Damyon Wiese
6b206c5309
MDL-57273 persistent: Dont allow set and get for helpers
...
Helper methods (ie custom methods on a persistent) should not be callable via set() or get() even
if they start with set_ or get_. They are not the same as custom getters and setters for real persistent
properties.
2017-01-24 15:39:53 +08:00
Damyon Wiese
0ce135f65d
MDL-57273 persistent: Some more magic __call conversions
...
I missed all the entry pages when converting from set_abc() and get_abc() to set('abc', ) and get('abc').
Also fixed a wrong namespace for core_competency\external\performance_helper
2017-01-24 15:20:07 +08:00
Andrew Nicols
34dc92849f
Merge branch 'MDL-57550-master' of git://github.com/danpoltawski/moodle
2017-01-24 14:57:53 +08:00
Ankit Agarwal
c8b5c793a1
MDL-57300 lti: Fix incorrect variable types in docs
2017-01-24 12:18:21 +05:30
Andrew Nicols
d68d5ce337
Merge branch 'MDL-50547-master' of git://github.com/jleyva/moodle
2017-01-24 13:26:47 +08:00
Andrew Nicols
6b8e5ce307
Merge branch 'MDL-57408-master' of git://github.com/jleyva/moodle
2017-01-24 13:01:45 +08:00
Andrew Nicols
214eef2e1a
Merge branch 'master_MDL-46782' of git://github.com/danmarsden/moodle
2017-01-24 08:47:54 +08:00
Dan Marsden
225965bd4f
MDL-46782 mod_scorm: fix completion test, remove redundant test.
2017-01-24 13:05:50 +13:00
Dan Poltawski
cffa0ec79b
Merge branch 'wip_master_mdl-50625_ldap_better_check_paged_results_support' of https://github.com/iarenaza/moodle
2017-01-23 16:21:02 +00:00
Dan Poltawski
4bd0a8a64a
Merge branch 'wip-MDL-57511-master' of git://github.com/Beedell/moodle
2017-01-23 15:39:55 +00:00
Davo Smith
cd698c8baf
MDL-57638 block_rss_client: warn users about failed RSS feeds
2017-01-23 13:40:16 +00:00
Davo Smith
83e5234536
MDL-57638 block_rss_client: skip output of failed feeds
2017-01-23 13:33:35 +00:00
Dan Poltawski
e3ee9d4884
Merge branch 'MDL-57415_m33v1' of https://github.com/sbourget/moodle
2017-01-23 12:24:10 +00:00
Dan Poltawski
1342a1c605
Merge branch 'MDL-57287-master' of git://github.com/snake/moodle
2017-01-23 12:19:22 +00:00
Dan Poltawski
d602810fd5
Merge branch 'mdl57668-master' of https://github.com/tlock/moodle
2017-01-23 12:05:32 +00:00
Dan Poltawski
81b3aefc31
Merge branch 'wip-mdl-57700' of https://github.com/rajeshtaneja/moodle
2017-01-23 11:59:11 +00:00
Dan Poltawski
ee2af37e84
Merge branch 'MDL-57677-master-usermodified' of git://github.com/mudrd8mz/moodle
2017-01-23 09:48:11 +00:00
Dan Poltawski
1847d4c5ea
MDL-57550 forum: fix template validation issues
...
* Add some missing example contexts
* Stop using obsolete cell attributes
2017-01-23 09:45:11 +00:00
Dan Poltawski
56882be67e
MDL-57550 forum: remove legacy js file
2017-01-23 09:42:58 +00:00
Dan Poltawski
22526ad9ed
MDL-57550 forum: remove legacy forum.js uses
...
The search form options can be achieved in jquery rather than using
global js function/vars.
forum_get_subscribe_link legacylink had not been useful for some time
2017-01-23 09:42:29 +00:00
Dan Poltawski
c7f9bbf6c1
Merge branch 'master_MDL-46782' of git://github.com/danmarsden/moodle
2017-01-23 09:28:32 +00:00
Dan Poltawski
c44913b845
Merge branch 'MDL-57737-master' of git://github.com/crazyserver/moodle
2017-01-23 09:26:57 +00:00
Damyon Wiese
e97e96155a
MDL-57273 persistent: Fix access to set/get in test
...
The setters and getters for the path property in the test class need to be protected.
2017-01-23 14:18:04 +08:00
Damyon Wiese
d5818626c0
MDL-57273 persistent: Improved style
...
Use \blah::class instead of '\\blah' in define_class functions.
Allow chaining of setters by returning $this.
2017-01-23 11:58:59 +08:00
Rajesh Taneja
1d37f50ee0
MDL-54628 behat: Show parallel run command with proper rerun option
2017-01-23 10:37:19 +08:00
Juan Leyva
63d142e2cd
MDL-57410 tool_mobile: New setting for adding menu items in the app
2017-01-20 13:18:12 +01:00
Juan Leyva
b2551b4c86
MDL-49423 tool_mobile: New setting for disabling features
2017-01-20 13:10:49 +01:00
Juan Leyva
1295885084
MDL-49423 admin: Support optgroup in admin_setting_configmultiselect
2017-01-20 13:09:02 +01:00
Juan Leyva
25905de518
MDL-49423 admin: Support optgroup in admin_setting_configselect
2017-01-20 13:09:01 +01:00
Pau Ferrer Ocaña
ef75a648c9
MDL-57737 glossary: Add entry description accepts HTML
2017-01-20 12:57:36 +01:00
Shamim Rezaie
d636015c8a
MDL-55915 enrol_manual: let fullname()know if user has viewfullnames cap
...
fullname() relies on its second parameter to determine wheter it should use fullnamedisplay or alternativefullnameformat.
We need to check for moodle/site:viewfullnames capability and pass true as the second parameter to fullname() whereever
the user has this capability.
2017-01-20 20:30:38 +11:00
Shamim Rezaie
ee8f39b7a2
MDL-55915 core_user: let fullname() know if user has viewfullnames cap
...
Added $viewfullnames property to the user_selector_base class so anyone using a child class of this class can
let it know if user has viewfullnames capability or not.
2017-01-20 20:30:09 +11:00
Shamim Rezaie
20b2bbb966
MDL-55915 Gradebook: let fullname() know if user has viewfullnames cap
...
Instruct fullname() to format names on the gradebook grader report with alternativefullnameformat when user
has moodle/site:viewfullnames capability.
2017-01-20 20:29:39 +11:00
Juan Leyva
af1b6043a1
MDL-57408 tool_mobile: New setting for renaming app strings
2017-01-20 10:29:31 +01:00
Shamim Rezaie
05fdbe378a
MDL-55915 mod_assign: let fullname() know if user has viewfullnames cap
...
Instruct fullname() to format names on the assignment grading page with alternativefullnameformat when user
has moodle/site:viewfullnames capability.
2017-01-20 20:28:57 +11:00
Juan Leyva
429cc9365e
MDL-50547 mod_resource: New WS mod_resource_get_resources_by_courses
2017-01-20 09:47:11 +01:00
Damyon Wiese
599acbe776
MDL-57273 persistent: protected custom getters
...
(and setters).
2017-01-20 12:56:19 +08:00
Damyon Wiese
9c91a9593d
MDL-57273 core: Remove magic setters and getters
...
Remove the magic getters and setters from persistent. They are deprecated only in the persistent
class for competencies.
2017-01-20 12:56:19 +08:00
Frederic Massart
32896dcbab
MDL-57273 core: Using $renamedclasses for deprecated classes
2017-01-20 12:56:19 +08:00
Frederic Massart
c59e531301
MDL-57273 exporter: Clarify why contextname needs to be PARAM_RAW
2017-01-20 12:56:19 +08:00
Frederic Massart
547801a411
MDL-57273 form: Persistent form automatically setType on some fields
2017-01-20 12:56:19 +08:00
Frederic Massart
b505a9e4e0
MDL-57273 core: Migrating the persistent form class to core
2017-01-20 12:56:19 +08:00
Frederic Massart
4bc68a416e
MDL-57273 core: Exporters support custom formatting parameters
2017-01-20 12:56:19 +08:00
Frederic Massart
268beda8e9
MDL-57273 core_competency: Fatal error in external update_plan
2017-01-20 12:56:18 +08:00
Frederic Massart
f5f02ac0d3
MDL-57273 core: Migrating some exporters from tool_lp & core_competency
2017-01-20 12:56:18 +08:00
Frederic Massart
476bf96f4d
MDL-57273 core: Added a performance helper to use with exporters
2017-01-20 12:56:18 +08:00
Frederic Massart
6e28143599
MDL-57273 core: Migrating core_competency exporters into core
2017-01-20 12:56:18 +08:00
Frederic Massart
2198e0e94a
MDL-57273 core: Migrating persistent from core_competency into core
2017-01-20 12:56:18 +08:00
Rajesh Taneja
bb5671c21e
MDL-57700 behat: Updated behat to 3.3.0 and fixed exception
2017-01-20 11:01:50 +08:00
Jake Dallimore
93b6aed000
MDL-57667 theme: change base layout for boost to columns2
...
Ensures capability errors are displayed on a page with full navigation.
2017-01-20 08:47:53 +08:00
Stephen Bourget
cb0bc477e2
MDL-57728 theme: Fix text display when using tabs
2017-01-19 11:22:00 -05:00
AMOS bot
6dd3e92f4e
Automatically generated installer lang files
2017-01-20 00:06:58 +08:00
John Beedell
8b0d254f05
MDL-57511 Quiz: Attempts report shows non-unique debugging
2017-01-19 14:27:55 +00:00
Iñaki Arenaza
e47863e840
MDL-50625 auth_ldap: Better check for paged results support
...
There is at least one LDAP server (Sun Directory Server) that doesn't
support Paged Results extension, even if it supports LDAP version 3. So
checking just for LDAP version is not enough.
If possible, we check the supportedControl attribute of the LDAP rootDSE
and see if the paged results control is available. This needs an LDAP
connection, which might not be possible to establish before we configure
some essential LDAP settings (server, bind user, password, etc.). Thus
we try to establish the connection and check the supportedControl
attribute. But if we fail, we perform only basic checks that are less
accurate and err on the side of cautiousness.
2017-01-19 10:55:26 +01:00
Dan Poltawski
935584aaba
MDL-57690 yui: remove the mcore rollup
...
This was is pre-loading some modules which are not used in boost:
* Block docking
* Popup Help
The other pre-loaded requirements were used for YUI dialogues and
modals. With time we are moving away from these, so rather than
'pre-loading' we can let the yui loader do its job.
2017-01-19 08:10:34 +00:00
Dan Poltawski
f745b81201
MDL-57690 output: stop requiring moodle-core-popuphelp on every page
...
In boost we are not longer using this module, so lets limit it to
bootstrapbase only
2017-01-19 08:10:34 +00:00
Jade Telford
8380658219
MDL-55476 auth: remove loginpasswordautocomplete
2017-01-19 07:24:46 +00:00
Andrew Nicols
6c63574607
MDL-57639 mod_forum: Removed unused $forum param from tp function
2017-01-19 13:43:50 +08:00
Andrew Nicols
5130953c8a
weekly release 3.3dev
2017-01-19 12:17:46 +08:00
Andrew Nicols
80409ac1b5
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-01-19 12:17:44 +08:00
Andrew Nicols
59925af580
MDL-57613 enrol_lti: Correct location of upgrade step
2017-01-19 07:56:27 +08:00
Tim Lock
32a7986422
MDL-57668 mod_assign: Fix optional_param() form processing
2017-01-19 08:41:12 +10:30
Eloy Lafuente (stronk7)
121c17a72e
MDL-57570 static store: Basic serialize tests with igbinary
...
This unit test is not really verifying that internally igbinary
in being used but just igbinary availability and, by double
serializing, that it works for a semi-complex object.
The test will be skipped if igbinary is not available.
2017-01-18 19:23:59 +01:00
Stephen Bourget
b27c8d8156
MDL-57415 user: Add missing bootstrap classes to participants page
2017-01-18 10:35:11 -05:00
Dan Marsden
4d3fb5b879
MDL-46782 mod_scorm: Load first incomplete sco on re-entry.
2017-01-18 21:02:56 +13:00
Andrew Nicols
22f1426b44
Merge branch 'MDL-57604-master' of git://github.com/danpoltawski/moodle
2017-01-18 16:00:06 +08:00
Dan Poltawski
fef5718182
MDL-57604 mod_assign: fix empty case in user selector
...
Sadly the js arguments object gives an arguments.length of 1 when
no arguments are passed, so we have to explicitly check for it.
2017-01-18 07:47:00 +00:00
Andrew Nicols
93c15c77d7
Merge branch 'wip-mdl-45821' of https://github.com/rajeshtaneja/moodle
2017-01-18 12:51:59 +08:00
Rajesh Taneja
01095dbfd6
MDL-45821 behat: navigate back to scorm to avoid scroll
...
On Exiting scrom activity, it goes back to course
and scrolls to section. On slow machines next step
fails. To avoid such case navigate to home screen
and then follow next step.
2017-01-18 12:46:11 +08:00
Andrew Nicols
81c226d451
Merge branch 'MDL-57634-m' of https://github.com/micaherne/moodle
2017-01-18 12:36:45 +08:00
Andrew Nicols
40566af6d5
Merge branch 'MDL-57490-master' of git://github.com/danpoltawski/moodle
2017-01-18 12:09:20 +08:00
Andrew Nicols
3dc3305936
Merge branch 'wip_MDL-57590_master_forum_search' of https://github.com/mchurchward/moodle
2017-01-18 08:36:58 +08:00
Eloy Lafuente (stronk7)
c5bd22b1ea
Merge branch 'MDL-57570-master' of https://github.com/mwehr/moodle
2017-01-18 01:27:36 +01:00
Eloy Lafuente (stronk7)
36102596d7
Merge branch 'MDL-57604-master' of git://github.com/danpoltawski/moodle
2017-01-18 01:10:45 +01:00
Andrew Nicols
2156bb454c
Merge branch 'MDL-42266_m33v2' of https://github.com/sbourget/moodle
2017-01-18 07:46:02 +08:00
Eloy Lafuente (stronk7)
d7cee87d24
Merge branch 'MDL-57488-master' of git://github.com/danpoltawski/moodle
2017-01-18 00:00:13 +01:00
Eloy Lafuente (stronk7)
6214e08f6a
Merge branch 'MDL-57629-master' of git://github.com/jleyva/moodle
2017-01-17 20:55:05 +01:00
Eloy Lafuente (stronk7)
a7068a85bf
Merge branch 'MDL-57409-master' of git://github.com/jleyva/moodle
2017-01-17 20:52:04 +01:00
Eloy Lafuente (stronk7)
4a237e932a
Merge branch 'wip-MDL-57608-master-3' of git://github.com/marinaglancy/moodle
2017-01-17 20:40:48 +01:00
David Mudrák
106f23730a
MDL-57677 mod_forum: Fix wrong user displayed as the last post's author
...
In the recent issue MDL-56225, we started to record the current user as
the usermodified in the forum_discussions table when updating a forum
post. It made sense but it was a mistake.
Even if the current user really modifies the discussion by updating the
post, the field usermodified has actually been always interpreted and
displayed as the last post' author. Not as the last user who touched the
discussion.
This patch reverts that particular change to the previous behaviour and
adds explicit unit test for it.
2017-01-17 19:45:17 +01:00
AMOS bot
bb408e0b2b
Automatically generated installer lang files
2017-01-18 00:07:09 +08:00
Dan Poltawski
419b2f1741
Merge branch 'wip-mdl-57669-m' of https://github.com/rajeshtaneja/moodle
2017-01-17 10:28:31 +00:00
Dan Poltawski
bb72d31944
Merge branch 'MDL-57515-master' of https://github.com/sammarshallou/moodle
2017-01-17 10:20:08 +00:00
Dan Poltawski
5bd052f809
Merge branch 'MDL-50542-master' of git://github.com/jleyva/moodle
2017-01-17 07:32:38 +00:00
Dan Poltawski
fb0d86f671
Merge branch 'MDL-50549-master' of git://github.com/jleyva/moodle
2017-01-17 06:52:07 +00:00
Jake Dallimore
b167b415a3
MDL-57287 themes: fix buttons in default dashboard page header
...
This fix modifies styling for pages having no navbar, such as the
dashboard, site home and default dashboard pages and fixes an overlap
problem with the buttons and context header.
2017-01-17 14:47:08 +08:00
Rajesh Taneja
ada21cb0c8
MDL-57669 behat: Exit with error code if step undefined
2017-01-17 10:30:45 +08:00
Dan Poltawski
cd0e2e89f2
Merge branch 'MDL-57368-master-2' of https://github.com/snake/moodle
2017-01-16 16:20:05 +00:00
Dan Poltawski
afcb080014
Merge branch 'MDL-57613-master' of https://github.com/xow/moodle
2017-01-16 16:17:09 +00:00
Mike Churchward
d679a45f73
MDL-57590 mod_forum: fixed search form with forumid and actionurl.
2017-01-16 11:13:03 -05:00
AMOS bot
4b19c44b4f
Automatically generated installer lang files
2017-01-17 00:07:54 +08:00
Stephen Bourget
9820c67cf9
MDL-42266 Lib: Allow additional max upload file sizes
2017-01-16 10:54:33 -05:00
Dan Poltawski
7043676ec3
Merge branch 'MDL-57452_behat_completion_fix_master' of https://github.com/gthomas2/moodle
2017-01-16 13:34:06 +00:00
Dan Poltawski
f8abbbe29e
MDL-57490 javascript-static: remove legacy functions
...
1) Some previous deprecations are removed to reduce the amount of
code sent to the client
2) Other very-old functions are also sent to final deprecation
This is more agressive than our standard deprecation process, but with
the nature of this old js it seems the best way forward to reduce the
amount of obsolete js sent to clients.
2017-01-16 13:23:08 +00:00
Dan Poltawski
0ad39883b7
MDL-57490 lesson: convert legacy js to jquery
2017-01-16 13:22:50 +00:00
Dan Poltawski
d574114aed
MDL-57490 scorm: convert legacy js to jquery
2017-01-16 13:22:50 +00:00
Dan Poltawski
6db06d0e2a
MDL-57490 quiz: convert legacy js to jquery
2017-01-16 13:22:50 +00:00
Dan Poltawski
75cb891b5a
Merge branch 'MDL-57601-master' of https://github.com/sammarshallou/moodle
2017-01-16 12:23:55 +00:00
Dan Poltawski
42d80f2b9d
Merge branch 'MDL-57374_master' of https://github.com/dasistwas/moodle
2017-01-16 12:10:44 +00:00
Dan Poltawski
a04ad3675a
Merge branch 'MDL-57554-master' of git://github.com/crazyserver/moodle
2017-01-16 11:17:58 +00:00
Dan Poltawski
41dd0ac8d4
Merge branch 'master_MDL-45821' of git://github.com/danmarsden/moodle
2017-01-16 08:57:52 +00:00
Dan Poltawski
0893bb0897
Merge branch 'MDL-57627-master' of git://github.com/crazyserver/moodle
2017-01-16 08:22:25 +00:00
David Monllao
a3936db57f
Merge branch 'wip-mdl-57659' of https://github.com/rajeshtaneja/moodle
2017-01-16 09:09:53 +01:00
Dan Poltawski
bd17f93f28
Merge branch 'wip-MDL-56271-master' of git://github.com/marinaglancy/moodle
2017-01-16 08:01:23 +00:00
Rajesh Taneja
464a79ba6d
MDL-57659 cache: Set default serializer to SERIALIZER_PHP
2017-01-16 14:35:53 +08:00
Dan Poltawski
97ac35c05f
MDL-57488 js: remove M.util.focus_login_form/error
...
These are replaced by some simple jquery instead.
2017-01-15 20:42:35 +00:00
Pau Ferrer Ocaña
db3c9ff83f
MDL-57554 forum: Mark as read on view_forum_discussion calls
2017-01-13 09:27:20 +01:00
Pau Ferrer Ocaña
4669389d1a
MDL-57627 forum: Return if the user is tracking forum
2017-01-13 09:25:48 +01:00
John Okely
ab887f8de9
MDL-57613 enrol_lti: Allow longer nonces
2017-01-13 10:52:24 +08:00
David Bogner
726adbc22a
MDL-57374 editor: Pasting plain text in Atto removes all styles/classes
2017-01-12 18:01:30 +01:00
AMOS bot
3482ddeda5
Automatically generated installer lang files
2017-01-13 00:05:06 +08:00
Stephen Bourget
f8dad7374c
MDL-53991 calendar: fix repeating events on course import
2017-01-12 09:06:47 -05:00
Stephen Bourget
15a5c4b2ed
MDL-33483 repository: Allow file import formats be configurable.
2017-01-12 08:43:31 -05:00
Michael Aherne
55b2a33ce1
MDL-57634 messaging: Ensure test uses a configured plugin
2017-01-12 12:30:39 +00:00
gthomas2
3982685a3c
MDL-57452 behat: Make completion check work with manual completion input
2017-01-12 11:45:21 +00:00
Dan Poltawski
d97582fd27
weekly release 3.3dev
2017-01-12 07:42:26 +00:00
Dan Poltawski
25d6611788
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-01-12 07:42:24 +00:00
Jake Dallimore
195f646dfc
MDL-57368 mod_feeback: fix drag and drop question reordering in boost
2017-01-12 11:32:03 +08:00
Jake Dallimore
a1f95d48b9
MDL-57368 templates: add example context to core_form/element-template
2017-01-12 11:31:47 +08:00
Dan Poltawski
da06c81947
MDL-57608 media_videojs: lazily load videojs on demand
...
The videojs javascript is over 1MB of javascript which we don't need to
load on every page, now that we only require it demand, the js can be
lazily loaded when its needed, which keeps the first.js smaller and more
likely to stay in browser cache.
2017-01-12 10:55:18 +08:00
Dan Poltawski
65b593a95c
MDL-57608 media_videojs: fix third party locations
2017-01-12 10:55:18 +08:00
Marina Glancy
357e9654ba
MDL-57608 media_videojs: load youtube module only when requested
2017-01-12 10:55:11 +08:00
wehr
7ca1161645
MDL-57570 cache: Adds igbinary serializer to static cache store
2017-01-11 23:05:39 +01:00
Michael Aherne
46c5c88321
MDL-57630 messaging: Pass unit test with third-party plugins
2017-01-11 16:37:46 +00:00
Juan Leyva
9db43c7341
MDL-57629 webservice: Fix external functions phpdoc
...
Replace external_external_function_parameters with
external_function_parameters
2017-01-11 16:56:25 +01:00
Juan Leyva
da1205ccc2
MDL-50545 mod_page: New WS mod_page_get_pages_by_courses
2017-01-11 12:53:22 +01:00
Juan Leyva
f24dcf0c60
MDL-50539 mod_folder: New WS mod_folder_get_folders_by_courses
2017-01-11 12:42:15 +01:00
Juan Leyva
7440c7b298
MDL-50542 mod_label: New WS mod_label_get_labels_by_courses
2017-01-11 10:36:39 +01:00
Juan Leyva
c76d5fd63e
MDL-50549 mod_url: New WS mod_url_get_urls_by_courses
2017-01-11 10:28:05 +01:00
Eloy Lafuente (stronk7)
777361983c
Merge branch 'wip-mdl-56519-m' of https://github.com/rajeshtaneja/moodle
2017-01-11 02:42:29 +01:00
Eloy Lafuente (stronk7)
122c3aff5c
Merge branch 'wip-mdl-57595' of https://github.com/rajeshtaneja/moodle
2017-01-11 02:29:49 +01:00
Eloy Lafuente (stronk7)
e238dcc8b2
MDL-57572 redis: Prevent installation to fail on sites without redis
2017-01-11 02:22:48 +01:00
Eloy Lafuente (stronk7)
7bdbad80d8
Merge branch 'MDL-57572-master' of https://github.com/mwehr/moodle
2017-01-10 19:25:44 +01:00
sam marshall
66234de24c
MDL-57515 Resource: 'not very efficient' with a large number of files
...
Fixes bug where the resource module loads metadata for all files while
building course modinfo, even though it only needs the first file.
(This causes problems if you have ~10k files.)
2017-01-10 17:43:46 +00:00
Eloy Lafuente (stronk7)
96733b06d6
Merge branch 'MDL-57282-master' of https://github.com/xow/moodle
2017-01-10 12:38:14 +01:00
Dan Poltawski
38425d9fee
Merge branch 'MDL-57480-master' of https://github.com/snake/moodle
2017-01-10 08:40:10 +00:00
Loc Nguyen
288ac7b9d7
MDL-57586 workshop: Change workshop variable protected to public
...
In class workshop_assessment_base, change $workshop from protected to public.
2017-01-10 14:22:11 +07:00
Marina Glancy
fdc6656a37
MDL-56271 mod_feedback: recaptcha was not working
2017-01-10 14:08:04 +08:00
David Monllao
b06f33d5cc
Merge branch 'MDL-57149-master' of git://github.com/junpataleta/moodle
2017-01-10 06:23:03 +01:00
David Monllao
c9359c562c
Merge branch 'MDL-57385-master-2' of git://github.com/junpataleta/moodle
2017-01-10 05:26:37 +01:00
Jun Pataleta
3adf4b1837
MDL-57149 admin: Make langimport page Bootstrap-compatible
...
* Create template for the language import page.
* Apply Bootstrap classes to form elements.
* Use core notifications for displaying error/success messages.
2017-01-10 10:24:17 +08:00
Jun Pataleta
ab1ca45eb0
MDL-57385 core: Set page layouts of non-mydashboard pages to standard
...
The following pages are using the "mydashboard" page layout:
* User preferences > Badges > Manage badges
* User preferences > Badges > Backpack settings
* User preferences > Repositories > Manage instances
* Private files
However, the "mydashboard" page layout should only be used for the user's
dashboard page. Changing these to use the "standard" page layout.
2017-01-10 09:44:13 +08:00
Jake Dallimore
865c4f5df9
MDL-57480 core_course: make drag and drop fire a dom updated event
...
When adding media via drag and drop, the notifyFilterContentUpdated
event should be called after the item is added to the DOM. This allows
things like videojs for example, to process the new content.
2017-01-10 07:42:52 +08:00
Dan Poltawski
76bab36896
MDL-57604 mod_assign: fix incorrect user being selector from chooser
...
Previously there was a logic bug where by if some students were filtered
from the list, the label for another student could be attached to the
'filered' student.
This fix reworks the promises a bit so we render the student summary and
then build an row with the explict user id, rather than itterating through
the array later.
I also remove the storing of the initial promise in a varible because
this is an easy way to introduce a bug (not waiting for the .then()
chained promise)
2017-01-09 20:36:30 +00:00
Dan Poltawski
feb75612a7
Merge branch 'MDL-57427' of https://github.com/jrchamp/moodle
2017-01-09 16:25:15 +00:00
sam marshall
b5f661b111
MDL-57601 Grade report: Error for ungraded quiz without view hidden
...
If a course contains an ungraded quiz (max grade set to 0), and there
is a user account which can view the grader reports but does not have
permission to view hidden grades, they will get errors.
2017-01-09 15:32:25 +00:00
Jonathan Champ
d3a6b91aec
MDL-57427 cache: Use perfdebug only when enabled
2017-01-09 10:18:13 -05:00
David Monllao
461d6d390c
Merge branch 'MDL-57392-master' of git://github.com/jleyva/moodle
2017-01-09 13:40:14 +01:00
David Monllao
2e87e3ce90
Merge branch 'wip-mdl-55042' of https://github.com/rajeshtaneja/moodle
2017-01-09 12:54:16 +01:00
Juan Leyva
7bdcf970bc
MDL-57409 tool_mobile: Return mobileapp settings in get_config WS
2017-01-09 12:19:29 +01:00
Juan Leyva
fb0add0456
MDL-57409 tool_mobile: New forcelogout setting
2017-01-09 12:19:28 +01:00
Dan Poltawski
1975dcf25c
Merge branch 'MDL-55461_atto_equation' of git://github.com/davosmith/moodle
2017-01-09 10:51:23 +00:00
Dan Poltawski
fc893bc42d
Merge branch 'MDL-40132_31' of https://github.com/IvannavISer/moodle
2017-01-09 10:23:11 +00:00
Dan Poltawski
66677b7102
Merge branch 'wip-mdl-56211' of https://github.com/rajeshtaneja/moodle
2017-01-09 09:58:57 +00:00
Dan Poltawski
5445df2957
Merge branch 'MDL-57373-master' of git://github.com/ankitagarwal/moodle
2017-01-09 09:42:27 +00:00
Dan Poltawski
3b2c5923f2
Merge branch 'MDL-53367_master' of https://github.com/juancs/moodle
2017-01-09 08:27:18 +00:00
Dan Marsden
6c563ccedf
MDL-45821 mod_scorm: Check lesson_status correctly for multi-sco.
2017-01-09 20:07:31 +13:00
Rajesh Taneja
5d2988fc8a
MDL-57595 behat: Added redirect and wait to ensure next step pass
2017-01-09 12:02:53 +08:00
AMOS bot
0d54830feb
Automatically generated installer lang files
2017-01-08 00:04:47 +08:00
godric
4c4b966a92
MDL-40132 lib: Using compare rule results in fatal error.
...
In getValidationScript function variable $element can be an array or object.
Function attempt get non-existing attributes.
To avoid this we should check before accessing.
2017-01-07 09:40:27 +03:00
wehr
9c860cea46
MDL-57572 cache: Adds igbinary serializer to Redis cache store
2017-01-06 16:26:43 +01:00
John Okely
b7c822a546
MDL-57282 behat: Deprecate I go to X in the course gradebook
2017-01-06 13:47:19 +08:00
Dan Poltawski
8ed0851a5e
weekly release 3.3dev
2017-01-06 01:30:49 +00:00
Dan Poltawski
70d8808476
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2017-01-06 01:30:48 +00:00
Rajesh Taneja
484503da62
MDL-56211 behat: Add suite name to faildump path
...
If suite is not default then add suite name
to end of faildump file name
2017-01-06 09:18:52 +08:00
David Mudrák
82a8d0d21d
MDL-57580 mod_assign: Fix the incorrect type of some input parameters
...
The PARAM_TEXT has been misused in certain cases here. The 'action'
parameter seems to always be alphabetic, with values like
savesubmission, editsubmission and others as handled in assign::view().
Fixing the action handling fixes the reported XSS issue. While working
on it, I spotted two more places where PARAM_TEXT does not seem
appropriate. I include changes for them too, even if they are no
strictly related to the reported bug and there are no known ways to
abuse it.
* The 'plugin' looks like PARAM_PLUGIN and is even declared as such in
some other parts of the assignment code (such as feedback forms).
* The 'workflowstate' is one of the ASSIGN_MARKING_WORKFLOW_STATE
constants and is supposed to be alpha in external function input
parameters handling, too.
2017-01-05 17:39:36 +01:00
Davo Smith
255d3aaaed
MDL-56449 mod_assign: fix formatting of group warnings
2017-01-05 15:30:09 +00:00
Dan Poltawski
7716be5ae8
Merge branch 'MDL-57563-master-enfix' of git://github.com/mudrd8mz/moodle
2017-01-05 10:09:17 +00:00
Rajesh Taneja
d44f7e4623
MDL-56519 behat: Add gherkin lint to watch and startup
2017-01-05 16:02:00 +08:00
Dan Poltawski
e0d1efd896
Merge branch 'wip-mdl-57531' of https://github.com/rajeshtaneja/moodle
2017-01-05 06:51:54 +00:00
Rajesh Taneja
1024f6d1ec
MDL-57531 behat: Set noreplyaddress to valid address
...
noreplyaddress should be a valid address, else
it will not be saved. For behat we don't send
email, so set it to noreply@example.com , to
avoid failing validation on localhost
2017-01-05 14:40:16 +08:00
Daniel Thee Roperto
b51f6864c1
MDL-57576 assignment: Overwrite feedback file if it has the same name.
2017-01-05 15:33:28 +11:00
David Mudrák
1882e6ecac
MDL-57563 lang: Use the new newsitemsnumber wording in behat
2017-01-04 22:09:44 +01:00
Helen Foster
442879042c
MDL-57563 lang: Merge English strings from the en_fix language pack
2017-01-04 22:03:08 +01:00
AMOS bot
47b0dc1f3b
Automatically generated installer lang files
2017-01-05 00:04:57 +08:00
Dan Poltawski
b6f5e57e45
Merge branch 'MDL-57531-master-phpmailer' of git://github.com/mudrd8mz/moodle
2017-01-04 13:29:10 +00:00
David Mudrák
7620746f67
MDL-57531 mail: Make validate_email return actual boolean as expected
...
It was discovered by unit tests that the return value is not a real
boolean as was intuitively expected and documented. To avoid potential
issues with the truthyness in the future, we explicitly cast the return
value to boolean now.
2017-01-04 13:16:07 +01:00
David Mudrák
61367eb639
MDL-57531 mail: Validate the sender's email address
...
The patch adds validation for the noreplyaddress setting variable, for
the explicit $replyto parameter and for the sender's email. In case of
misconfigured noreplyaddress setting, it falls back to the default
noreply address value. In case of invalid email in the user's record,
the email is not sent.
The patch also adds unit test for the value returned by the function
generate_email_processing_address() so that it can be considered as a
valid email, too.
This is supposed to significantly minimise the risk of exploiting the
vulnerability in PHPMailer's Sender field.
2017-01-04 12:35:19 +01:00
David Mudrák
066ec13585
MDL-57531 mail: Do not let admins set invalid email addresses
...
The noreply and support emails should always be valid.
2017-01-04 12:34:29 +01:00
Eloy Lafuente (stronk7)
41af8a5f90
Merge branch 'MDL-57192-master' of git://github.com/ankitagarwal/moodle
2017-01-04 11:34:01 +00:00
David Mudrák
1af801be98
MDL-56225 mod_forum: Fix inability to edit attachments
...
The 'attachments' is not a real DB field here. It comes from the form's
filepicker and holds the id of the attachments filearea. The function
forum_add_attachment() expects it as a property of the first argument.
There were two possible approaches here. Either to pass the raw $newpost
to forum_add_attachment(), or add the attachments into the list
modifiable fields. The second approach is safer.
2017-01-04 11:34:01 +00:00
David Monllao
9afc02742b
Merge branch 'master_MDL-49557' of git://github.com/danmarsden/moodle
2017-01-04 11:34:00 +00:00
David Monllao
36bbf71a65
MDL-57338 templates: Fix modal_cancel template name
2017-01-04 11:33:59 +00:00
Rajesh Taneja
af1b9b6924
MDL-57536 availability: Fixed css for clean theme
2017-01-04 11:33:59 +00:00
Dan Poltawski
c3e9e8bc3c
Merge branch 'MDL-57389-master' of git://github.com/jleyva/moodle
2017-01-04 11:33:58 +00:00
Ankit Agarwal
a76b0b8b85
MDL-56992 core_scss: Don't allow invalid files to be included
...
We allow only .scss files so allow files to be included only and only if they end in .scss and they exist on server under theme directory.
2017-01-04 11:33:57 +00:00
Andrew Nicols
6528ec3505
MDL-56225 mod_forum: Remove unnecessary attributes from update
2017-01-04 11:33:57 +00:00
Davo Smith
e7f3fd59d4
MDL-56449 mod_assign: fuller description of group submission problems
2017-01-04 10:35:41 +00:00
Dan Marsden
e68cdceee3
MDL-49557 mod_scorm: optionally strip quotes.
2017-01-04 15:43:46 +13:00
Ankit Agarwal
c728b45904
MDL-57192 dml: Temporarily disable query logging during setup
2017-01-03 17:24:21 +05:30
Ankit Agarwal
c14fe2cb03
MDL-57192 dml: Support temporarily disabling query logs during setup
2017-01-03 17:24:21 +05:30
Dan Poltawski
2c814d2c5e
Merge branch 'wip-mdl-52168' of https://github.com/rajeshtaneja/moodle
2017-01-03 08:16:22 +00:00
Rajesh Taneja
f2e6dcba51
MDL-52168 behat: Select iframe in which text needs to be checked
2017-01-03 15:14:04 +08:00
Eloy Lafuente (stronk7)
0e5205d36c
Merge branch 'wip-mdl-57494' of https://github.com/rajeshtaneja/moodle
2017-01-03 02:34:58 +01:00
Rajesh Taneja
57bee542ab
MDL-56519 behat: Fixed lint errors
2017-01-03 09:12:54 +08:00
Rajesh Taneja
e989ff2d34
MDL-56519 behat: Re-organize rules matching order
...
re-ordered rules to match gherkin-lint readme
https://github.com/vsiakka/gherkin-lint#available-rules
2017-01-03 09:12:54 +08:00
Dan Poltawski
8b02e2d98c
MDL-56519 behat: Lint gherkin files
2017-01-03 09:12:54 +08:00
Rajesh Taneja
d15a44d6fb
MDL-55042 phpunit: Get sorted sections
...
Sometimes db doesn't return records in order
So enusre it is in order so that last record
doesn't have section equal 0. As section 0
can't be deleted.
2017-01-03 06:52:03 +08:00
Eloy Lafuente (stronk7)
2a3341c2dc
Merge branch 'MDL-44172-master' of git://github.com/danpoltawski/moodle
2017-01-02 19:37:17 +01:00
Eloy Lafuente (stronk7)
06f33c6a86
Merge branch 'MDL-57536-master' of git://github.com/jleyva/moodle
2017-01-02 18:59:16 +01:00
Juan Leyva
91fff3914b
MDL-57389 tool_mobile: Return mobilecssurl in get_public_config WS
2017-01-02 18:56:02 +01:00
Juan Leyva
5316e716e5
MDL-57536 availability: Document required selectors changes
...
MDL-55839 Introduced some changes in CSS selectors used by the form.js
file.
This caused contributed plugins to not work (javascript stop working)
when editing a module.
2017-01-02 18:50:54 +01:00
Eloy Lafuente (stronk7)
e7e1308cd4
Merge branch 'MDL-47198_curl_header' of git://github.com/davosmith/moodle
2017-01-02 16:42:41 +01:00
Dan Poltawski
00e741af48
Merge branch 'master_MDL-49557' of git://github.com/danmarsden/moodle
2017-01-02 12:35:11 +00:00
Dan Poltawski
241473ce2e
Merge branch 'master_MDL-52168' of git://github.com/danmarsden/moodle
2017-01-02 12:20:34 +00:00
Dan Poltawski
589449b81e
Merge branch 'MDL-57080-m' of https://github.com/micaherne/moodle
2017-01-02 12:15:01 +00:00
Dan Poltawski
6dbe175454
Merge branch 'MDL-57395-master' of git://github.com/jleyva/moodle
2017-01-02 11:46:44 +00:00
Dan Poltawski
25a222734e
Merge branch 'wip-MDL-57464-master' of git://github.com/abgreeve/moodle
2017-01-02 11:16:27 +00:00
Dan Poltawski
5fd78ba412
MDL-57532 calendar: tidy up button grouping
2017-01-02 10:44:35 +00:00
Dan Poltawski
77e1c18727
Merge branch 'MDL-57532_m33v1' of https://github.com/sbourget/moodle
2017-01-02 10:34:58 +00:00
David Monllao
f3b3901822
Merge branch 'MDL-56926_master' of git://github.com/dmonllao/moodle
2016-12-30 09:59:45 +01:00
David Monllao
6229657584
MDL-56926 theme_boost: Restore filepicker's filename and icons original spacing
2016-12-30 09:39:38 +01:00
Nadav Kavalerchik
2c8dd8e312
MDL-56926 Theme/Boost: Fix filepicker folder tree YUI guides
2016-12-30 09:38:11 +01:00
AMOS bot
26870bb19c
Automatically generated installer lang files
2016-12-30 00:05:07 +08:00
Dan Poltawski
4053aa77fa
Merge branch 'MDL-57512-master' of git://github.com/crazyserver/moodle
2016-12-29 11:50:50 +00:00
Dan Poltawski
5d970e1aa0
Merge branch 'master_MDL-50643' of git://github.com/danmarsden/moodle
2016-12-29 11:46:47 +00:00
Pau Ferrer Ocaña
7180cdc7b5
MDL-57512 categories: Use maxcategorydepth only when getting all cats
2016-12-29 11:30:57 +01:00
David Monllao
7eeb375380
Merge branch 'MDL-57338-master' of git://github.com/danpoltawski/moodle
2016-12-29 10:44:01 +01:00
Dan Poltawski
9f85876247
MDL-57338 templates: fix missing example variables
...
From Davids review, thanks
2016-12-29 08:03:47 +00:00
David Monllao
125fa61a15
MDL-57471 forms: Removing unresolved conflict line
2016-12-29 08:54:36 +01:00
David Monllao
3655a459b4
Merge branch 'MDL-57471-master' of git://github.com/danpoltawski/moodle
2016-12-29 08:43:37 +01:00
David Monllao
edda5120e2
Merge branch 'MDL-57331-master' of https://github.com/xow/moodle
2016-12-28 21:21:04 +00:00
Dan Poltawski
a92fc9b45e
Merge branch 'MDL-57451-master' of https://github.com/lucisgit/moodle
2016-12-28 21:19:03 +00:00
Dan Poltawski
398e8fa1ed
Merge branch 'MDL-55955_master' of git://github.com/markn86/moodle
2016-12-28 21:19:03 +00:00
Dan Poltawski
16cfeccad8
Merge branch 'wip-MDL-57366-master' of git://github.com/abgreeve/moodle
2016-12-28 21:19:02 +00:00
David Monllao
bbcdd56c8f
Merge branch 'MDL-57491_m33v3' of https://github.com/sbourget/moodle
2016-12-28 21:19:01 +00:00
David Monllao
7454d5fb37
Merge branch 'MDL-57472-master' of git://github.com/danpoltawski/moodle
2016-12-28 21:19:01 +00:00
Dan Poltawski
79be02bf8d
Merge branch 'MDL-57417-master' of https://github.com/snake/moodle
2016-12-28 21:19:00 +00:00
David Monllao
564630322c
Merge branch 'MDL-52366-master-mustachethemedir' of git://github.com/mudrd8mz/moodle
2016-12-28 12:22:52 +01:00
David Monllao
cc31be4ffc
Merge branch 'MDL-57450-master' of git://github.com/danpoltawski/moodle
2016-12-28 11:45:34 +01:00
Dan Poltawski
66b68d631d
Merge branch 'wip-MDL-57251-master' of git://github.com/abgreeve/moodle
2016-12-28 10:32:50 +00:00
Juan Leyva
879a8f56c9
MDL-57395 course: New Web Service core_course_get_updates_since
2016-12-28 11:24:40 +01:00
David Monllao
e4b7ad0f6d
Merge branch 'MDL-57357-master' of https://github.com/snake/moodle
2016-12-28 11:15:29 +01:00
David Monllao
f32ff507e2
Merge branch 'MDL-56488-master' of git://github.com/danpoltawski/moodle
2016-12-28 10:58:13 +01:00
Dan Poltawski
83c7b312cd
Merge branch 'wip-MDL-57292-master' of git://github.com/abgreeve/moodle
2016-12-28 09:13:29 +00:00
Dan Poltawski
20ad9c7b4e
Merge branch 'MDL-57474-master-messageid' of git://github.com/mudrd8mz/moodle
2016-12-28 08:56:12 +00:00
Dan Marsden
63c2ea5038
MDL-52168 mod_scorm: Fix issue when scorm does not define org.
2016-12-28 10:54:49 +13:00
Juan Leyva
e45fc71e2a
MDL-57392 course: Return course filters status via WS
...
Return active filters in core_course_get_courses_by_field
2016-12-27 09:31:29 +01:00
Ankit Agarwal
cd65ea6d60
MDL-57373 navigation: Fix course names in flat nav
2016-12-27 11:57:45 +05:30
Stephen Bourget
d1ee1e5f55
MDL-57532 calendar: Add missing bootstrap classes
2016-12-26 11:33:35 -05:00
AMOS bot
2713ce1773
Automatically generated installer lang files
2016-12-27 00:08:47 +08:00
AMOS bot
d5f80f5aa6
Automatically generated installer lang files
2016-12-26 00:05:40 +08:00
AMOS bot
957edaf15b
Automatically generated installer lang files
2016-12-25 00:04:27 +08:00
Dan Poltawski
0e34e46fd0
MDL-56488 boost: validate scss settings for parsable scss
...
* Parses the scss and fails validation if a parse error is found
* Does not detect the situation when variables are not present - this
would involve us parsing the entire tree and would be slow. It could
also change over time, depending on whats defined in the scss
from themes.
* Introduces a new admin_setting_scsscode to do this
2016-12-23 09:51:29 +00:00
Adrian Greeve
a7eb619b76
MDL-57464 mod_lesson: fix notice with sub-clusters.
2016-12-23 11:10:20 +08:00
Jake Dallimore
a545224b9d
MDL-57357 auth: add behat coverage for remember username login feature
2016-12-23 11:01:56 +08:00
Jake Dallimore
8f8ae115bc
MDL-57357 auth: fix the remember username feature on login page
2016-12-23 10:42:01 +08:00
Jake Dallimore
c41883f0bb
MDL-57417 navigation: fix legacy_activity_onclick_handler callback scope
2016-12-23 08:40:17 +08:00
Dan Marsden
39eee56fa6
MDL-49557 mod_scorm: fix AICC pre-requisite handling.
2016-12-23 12:21:53 +13:00
Dan Marsden
9536334dca
MDL-50643 mod_scorm: redirect using current window instead of parent.
2016-12-23 10:17:43 +13:00
Stephen Bourget
e762783dc0
MDL-57491 report_log: Improve filtering code by using static entries
2016-12-22 16:11:36 -05:00
Dan Poltawski
514ab739fb
MDL-57338 message: fix template component
2016-12-22 12:50:38 +00:00
Dan Poltawski
2d29386c44
MDL-57338 templates: add missing example context
2016-12-22 12:50:37 +00:00
Dan Poltawski
b4a65796cf
MDL-57338 chart: add example context
...
And fix aria roles
2016-12-22 12:50:25 +00:00
Dan Poltawski
2f74b07e92
MDL-57338 mustache: fix admin_setting_tabs
...
* Add example context
* Fix validation issue (need role="tablist" to contain the tabs)
2016-12-22 12:31:28 +00:00
Dan Poltawski
57378aac0b
MDL-57472 javascript-static: remove fix_column_widths()
...
A bit of a hack applied nearly 12 years ago in
7979105c62
2016-12-22 12:22:15 +00:00
Dan Poltawski
2fa2ed50eb
MDL-57471 forms: deprecate init_javascript_enhancement()
...
This was half-finished and only used for the smartselect enhancement. That
enhancement doesn't work with theme_boost and is better replaced just
using the searchableselector element.
2016-12-22 12:19:51 +00:00
Michael Aherne
1afea82da0
MDL-57080 completion: Update completion expected date on reset
2016-12-22 11:37:51 +00:00
Tony Butler
3132ba0278
MDL-57451 theme_boost: Add checkboxgroup class to checkbox input element
2016-12-22 11:29:55 +00:00
Dan Poltawski
c4cf1c60f5
weekly release 3.3dev
2016-12-22 08:15:04 +00:00
Dan Poltawski
3a4eba7aa0
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2016-12-22 08:15:02 +00:00
Adrian Greeve
c496632681
MDL-57292 tool_lpimportcsv: Fix for unit tests.
2016-12-22 13:06:40 +08:00
Rajesh Taneja
3b7a351d69
MDL-57494 behat: Fixed tags and removed reset in after_scenario
...
1. Added missing switch_window tags
2. Fixed switch_frame tags to use switch_iframe
3. Removed reset from after_scenario.
2016-12-22 12:42:39 +08:00
Mark Nelson
cc4fba8636
MDL-55955 mod_quiz: ensure duplicated override events are removed
2016-12-22 12:41:32 +08:00
David Monllao
2f31bea125
Merge branch 'MDL-57187-master-htmlaudiofix' of git://github.com/snake/moodle
2016-12-21 08:02:21 +01:00
Jake Dallimore
c19c53161a
MDL-57187 filter_mediaplugin: fix audio tag height in chrome
...
Chrome's html5 audio tags don't have a height and 'auto' renders them
with zero height, so added a min height to address this.
2016-12-21 13:46:42 +08:00
Rajesh Taneja
ccb2a6a5f8
MDL-56581 behat: Use proper steps to navigate to Permissions
2016-12-21 12:51:17 +08:00
David Mudrák
657fa9db9d
MDL-57474 mailer: Make sure that our exlicit MessageID is trimmed
...
The new version of phpmailer shipped with Moodle 3.2 has added check
that the explicitly provided MessageID matches /^<.*@.*>$/.
Values coming from our overridden moodle_phpmailer::addCustomHeader()
had a whitespace at the start. So the requested value was not used as
the Message-ID header and the default phpmailer value was used.
As a result, forum posts threading was broken in email clients.
2016-12-21 01:20:52 +01:00
Rajesh Taneja
6749b071d9
MDL-53814 behat: Use table step to check for string
2016-12-21 07:35:07 +08:00
AMOS bot
e02c1d2106
Automatically generated installer lang files
2016-12-21 00:03:51 +08:00
Dan Poltawski
ce20d61aa7
MDL-44172 lib: remove example htaccess file
...
This is not being maintained and is outdated. Better handled in docs.
2016-12-20 14:33:27 +00:00
Dan Poltawski
1755bf99b4
MDL-56581 boost: add styling for overriden permission highlight
2016-12-20 12:10:08 +00:00
Jes Ackland-Snow
e985a29cdf
MDL-56581 Roles: Permissions override screen not inherited styling
2016-12-20 12:09:01 +00:00
Eloy Lafuente (stronk7)
863e1a66a9
Merge branch 'MDL-56547' of https://github.com/ak4t0sh/moodle
2016-12-20 12:47:54 +01:00
Simey Lameze
71fa2be932
MDL-57114 filemanager: apply btn-sm class to buttons
...
This commit also creates a new css rule to fix the file picker icons misalignment.
2016-12-20 10:34:29 +00:00
David Monllao
d6db7a1d9a
Merge branch 'MDL-56640-master' of git://github.com/danpoltawski/moodle
2016-12-20 11:09:39 +01:00
Dan Poltawski
3f56d612ec
MDL-56640 templates: add example content
2016-12-20 10:02:06 +00:00
Dan Poltawski
d83d87f6ac
MDL-56640 yui: remove moodle-core-formautosubmit
...
It's easily achieved with jquery primatives
2016-12-20 10:02:06 +00:00
Dan Poltawski
9c9201ecde
MDL-56640 lesson: switch from YUI to jquery.change()
2016-12-20 10:02:06 +00:00
Dan Poltawski
588b84f78a
MDL-56640 js: yui to jquery for formautosubmit in select templates
...
I did not keep the 'nothing' behaviour in the js because I don't think
the nothing option needs special handling, given that its default
selection.
2016-12-20 10:02:05 +00:00
Dan Poltawski
988a031a61
Merge branch 'MDL-54996_m33v1' of https://github.com/sbourget/moodle
2016-12-20 09:19:23 +00:00
Adrian Greeve
0a36b931e2
MDL-57366 mod_lesson: Zero now acceptable numeric answer.
...
When creating a numerical question. If the answer to the
question is 0 then the answer will not save.
2016-12-20 14:01:30 +08:00
Adrian Greeve
920edec857
MDL-57251 navigation: Correct permission shows site admin
...
If the user does not have the moodle/site:configview
capability then do not show them the site administration
link.
2016-12-20 12:51:51 +08:00
Adrian Greeve
b1eb88a4e0
MDL-57251 administration: Updated coursecreator role.
...
The coursecreator role now has the moodle/site:configview
capability so that they have access to the required admin
pages.
2016-12-20 12:51:51 +08:00
Rajesh Taneja
7737744d1b
MDL-53814 behat: Columns have been moved ahead
2016-12-20 11:36:00 +08:00
John Okely
9e7b172a02
MDL-57331 messaging: Fix sent messages appearing twice.
2016-12-20 10:47:14 +08:00
Eloy Lafuente (stronk7)
de5e61c4ba
Merge branch 'MDL-57268-master' of https://github.com/xow/moodle
2016-12-20 02:22:26 +01:00
Dan Poltawski
caf52b578b
Merge branch 'MDL-57386-master' of git://github.com/damyon/moodle
2016-12-19 15:46:54 +00:00
Dan Poltawski
7d64e2c3bc
Merge branch 'MDL-55568_m33v2' of https://github.com/sbourget/moodle
2016-12-19 14:33:05 +00:00
David Monllao
d17b70dda2
MDL-56320 tool_mobile: rest protocol dependency added
2016-12-19 15:11:00 +01:00
David Monllao
ef9a1a2aff
Merge branch 'MDL-56320-m' of https://github.com/micaherne/moodle
2016-12-19 15:05:14 +01:00
David Monllao
e3578224cc
Merge branch 'MDL-55575_B' of https://github.com/bostelm/moodle
2016-12-19 14:59:13 +01:00
David Monllao
902b32bd1b
Merge branch 'MDL-56527-master' of git://github.com/mudrd8mz/moodle
2016-12-19 14:03:53 +01:00
Dan Poltawski
c67e93b235
MDL-56640 templates: move select templates from boost to core
2016-12-19 12:23:54 +00:00
Dan Poltawski
64e032b6da
Merge branch 'wip-MDL-56912-master' of git://github.com/marinaglancy/moodle
2016-12-19 12:21:06 +00:00
Eloy Lafuente (stronk7)
f4f63fa6b0
Merge branch 'MDL-57270_master' of git://github.com/markn86/moodle
2016-12-19 13:04:16 +01:00
Eloy Lafuente (stronk7)
e857608ba2
Merge branch 'MDL-57293-master' of git://github.com/danpoltawski/moodle
2016-12-19 13:02:09 +01:00
David Monllao
a127f448f0
Merge branch 'MDL-57143-master' of https://github.com/LukeCarrier/moodle
2016-12-19 12:54:04 +01:00
David Monllao
eacacae8cc
Merge branch 'wip-MDL-57187-master' of https://github.com/marinaglancy/moodle
2016-12-19 12:46:19 +01:00
Dan Poltawski
dc87f411dd
Merge branch 'MDL-52098_master' of git://github.com/Chocolate-lightning/moodle
2016-12-19 11:25:47 +00:00
David Monllao
034996876c
Merge branch 'MDL-57402' of git://github.com/timhunt/moodle
2016-12-19 12:20:57 +01:00
Dan Poltawski
89556019c0
MDL-57450 enviroment: remove tls library check
...
Unfortunately it has come to light that the version sniffing is just not
reliable at all, operating system vendors backport security patches to
older versions - so in many cases we reporting a problem which is not a
problem. False positives and the solution to self-compile or something
like php will be causing more harm than good.
2016-12-19 10:55:07 +00:00
David Monllao
c1c0d9b9cf
Merge branch 'MDL-41729-master' of git://github.com/lameze/moodle
2016-12-19 11:51:43 +01:00
David Monllao
2b5c9f04e3
Merge branch 'MDL-53814-question-type-icon-quiz-manual-grading-overview' of https://github.com/lucaboesch/moodle
2016-12-19 11:38:43 +01:00
Dan Poltawski
849002fab9
Merge branch 'MDL-53044' of https://github.com/ak4t0sh/moodle
2016-12-19 08:47:21 +00:00
Dan Poltawski
8560d8e1f9
Merge branch 'MDL-55715_m33v1' of https://github.com/sbourget/moodle
2016-12-19 08:35:42 +00:00
John Okely
22c98e1e5a
MDL-57268 auth_db: Unit tests for deletion from a large user set
2016-12-19 10:06:55 +08:00
Eloy Lafuente (stronk7)
17e14441c7
Merge branch 'wip-mdl-57344' of https://github.com/rajeshtaneja/moodle
2016-12-19 01:56:02 +01:00
Stephen Bourget
ef36d240c1
MDL-54996 Calendar: Fix dates for future multi-day events
...
Thanks to Martin Cunliffe for providing the fix
2016-12-17 09:48:41 -05:00
Davo Smith
fda954f470
MDL-47198 filelib: fix curl handling headers with no value
2016-12-16 13:19:48 +00:00
Rafal Domagalski
43bcc4b4ad
MDL-52366 themes: check for templates in themedir
2016-12-16 13:32:08 +01:00
Juan Segarra Montesinos
669da91d54
MDL-53367 mod_forum: Subscribe current users when importing a forum
...
Subscribes currently enrolled users when importing a forum with
automatic subscription enabled.
2016-12-16 09:46:07 +01:00
Simey Lameze
c4eb68177e
MDL-57292 tool_lpimportcsv: display progress bar for large imports
2016-12-16 10:47:01 +08:00
Mathew May
a446095f17
MDL-52098 enrol: cohort now looks at instance status
2016-12-16 11:18:52 +13:00
Arnaud Trouve
723a9dd9f4
MDL-53044 auth : force change on expired password
2016-12-15 14:49:03 +01:00
Arnaud Trouve
3009095bc9
MDL-56547 admin : add check on user deletion
...
Check if the target user is not already deleted
and print an explicit error in that case.
2016-12-15 14:29:07 +01:00
Dan Poltawski
d0e61e8655
MDL-57293 lang/email: Improve emailvia string
...
* Strip the https? part of url for existing strings
* Switch the string to (via shortname)
2016-12-15 09:54:04 +00:00
Andrew Nicols
5100c486bd
weekly on-sync release 3.3dev
2016-12-15 11:34:52 +08:00
Andrew Nicols
703b6debe6
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2016-12-15 11:34:48 +08:00
Damyon Wiese
08d7c0e1ca
MDL-57386 blocklib: wrong variable in is_block_present
...
This isn't reachable code in core moodle, but themes/plugins could call is_block_present to trigger it.
2016-12-15 10:50:44 +08:00
Tim Hunt
1a07d5ef82
MDL-57402 quiz editing: fix add heading after remove page break
2016-12-14 16:34:50 +00:00
AMOS bot
1f892bd05a
Automatically generated installer lang files
2016-12-15 00:04:00 +08:00
Mark Nelson
c9431a5be8
MDL-57270 core_message: trim message before it is sent
2016-12-14 12:18:58 +08:00
Stephen Bourget
455835809d
MDL-55715 calendar: Only update events from the current subscription
...
The iCal import should only update calendar events from the current
subscription not any subscription that contains the same event.
2016-12-13 21:36:08 -05:00
Andrew Nicols
374d7af2eb
Merge branch 'wip-mdl-57380' of https://github.com/rajeshtaneja/moodle
2016-12-14 09:55:34 +08:00
Rajesh Taneja
b3a2a33f07
MDL-57380 behat: Check for list tags and text
...
after list tag span can be added on few browsers
like chrome 51.0, so test if text starts with
list tag and contains text
2016-12-14 09:37:35 +08:00
Andrew Nicols
428e18ed2b
Merge branch 'MDL-55062_master' of git://github.com/markn86/moodle
2016-12-14 09:26:10 +08:00
Stephen Bourget
71cfa70a0e
MDL-55568 chat: chat_refresh_events should only create published events
2016-12-13 18:52:33 -05:00
Eloy Lafuente (stronk7)
6296803878
Merge branch 'MDL-55809-master' of https://github.com/xow/moodle
2016-12-13 20:05:15 +01:00
Dan Poltawski
a7471c40b4
Merge branch 'MDL-57125-master' of git://github.com/lameze/moodle
2016-12-13 16:34:52 +00:00
Dan Poltawski
ae2bf1626c
Merge branch 'MDL-56810_master' of https://github.com/Syxton/moodle
2016-12-13 14:55:50 +00:00
Eloy Lafuente (stronk7)
ab73c1ddbb
Merge branch 'feature/MDL-56830' of https://github.com/fwsl/moodle
2016-12-13 12:00:46 +01:00
Henning Bostelmann
a2a1a58683
MDL-55575 mod_glossary: Allow viewing all entries on one page
2016-12-13 11:43:29 +01:00
Eloy Lafuente (stronk7)
bd31523a30
Merge branch 'MDL-55720' of https://github.com/ak4t0sh/moodle
2016-12-13 11:41:35 +01:00
Dan Poltawski
2956ca50fa
Merge branch 'MDL-57250_master' of git://github.com/markn86/moodle
2016-12-13 10:25:07 +00:00
Dan Poltawski
ba78bd4f56
Merge branch 'MDL-56859-master' of https://github.com/snake/moodle
2016-12-13 09:45:15 +00:00
Dan Poltawski
92e20a1fa5
Merge branch 'MDL-57074-master' of https://github.com/snake/moodle
2016-12-13 09:26:10 +00:00
Dan Poltawski
8791d254af
Merge branch 'wip-MDL-57216-master' of git://github.com/abgreeve/moodle
2016-12-13 09:04:04 +00:00
Dan Poltawski
b7f0ab491c
Merge branch 'MDL-57182-master' of https://github.com/snake/moodle
2016-12-13 08:47:33 +00:00
Dan Poltawski
0183338c38
Merge branch 'wip-MDL-57257-master' of git://github.com/abgreeve/moodle
2016-12-13 08:45:50 +00:00
Marina Glancy
ba9a471d59
MDL-56912 feedback: empty multichoice questions do not submit
2016-12-13 15:00:41 +08:00
Andrew Nicols
01c7c3d8fb
Merge branch 'MDL-57213-master-2' of git://github.com/junpataleta/moodle
2016-12-13 13:06:18 +08:00
Mark Nelson
f85800f305
MDL-55062 tool_uploaduser: prevent defaults when not selected
2016-12-13 12:34:42 +08:00
Jun Pataleta
8aedc03754
MDL-57213 navigation: Load all my course categories into navigation tree
...
* Load all of the relevant course categories of the courses that a user
is enrolled in.
2016-12-13 11:42:11 +08:00
Andrew Nicols
08f96ac9d7
Merge branch 'MDL-57056_master' of https://github.com/nadavkav/moodle
2016-12-13 10:37:38 +08:00
Jan Dageförde
76a83260c5
MDL-57257 lesson: Validate type of numerical answer
2016-12-13 10:32:49 +08:00
Andrew Nicols
106c8026d1
Merge branch 'MDL-57222_master' of git://github.com/markn86/moodle
2016-12-13 10:25:30 +08:00
Eloy Lafuente (stronk7)
d8e57b7d7a
Merge branch 'wip-mdl-57328' of https://github.com/rajeshtaneja/moodle
2016-12-13 02:29:58 +01:00
Eloy Lafuente (stronk7)
7c0313e414
Merge branch 'master_MDL-57324' of git://github.com/danmarsden/moodle
2016-12-13 02:01:56 +01:00
Jake Dallimore
fa30dd8c6e
MDL-57182 navigation: fix login failures display in page footer.
...
A bug introduced with MDL-45893 meant that the failure count was being
reset, causing the footer code to be skipped. This patch fixes that
bug and adds behat tests covering the displayloginfailures feature.
2016-12-13 07:19:58 +08:00
Eloy Lafuente (stronk7)
00759c909c
Merge branch 'MDL-57319-master' of git://github.com/danpoltawski/moodle
2016-12-12 16:23:14 +01:00
Dan Poltawski
e36d9b3ead
Merge branch 'MDL-56525' of https://github.com/ak4t0sh/moodle
2016-12-12 14:08:34 +00:00
Matt Davidson
6be2b79b9c
MDL-56810 unoconv: task fails if user removed
...
If the user is removed from a course after a submission has been made,
the task will crash and never continue. This removes submissions from
the cron task if the user isn't enrolled in the course.
2016-12-12 08:22:51 -05:00
Dan Poltawski
6d23f14a94
Merge branch 'MDL-55782-master-test' of git://github.com/ryanwyllie/moodle
2016-12-12 13:17:48 +00:00
Dan Poltawski
5304258829
Merge branch 'wip-mdl-52796' of https://github.com/rajeshtaneja/moodle
2016-12-12 13:00:51 +00:00
Dan Poltawski
5eeb5e89a9
Merge branch 'MDL-57198' of git://github.com/phager-at/moodle
2016-12-12 12:46:39 +00:00
Dan Poltawski
394fd5f92e
Merge branch 'wip-MDL-57299-master' of git://github.com/abgreeve/moodle
2016-12-12 12:39:52 +00:00
Dan Poltawski
4d8c059cfa
Merge branch 'wip-mdl-57325' of https://github.com/rajeshtaneja/moodle
2016-12-12 12:23:22 +00:00
Dan Poltawski
daab2b520f
Merge branch 'wip-mdl-57314' of https://github.com/rajeshtaneja/moodle
2016-12-12 12:21:31 +00:00
Dan Poltawski
1483c172ed
Merge branch 'wip-mdl-57343' of https://github.com/rajeshtaneja/moodle
2016-12-12 12:21:09 +00:00
Dan Poltawski
1b846b8ed6
Merge branch 'MDL-57171-master-2' of git://github.com/junpataleta/moodle
2016-12-12 10:31:16 +00:00
Dan Poltawski
444017ca7e
Merge branch 'MDL-56566' of https://github.com/bostelm/moodle
2016-12-12 09:20:05 +00:00
Dan Poltawski
dc81fdeb3e
Merge branch 'MDL-55906-grading-table-filters-not-reset-master' of https://github.com/ilya-catalyst/moodle
2016-12-12 09:06:38 +00:00
Andrew Nicols
c8c3df53bb
Merge branch 'MDL-46714-master-nadav' of git://github.com/FMCorz/moodle
2016-12-12 12:51:19 +08:00
Nadav Kavalerchik
bb13339a2e
MDL-46714 Calendar: Properly order Date & Time fields in RTL mode
2016-12-12 12:38:04 +08:00
Mark Nelson
3b5b35a326
MDL-57222 mod_assign: show validation message on visible element
2016-12-12 11:55:18 +08:00
Simey Lameze
1f8d39893f
MDL-57125 comment: prevent js execution if there are no comments
2016-12-12 11:34:42 +08:00
Rajesh Taneja
7c1116dbbb
MDL-57343 behat: Ensure we wait enough for page to be fully loaded
2016-12-12 10:37:59 +08:00
Ramindu Deshapriya
f1a5cb1fde
MDL-52796 behat: Behat feature to test reset wiki page, tags & comments
2016-12-12 10:26:59 +08:00
Rajesh Taneja
ac6cacdfb1
MDL-57344 behat: Update master to use 3.33.0 behat extension tag
2016-12-12 09:23:33 +08:00
Bram Tassyns
ddedf10e98
MDL-56859 SCORM: player shouldn't display TOC while loading
2016-12-12 09:09:31 +08:00
Jake Dallimore
c5b70d12f9
MDL-57074 Filepicker: Fix alias and link icons in RTL mode
...
Fixed alignment of the images in RTL mode. Also fixed a z-index problem
in which the icons were displayed above the open drawer on narrow
screens.
2016-12-12 08:24:16 +08:00
AMOS bot
8c83affb21
Automatically generated installer lang files
2016-12-10 00:03:49 +08:00
David Mudrák
cb425a917f
MDL-56527 admin: Improve the error message if download is not available
...
The previous string did not actually contain a link where the lang pack
could be downloaded from.
2016-12-09 11:22:12 +01:00
Arnaud Trouve
feda7b3692
MDL-56525 forum: remove targeted user enrolment check
...
By removing the check on the targeted user's enrolment we allow to show his forum posts even if he is unenrol from a course (obviouly we need to have access to this course to view them)
2016-12-09 10:21:06 +01:00
Dan Poltawski
1081de20e1
MDL-57319 outputlib: raise timeout for scss/less compilation
2016-12-09 08:46:27 +00:00
Mark Nelson
f04dda1071
MDL-57250 core: show admin settings when only one category exists
2016-12-09 13:41:34 +08:00
Rajesh Taneja
189d6ea896
MDL-57328 core: Remove xdebug extension, so test run faster
2016-12-09 10:20:28 +08:00
Adrian Greeve
bfb43c64d8
MDL-57216 navigation: Updated parent behat test.
2016-12-09 10:20:14 +08:00
Adrian Greeve
4d91497153
MDL-57216 navigation: Added missing grade overview link.
...
For theme_boost the grade overview link has been added
to the user profile page.
2016-12-09 10:19:32 +08:00
Rajesh Taneja
2700a9aff1
MDL-57325 behat: Fixed backup/restore steps to use proper api
2016-12-09 09:30:18 +08:00
Rajesh Taneja
3720bd7d4a
MDL-57328 core: Run tests with php 7.1
2016-12-09 08:48:34 +08:00
Dan Marsden
936030d9eb
MDL-57324 scorm: exclude objective raw.score from grade update
2016-12-09 10:11:15 +13:00
Henning Bostelmann
5c4bd8f4e8
MDL-56566 mod_assign: ignore "doanything" in course overview
...
Do not count site admin "doanything" capability for determining
what should be shown in the course overview for assignments.
2016-12-08 19:53:37 +00:00
Philipp Hager
29df1cade1
MDL-57198 course: add css-classes to restrictbygroup-button
2016-12-08 13:24:18 +01:00
Dan Poltawski
5ef81f2b0b
weekly on-sync release 3.3dev
2016-12-08 08:43:19 +00:00
Dan Poltawski
d87177ae35
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
2016-12-08 08:43:18 +00:00
Ryan Wyllie
568c785fda
MDL-55782 groups: wrap long group names (theme: boost)
...
In the groups UI if a group name is very long it now no longer underlaps
the user column on its right hand side.
2016-12-08 06:36:19 +00:00
Andrew Nicols
d52a665eea
Merge branch 'wip-MDL-56614-fix2' of https://github.com/marinaglancy/moodle
2016-12-08 13:50:34 +08:00
Franziska Hübler
b143191855
MDL-55809 glossary: Keep file author and license across import/export
2016-12-08 12:25:34 +08:00
Ilya Tregubov
b6b38f77ba
MDL-55906 table: Update user preferences table when reset preferences
2016-12-08 15:02:04 +11:00
Marina Glancy
ef0d68e9b5
MDL-56614 behat: add missing wait for page is ready
2016-12-08 10:50:04 +08:00
Andrew Nicols
64ad7319ab
Merge branch 'MDL-57278-master-5' of https://github.com/xow/moodle
2016-12-08 10:44:49 +08:00
John Okely
f853640801
MDL-57278 signup: Fix double encoding of confirmation links
2016-12-08 10:16:30 +08:00
John Okely
a6db4a68e2
MDL-57278 signup: Unit tests covering confirmation link generation
2016-12-08 10:16:29 +08:00
Lukas Hämmerle
056a5138a4
MDL-41729 auth_shibboleth: Allow password change for shibboleth users
...
This patch modifies can_change_password() and adds change_password_url() to allow Shibboleth users to change their password
in case there is an (external) password change URL defined in Moodle. If no such URL is defined, the behaviour is the same
as without the proposed change.
Thanks FH-HWZ.ch for the contribution.
2016-12-08 09:38:52 +08:00
Rajesh Taneja
bd755b5317
MDL-57314 behat: Press enter after setting password unmask
2016-12-08 09:18:39 +08:00
Eloy Lafuente (stronk7)
383b2f9eb6
Merge branch 'wip-mdl-56642' of https://github.com/rajeshtaneja/moodle
2016-12-08 00:36:25 +01:00
Rajesh Taneja
79cb27179a
MDL-56642 dataformat: Fixed method_exits parameters
2016-12-08 07:20:21 +08:00
AMOS bot
ac19ac93ca
Automatically generated installer lang files
2016-12-08 00:04:57 +08:00
Dan Poltawski
ee1f658207
Merge branch 'MDL-57283_master' of git://github.com/markn86/moodle
2016-12-07 10:16:54 +00:00
Dan Poltawski
eec60baeca
Merge branch 'MDL-56674-master' of https://github.com/kenneth-hendricks/moodle
2016-12-07 08:45:16 +00:00
=
efafa567e4
MDL-55782 groups: wrap long group names
...
In the groups UI if a group name is very long it now no longer underlaps the user
column on its right hand side.
2016-12-07 09:34:46 +01:00
Andrew Nicols
86f4236cc2
Merge branch 'wip-MDL-56614-fix' of https://github.com/marinaglancy/moodle
2016-12-07 14:56:49 +08:00
Marina Glancy
c0ad000f46
MDL-56614 behat: corrections to new steps
2016-12-07 13:37:49 +08:00
Andrew Nicols
4b2bcd2376
Merge branch 'wip-mdl-56353' of https://github.com/rajeshtaneja/moodle
2016-12-07 11:53:34 +08:00
Rajesh Taneja
451ae0cabc
MDL-56353 behat: Added test for multi select dependency
2016-12-07 11:30:46 +08:00
Adrian Greeve
d8ecf9754e
MDL-57299 Atto: Theme boost fix for manage files.
...
Theme boost removed a selector that was being used
to remove used files and so the page wasn't loading
properly.
2016-12-07 10:40:39 +08:00
Andrew Nicols
e4621f0775
Merge branch 'wip-MDL-56642-master' of git://github.com/marinaglancy/moodle
2016-12-07 10:00:30 +08:00
Andrew Nicols
75af0aa680
Merge branch 'MDL-57266' of git://github.com/stronk7/moodle
2016-12-07 09:53:16 +08:00
Andrew Nicols
3e9f3e30b2
Merge branch 'MDL-56240' of git://github.com/stronk7/moodle
2016-12-07 09:50:16 +08:00
Andrew Nicols
3b8cf77689
Merge branch 'wip-mdl-56614' of https://github.com/rajeshtaneja/moodle
2016-12-07 09:42:20 +08:00
Marina Glancy
1491f21554
MDL-56642 dataformat: set temp dir
...
Thanks to Chien Wen-Chang for proposing a patch
2016-12-07 09:30:14 +08:00
Andrew Nicols
00f6e2cc52
Merge branch 'wip-mdl-57137' of https://github.com/rajeshtaneja/moodle
2016-12-07 09:00:22 +08:00
Rajesh Taneja
63be664507
MDL-57137 behat: Subcategory has black space before name
2016-12-07 08:49:04 +08:00
Rajesh Taneja
9bad658aaf
MDL-56614 behat: Fixed steps to use new definition
2016-12-07 07:10:35 +08:00
AMOS bot
c545551a0a
Automatically generated installer lang files
2016-12-07 00:04:51 +08:00
Dan Poltawski
be1b12490e
Merge branch 'MDL-45873' of https://github.com/bostelm/moodle
2016-12-06 15:56:23 +00:00
Dan Poltawski
b864c7fa1d
Merge branch 'MDL-57284-master' of git://github.com/ankitagarwal/moodle
2016-12-06 15:50:36 +00:00
Davo Smith
46045db2bd
MDL-55461 atto_equation: allow inserting inside empty brackets
2016-12-06 14:47:17 +00:00
Dan Poltawski
c4d9fd1afe
Merge branch 'MDL-53677-master' of git://github.com/ankitagarwal/moodle
2016-12-06 12:48:09 +00:00
Dan Poltawski
dee51f01d6
Merge branch 'MDL-56836-master' of https://github.com/snake/moodle
2016-12-06 12:46:19 +00:00
Dan Poltawski
369382f7bf
Merge branch 'MDL-56233-32-mocksubmit' of https://github.com/roperto/moodle
2016-12-06 12:42:00 +00:00
Dan Poltawski
8a08d016ff
MDL-56778 enrol: add note about legacy css
2016-12-06 12:31:57 +00:00
Dan Poltawski
94d950601c
Merge branch 'MDL-56778_master' of https://github.com/nadavkav/moodle
2016-12-06 12:30:28 +00:00
Dan Poltawski
e2838e0e5d
Merge branch 'MDL-57199' of git://github.com/timhunt/moodle
2016-12-06 12:25:36 +00:00
Dan Poltawski
7cdc6974d4
Merge branch 'MDL-56971-m' of https://github.com/micaherne/moodle
2016-12-06 11:08:08 +00:00
Grzegorz Ziółek
3118ff6f41
MDL-56830 config_log: Add block plugin visibility changes to config_log.
2016-12-06 11:29:02 +01:00
Nadav Kavalerchik
4b80e95c73
MDL-57056 Theme/Boost: Fix "Skip to" link when Tab key pressed
2016-12-06 09:55:11 +02:00
SSRF
7829997343
MDL-53677 tool_spamcleaner: CSRF Fix
...
Resolves minor CSRF within Moodle spamcleaner.
2016-12-06 12:25:14 +05:30
Andrew Nicols
3bb4ad7521
Merge branch 'MDL-57137_question_category_with_parent_category' of https://github.com/melihovv/moodle
2016-12-06 14:52:32 +08:00
Andrew Nicols
afecb4dfd5
Merge branch 'MDL-56346-master' of https://github.com/lucisgit/moodle
2016-12-06 14:34:06 +08:00
Ankit Agarwal
59def6f397
MDL-57284 boost: Fix booktool_print icons
2016-12-06 11:51:02 +05:30
Mark Nelson
07af06df96
MDL-57283 core: fixed function call on null
2016-12-06 14:12:42 +08:00
Andrew Nicols
7586a36022
Merge branch 'MDL-56301-master' of https://github.com/snake/moodle
2016-12-06 14:10:40 +08:00
Andrew Nicols
5b67c9ecd1
Merge branch 'wip-MDL-56614-master-2' of https://github.com/marinaglancy/moodle
2016-12-06 13:37:33 +08:00
Andrew Nicols
f3666a1a56
Merge branch 'MDL-57161-master' of git://github.com/lameze/moodle
2016-12-06 13:06:39 +08:00
Marina Glancy
7a12a02dc7
MDL-56614 behat: add navigation block when required
...
Most of these hacks have links to corresponding MDL issues
2016-12-06 11:49:14 +08:00
Marina Glancy
44f460c32a
MDL-56614 behat: rename step for navigating in the gradebook
2016-12-06 11:49:14 +08:00
Marina Glancy
e5287f9b3b
MDL-56614 behat: navigate without navigation and admin blocks
2016-12-06 11:49:14 +08:00
Marina Glancy
50bd633d44
MDL-56614 block_navigation: Add block in behat tests
2016-12-06 11:49:14 +08:00
Marina Glancy
ebcff7e256
MDL-56614 behat: new steps for navigation without blocks
2016-12-06 11:49:11 +08:00
Donald Barrett
4fc74fe587
MDL-56301 course: Use value for intro field if set in a mods function
...
Respects a module that has set a value for the db field intro in it's lib function modulename_add_instance.
2016-12-06 10:34:38 +08:00
Andrew Nicols
80a35e6d1f
Merge branch 'MDL-57255-master' of git://github.com/jleyva/moodle
2016-12-06 10:16:38 +08:00
David Monllao
c720384758
MDL-57161 search: Set the correct HTTP header
...
All credit goes to Test Valley School
2016-12-06 09:52:30 +08:00
Andrew Nicols
2e0e081b60
Merge branch 'MDL-56759-master' of git://github.com/lameze/moodle
2016-12-06 08:56:27 +08:00
Eloy Lafuente (stronk7)
75c57a08fb
MDL-57266 upgrade: add 3.2.0 separation line to all upgrade scripts
2016-12-05 17:10:20 +01:00
Dan Poltawski
e1ac178892
Merge branch 'MDL-56459-master' of git://github.com/FMCorz/moodle
2016-12-05 15:48:27 +00:00
Eloy Lafuente (stronk7)
e7a1eed154
MDL-56240 upgrade: delete incorrect lines, manually added
...
Note that, with MDL-57266, we are changine the comment to be:
// Automatically generated Moodle v3.2.0 release upgrade line
in order to make to make to make it clearer that it's an
automatic (part of the release process) comment and should not
be added manually ever.
2016-12-05 16:47:33 +01:00
Dan Poltawski
d68562bdb9
Merge branch 'MDL-57256-master-legacylink' of git://github.com/mudrd8mz/moodle
2016-12-05 15:45:31 +00:00
Michael Aherne
23b9e2a16d
MDL-56320 webservice: Allow uninstall of unused plugins
2016-12-05 12:56:55 +00:00
Simey Lameze
3eefa8a59f
MDL-56759 themes: fix badge list alignment issues
2016-12-05 15:19:18 +08:00
Andrew Nicols
8e9cb9b1dd
Merge branch 'MDL-54921-master' of https://github.com/xow/moodle
2016-12-05 15:13:47 +08:00
Andrew Nicols
405666d371
Merge branch 'MDL-52840_master' of https://github.com/rezaies/moodle
2016-12-05 13:01:31 +08:00
Andrew Nicols
0dcbbbaa7e
Merge branch 'MDL-57084_master' of git://github.com/markn86/moodle
2016-12-05 12:26:20 +08:00
Mark Nelson
57b3433604
MDL-57084 core_message: prevent duplication of day separator
2016-12-05 12:12:14 +08:00
Andrew Nicols
feda939e2f
Merge branch 'MDL-56893-MOODLE_master-edit-grade-item-bug' of https://github.com/mspall/moodle
2016-12-05 12:04:43 +08:00
Andrew Nicols
8c71e91cdb
Merge branch 'MDL-57265' of git://github.com/stronk7/moodle
2016-12-05 08:51:21 +08:00
Bram Tassyns
b0c362047e
MDL-56836 SCORM: player doesn't remember display mode when not logged in
2016-12-05 08:36:13 +08:00
Eloy Lafuente (stronk7)
73ddcea6e9
MDL-57265 backup: Bump release to 3.3
2016-12-05 01:30:17 +01:00
Daniel Thee Roperto
518eb19337
MDL-56233 forms library: Fixed form identifier when mocking a form.
...
If the plugin is using namespaces instead of frankenstyle class name,
get_called_class() will return 'type\name' instead of 'type_name'.
Added code to replace backslashes to underscores and fix that issue.
2016-12-05 11:27:05 +11:00
Eloy Lafuente (stronk7)
e6cb76dfbb
weekly back-to-dev release 3.3dev
2016-12-03 17:46:27 +01:00
Henning Bostelmann
f4a752a2f1
MDL-45873 mode_data: Allow "0" entries in menu field
2016-12-03 15:30:12 +00:00
Eloy Lafuente (stronk7)
e0ace6db8c
NOBUG: Change travis.yml back to master
2016-12-03 14:26:16 +01:00
David Mudrák
17a23673a9
MDL-57256 course: Fix display of the Legacy course files link
...
The patch fixes the classical operator precedence bug.
2016-12-02 14:10:06 +01:00
Juan Leyva
f104a58fe0
MDL-57255 gradereport_user: Fix default value for graderaw
...
graderaw is a PARAM_FLOAT, the default to empty string was incorrect
2016-12-02 12:29:51 +00:00
Luke Carrier
6f62abab2c
MDL-57143 dml: sqlsrv drivers are going xplat \o/
...
They're now available on PECL:
https://pecl.php.net/package/sqlsrv
And the source for the extension is on GitHub:
https://github.com/Microsoft/msphpsql
Note that they do require installation of unixODBC; relevant
documentation is available for Debian- and RHEL-likes:
* https://www.microsoft.com/en-us/sql-server/developer-get-started/php-ubuntu
* https://www.microsoft.com/en-us/sql-server/developer-get-started/php-rhel
2016-12-01 22:08:57 +00:00
Jun Pataleta
5920f6338d
MDL-57171 admin: Make environment check table look better
...
* Use Bootstrap label classes for the text under the status column.
* theme_bootstrapbase:
- Cleanup unnecessary classes and make .error styles consistent
with .warn styles
* theme_boost:
- Set font color appropriate for success, warning and error strings.
* Enclose report text in div so that the feedback texts will be
displayed right below it.
2016-12-01 22:55:10 +08:00
Michael Spall
d27e1c7519
MDL-56893 grades: Fix edit grade item when grade_report_showmin is false
...
Check to make sure $data['grademin'] exists. When grade_report_showmin
is false $data['grademin'] doesn't exist.
2016-11-30 11:57:57 -07:00
Tim Hunt
29034c3eb3
MDL-57199 question preview: make HTML ids unique
2016-11-29 18:31:53 +00:00
Marina Glancy
59e004cd79
MDL-57187 label: allow to drag and drop video/audio files
2016-11-29 14:11:46 +08:00
John Okely
59b9c4d47a
MDL-54921 signup: Only clear wanturl when necessary
...
Thanks to Juho Jaakkola for original patch idea.
2016-11-28 13:54:52 +08:00
Tony Butler
7962b4845c
MDL-56346 assignfeedback_editpdf: Correct typo in property name
2016-11-25 11:09:33 +00:00
Alexander Melihov
834cc0ed66
MDL-57137 quiz: Create question category with specified parent category
...
Fix question category generator bug. Now it is possible to specify parent category of subcategory, supply only name of parent category
2016-11-25 08:59:32 +03:00
Nadav Kavalerchik
85dd7c6f7a
MDL-56778 Enrollment: Fix enroll users dialog in RTL mode (theme:Boost)
2016-11-21 18:33:52 +02:00
=
8c3882f369
MDL-53814 quiz: Question type column in manual grading
...
In the list of questions of the quiz manual grading
the question number (Q#) and the question name is displayed along
with an icon representing the question type.
2016-11-20 18:51:04 +01:00
Shamim Rezaie
a6f29f4c63
MDL-52840 assignsubmission_file: Change default setting file size
...
The default value of the assignsubmission_file/maxbytes setting is changed to $CFG->maxbytes.
2016-11-21 04:38:05 +11:00
Frederic Massart
0eda810d17
MDL-56459 competency: Invalid use of indirect property key
...
This change ensures that PHP7 and earlier work the same way. Before
the patch PHP < 7 would not expand the property as we expected it.
More information here:
http://php.net/manual/en/migration70.incompatible.php#migration70.incompatible.variable-handling.indirect
2016-11-16 13:53:31 +08:00
Michael Aherne
ef97f1a24e
MDL-56971 enrol: Use autoloading in enrol_get_plugin()
2016-11-15 12:22:54 +00:00
ak4t0sh
70a557db24
MDL-55720 course: fix potential undefined variable and cleaning
...
This commit replace $e usage by $returnfromfunc.
Indeed $returnfromfunc always exists in the scope and take $e value in case of moodle_exception.
This commit also remove useless $modcontext affectation.
2016-11-02 23:15:45 +01:00
Kenneth Hendricks
c213a30670
MDL-56674 core: Fix test_get_all_observers
2016-11-02 13:29:07 +11:00
Eloy Lafuente (stronk7)
9123439e06
MDL-55139 unit tests: Make code-coverage for components way better
...
By specifying the filter on all those partial phpunit.xml files
we are restricting in a 99% the effort (time and memory) needed
by phpunit to process xdebug execution coverage, retricting it
to the target files within a component.
2016-10-07 00:41:22 +02:00