21399 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
21406f66e0 Merge branch 'MDL-65646-master' of git://github.com/andrewnicols/moodle 2019-06-20 00:29:56 +02:00
Eloy Lafuente (stronk7)
90b01a0015 Merge branch 'MDL-57487-master' of git://github.com/sarjona/moodle 2019-06-19 23:05:50 +02:00
Eloy Lafuente (stronk7)
db339012f5 Merge branch 'MDL-65665-master-2' of git://github.com/mihailges/moodle 2019-06-19 20:29:09 +02:00
Eloy Lafuente (stronk7)
5759f72d8b Merge branch 'MDL-65666-master' of git://github.com/rezaies/moodle 2019-06-19 18:37:56 +02:00
Eloy Lafuente (stronk7)
59cfb582f6 Merge branch 'MDL-65864' of git://github.com/timhunt/moodle 2019-06-19 18:08:19 +02:00
Eloy Lafuente (stronk7)
b3bbf6adf8 Merge branch 'MDL-55821-master' of git://github.com/damyon/moodle 2019-06-19 18:05:10 +02:00
Simey Lameze
58e601bf8b MDL-65883 mod_quiz: replace all hardcoded urls to proper params 2019-06-19 14:48:06 +08:00
Simey Lameze
6970450643 MDL-65883 mod_quiz: change attemptlib_test to use data generators 2019-06-19 14:48:01 +08:00
Tim Hunt
b3c6c89b35 MDL-57884 quiz: autosave should not send the value of submit buttons 2019-06-18 17:46:47 +01:00
Tim Hunt
dd6efc8b7b MDL-65915 quiz regrading: refactor some almost duplicate code 2019-06-18 11:37:15 +01:00
Tim Hunt
9a3af544ff MDL-65915 quiz regrading: better progress information
This makes it easier to diagnose problems if the regrade fails in the
middle.

Along the way, I added one un-declared field to the class, and
converted some SQL-construction code to $DB->get_in_or_equal().

I also added the ability to set attributes on the label in
html_writer::checkbox.
2019-06-18 11:37:12 +01:00
Andrew Nicols
dcab557adf Merge branch 'MDL-65469' of git://github.com/stronk7/moodle 2019-06-18 09:17:35 +08:00
Eloy Lafuente (stronk7)
ca582dc947 Merge branch 'MDL-65869-master' of git://github.com/aanabit/moodle 2019-06-18 00:14:03 +02:00
Eloy Lafuente (stronk7)
e7bf69e057 MDL-65469 mod_forum: Check for existence before operating 2019-06-17 17:14:55 +02:00
Davo Smith
74ddcaaa6f MDL-64811 mod_assign: warn about 'Default group' submissions 2019-06-17 16:01:47 +01:00
Andrew Nicols
0f2b29242e Merge branch 'MDL-65469-master' of git://github.com/peterRd/moodle 2019-06-17 14:18:40 +08:00
Peter
9c3e3a904b MDL-65469 mod_forum: Use the formchange checker initializer 2019-06-17 12:29:48 +08:00
Andrew Nicols
e29530fe3c Merge branch 'MDL-65888-master' of git://github.com/mudrd8mz/moodle 2019-06-17 10:48:34 +08:00
Sara Arjona
c128ccc142 MDL-57487 course: final deprecation external::get_activities_overview 2019-06-14 17:41:18 +02:00
Sara Arjona
f65075f10f MDL-57487 mod_scorm: deprecate strings used in xxx_print_overview 2019-06-14 17:41:18 +02:00
Sara Arjona
9e2101a206 MDL-57487 mod_scorm: final deprecation xxx_print_overview 2019-06-14 17:41:18 +02:00
Sara Arjona
c023ce5873 MDL-57487 mod_quiz: deprecate strings used in xxx_print_overview 2019-06-14 17:41:18 +02:00
Sara Arjona
a1bf1b04a5 MDL-57487 mod_quiz: final deprecation xxx_print_overview 2019-06-14 17:41:18 +02:00
Sara Arjona
06c645a712 MDL-57487 mod_lesson: deprecate strings used in xxx_print_overview 2019-06-14 17:41:18 +02:00
Sara Arjona
18c1fdbb77 MDL-57487 mod_lesson: final deprecation xxx_print_overview 2019-06-14 17:41:18 +02:00
Sara Arjona
d4def03e98 MDL-57487 mod_forum: deprecate strings used in xxx_print_overview 2019-06-14 17:41:18 +02:00
Sara Arjona
b18015c687 MDL-57487 mod_forum: final deprecation xxx_print_overview
Apart from deprecating forum_print_overview, the following method
has been also deprecated because it's not used anymore:
- forum_filter_user_groups_discussions
2019-06-14 17:42:59 +02:00
Sara Arjona
99a80e133a MDL-57487 mod_choice: deprecate strings used in xxx_print_overview 2019-06-14 17:41:18 +02:00
Sara Arjona
ec22b5ed91 MDL-57487 mod_choice: final deprecation xxx_print_overview 2019-06-14 17:41:18 +02:00
Sara Arjona
c50f6c6bfd MDL-57487 mod_choice: final string deprecation for skipresultgraph
The final skipresultgraph should be done in 3.4 because it was
deprecated in 3.0 in MDL-49811.
2019-06-14 17:41:18 +02:00
Sara Arjona
cd1d59a974 MDL-57487 mod_chat: final deprecation xxx_print_overview 2019-06-14 17:41:18 +02:00
Sara Arjona
2af4a2c193 MDL-57487 mod_assign: deprecate strings used in xxx_print_overview 2019-06-14 17:41:18 +02:00
Sara Arjona
375e2ecea0 MDL-57487 mod_assign: final deprecation xxx_print_overview
Apart from deprecating assign_print_overview , the following methods
have been also deprecated because they are not used anymore:
- assign_get_mysubmission_details_for_print_overview
- assign_get_grade_details_for_print_overview
2019-06-14 17:41:18 +02:00
Paul Holden
d0329e8413 MDL-65181 mod_data: show required field indicator for textarea fields. 2019-06-14 09:49:09 +01:00
Amaia Anabitarte
b6bac30fdf MDL-65869 behat: Moving @app behat tests from core to moodlemobileapp
As described in MDL-65869 we are moving @app behat tests to
https://github.com/moodlehq/moodle-local_moodlemobileapp to be easier to maintain
and be sure are working with different mobile versions.
So we are not deprecating tests from core, just removing them because will be
in a different location.
2019-06-14 10:16:44 +02:00
Mihail Geshoski
d411a1c10e MDL-65665 forum: WS does not respect subscribe on reply user preference 2019-06-14 08:44:28 +08:00
Mihail Geshoski
e321b28236 MDL-65665 forum: Add unit test 2019-06-14 08:44:28 +08:00
Nathan Nguyen
86bc0ae4b9 MDL-65797 mod_assign: limit users to list of participants
Limit assign override union to list of participants in a course instead of users of the whole site.
2019-06-14 09:38:28 +10:00
Simey Lameze
589c4f9474 MDL-65883 mod_quiz: fix quiz navigation buttons href 2019-06-14 07:27:02 +08:00
Tim Hunt
e900b2f34f MDL-65864 question engine: fix re-saving a new usage
Before this fix, test_repeated_usage_saving_new_usage was failing but
test_repeated_usage_saving_existing_usage was passing. Now the
behaviour is consistent and they both pass.
2019-06-13 18:04:02 +01:00
Shamim Rezaie
a7174ddfec MDL-65666 mod_forum: Highlight unread posts count in the discussion list 2019-06-14 01:26:04 +10:00
Shamim Rezaie
be1400c63c MDL-65786 mod_forum: mark posts as read when they are read 2019-06-13 23:33:35 +10:00
Andrew Nicols
29c442c558 MDL-65646 core: Move component storage to json 2019-06-13 12:26:00 +08:00
Shamim Rezaie
e452c97f27 MDL-65786 mod_forum: re-adding the unread count to the social format 2019-06-13 03:13:19 +10:00
Shamim Rezaie
24bc206b75 MDL-65786 mod_forum: pass parameter to str helper when loading strings
We should not concatenate strings. We should make use of the {$a}placeholder instead.
2019-06-12 19:49:52 +10:00
Andrew Nicols
1967e07175 Merge branch 'MDL-65754' of git://github.com/Chocolate-lightning/moodle 2019-06-12 09:45:36 +08:00
Mathew May
e2ffa09fdc MDL-65754 mod_feedback: Remove unused v1 recaptcha 2019-06-12 09:38:39 +08:00
David Mudrák
1ecf0397bb MDL-65888 forum: Do not send notifications to unconfirmed users
Under certain conditions, users marked as not confirmed yet may be
returned as forum notification recipients. Such users are considered as
inactive though and the delivery adhoc task cannot be run as these
users, throwing an exception.

The solution is to make sure that fetch_subscribed_users() does not
include unconfirmed users, similarly to what was done for suspended
users and nologin users.

The added unit test also checks for deleted users. But these should
never be returned as subscribed because we consider enrolled users only
and deleted users are filtered out implicitly.
2019-06-11 09:53:23 +02:00
Adrian Greeve
205f0cedaf Merge branch 'MDL-63878-master' of git://github.com/damyon/moodle 2019-06-11 13:30:04 +08:00
Andrew Nicols
6b4a254d74 Merge branch 'MDL-65779-master' of git://github.com/peterRd/moodle 2019-06-11 12:07:40 +08:00