22738 Commits

Author SHA1 Message Date
Mathew May
89460a50d2 MDL-69588 navigation: Address final point from review 2021-08-25 10:35:23 +08:00
Mathew May
1f6bcd7eae MDL-69588 accessibility: Address review points 2021-08-23 17:47:24 +08:00
Peter Dias
dfefc86393 MDL-72032 core: Add roles to items
- Part of: MDL-69588
2021-08-23 17:47:22 +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
f28535082c MDL-70196 behat: Add a new step for navigating with the navbar.
- Part of: MDL-69588
A lot of tests work on the basis that you can follow the last item
of the breadcrumb nav bar. This is not the case. This step will first
check to see if the page is already the one requested. If it is then
nothing further needs to happen, otherwise we follow the link in the
navbar.
2021-08-23 17:46:38 +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
Andrew Nicols
84077e5263 Merge branch 'MDL-71944' of git://github.com/paulholden/moodle 2021-08-19 09:10:18 +02:00
Eloy Lafuente (stronk7)
dd23f8d903 Merge branch 'MDL-72186' of git://github.com/paulholden/moodle 2021-08-19 09:10:17 +02:00
Víctor Déniz
735bd7ffdb Merge branch 'MDL-72097' of git://github.com/danmarsden/moodle 2021-08-19 09:10:17 +02:00
Dan Marsden
8aba9d1d34 MDL-72097 mod_assign: pass gradinginfo to disabled check. 2021-08-19 09:10:12 +02:00
safatshahin
dfed4fd040 MDL-71516 core_question: Qbank api implementation
This commit implements the qbank api so that any plugin
can implement its own question bank. This api currently
works parallely with the moodle core classes and the
added qbank in the core, means the moment a plugin
is installed, that object is replaced with the object
from the plugin instead of core, which means the api
has flexibility till the plugins are integrated and the
plugins can be integrated in any order.

All the old classes are still there and not deprecated
as there is a different tracker for the changes to the
quiz and another tracker for class deprecation and
class renaming. Core question units tests are pointing
to the new api structure but the classes are pointing
to the location related to the plugin availability.

Co-Authored-By: Luca Bösch <luca.boesch@bfh.ch>
Co-Authored-By: Guillermo Gomez Arias <guillermogomez@catalyst-au.net>

one more array fix
2021-08-17 18:57:31 +10: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
Paul Holden
95851ef8ba MDL-71944 mod_wiki: use confirm output API for comment deletion. 2021-08-09 10:41:00 +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
Andrew Nicols
9f428f68c7 MDL-72179 behat: Add activity editing page resolution 2021-07-23 20:43:48 +08:00
Andrew Nicols
c204fe3eeb MDL-72179 behat: Lowercase all page instance resolvers 2021-07-23 20:43:48 +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
Paul Holden
79ac69bb99 MDL-72186 mod_forum: version bump to trigger services reload.
Removal of services in 1530035f didn't include a version bump
which meant they were never fully removed and led to errors on
the web services documentation page.
2021-07-19 22:32:37 +01: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
Jun Pataleta
e6f1baa9c8 Merge branch 'MDL-71456-master' of /home/jun/moodles/stable_master/moodle 2021-07-15 16:13:06 +08:00
Bas Brands
99a4eee699 MDL-71456 core: fix behats with new drawers
The new drawers structure shows that some elements
are dependant from the page structure and broke some
behats. This commit fixes those components and tests.
2021-07-14 11:49:57 +02:00
Eloy Lafuente (stronk7)
e8859a60fc Merge branch 'MDL-71984-master' of https://github.com/nguyenphuctien/moodle 2021-07-13 23:46:54 +02:00
Eloy Lafuente (stronk7)
47f708fc30 MDL-71782 behat: Ensure page after saving changes is there
A similar approach was followed @ MDL-67935, although the
case doesn't seem to be the same.

In any case, it's curious that all local execution are
100% passing and only CIs fail so often. Just guessing if,
maybe, there is some Chrome version factor around (we
are running older, sticky, versions @ CIs.
2021-07-10 00:18:33 +02:00
Jun Pataleta
3b0e7c65f4 Merge branch 'MDL-65252-master-fix' of git://github.com/lameze/moodle 2021-07-08 23:30:35 +02:00
Eloy Lafuente (stronk7)
4094b4f92e MDL-70335 behat: Ensure the scenario passes under all themes
Also, get rid of not needed @javascript tag
2021-07-08 23:30:33 +02:00
Adrian Greeve
aad5a102c7 Merge branch 'MDL-71887-master' of https://github.com/snake/moodle 2021-07-08 23:30:33 +02:00
Paul Holden
2408f98357 MDL-71898 mod_quiz: escape user identity fields on override pages. 2021-07-08 23:30:33 +02:00
Simey Lameze
8fd7e5edeb MDL-65252 mod_forum: make inline attachment field optional 2021-07-08 16:14:12 +08:00
Tien Nguyen
ac59c8b8e0 MDL-71984 Quiz: Add new attempt's events
Add attempt_updated, attempt_autosaved and attempt_question_restarted
events.
Update attempt_viewed to add page number.
2021-07-08 15:13:06 +07:00
Claude Vervoort
c8c81a1357 MDL-71887 mod_lti: repost when no cookie due to crosssite request 2021-07-07 14:17:12 +08:00
Eloy Lafuente (stronk7)
320eda3f7e Merge branch 'MDL-70335-master' of https://github.com/juancs/moodle 2021-07-06 20:18:16 +02:00
Jun Pataleta
761f1d7d51 Merge branch 'MDL-65252-master' of git://github.com/lameze/moodle 2021-07-06 14:04:33 +08:00
Simey Lameze
2a95ac4659 MDL-65252 forum: add missing inline attachments logic to forum API 2021-07-06 13:49:29 +08:00
Dan Marsden
0005474c9c MDL-72052 assign: - cache assign class. 2021-07-06 10:38:16 +12:00
Ilya Tregubov
f77ff61ac1 Merge branch 'MDL-71796-master' of git://github.com/lameze/moodle 2021-07-05 12:32:09 +02:00
Simey Lameze
f7155953f4 MDL-71796 mod_scorm: fix custom completion logic
AMOS BEGIN
 MOV [completiondetail:completionstatuscompletedandpassed,mod_scorm],[completiondetail:completionstatuscompletedorpassed,mod_scorm]
AMOS END
2021-07-05 17:46:31 +08:00
Eloy Lafuente (stronk7)
2d3798bd39 Merge branch 'MDL-71885-master' of git://github.com/sarjona/moodle 2021-07-05 11:43:35 +02:00
Sara Arjona
692abf2c46 MDL-71885 core_h5p: Display the edit content button
A new parameter has been added to the display method, to define whether
the edit button should be displayed or not.
The H5P activity will display this button (if the user has the required
permissions). However, it won't be displayed when previewing H5P in the
content bank.
2021-07-05 10:56:13 +02:00
Eloy Lafuente (stronk7)
1ba1b4ea9c Merge branch 'MDL-72063-master-en_fix' of git://github.com/mudrd8mz/moodle 2021-07-04 11:02:13 +02:00
Juan Segarra Montesinos
48fbc20559 MDL-70335 mod_forum: Subscribe users from Forced to Auto mode
When a teacher changes the subscription mode from forced
subscription to auto subscription using the "cog" icon in the
forum page, users are not seen in the Show/edit current
subscribers" page.

This does not happens when done from the Edit settings page.
2021-07-03 10:01:08 +02:00
Jake Dallimore
f6804b7ba3 MDL-65252 mod_forum: fix posts builder so it excludes hidden posts
This makes the builder capability aware, via an injected manager
factory and fixes unit tests.
2021-07-02 06:19:16 +08:00
Jake Dallimore
ea13242d99 MDL-65252 mod_forum: fix get_discussions_posts for deleted posts 2021-07-02 06:19:16 +08:00