110549 Commits

Author SHA1 Message Date
Andrew Nicols
83050a2fb0
MDL-78938 course: Wrap manual completion toggle in pending
This commit makes two changes to reduce random failures in behat:
- wrap the toggling of manually configured completion in pendingjs
- set the loading spinner content without forcing the completion toggle
  ws to wait for the loading spinner to update.
2023-08-16 20:01:29 +08:00
Andrew Nicols
1add591221
MDL-78938 report_progres: Wrap completion status update in pending 2023-08-16 20:00:59 +08:00
Ilya Tregubov
8490867291
MDL-78922 core_grades: Add missed element to category modal. 2023-08-16 16:44:00 +08:00
Simey Lameze
74b25ba5fd MDL-77695 behat: use automatic completion to award badges 2023-08-16 11:03:46 +08:00
Petr Skoda
989636b0de MDL-78505 core: stop mangling existing Mardown in text editors
The problem is that HTML Purifier is not compatible with Markdown,
that means we cannot sanitise Markdown texts before editing.

Luckily Markdown has to use plain text editor which does not have
XSS problems.

The only tiny downside is that Markdown cannot be allowed
in "trust text" areas any more.
2023-08-15 14:26:59 +02:00
Petr Skoda
a50c2d4746 MDL-78505 Revert "MDL-32114 form: markdown must be preserved on saving post"
This partially reverts commit 4a31dd69d6d89818f676ece916e573aa894d49d6.
2023-08-15 14:26:59 +02:00
Jake Dallimore
1e886c375c
MDL-78753 mod_lti: fix access control for LTI External tools page
To view this page, the user must be able to use preconfigred tools in
the course. This is controlled by the 'mod/lti:addpreconfiguredinstance'
capability. The capability 'mod/lti:addcoursetool' isn't required to
view the page but does add extra functionality to the page.
2023-08-15 18:03:43 +07:00
ishatalkin
d9e182b5c6 MDL-76557 enrol_lti: sync_grades accepts status codes 200,201,202,204 2023-08-15 12:25:06 +03:00
Kevin Percy
7db066a823 MDL-78436 editor_tiny: mform disabledIf works with TinyMCE 2023-08-15 14:15:07 +08:00
Kevin Percy
d949243af7 MDL-78436 gradebook: Require override to add feedback 2023-08-15 14:13:03 +08:00
Sirisha Garapati
5c203e8dc3 MDL-49827 core: Expose the noemailever config in the admin UI 2023-08-15 14:47:20 +10:00
Cameron Ball
230fcddd62 MDL-78630 auth: Display lock/unlock messages 2023-08-15 10:59:09 +08:00
Jake Dallimore
f645d21da1
MDL-78753 mod_lti: use course visibility named constant in report params 2023-08-15 09:20:44 +08:00
Stephan Robotta
aafbdf7a6b MDL-43195 license: upgrading cc core licenses to version 4.0
The short name of the cc licenses are trailed with a suffix containing
the version number (current 3.0 and 4.0). The old cc* licenses become
the new cc-*-3.0 licenses and are disables, because the new cc*-4.0
licenses are the current ones.
2023-08-14 22:53:57 +02:00
Sara Arjona
3d8566250a
Merge branch 'MDL-78700-tidy_no_clean' of https://github.com/leonstr/moodle 2023-08-14 09:12:24 +02:00
Laurent David
1558cd4bcf MDL-75762 theme_boost: Fix popover on large pages
* On the grader report the help button popover is cut and some of it
is offscreen. This patches fixes the footer help button popover
layout.
2023-08-14 07:56:54 +02:00
Ferran Recio
b594536ef0 MDL-75762 gradereport_grader: fix sticky headers 2023-08-14 07:56:54 +02:00
Ferran Recio
c7e9af30df MDL-75762 theme_boost: fix sticky footer page scroll 2023-08-14 07:23:12 +02:00
Laurent David
310122010e MDL-75762 core_courseformat: Fix course menu when back
* When we select an activity in a course and go to its page, the
back button recovers the scroll position correctly but should
also recover the course menu position

Note: for now the menu position is the topmost item in the page
2023-08-14 07:23:12 +02:00
Laurent David
da2f2c9c45 MDL-75762 core_courseformat: Fix accessibility issue
* Reverse the changes in MDL-74740 to fix left drawer issue (drawer
was scrolling with the page)
2023-08-14 07:23:12 +02:00
Laurent David
cced0e77f6 MDL-75762 core_courseformat: Use page scroll instead of section
* The scroll value is not restored when we navigate into activities as only a
section of the page was scrolled.
* Remove the overflow for the page section so the full page is scrolled
* Restore side menu navigation synchronisation
2023-08-14 07:22:06 +02:00
Jun Pataleta
32d95690c0
Merge branch 'MDL-78927-master' of https://github.com/sammarshallou/moodle 2023-08-14 11:55:24 +08:00
Jun Pataleta
478abd671f
on-demand release 4.3dev+ 2023-08-14 10:56:29 +08:00
Ferran Recio
5151dc54f0 MDL-78203 behat: adding subpanels to action menu step 2023-08-11 17:24:18 +02:00
Ferran Recio
fc37e6ca92 MDL-78203 lib: document new components 2023-08-11 17:24:18 +02:00
Ferran Recio
cb541081bd MDL-78203 core_courseformat: groupmode action menu item 2023-08-11 17:24:18 +02:00
Paul Holden
ce8397f7ad
MDL-78974 themes: define removedprimarynavitems theme config property.
All configurable theme config properties must be defined at the class
level, lest PHP 8.2 complain about creation of dynamic properties.
2023-08-11 13:38:02 +01:00
Amaia Anabitarte
269f64b8bf MDL-78678 course: Highlight all types of modules when scrolling 2023-08-11 11:30:10 +02:00
Amaia Anabitarte
040a27fb76 MDL-78746 core_completion: Improve completion reminder information 2023-08-11 11:16:35 +02:00
Amaia Anabitarte
36b865b3d9 MDL-78746 formslib: add variables to addHelpButton()
addHelpButton() function should allow to get variables to pass to get_string
to improve help button text.
2023-08-11 11:13:29 +02:00
Jun Pataleta
c6817e45be
MDL-78983 core: Preserve default behaviour of flipping question icon
Introduce a lang string `questioniconfollowlangdirection` that will
allow the current behaviour of displaying the question mark icon
in RTL languages in the same manner as the current language.
2023-08-11 16:10:14 +07:00
Huong Nguyen
cef4a4e5e2
Merge branch 'MDL-78983-master' of https://github.com/junpataleta/moodle 2023-08-11 12:52:56 +07:00
Jun Pataleta
001b299eb2
MDL-78983 core: Fix question mark icon direction flipping
This fixes the changes made in MDL-75047:
* Change `thisicondirection` langconfig string to a more specific one
  like `questionicondirection`.
* Use existing direction string value `ltr` for the value of
  `questionicondirection`. Also add a comment to at least provide some
  form of documentation for it.
* Improve the logic for applying the horizontal flipping class for the
  question icon:
  - Check first if the icon is a question icon
  - Flip the icon if `questionicondirection` is set to `rtl`.
2023-08-11 11:47:26 +08:00
Eloy Lafuente (stronk7)
8a6cce03f3
MDL-76408 gha: Move "highest" runs from php81 to php82
Note that, for windows php82, we need to have the php-zip extension
explicitly added. So we are adding it too.

From the manual:
  "As of PHP 8.2.0, php_zip.dll DLL must be enabled in php.ini.
  Previously, this extension was built-in."
2023-08-10 19:11:23 +02:00
Huong Nguyen
57ae65f514
weekly release 4.3dev 2023-08-10 22:50:44 +07:00
Huong Nguyen
85ea9267a9
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2023-08-10 22:50:41 +07:00
sam marshall
71999958f9 MDL-78927 core_user: Profile page missing breadcrumbs if no id= 2023-08-10 15:50:33 +01:00
Ilya Tregubov
25312f1692
MDL-78790 gradereport_grader: Fix sorting. 2023-08-10 18:32:23 +07:00
meirzamoodle
3d3dd827fa
MDL-78685 auth_oauth2: Added logged-in status check 2023-08-10 18:32:23 +07:00
Jun Pataleta
ad81e6f315
Merge branch 'MDL-78561-master' of https://github.com/kevpercy/moodle 2023-08-10 18:32:23 +07:00
Jun Pataleta
582f970795
Merge branch 'MDL-78957' of https://github.com/stronk7/moodle 2023-08-10 18:32:22 +07:00
Jun Pataleta
e99eacb4f6
MDL-78528 course: Use h2 to avoid skipped headings
Use h2 headings instead of h3 for the activity headings to avoid having
skipped headings on the Default activity completion page.
2023-08-10 18:32:22 +07:00
Jun Pataleta
44787c35bc
Merge branch 'MDL-78528-master' of https://github.com/sarjona/moodle 2023-08-10 18:32:22 +07:00
Jun Pataleta
4ef1f2fabd
Merge branch 'MDL-78962' of https://github.com/timhunt/moodle 2023-08-10 18:32:22 +07:00
Jun Pataleta
c3a27a0070
Merge branch 'MDL-77817-master' of https://github.com/meirzamoodle/moodle 2023-08-10 18:32:15 +07:00
Jun Pataleta
ddab676930
Merge branch 'MDL-78674-master' of https://github.com/junpataleta/moodle 2023-08-10 18:31:52 +07:00
Ilya Tregubov
04cdf6889d
Merge branch 'MDL-78939' of https://github.com/paulholden/moodle 2023-08-10 18:31:51 +07:00
Paul Holden
b417f1edf2
MDL-78790 gradereport_grader: normalise report sort parameter safely. 2023-08-10 18:31:51 +07:00
Paul Holden
ff75f4c675
MDL-78871 gradereport_grader: capability check getting report users. 2023-08-10 18:31:51 +07:00
Sara Arjona
769e915a8f
Merge branch 'MDL-76123' of https://github.com/paulholden/moodle 2023-08-10 18:31:51 +07:00