Commit graph

2668 commits

Author SHA1 Message Date
Simey Lameze
9afd980b4e MDL-72543 block_timeline: change the display of event names 2021-10-07 14:05:34 +08:00
Matt Porritt
1cb6f330a3 MDL-69696 mod_assign: Class refactoring - UI style change
Assign view UI style change.

Style submission status and grading summary tables
to have matched visual styles.
2021-10-07 14:00:22 +08:00
Peter Dias
2c7893cf9f MDL-52206 core: Update new activity_custom_completion
Update the custom_completion classes to accept the new completion
criteria
2021-10-04 19:45:47 +08:00
Shamim Rezaie
4cb9932163 MDL-66203 mod_assign: Reset submission status when removing a submission 2021-10-04 02:04:34 +11:00
Ilya Tregubov
fad4743ea8 MDL-72714 behat: Fix Behat failures for chrome 94. 2021-10-01 08:36:50 +02:00
Jun Pataleta
385438b463 Merge branch 'MDL-72589' of https://github.com/stronk7/moodle 2021-09-16 09:46:56 +08:00
Eloy Lafuente (stronk7)
9f9fe79c26 MDL-72589 behat: Add @skip_chrome_zerosize to failing scenarios
All the scenarios failing with Chrome zero-size errors are
getting the @skip_chrome_zerosize to be able to keep them apart from
regular runs. See MDL-71108 for more information about
that error.

They will be run by another job, specifically using that tag to
keep them failing and under control.
2021-09-15 20:25:11 +02:00
Mihail Geshoski
7d821080f0 MDL-72093 navigation: Update behat tests 2021-09-14 12:02:35 +08:00
Sara Arjona
3eb399d283 Merge branch 'MDL-70376-master' of git://github.com/peterRd/moodle 2021-09-01 16:52:02 +02:00
Peter Dias
730defb1d1 MDL-70376 mod_assign: Reintroduce pdf orientation check
Reintroduce the orientation check and sizing when importing an image
2021-08-31 12:28:32 +08:00
Jun Pataleta
4e75e73cb5 Merge branch 'primary_secondary_nav' of https://github.com/Chocolate-lightning/moodle 2021-08-25 10:42:57 +08:00
Andrew Nicols
12d6a8c3d9 Merge branch 'MDL-72207-master' of git://github.com/jleyva/moodle 2021-08-24 09:06:07 +08:00
Peter Dias
f99a9eb117 MDL-71901 mod_assign: Custom secondary nav for assign
- Part of: MDL-69588
2021-08-23 17:46:40 +08:00
Adrian Greeve
c8422f4576 MDL-70196 mod_assign: Allow the last navbar item to have a link.
- Part of: MDL-69588
This updates a method to allow the last item in the breadcrumb
navbar to have a URL.
2021-08-23 17:46:38 +08:00
Adrian Greeve
c3871a9174 MDL-70196 navigation: Update to pages to add a URL.
- Part of: MDL-69588
Some pages have added an item to the end of the  navbar without a
link for it. This adds the current page as a url to this navigation
node. Doing this brings it in line with all of the other pages
around Moodle and also helps with the new navigation changes in
theme boost.
2021-08-23 17:46:38 +08:00
Adrian Greeve
7d435fb5f2 MDL-70196 navigation: Update to feature files.
- Part of: MDL-69588
A lot of tests rely on the last element of the breadcrumb being
active. This updates feature files to not rely on this anymore.
2021-08-23 17:46:38 +08:00
Ferran Recio
1389487a1c MDL-71209 mod_assign: fix anonymous submission behat 2021-08-23 11:38:07 +02:00
Andrew Nicols
c79d58a50b MDL-71209 behat: Fix behat for new changes
Co-authored-by: Ilya Tregubov <ilya@moodle.com>
2021-08-20 16:49:06 +02:00
Juan Leyva
5784c39341 MDL-72207 assign: Support all participants in get_submission_status WS 2021-08-19 14:11:33 +02:00
Dan Marsden
8aba9d1d34 MDL-72097 mod_assign: pass gradinginfo to disabled check. 2021-08-19 09:10:12 +02:00
Eloy Lafuente (stronk7)
615eb63ca4 Merge branch 'MDL-71945-master' of https://github.com/lucisgit/moodle 2021-08-11 11:46:56 +02:00
Andrew Nicols
530322e2ce MDL-69918 core: Update uses of legacy form change checker 2021-08-10 23:54:01 +08:00
Tony Butler
a0595719d0
MDL-71945 mod_assign: Remove unneccesary call to assign_update_grades()
The update_grade() call achieves the same thing with additional checks.
2021-08-10 11:05:48 +01:00
Jun Pataleta
27fda1e207 Merge branch 'MDL-72052' of git://github.com/danmarsden/moodle 2021-07-29 16:24:19 +08:00
Jun Pataleta
1a7f8e7eed Merge branch 'MDL-72054' of git://github.com/danmarsden/moodle 2021-07-29 15:53:43 +08:00
Andrew Nicols
776f4bd80c MDL-72179 behat: Make use of page resolvers 2021-07-26 15:14:28 +08:00
Jun Pataleta
68bd3a1158 Merge branch 'MDL-71817-master' of git://github.com/lameze/moodle 2021-07-22 11:27:08 +08:00
Simey Lameze
b0133904bf MDL-71817 calendar: behat changes for calendar block
This commit does few things:

1) Remove unnecessary "I hover over today in the calendar"
steps as it's not necessary to hover onto the day to see the events
any more.

2) Replace "I follow This month" steps to "I follow Full calendar"

3) Update i_create_a_calendar_event_with_form_data() to use the new
fullcalendar lang string.
2021-07-22 09:00:30 +08:00
Andrew Nicols
f29f6a28d1 MDL-72125 mod_assign: Use assign submission data generators 2021-07-19 18:41:32 +08:00
Andrew Nicols
2bb7e34b76 MDL-72125 mod_assign: Add data generator for assign submissions 2021-07-19 18:41:31 +08:00
Dan Marsden
0005474c9c MDL-72052 assign: - cache assign class. 2021-07-06 10:38:16 +12:00
Dan Marsden
ceb2da3b77 MDL-72054 assign: pass course/coursemodule to assign_files 2021-07-01 14:58:51 +12:00
Andrew Nicols
98620214e1 Merge branch 'MDL-71694-master' of https://github.com/lucisgit/moodle 2021-06-24 12:00:09 +08:00
Eloy Lafuente (stronk7)
d9347556e3 Merge branch 'MDL-71717' of git://github.com/paulholden/moodle 2021-06-24 00:18:45 +02:00
Tony Butler
46fd1d77d6
MDL-71694 assignfeedback_comments: Behat test for feedback preservation
Including efficiency improvements from https://github.com/davosmith
2021-06-21 11:21:53 +01:00
Andrew Nicols
4f422785c6 MDL-71113 javascript: Improve basic JS Documentation 2021-06-18 09:38:05 +08:00
Andrew Nicols
92179b7057 MDL-71113 js: Fix all jsdoc warnings 2021-06-18 09:38:05 +08:00
Tony Butler
ec0185ccc2
MDL-71694 assignfeedback_comments: Fill latest submitted comment data
Otherwise if grading validation fails, any new/updated comments are
lost and replaced with previously saved data (or an empty editor).
2021-06-16 12:04:03 +01:00
Mikhail Golenkov
f3cd860698 MDL-71471 assign: Remove submission from queue when converted in web 2021-06-04 15:18:59 +10:00
Paul Holden
3bd4d676c0 MDL-71717 libraries: upgrade to version 2.3.6 of FPDI. 2021-06-02 21:44:01 +01:00
Luca Bösch
0fb0743025 MDL-71284 assign: prevent double escaping assignment name. 2021-05-27 20:31:42 +02:00
Jake Dallimore
83644cc414 Merge branch 'MDL-70990-master' of git://github.com/andrewnicols/moodle 2021-05-26 12:49:34 +08:00
Andrew Nicols
acd9d9823b MDL-70990 core_form: Replace FORM_SUBMIT_AJAX event
The legacy M.core.event.FORM_SUBMIT_AJAX ecent has been replaced with a
new core_form/events::formSubmittedByJavascript native DOM event.

The new event can be listened to at any point in the DOM using the
following syntax:

```
import {eventTypes} from 'core_form/events';

document.addEventListener(eventTypes.formSubmittedByJavascript, handler);
```

A backward-compatabibility layer is included to ensure that any
legacy YUI event triggered on a form is still respected and the new
native event is also fired.

A similar handler is also included to ensure that any legacy YUI event
listener is still called with the same arguments.

These legacy bridges will be removed after Moodle 4.3.
2021-05-26 10:46:49 +08:00
Mark Nelson
e170f1c957 MDL-68925 assignfeedback_editpdf: avoid hiding comments with a menu open
Co-authored by: Jonathon Fowler <fowlerj@usq.edu.au>
2021-05-20 13:14:00 +08:00
Eloy Lafuente (stronk7)
ee22c95918 Merge branch 'MDL-70049-master_count_submissions' of https://github.com/agrowe/moodle 2021-05-06 23:26:50 +02:00
Sara Arjona
71996ef16b MDL-70110 mod_assign: make phpunit test DB order agnostic 2021-05-06 19:24:10 +02:00
Sara Arjona
5f476c2ab9 Merge branch 'MDL-70110-master' of https://github.com/septatrix/moodle 2021-05-06 13:15:59 +02:00
Jun Pataleta
5891fb1352 Merge branch 'MDL-71518-master' of git://github.com/rezaies/moodle 2021-05-06 11:38:48 +08:00
Shamim Rezaie
a27876c3df MDL-71518 behat: Remove %P and AM/PM
The %P modifier is not supported in the macOS (MDL-71549)
2021-05-06 12:31:42 +10:00
Jun Pataleta
e8b3ab767b Merge branch 'MDL-71518-master' of git://github.com/rezaies/moodle 2021-05-05 13:26:29 +08:00