109095 Commits

Author SHA1 Message Date
Paul Holden
9390787a34
MDL-78849 user: correct logical operator behaviour for guest button.
Apart from being banned per MDL-74990, it causes a subtle bug here
due to operator precedence.

Co-authored-by: Tom Mayfield <tmayfield@costrack.com>
2023-11-16 11:32:04 +00:00
Ilya Tregubov
8ad9114050
weekly release 4.1.6+ 2023-11-10 09:17:25 +08:00
Michael Aherne
d8e0799023
MDL-80030 filelib: Fix info type. 2023-11-09 11:14:07 +08:00
Ilya Tregubov
33fa895d25
Merge branch 'MDL-79992-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE 2023-11-09 09:58:03 +08:00
Sara Arjona
93ce6e33d9
Merge branch 'MDL-79827-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-11-08 18:10:55 +01:00
Sara Arjona
4018e95a55
Merge branch 'MDL-79781-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-11-08 17:20:15 +01:00
Sara Arjona
9667e96d89
Merge branch 'MDL-76555-401' of https://github.com/pmaneggia/moodle into MOODLE_401_STABLE 2023-11-08 17:06:31 +01:00
Ilya Tregubov
e0d1d8e469
Merge branch 'MDL-79615_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE 2023-11-08 10:44:27 +08:00
Huong Nguyen
8d77dd09b8 Merge branch 'MDL-78953-401' of https://github.com/pedrojordao/moodle into MOODLE_401_STABLE 2023-11-07 15:34:25 +07:00
Jun Pataleta
1ea9832c3e
Merge branch 'MDL-80019-401' of https://github.com/call-learning/moodle into MOODLE_401_STABLE 2023-11-07 13:13:48 +08:00
Laurent David
9eee64d0d5 MDL-80019 mod_bigbluebuttonbn: Completion form freeze fix
* When the completion is locked, we should not be able to edit the completion elements
2023-11-06 22:12:13 +01:00
Sara Arjona
46f1b71c20
Merge branch 'mdl-78650-401-stable' of https://github.com/Fragonite/moodle into MOODLE_401_STABLE 2023-11-06 09:51:11 +01:00
Huong Nguyen
2ee8296efc Merge branch 'MDL-79062-401-2' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE 2023-11-06 10:52:57 +07:00
Paola Maneggia
e2a7040d94 MDL-76555 mod_resource: Fix PHP8.0 type error (legacy resources) 2023-11-05 13:48:00 +01:00
Sara Arjona
8737f16faa
MDL-79992 backup: Display course backups from activity restore
The Course backup area was not displaying the course backups when
accessing to the Restore page for an activity because the context
was not updated properly for this area.
2023-11-03 12:23:31 +01:00
Pedro Jordao
76f66df235 MDL-78953 autocomplete: Add only one empty option when deselecting item.
Each option that was deselected was prepending an empty option in the select.
2023-11-02 19:05:33 -03:00
Jun Pataleta
4b302063c3
MDL-79062 behat: Add number type when guessing field type 2023-11-02 22:19:54 +08:00
Jun Pataleta
ad4736b5ec
MDL-79062 grade: Behat test fixes
* Feature: We can use a minimum grade different than zero
  - Use correct minimum input values.
  - Use data generators for faster test execution.
* Scenario: Disable category overriding
  - Use the field name to ensure that the correct field is being tested.
2023-11-02 21:45:26 +08:00
Jun Pataleta
6637197d97
MDL-79062 gradereport_grader: Set numeric type for grade value inputs
* Set grade inputs for grade items with type set to GRADE_VALUE to
number and add min and max input attributes, where necessary.
2023-11-02 21:45:26 +08:00
Sara Arjona
dd115e572a
weekly release 4.1.6+ 2023-11-02 13:41:27 +01:00
Huong Nguyen
663eed6780
Merge branch 'MDL-78903-401' of https://github.com/meirzamoodle/moodle into MOODLE_401_STABLE 2023-11-02 10:19:12 +07:00
Huong Nguyen
883f98a3f2
Merge branch 'MDL-79801-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-11-02 10:15:40 +07:00
Huong Nguyen
0562c4d552 Merge branch 'MDL-79617_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE 2023-11-02 09:04:02 +07:00
Jun Pataleta
15409cfa41
MDL-79062 gradereport_grader: Remove setting of tabindex >= 1
Tab indices that are greater than or equal to 1 break the natural
tab order of the document and may cause problems for keyboard users.
2023-11-02 09:51:39 +08:00
Alexander Van der Bellen
116eef7a25 MDL-78650 mod_assign: Improve group submission action event handling
Don't return an event action when a group submission has already been submitted
by another student.
2023-11-01 20:28:00 +08:00
Alexander Van der Bellen
686d9cfd4c MDL-78650 mod_assign: Add Behat test 2023-11-01 20:27:54 +08:00
Alexander Van der Bellen
dec259a249 MDL-78650 mod_assign: Add unit test 2023-11-01 20:27:47 +08:00
Sara Arjona
3d5fa73133
Merge branch 'MDL-79856-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-10-31 13:26:45 +01:00
Huong Nguyen
e4989b529a
Merge branch 'MDL-79807_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE 2023-10-31 12:51:56 +08:00
Meirza
f7b2fb473b MDL-78903 tiny_h5p: show repositories if editor filepicker type set 2023-10-31 08:03:26 +07:00
Meirza
dc7da1a416 MDL-78903 tiny_media: show repositories if editor filepicker type set 2023-10-31 08:02:47 +07:00
Jun Pataleta
c819926529
Merge branch 'MDL-77274-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE 2023-10-30 17:13:12 +08:00
Laurent David
d20f1024d8 MDL-77274 core_renderer: Respect full name format in letter avatars
* Make sure that we respect the fullnamedisplay and alternativefullnameformat
parameters to decide on the initials for a given user
* Add further tests

Co-authored-by: Tatsunori Uchino <tats.u@live.jp>
2023-10-30 06:18:48 +01:00
Huong Nguyen
07c200438c Merge branch 'MDL-79639_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE 2023-10-30 11:24:02 +07:00
Jun Pataleta
e146a9d8cd
Merge branch 'MDL-79194-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE 2023-10-27 23:31:46 +08:00
Mark Johnson
ef964137ce MDL-79615 course: Improve efficency of cache rebuilds
When bulk-updating course module visibility, set_coursemodule_visibily
was triggering a partial cache purge and rebuild for each course module.
This potentially led to 2 cache sets each requiring a lock to be
acquired and released per course module, plus any other cache updates
for other changes to the course in the same request.

This adds a new $rebuildcache paramter to the
set_coursemodule_visibilty, which is true by default to retain the
existing behaviour. If set false, it will skip doing the partial purge
and rebuild for that course module, and it is up to the calling code to
ensure the cache is updated as requried.

To assist with this, there is a new
course_modinfo::purge_course_module_cache_multiple() method, which
allows multiple course modules to be purged from the cache in a single
cache set.
2023-10-27 10:52:09 +01:00
Jun Pataleta
650474c0a7
Merge branch 'MDL-77364-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE 2023-10-27 16:32:36 +08:00
Sara Arjona
6bc193134a
MDL-77364 myoverview: Display course name tooltip
Based on the feedback given by the UX team:
- The text has been increased to display more (50 vs 55).
- A tooltip has been added to display the full course name on hover,
following the accessibility guidelines.
2023-10-27 07:26:37 +02:00
Jun Pataleta
9dbbd31076
weekly release 4.1.6+ 2023-10-27 09:43:13 +08:00
Jun Pataleta
8317aa9b32
Merge branch 'MDL-79768-401-fix' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE 2023-10-26 23:05:33 +08:00
Mark Johnson
1944b58bd6 MDL-79807 quiz_statistics: Clear stats cache when question added/removed 2023-10-26 13:43:22 +01:00
Paul Holden
512670fe94
MDL-79781 course: detect invalid creator role for pending courses. 2023-10-26 13:18:41 +01:00
Paul Holden
fc93938f23
MDL-79856 roles: use role localname when confirming deletion. 2023-10-26 12:01:05 +01:00
Ferran Recio
7d158f18d9 MDL-79194 core_courseformat: optimize section reload
* When reloading a section, we also forced the reloading of
course modules, resulting in doing the same work twice (once for
the section reload and once for the course module reload)
* Debounce the reloading process so prevent unwanted duplicate
reloads
2023-10-26 12:37:00 +02:00
Andrew Lyons
c22b7c2f82 MDL-79194 core: Wrap combobox debounce in pending Promise
This addresses a random failure with the combobox search results where
the debounce causes the results to be shown, and then the same search
result is returned again, re-rendered, and replaced after Behat has
moved on.

Partly cherry-picked from MDL-78779.
2023-10-26 12:33:36 +02:00
Angelia Dela Cruz
8fa9f27c7e MDL-79768 fix: Fixed random failing Behat due to time difference 2023-10-26 18:00:00 +08:00
Jun Pataleta
91e083981d
Merge branch 'MDL-79768-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE 2023-10-26 10:47:39 +08:00
Jun Pataleta
06ebac56c6
Merge branch 'MDL-42189-401' of https://github.com/davewoloszyn/moodle into MOODLE_401_STABLE 2023-10-26 10:32:02 +08:00
Jun Pataleta
9d9e03ef10
Merge branch 'MDL-75572-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE 2023-10-25 13:44:20 +08:00
Sara Arjona
05fdc29294
MDL-75572 criteria: Only award badges to sucessfull completions
The UX team confirmed a badge shouldn't be awarded when the criteria
use a passing grade and the user gets a failing grade.
So the COMPLETION_COMPLETE_FAIL status won't be considered
completed for activities with completion that require a passing
grade.
2023-10-25 07:08:20 +02:00