moodle.git
7 months agoMerge branch 'MDL-65983-master' of git://github.com/jleyva/moodle
Sara Arjona [Tue, 13 Apr 2021 10:19:25 +0000 (12:19 +0200)]
Merge branch 'MDL-65983-master' of git://github.com/jleyva/moodle

7 months agoweekly release 4.0dev
Eloy Lafuente (stronk7) [Tue, 13 Apr 2021 08:26:25 +0000 (10:26 +0200)]
weekly release 4.0dev

7 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Tue, 13 Apr 2021 08:26:20 +0000 (10:26 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

7 months agoMerge branch 'MDL-71161-master-4' of git://github.com/junpataleta/moodle
Adrian Greeve [Tue, 13 Apr 2021 03:42:30 +0000 (11:42 +0800)]
Merge branch 'MDL-71161-master-4' of git://github.com/junpataleta/moodle

7 months agoMerge branch 'MDL-70821-master-5' of git://github.com/junpataleta/moodle
Adrian Greeve [Tue, 13 Apr 2021 02:59:02 +0000 (10:59 +0800)]
Merge branch 'MDL-70821-master-5' of git://github.com/junpataleta/moodle

7 months agoMerge branch 'mdl_71172' of https://github.com/AnupamaSarjoshi/moodle
Eloy Lafuente (stronk7) [Mon, 12 Apr 2021 22:46:55 +0000 (00:46 +0200)]
Merge branch 'mdl_71172' of https://github.com/AnupamaSarjoshi/moodle

7 months agoMDL-71161 mod_workshop: Display activity completion information
Michael Hawkins [Fri, 12 Mar 2021 11:20:39 +0000 (19:20 +0800)]
MDL-71161 mod_workshop: Display activity completion information

7 months agoMDL-71161 mod_wiki: Display activity completion information
Michael Hawkins [Thu, 11 Mar 2021 08:16:45 +0000 (16:16 +0800)]
MDL-71161 mod_wiki: Display activity completion information

7 months agoMDL-71161 mod_url: Display activity completion information
Michael Hawkins [Thu, 11 Mar 2021 06:28:57 +0000 (14:28 +0800)]
MDL-71161 mod_url: Display activity completion information

7 months agoMDL-71161 mod_survey: show survey activity info
Simey Lameze [Thu, 11 Mar 2021 11:06:09 +0000 (19:06 +0800)]
MDL-71161 mod_survey: show survey activity info

7 months agoMDL-71161 mod_scorm: Display activity completion information
Michael Hawkins [Mon, 22 Mar 2021 09:45:50 +0000 (17:45 +0800)]
MDL-71161 mod_scorm: Display activity completion information

7 months agoMDL-71161 mod_resource: Display activity completion information
Michael Hawkins [Mon, 22 Mar 2021 10:44:34 +0000 (18:44 +0800)]
MDL-71161 mod_resource: Display activity completion information

7 months agoMDL-71161 mod_quiz: Display activity completion information
Michael Hawkins [Mon, 22 Mar 2021 10:58:00 +0000 (18:58 +0800)]
MDL-71161 mod_quiz: Display activity completion information

7 months agoMDL-71161 mod_page: Display activity completion information
Michael Hawkins [Thu, 11 Mar 2021 03:52:34 +0000 (11:52 +0800)]
MDL-71161 mod_page: Display activity completion information

7 months agoMDL-71161 mod_lti: Display activity completion information
Michael Hawkins [Wed, 10 Mar 2021 11:18:54 +0000 (19:18 +0800)]
MDL-71161 mod_lti: Display activity completion information

7 months agoMDL-71161 mod_lesson: Display activity completion information
Michael Hawkins [Mon, 22 Mar 2021 11:05:17 +0000 (19:05 +0800)]
MDL-71161 mod_lesson: Display activity completion information

7 months agoMDL-71161 mod_imscp: Display activity information output component
Jun Pataleta [Thu, 25 Mar 2021 08:36:00 +0000 (16:36 +0800)]
MDL-71161 mod_imscp: Display activity information output component

7 months agoMDL-71161 mod_h5pactivity: Display activity information output component
Jun Pataleta [Thu, 25 Mar 2021 08:35:46 +0000 (16:35 +0800)]
MDL-71161 mod_h5pactivity: Display activity information output component

7 months agoMDL-71161 mod_glossary: show glossary activity info
Simey Lameze [Thu, 11 Mar 2021 08:37:24 +0000 (16:37 +0800)]
MDL-71161 mod_glossary: show glossary activity info

7 months agoMDL-71161 mod_forum: show forum activity info
Simey Lameze [Thu, 11 Mar 2021 08:09:32 +0000 (16:09 +0800)]
MDL-71161 mod_forum: show forum activity info

7 months agoMDL-71161 mod_folder: Display activity information output component
Jun Pataleta [Thu, 25 Mar 2021 08:34:41 +0000 (16:34 +0800)]
MDL-71161 mod_folder: Display activity information output component

7 months agoMDL-71161 mod_feedback: show feedback activity info
Simey Lameze [Thu, 11 Mar 2021 08:45:04 +0000 (16:45 +0800)]
MDL-71161 mod_feedback: show feedback activity info

7 months agoMDL-71161 mod_data: show database activity info
Simey Lameze [Mon, 29 Mar 2021 02:37:01 +0000 (10:37 +0800)]
MDL-71161 mod_data: show database activity info

7 months agoMDL-71161 mod_chat: Display activity information output component
Jun Pataleta [Thu, 25 Mar 2021 08:34:23 +0000 (16:34 +0800)]
MDL-71161 mod_chat: Display activity information output component

7 months agoMDL-71161 mod_book: Display activity information output component
Jun Pataleta [Thu, 25 Mar 2021 08:34:11 +0000 (16:34 +0800)]
MDL-71161 mod_book: Display activity information output component

7 months agoMDL-71161 mod_assign: show assign activity info
Simey Lameze [Thu, 11 Mar 2021 11:05:23 +0000 (19:05 +0800)]
MDL-71161 mod_assign: show assign activity info

7 months agoMDL-70821 core_completion: Fix completion settings Behat tests
Jun Pataleta [Mon, 12 Apr 2021 16:33:54 +0000 (00:33 +0800)]
MDL-70821 core_completion: Fix completion settings Behat tests

7 months agoMDL-70821 course: Render activity information only when necessary
Jun Pataleta [Mon, 12 Apr 2021 13:15:46 +0000 (21:15 +0800)]
MDL-70821 course: Render activity information only when necessary

Render the activity information output component in the course homepage
only if either completion details or activity dates are to be displayed.
This can help reduce the number of files being included when loading the
course homepage (e.g. the activity information template for each
activity in the course homepage).

7 months agoMerge branch 'MDL-71064' of git://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Mon, 12 Apr 2021 15:32:24 +0000 (17:32 +0200)]
Merge branch 'MDL-71064' of git://github.com/paulholden/moodle

7 months agoMerge branch 'MDL-68716' of git://github.com/paulholden/moodle
Sara Arjona [Mon, 12 Apr 2021 15:24:33 +0000 (17:24 +0200)]
Merge branch 'MDL-68716' of git://github.com/paulholden/moodle

7 months agoMerge branch 'MDL-71264' of https://github.com/stronk7/moodle
Sara Arjona [Mon, 12 Apr 2021 14:40:04 +0000 (16:40 +0200)]
Merge branch 'MDL-71264' of https://github.com/stronk7/moodle

7 months agoMerge branch 'MDL-70595-master' of git://github.com/mickhawkins/moodle
Sara Arjona [Mon, 12 Apr 2021 14:01:29 +0000 (16:01 +0200)]
Merge branch 'MDL-70595-master' of git://github.com/mickhawkins/moodle

7 months agoMerge branch 'MDL-71107-master' of git://github.com/aanabit/moodle
Sara Arjona [Mon, 12 Apr 2021 10:41:03 +0000 (12:41 +0200)]
Merge branch 'MDL-71107-master' of git://github.com/aanabit/moodle

7 months agoMDL-71172 quiz: Improve quiz Behat tests
Anupama Sarjoshi [Mon, 22 Mar 2021 16:07:33 +0000 (16:07 +0000)]
MDL-71172 quiz: Improve quiz Behat tests

7 months agoMDL-65983 airnotifier: Configuration check report
Juan Leyva [Mon, 16 Nov 2020 15:01:40 +0000 (16:01 +0100)]
MDL-65983 airnotifier: Configuration check report

7 months agoMerge branch 'MDL-71251-master' of git://github.com/jleyva/moodle
Jake Dallimore [Mon, 12 Apr 2021 06:48:28 +0000 (14:48 +0800)]
Merge branch 'MDL-71251-master' of git://github.com/jleyva/moodle

7 months agoMerge branch 'MDL-70821-master-5' of git://github.com/junpataleta/moodle
Adrian Greeve [Mon, 12 Apr 2021 06:45:59 +0000 (14:45 +0800)]
Merge branch 'MDL-70821-master-5' of git://github.com/junpataleta/moodle

7 months agoMDL-70821 course: Activity information fixes
Jun Pataleta [Sat, 27 Mar 2021 05:21:53 +0000 (13:21 +0800)]
MDL-70821 course: Activity information fixes

* Make sure the activity is visible to the user (cm_info::uservisible)
before showing the activity completion information.
* Add to-do status for overridden automatic completion

7 months agoMDL-70821 course: Check activity dates on course homepage
Jun Pataleta [Sat, 27 Mar 2021 04:42:51 +0000 (12:42 +0800)]
MDL-70821 course: Check activity dates on course homepage

* Check the activity dates on the course homepage depending on
  the value of the showactivitydates course setting
* Plus use the new Behat steps for checking activity dates

7 months agoMDL-70821 course: New Behat steps for activity dates
Jun Pataleta [Sat, 27 Mar 2021 04:41:37 +0000 (12:41 +0800)]
MDL-70821 course: New Behat steps for activity dates

* activity_date_in_activity_should_contain_text()
  - Checks the presence of the given text in the activity's date info.
* activity_dates_information_in_activity_should_exist()
  - Checks the presence of activity dates information in the activity
    information output component.
* activity_dates_information_in_activity_should_not_exist()
  - Checks the absence of activity dates information in the activity
    information output component.

7 months agoMDL-70821 behat: Use new activity completion steps for Behat tests
Jun Pataleta [Fri, 26 Mar 2021 09:50:41 +0000 (17:50 +0800)]
MDL-70821 behat: Use new activity completion steps for Behat tests

Replace usages of completion Behat steps that check for the completion
checkboxes with the new activity completion Behat steps.

7 months agoMDL-70821 completion: New Behat steps for activity completion
Jun Pataleta [Fri, 26 Mar 2021 09:49:34 +0000 (17:49 +0800)]
MDL-70821 completion: New Behat steps for activity completion

* activity_completion_condition_displayed_as()
  - Shows the status of an automatic completion condition for a given
    activity
* activity_should_have_the_completion_condition()
  - Checks that the activity displays the given completion condition
* manual_completion_button_displayed_as()
  - Shows the status of the manual completion button for a given
    activity
* the_manual_completion_button_for_activity_should_be_disabled()
  - Checks that the manual completion button for the given activity is
    disabled.
* there_should_be_no_completion_for_activity()
  - Checks that the activity does not show completion information
* toggle_the_manual_completion_state()
  - Toggles the manual completion button's state for a given activity
* overridden_manual_completion_button_displayed_as()
  - Checks the manual completion state of an activity.
* overridden_activity_completion_condition_displayed_as()
  - Checks if the activity with specified name is maked as complete.

7 months agoMDL-70821 course: activity_information template changes
Jun Pataleta [Wed, 24 Mar 2021 15:05:38 +0000 (23:05 +0800)]
MDL-70821 course: activity_information template changes

* Add activity name for completion conditions labels. This would give
  better information to screen reader users the activity that the list
  of automatic completion conditions belong to. This would be useful
  especially when the completion conditions are displayed on the course
  homepage.
* Add data-region attributes to activity dates and completion
  information divs.
* Reorganise activity dates and completion information divs so they
  are only rendered when they have data to show.

7 months agoMDL-70821 course: Remove old manual completion toggling
Jun Pataleta [Wed, 24 Mar 2021 05:10:27 +0000 (13:10 +0800)]
MDL-70821 course: Remove old manual completion toggling

Remove the old ways of toggling manual completion via completion.js
and the ajax part of togglecompletion.php.

7 months agoMDL-70821 course: Deprecate course_section_cm_completion()
Jun Pataleta [Wed, 24 Mar 2021 03:24:02 +0000 (11:24 +0800)]
MDL-70821 course: Deprecate course_section_cm_completion()

Deprecate \core_course_renderer::course_section_cm_completion(). It is
not being used anymore and is being replaced by
\core_renderer::activity_information().

7 months agoMDL-70821 course: Cover availability conditions for manual completion
Jun Pataleta [Tue, 23 Mar 2021 12:18:38 +0000 (20:18 +0800)]
MDL-70821 course: Cover availability conditions for manual completion

When an activity has manual completion tracking, pressing the manual
completion checkbox reloads the page after toggling the completion
state when the activity is linked to availability conditions.
The "Mark as done" button needs to mimic this behaviour as well.

The approach being taken here is to add a core_course/view JS module
for the course homepage which listens for the manualCompletionToggled
event and reloads the page when the activity module has availability
conditions tied to it.

Perhaps for future development, instead of reloading the page, the
container of the restricted course sections/activities can reloaded via
AJAX as well.

7 months agoMDL-70821 course: Create manualCompletionToggled event
Jun Pataleta [Tue, 23 Mar 2021 12:13:22 +0000 (20:13 +0800)]
MDL-70821 course: Create manualCompletionToggled event

Add a new "manualCompletionToggled" course event and dispatch this
when the manual completion state for an activity is toggled.

7 months agoMDL-70821 course: Remove unused completion info from cm_format
Jun Pataleta [Mon, 22 Mar 2021 15:13:10 +0000 (23:13 +0800)]
MDL-70821 course: Remove unused completion info from cm_format

With the activity information output component dealing with the
completion information of the activity, there's no need to pass
completion info to the cm_format renderable.

7 months agoMDL-70821 course: Render activity information output component in course
Jun Pataleta [Fri, 12 Mar 2021 09:59:18 +0000 (17:59 +0800)]
MDL-70821 course: Render activity information output component in course

Use the activity information output component to render activity
completion details and activity dates for activities on the course
homepage.

Includes fixup from Shamim Rezaie <shamim@moodle.com>

7 months agoMerge branch 'MDL-69102-master' of https://github.com/martygilbert/moodle
Eloy Lafuente (stronk7) [Sun, 11 Apr 2021 21:52:41 +0000 (23:52 +0200)]
Merge branch 'MDL-69102-master' of https://github.com/martygilbert/moodle

7 months agoMDL-69102 phpunit: Add test to cover ALL cohort criteria
Eloy Lafuente (stronk7) [Thu, 8 Apr 2021 17:19:09 +0000 (19:19 +0200)]
MDL-69102 phpunit: Add test to cover ALL cohort criteria

That way we can check that the expectations are
working ok for every database. Previously only the
ANY case was being tested.

Also, convert them to course badges and check, via
review_all_criteria() that the SQL structures returned
by award_criteria_cohort->get_completed_criteria_sql()
doesn't fail and return the expected counters.

7 months agoMDL-69102 badge: Fixes broken WHERE clause
Marty Gilbert [Tue, 23 Jun 2020 12:27:40 +0000 (08:27 -0400)]
MDL-69102 badge: Fixes broken WHERE clause

When buildilng the 'WHERE' clause, the SQL generated
a query that selected any user who was a member of the
**last** group, not all of the groups.

I believe the query has to be re-worked so that it only
returns users who are in ALL of the groups. This can
be done by a GROUP BY and HAVING.

7 months agoMDL-71251 qtype_essay: Return new min/max word limit settings via WS
Juan Leyva [Fri, 9 Apr 2021 13:30:32 +0000 (15:30 +0200)]
MDL-71251 qtype_essay: Return new min/max word limit settings via WS

Those settings are required by external clients such as the Moodle App

7 months agoMDL-32226 plagiarism: add span around links.
Dan Marsden [Fri, 9 Apr 2021 09:43:27 +0000 (21:43 +1200)]
MDL-32226 plagiarism: add span around links.

Make it easier for Mobile app to parse.

7 months agoAutomatically generated installer lang files
AMOS bot [Fri, 9 Apr 2021 00:07:57 +0000 (00:07 +0000)]
Automatically generated installer lang files

7 months agoMerge branch 'MDL-70769-master' of https://github.com/sharidas/moodle
Víctor Déniz [Thu, 8 Apr 2021 23:54:18 +0000 (00:54 +0100)]
Merge branch 'MDL-70769-master' of https://github.com/sharidas/moodle

7 months agoMerge branch 'MDL-70802-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Thu, 8 Apr 2021 16:30:13 +0000 (18:30 +0200)]
Merge branch 'MDL-70802-master' of git://github.com/andrewnicols/moodle

7 months agoMerge branch 'MDL-65616' of git://github.com/paulholden/moodle
Sara Arjona [Thu, 8 Apr 2021 15:45:41 +0000 (17:45 +0200)]
Merge branch 'MDL-65616' of git://github.com/paulholden/moodle

7 months agoMerge branch 'master_MDL-32226' of https://github.com/danmarsden/moodle
Eloy Lafuente (stronk7) [Thu, 8 Apr 2021 15:30:12 +0000 (17:30 +0200)]
Merge branch 'master_MDL-32226' of https://github.com/danmarsden/moodle

7 months agoMerge branch 'MDL-71116-master' of git://github.com/sarjona/moodle
Víctor Déniz [Thu, 8 Apr 2021 00:01:15 +0000 (01:01 +0100)]
Merge branch 'MDL-71116-master' of git://github.com/sarjona/moodle

7 months agoMerge branch 'MDL-71178-master' of git://github.com/junpataleta/moodle
Víctor Déniz [Wed, 7 Apr 2021 15:09:15 +0000 (16:09 +0100)]
Merge branch 'MDL-71178-master' of git://github.com/junpataleta/moodle

7 months agoMDL-71107 core_contentbank: Behat test. Authoring when copying a course
Amaia Anabitarte [Tue, 16 Mar 2021 12:18:10 +0000 (13:18 +0100)]
MDL-71107 core_contentbank: Behat test. Authoring when copying a course

7 months agoMDL-71107 core_contentbank: Fill content author when copying a course
Amaia Anabitarte [Mon, 15 Mar 2021 12:45:42 +0000 (13:45 +0100)]
MDL-71107 core_contentbank: Fill content author when copying a course

'usercreated' and 'usermodified' fields can not be always mapped.
We are filling those fields with 'old' users when working on the same
site, or with current user when working on a different instance.

7 months agoMerge branch 'MDL-70935-master-4' of git://github.com/mickhawkins/moodle
Adrian Greeve [Wed, 7 Apr 2021 07:41:04 +0000 (15:41 +0800)]
Merge branch 'MDL-70935-master-4' of git://github.com/mickhawkins/moodle

7 months agoMDL-70935 mod_quiz: Custom completion implementation
Shamim Rezaie [Thu, 25 Mar 2021 11:37:12 +0000 (22:37 +1100)]
MDL-70935 mod_quiz: Custom completion implementation

7 months agoMDL-70935 mod_quiz: combine 'pass' and 'attemptsexhausted' rules
Shamim Rezaie [Wed, 24 Mar 2021 18:57:19 +0000 (05:57 +1100)]
MDL-70935 mod_quiz: combine 'pass' and 'attemptsexhausted' rules

Custom rules are combined using the AND operator. However, the
'completionpass' and 'completionattemptsexhausted' rules are exceptions
because they are combined together with OR, and form a single new rule
that then will be combined with the rest of the rules using AND.
This commit combines the mentioned rules into a single rule named
'completionpassorattemptsexhausted'.

7 months agoMDL-70935 mod_quiz: Missing completionminattempts rule description
Shamim Rezaie [Wed, 24 Mar 2021 14:23:14 +0000 (01:23 +1100)]
MDL-70935 mod_quiz: Missing completionminattempts rule description

The mod_quiz_get_completion_active_rule_descriptions() function was not
returning the description for the 'completionminattempts' rule. Added
that.

7 months agoMDL-70935 mod_scorm: Custom completion implementation
Michael Hawkins [Tue, 23 Mar 2021 18:37:38 +0000 (02:37 +0800)]
MDL-70935 mod_scorm: Custom completion implementation

7 months agoMDL-70935 mod_lesson: Custom completion implementation
Michael Hawkins [Thu, 25 Mar 2021 07:39:05 +0000 (15:39 +0800)]
MDL-70935 mod_lesson: Custom completion implementation

7 months agoMerge branch 'MDL-70820-master' of git://github.com/lameze/moodle
Adrian Greeve [Wed, 7 Apr 2021 05:26:12 +0000 (13:26 +0800)]
Merge branch 'MDL-70820-master' of git://github.com/lameze/moodle

7 months agoMDL-70820 mod_forum: custom completion implementation
Simey Lameze [Tue, 2 Mar 2021 03:33:05 +0000 (11:33 +0800)]
MDL-70820 mod_forum: custom completion implementation

7 months agoMDL-70820 mod_glossary: custom completion implementation
Simey Lameze [Mon, 1 Mar 2021 23:02:25 +0000 (07:02 +0800)]
MDL-70820 mod_glossary: custom completion implementation

7 months agoMDL-70820 mod_assign: custom completion implementation
Simey Lameze [Thu, 11 Mar 2021 11:04:41 +0000 (19:04 +0800)]
MDL-70820 mod_assign: custom completion implementation

7 months agoMDL-70820 mod_data: custom completion implementation
Simey Lameze [Fri, 19 Feb 2021 08:11:29 +0000 (16:11 +0800)]
MDL-70820 mod_data: custom completion implementation

7 months agoMDL-70820 mod_feedback: custom completion implementation
Simey Lameze [Fri, 19 Feb 2021 07:42:11 +0000 (15:42 +0800)]
MDL-70820 mod_feedback: custom completion implementation

7 months agoMDL-70820 mod_survey: custom completion implementation
Simey Lameze [Thu, 11 Mar 2021 09:08:28 +0000 (17:08 +0800)]
MDL-70820 mod_survey: custom completion implementation

7 months agoMerge branch 'MDL-68635' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Tue, 6 Apr 2021 20:23:15 +0000 (22:23 +0200)]
Merge branch 'MDL-68635' of https://github.com/paulholden/moodle

7 months agoMerge branch 'MDL-71128' of git://github.com/paulholden/moodle
Víctor Déniz [Tue, 6 Apr 2021 18:41:04 +0000 (19:41 +0100)]
Merge branch 'MDL-71128' of git://github.com/paulholden/moodle

7 months agoMDL-71264 behat: Change date(time) element update order
Eloy Lafuente (stronk7) [Sat, 3 Apr 2021 08:33:57 +0000 (10:33 +0200)]
MDL-71264 behat: Change date(time) element update order

This includes 2 change to the order date(time) elements are filled,
each one addressing one type of problem, where current order is
problematic and can lead to unexpected dates.

1) Changing date, when current month only has X days and target
   month has more than X days. Example, being 1 April, change
   the date to 31 May.
     This is solved by changing the order of introduction
     from current D => M => Y to Y => M => D.
2) Changing date, when target month only has X days and current
   month has more that X days. Example, being 31 March, change
   the date to 28 Feb.
     This is solved by always setting the D to 1, before the
     Y => M => D sequence commented @ 1) begins.

7 months agoMDL-71264 behat: New feature covering all day/month/year date changes
Eloy Lafuente (stronk7) [Fri, 2 Apr 2021 23:22:15 +0000 (01:22 +0200)]
MDL-71264 behat: New feature covering all day/month/year date changes

Because of the order that dates and datetimes are filled by behat
sometimes there are some intermediate results that are impossible
and then the form (javascript) automatically reacts and fixes the
date, ultimate leading to a different date that the one we wanted
to set with Behat.

This is noticeable when switching between months (with some day
being the last day of the month) and the 2 months have a different
number of days. For example April date => March date (or the opposite).

This test covers all the critical changes (day, month and year),
back and forth. All times are Perth/Australia.

7 months agoweekly release 4.0dev
Sara Arjona [Tue, 6 Apr 2021 13:29:06 +0000 (15:29 +0200)]
weekly release 4.0dev

7 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Sara Arjona [Tue, 6 Apr 2021 13:29:02 +0000 (15:29 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

7 months agoMerge branch 'MDL-71215-master' of https://github.com/sammarshallou/moodle
Eloy Lafuente (stronk7) [Tue, 6 Apr 2021 13:13:16 +0000 (15:13 +0200)]
Merge branch 'MDL-71215-master' of https://github.com/sammarshallou/moodle

7 months agoMDL-71215 Acceptance test: Missing Behat for webservice service_users
sam marshall [Tue, 6 Apr 2021 09:41:40 +0000 (10:41 +0100)]
MDL-71215 Acceptance test: Missing Behat for webservice service_users

7 months agoMerge branch 'MDL-70817-master' of git://github.com/abgreeve/moodle
Adrian Greeve [Tue, 6 Apr 2021 08:35:17 +0000 (16:35 +0800)]
Merge branch 'MDL-70817-master' of git://github.com/abgreeve/moodle

7 months agoMDL-70817 lib: Update the install xml file to use the correct length.
Adrian Greeve [Tue, 6 Apr 2021 07:24:00 +0000 (15:24 +0800)]
MDL-70817 lib: Update the install xml file to use the correct length.

The showactivitydates field had the wrong length of 4. This changes
it to 1.

7 months agoMDL-70595 core: Updated security.txt expiry
Michael Hawkins [Tue, 6 Apr 2021 05:01:19 +0000 (13:01 +0800)]
MDL-70595 core: Updated security.txt expiry

7 months agoMerge branch 'MDL-70817-master-8' of git://github.com/junpataleta/moodle
Adrian Greeve [Tue, 6 Apr 2021 05:00:53 +0000 (13:00 +0800)]
Merge branch 'MDL-70817-master-8' of git://github.com/junpataleta/moodle

7 months agoAutomatically generated installer lang files
AMOS bot [Tue, 6 Apr 2021 00:08:07 +0000 (00:08 +0000)]
Automatically generated installer lang files

7 months agoMerge branch 'MDL-71215-master' of https://github.com/sammarshallou/moodle
Eloy Lafuente (stronk7) [Sun, 4 Apr 2021 13:49:59 +0000 (15:49 +0200)]
Merge branch 'MDL-71215-master' of https://github.com/sammarshallou/moodle

7 months agoAutomatically generated installer lang files
AMOS bot [Sun, 4 Apr 2021 00:08:05 +0000 (00:08 +0000)]
Automatically generated installer lang files

7 months agoMDL-70817 admin: Remove heading for showcompletionconditions
Jun Pataleta [Tue, 16 Mar 2021 16:00:05 +0000 (00:00 +0800)]
MDL-70817 admin: Remove heading for showcompletionconditions

It should be under the "Completion tracking" subheading just like in
the course form.

7 months agoMDL-70781 completion: behat coverage for new setting
Simey Lameze [Fri, 26 Feb 2021 06:04:51 +0000 (14:04 +0800)]
MDL-70781 completion: behat coverage for new setting

Part of MDL-70817

7 months agoMDL-70781 course: setting for displaying completion conditions
Simey Lameze [Mon, 8 Mar 2021 22:42:09 +0000 (06:42 +0800)]
MDL-70781 course: setting for displaying completion conditions

Part of MDL-70817

7 months agoMDL-70782 course: behat coverage for new setting
Simey Lameze [Sat, 13 Mar 2021 02:34:15 +0000 (10:34 +0800)]
MDL-70782 course: behat coverage for new setting

Part of MDL-70817

7 months agoMDL-70782 course: add setting to show activity dates
Simey Lameze [Mon, 8 Mar 2021 12:46:52 +0000 (20:46 +0800)]
MDL-70782 course: add setting to show activity dates

Part of MDL-70817

7 months agoMDL-70817 mod_choice: Behat tests for the activity completion info
Jun Pataleta [Fri, 12 Mar 2021 06:17:38 +0000 (14:17 +0800)]
MDL-70817 mod_choice: Behat tests for the activity completion info

7 months agoMDL-70817 mod_choice: Show choice activity info
Jun Pataleta [Sun, 7 Feb 2021 05:44:02 +0000 (13:44 +0800)]
MDL-70817 mod_choice: Show choice activity info

7 months agoMDL-70817 core_course: Create an activity information output component
Jun Pataleta [Fri, 5 Feb 2021 17:18:24 +0000 (01:18 +0800)]
MDL-70817 core_course: Create an activity information output component

The activity information output component displays information about
an activity module that can contain:
1. Activity dates
2. Completion information
   a. A manual completion button; or
   b. A list of automatic completion conditions and their statuses.

This patch also includes a new JS module called
core_course/manual_completion_toggle for toggling the
completion state of activities that support manual completion.

7 months agoMDL-70817 core_course: Add manual completion toggle to repository
Jun Pataleta [Fri, 5 Mar 2021 09:40:26 +0000 (17:40 +0800)]
MDL-70817 core_course: Add manual completion toggle to repository

Add the functionality of toggling the completion state of an
activity with manual completion to the core_course/repository
JS module.