Angelia Dela Cruz
ebbe96905a
MDL-78498 Behat: Use data generators for forum posts and replies
...
This commit does few things:
* Replace manual forum posts and replies to use data generator.
* It also changes the code to handle social forums.
* Other behat clean-ups and optimization.
Co-authored-by: Simey Lameze <simey@moodle.com>
2023-08-01 13:39:52 +08:00
Jun Pataleta
08a48a9090
Merge branch 'MDL-78283-master' of https://github.com/ferranrecio/moodle
2023-07-27 14:48:15 +08:00
Jun Pataleta
26ba9c7351
Merge branch 'MDL-78282-master' of https://github.com/ferranrecio/moodle
2023-07-27 14:47:14 +08:00
Ilya Tregubov
70174bb754
Merge branch 'MDL-78782-master' of https://github.com/ferranrecio/moodle
2023-07-27 14:47:14 +08:00
Ferran Recio
a586e952ff
MDL-78282 output: new sr_text renderer method
...
Some output classes require pre-rendered elements. In some cases, those
elements require some screen reader extra texts (especially in buttons).
The st_text method allow the outputs to create those inline tags without
using html_writer. Furthermore, the current screen reader classes are
based on bootstrap, having them isolated in renderer methods allow
themes to implement alternatives accessibility HTML structures.
2023-07-26 15:44:28 +02:00
Ferran Recio
01e0e56665
MDL-78282 core_courseformat: interactive visibility badges
2023-07-26 15:44:28 +02:00
Ferran Recio
965d556b6b
MDL-78782 behat: optimize with editing mode step
...
The current I am on course homepage with editing mode loads twice the
course page. This patch prevents this from happening by going directly
to editmode.php.
2023-07-26 10:44:45 +02:00
Huong Nguyen
14998e157d
MDL-78525 core: Update upgrade.txt for count_words and count_letters
2023-07-21 11:59:10 +08:00
Huong Nguyen
9317d00bfb
Merge branch 'MDL-78525/master' of https://github.com/skodak/moodle
2023-07-21 11:59:09 +08:00
Andrew Nicols
754868e462
Merge branch 'MDL-78532' of https://github.com/paulholden/moodle
2023-07-21 11:58:36 +08:00
Ferran Recio
6e1fff1a57
MDL-78283 core_courseformat: group mode dropdown
2023-07-19 17:52:00 +02:00
Paul Holden
36ab5e5d1a
MDL-78532 reportbuilder: external method for retrieving system report.
2023-07-18 12:05:07 +01:00
Petr Skoda
24c416592c
MDL-78543 admin: fix stored file setting default application
2023-07-14 08:47:20 +02:00
Petr Skoda
92446838ab
MDL-78543 admin: refactor admin_apply_default_settings()
2023-07-14 08:47:20 +02:00
Petr Skoda
48df84a4a3
MDL-78525 core: fix word and character counting
2023-07-14 08:44:41 +02:00
Sara Arjona
2e78301afb
Merge branch 'MDL-78288-master' of https://github.com/aanabit/moodle
2023-07-13 16:51:37 +02:00
Jun Pataleta
844257a539
Merge branch 'MDL-76046-master' of https://github.com/stevandoMoodle/moodle
2023-07-13 16:51:37 +02:00
Huong Nguyen
9f6e80f696
Merge branch 'MDL-75195-master' of https://github.com/raortegar/moodle
2023-07-13 16:51:04 +02:00
Andrew Nicols
19dbec600f
Merge branch 'MDL-78157-master' of https://github.com/golenkovm/moodle
2023-07-13 16:49:59 +02:00
Andrew Nicols
837f57d218
Merge branch 'MDL-78556-master' of https://github.com/danghieu1407/moodle
2023-07-13 16:49:59 +02:00
Ilya Tregubov
09c7cd98f4
Merge branch 'MDL-73213' of https://github.com/pedrojordao/moodle
2023-07-13 16:49:58 +02:00
Andrew Nicols
5d1a115c64
Merge branch 'MDL-78587' of https://github.com/paulholden/moodle
2023-07-13 16:49:58 +02:00
Sara Arjona
f01927885f
Merge branch 'MDL-78673-master' of https://github.com/andrewnicols/moodle
2023-07-13 16:49:58 +02:00
Sara Arjona
2c3f4d3ae9
Merge branch 'MDL-78288-master' of https://github.com/aanabit/moodle
2023-07-13 16:49:56 +02:00
Amaia Anabitarte
13857d4af9
MDL-78288 core_course: Fixing collapse/expand all changed behavior
2023-07-13 09:32:20 +02:00
Paul Holden
1125af7857
MDL-78587 course: use tertiary nav selector on participant pages.
2023-07-12 18:26:23 +01:00
Paul Holden
826553d9eb
MDL-78587 behat: page instance resolvers for group overview/groupings.
2023-07-12 18:01:34 +01:00
Amaia Anabitarte
b9a840f638
MDL-78288 behat: New availability info selectors
...
- Create a new availability info selectors for section and activity data info regions
- Replace css_element by created selectors in the existing behat tests
2023-07-12 14:22:56 +02:00
Amaia Anabitarte
290e6f4c6f
MDL-78288 core_course: Adding filter_shown_headers option to forms
2023-07-12 14:22:56 +02:00
raortegar
b914f01316
MDL-75195 core: Added supportemail option to install_database.php
2023-07-11 11:13:03 +02:00
danghieu1407
34bc6214dc
MDL-78556 tablelib: flexible_table should support caption tag
2023-07-11 13:40:33 +07:00
Ilya Tregubov
f809ea7cb7
Merge branch 'MDL-67852_MASTER_NEW' of https://github.com/aydevworks/moodle
2023-07-11 11:11:02 +08:00
Ilya Tregubov
c44ca828af
Merge branch 'MDL-77690-master' of https://github.com/junpataleta/moodle
2023-07-11 09:51:18 +08:00
Sara Arjona
97ed236dee
Merge branch 'MDL-78279-master' of https://github.com/ferranrecio/moodle
2023-07-10 13:37:27 +02:00
Ferran Recio
2fc8a263a8
MDL-78279 output: behats for dropdown components
2023-07-10 11:41:20 +02:00
Ferran Recio
109a97cff3
MDL-78279 output: new status dropdown component
...
This compoment allow the user to select a status from a user
choice instance. It is rendered as a dropdown menu triggered by
a button.
2023-07-10 11:41:20 +02:00
Ferran Recio
59bda4137d
MDL-78279 output: user choice output class
...
A class to represent a generic user choice. Other output compoments
can use this output to render user choices like selects, modals or
dropdowns.
2023-07-10 11:41:20 +02:00
Ferran Recio
e3645f663b
MDL-78279 output: new generic dropdown component
2023-07-10 11:41:19 +02:00
Andrew Nicols
dff354bb4f
MDL-78673 grade: Switch test to use generators
2023-07-10 11:21:15 +08:00
Andrew Nicols
2b7daa3b28
MDL-78673 behat: Allow plugins to define their expansion of >
2023-07-10 09:52:46 +08:00
Andrew Nicols
0ea62b97f2
Merge branch 'MDL-78184-master' of https://github.com/sarjona/moodle
2023-07-09 22:16:01 +08:00
Andrew Nicols
c472ba4738
Merge branch 'MDL-73239-master' of https://github.com/rmady/moodle
2023-07-09 22:02:22 +08:00
Alex Yeung
73f3bb23be
MDL-67852 tool_dataprivacy: Fix security checks
2023-07-09 14:35:20 +01:00
Andrew Nicols
3ff84d3eb7
MDL-78316 core: Improve jsdoc typedef for icons
2023-07-07 16:31:54 +08:00
Andrew Nicols
f57af194fb
MDL-78316 core: Update async promises
...
Writing a Promise as:
```
const promise = new Promise(async (resolve, reject) => {
return await 'foo';
});
```
Is equivalent to an IIFE:
```
const promise = (async () => {
return await 'foo';
})();
```
A recent change introduced by MDL-74301 picks this up.
This commit addresses this flagged issue.
2023-07-07 16:23:26 +08:00
Andrew Nicols
5b54ac43b1
MDL-78316 core: Move IconSystem init to Factory
...
This is throwback to times when we understood JS less.
We should not have the factory method for the IconSystem in
core/templates.
2023-07-07 16:13:28 +08:00
Andrew Nicols
c0043004e1
MDL-78316 core: Convert IconSystems to ESM
2023-07-07 16:13:27 +08:00
Sara Arjona
abcbeca33d
MDL-78184 badges: Improve user flow for connecting backpack
2023-07-07 08:53:43 +02:00
Pedro Jordao
8658b4937f
MDL-73213 autocomplete: keep selected value when the state changes.
...
The selected value of the dropdown was being cleared when the dropdown
was opened, this was causing an error when submitting the form if the
field was required. The main cause was that we were emptying the
select before loading new values, this solution was created because
of an issue where we could not deselect values if the list was
reloaded. To fix this problem, I added an empty option as the first
element of the select only when deselecting a certain item.
2023-07-06 14:52:18 -03:00
Huong Nguyen
7add5faa9e
MDL-78391 atto_recordrtc: Fix recording issue with Chrome
2023-07-06 15:37:03 +07:00