Commit graph

112378 commits

Author SHA1 Message Date
Ilya Tregubov
ae95b15d70 Merge branch 'MDL-79433' of https://github.com/paulholden/moodle 2024-02-07 10:12:36 +08:00
meirzamoodle
a73e0ac76d MDL-74641 repository: Fix wrong increment of temporary file for small sizes 2024-02-07 02:34:19 +01:00
meirzamoodle
9ba1423359 MDL-74641 repository: Handles increase bytes while extracting zip files
We should not rely solely on the provided size information.
Therefore the system needs to recalculate the size of each file in the zip file,
whether small or big.

The changes also cover the filemanager.js file if an error appears.
2024-02-07 02:34:19 +01:00
meirzamoodle
4cae44dd0e MDL-78300 block: Determine if users can comment based on context 2024-02-07 02:34:19 +01:00
Paul Holden
bac703c534 MDL-54749 tool_langimport: require sesskey to update lang packs. 2024-02-07 02:34:19 +01:00
Ilya Tregubov
219510b7d9 Merge branch 'MDL-79527' of https://github.com/timhunt/moodle 2024-02-07 09:26:46 +08:00
Ilya Tregubov
c0e22cc885 Merge branch 'MDL-80767' of https://github.com/paulholden/moodle 2024-02-07 09:01:30 +08:00
Ilya Tregubov
8d845a639f Merge branch 'MDL-78621' of https://github.com/paulholden/moodle 2024-02-07 08:56:41 +08:00
Jun Pataleta
9406820aa1
Merge branch 'MDL-80693-main' of https://github.com/sammarshallou/moodle 2024-02-07 08:33:04 +08:00
Paul Holden
306d16c9e9
Merge branch 'MDL-80735' of https://github.com/marinaglancy/moodle into main 2024-02-06 15:26:45 +00:00
Sara Arjona
76104093ff
Merge branch 'MDL-80816' of https://github.com/stronk7/moodle 2024-02-06 15:51:31 +01:00
Jun Pataleta
c424ba34e2
MDL-80725 tool_mfa: Apply en_fix to Behat tests
Also use the appropriate Behat tags `@tool @tool_mfa @factor_sms`
instead of `@tool_admin_mfa`.
2024-02-06 16:00:00 +08:00
Jun Pataleta
83532409cc
Merge branch 'MDL-80725-main-enfix' of https://github.com/mudrd8mz/moodle 2024-02-06 15:59:07 +08:00
Ilya Tregubov
fa91b1e12a Merge branch 'MDL-73703-master' of https://github.com/davewoloszyn/moodle 2024-02-06 12:37:51 +08:00
Jun Pataleta
381b8123be
Merge branch 'MDL-72703' of https://github.com/paulholden/moodle 2024-02-06 12:27:18 +08:00
Ilya Tregubov
f5f8f8ad0f Merge branch 'MDL-80713-main' of https://github.com/HuongNV13/moodle 2024-02-06 11:19:21 +08:00
Ilya Tregubov
b87c53b2bb Merge branch 'MDL-79295-master' of https://github.com/jleyva/moodle 2024-02-06 11:15:48 +08:00
Jun Pataleta
326c5ab3b1
Merge branch 'MDL-80060' of https://github.com/paulholden/moodle 2024-02-05 16:07:03 +08:00
Huong Nguyen
54217383c3 Merge branch 'MDL-80811' of https://github.com/paulholden/moodle 2024-02-05 13:41:56 +07:00
Huong Nguyen
7f7280f5d7 Merge branch 'MDL-80718-master' of https://github.com/dpalou/moodle 2024-02-05 13:36:54 +07:00
Huong Nguyen
d884fbe2b1 Merge branch 'MDL-67772-email-thread-headers' of https://github.com/brendanheywood/moodle 2024-02-05 13:33:06 +07:00
Jun Pataleta
21458dc8a4
Merge branch 'MDL-80694' of https://github.com/marinaglancy/moodle 2024-02-05 14:27:05 +08:00
Jun Pataleta
da266d1c0e
MDL-78427 user: Revert accidental addition of deleted line
In MDL-80271, the line `$user->timemodified = time();` was removed to
make sure that `user_update_user()` does not unnecessarily writes to
the database. This seems to have been accidentally put back during
conflict resolution while rebasing the patch for MDL-78427.
2024-02-05 13:50:50 +08:00
Jun Pataleta
3c196b3039
Merge branch 'MDL-78427-master' of https://github.com/davewoloszyn/moodle 2024-02-05 13:42:17 +08:00
Huong Nguyen
052c313747 Merge branch 'MDL-80537' of https://github.com/timhunt/moodle 2024-02-05 11:14:52 +07:00
Huong Nguyen
149dd7bfa9 MDL-80713 Unit Tests: Message sink improvement
- Added a new method called get_messages_by_component()
  This method will help to retreive the redirected messages
  of specific component only
- Added a new method called get_messages_by_component_and_type()
  This method will help to retreive the redirected messages
  of specific component and type only
2024-02-05 09:23:41 +07:00
Marina Glancy
80ab39edcc MDL-80735 reportbuilder: do not render filters form during download
this removes unnecessary calculations and also prevents the session mutation
2024-02-02 16:21:15 +00:00
Eloy Lafuente (stronk7)
0d499ce11d
MDL-80816 core: Bump actions to newer versions
All the new ones are Nodejs 20 based, because
Nodejs 16 is being deprecated @ GH environments.

https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20

Also, bump PHP version from 8.0 to 8.1, because it's a new
requirement for Moodle 4.4, and it was not modified originally.
2024-02-02 17:07:35 +01:00
Tim Hunt
049bff63bc MDL-79527 questions: category tree loading handling bad data
It should always be the case that a question category and its parent
category belong to the same context. However, over the years, we have
observed that this becomes violated by some data in some Moodle sites.
(The suspicion is that this is a backup/restor bug of some sort which
has never been tracked down.)

Since this happens, we should make the code robust to it, which is what
this change does. It ensure that when loading child categories, we only
consider ones in the same context.
2024-02-02 11:26:57 +00:00
Ilya Tregubov
3fc907e3d8 weekly release 4.4dev 2024-02-02 08:56:16 +08:00
Ilya Tregubov
29fc88390a Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2024-02-02 08:56:12 +08:00
David Woloszyn
40d397ab5f MDL-78427 core_theme: Add theme usage report and icon
In addition to adding in theme usage reports, there is also the
addition of an icon on the theme cards which takes you to the report.
This icon only appears for that theme if it has been used in any
overriding context.
2024-02-02 11:16:46 +11:00
Paul Holden
fb7838586e
MDL-80811 mod_quiz: fix question preview popup event handling.
* Fix the selector used to identify the preview icon element;
* Remove redundant code for handling it's click event, because it
  already registers itself with a popup action which handles that.
2024-02-01 20:29:00 +00:00
David Mudrák
e32bd37113 MDL-80725 lang: Fix Behat regressions related to the question rename 2024-02-01 20:02:22 +01:00
David Mudrák
dfc47df6e8 MDL-80725 lang: Fix Help and documentation regressions 2024-02-01 19:30:58 +01:00
Tim Hunt
cefcedebcb MDL-80537 question bank: escape plain text display of question text 2024-02-01 16:15:04 +00:00
Brendan Heywood
cc0d2d4630 MDL-67772 mod_forum: Fix email threading for first message 2024-02-01 16:11:44 +11:00
Huong Nguyen
096a759b67 Merge branch 'MDL-80485' of https://github.com/paulholden/moodle 2024-02-01 11:30:44 +07:00
Huong Nguyen
c9c441b1a1 Merge branch 'MDL-80660' of https://github.com/paulholden/moodle 2024-02-01 11:23:23 +07:00
Huong Nguyen
f51f0cc09c Merge branch 'MDL-80538-main' of https://github.com/lameze/moodle 2024-02-01 11:17:36 +07:00
Simey Lameze
6af7654d8d MDL-80538 phpdoc: add missing null parameter type to phpdoc 2024-02-01 12:06:43 +08:00
Huong Nguyen
490ca57d1c Merge branch 'MDL-71665-main' of https://github.com/laurentdavid/moodle 2024-02-01 11:06:35 +07:00
Jun Pataleta
13c8b7e4fe
Merge branch 'MDL-70483-main' of https://github.com/kevpercy/moodle 2024-02-01 12:04:49 +08:00
Huong Nguyen
08a4c5f9ea Merge branch 'MDL-80450' of https://github.com/paulholden/moodle 2024-02-01 11:00:46 +07:00
Huong Nguyen
f271f9b06c Merge branch 'MDL-80692' of https://github.com/paulholden/moodle 2024-02-01 10:57:11 +07:00
Ilya Tregubov
67a94c49c4 Merge branch 'MDL-80267-main' of https://github.com/HuongNV13/moodle 2024-02-01 11:52:36 +08:00
Huong Nguyen
cc02940ddb Merge branch 'MDL-73010' of https://github.com/paulholden/moodle 2024-02-01 10:49:28 +07:00
Jun Pataleta
b979257e88
Merge branch 'MDL-74775-main' of https://github.com/HuongNV13/moodle 2024-02-01 11:47:16 +08:00
Huong Nguyen
5f78501071 Merge branch 'MDL-29261' of https://github.com/paulholden/moodle 2024-02-01 10:45:11 +07:00
Huong Nguyen
c35f04c255 Merge branch 'MDL-80706' of https://github.com/marinaglancy/moodle 2024-02-01 10:43:37 +07:00