33629 Commits

Author SHA1 Message Date
Huong Nguyen
4433432675
Merge branch 'MDL-77185-diskfreespace-405' of https://github.com/leonstr/moodle into MOODLE_405_STABLE 2025-01-09 10:13:09 +07:00
Huong Nguyen
df13123c81
Merge branch 'MDL-83506-405' of https://github.com/andrewnicols/moodle into MOODLE_405_STABLE 2025-01-08 15:42:13 +07:00
sarjona
b2a29a4402 Merge branch 'MDL-83917-405' of https://github.com/pedrojordao/moodle into MOODLE_405_STABLE 2025-01-08 07:16:29 +01:00
Pedro Jordao
31a28b72bb MDL-83917 core_completion: Create function count_modules_completed
The function returns the number of modules completed by a user and
executes a COUNT aggregate function to avoid running many queries
to obtain this information, aiming to optimize performance.

Co-authored-by: Carlos Castillo <carlos.castillo@moodle.com>
2025-01-07 22:20:35 -03:00
sarjona
e0d33cdf64 Merge branch 'MDL-83746-405' of https://github.com/srobotta/moodle into MOODLE_405_STABLE 2025-01-07 14:50:06 +01:00
Jun Pataleta
212dbbade5
Merge branch 'MDL-83668-405' of https://github.com/srobotta/moodle into MOODLE_405_STABLE 2025-01-07 13:56:42 +08:00
Stephan Robotta
c93964407e MDL-83746 navigation: check host and path for active flag in custom menu 2025-01-06 08:32:09 +01:00
Stephan Robotta
60fb52e209 MDL-83668 tiny: customize allowed HTML tags and attributes 2025-01-06 08:32:00 +01:00
Jun Pataleta
61f9725107
Merge branch 'MDL-83835-405' of https://github.com/raortegar/moodle into MOODLE_405_STABLE 2025-01-06 13:14:52 +08:00
Leon Stringer
c2c8375863 MDL-77185 session: Fix undefined disk_free_space
Fix PHP fatal error "Call to undefined function
core\session\disk_free_space()" when disable_functions=disk_free_space.
Prior to PHP 8.0 this error was suppressed by '@'.

Co-authored-by: Federico Alvarez <32086536+fedealvz@users.noreply.github.com>
2024-12-31 15:34:10 +00:00
Huong Nguyen
8652ec36e5
Merge branch 'MDL-83988-405' of https://github.com/andrewnicols/moodle into MOODLE_405_STABLE 2024-12-24 09:29:36 +07:00
Jun Pataleta
9d2bb14dd3
NOBUG: Add upgrade notes 2024-12-19 20:08:09 +08:00
Huong Nguyen
0e85649699
Merge branch 'MDL-83940-405' of https://github.com/paulholden/moodle into MOODLE_405_STABLE 2024-12-19 10:40:30 +07:00
Jun Pataleta
a71c98f540
MDL-83691 core: Version and upgrade fixes
* Version bump should be incremented from the latest weekly release.
* Upgrade step should be after the 4.5.0 release line comment.
2024-12-18 13:50:59 +08:00
Jun Pataleta
81eb2ce13b
Merge branch 'MDL-83691-405' of https://github.com/meirzamoodle/moodle into MOODLE_405_STABLE 2024-12-18 13:46:56 +08:00
Jun Pataleta
b2046b8b67
Merge branch '79121-normalize-proxy-bypass-405' of https://github.com/DSI-Universite-Rennes2/moodle into MOODLE_405_STABLE 2024-12-18 10:56:04 +08:00
Sara Arjona
077363e342
Merge branch 'MDL-83807-405' of https://github.com/clransom/moodle into MOODLE_405_STABLE 2024-12-17 17:06:27 +01:00
Julien Boulen
d11f65c29b MDL-79121 lib: Improve the dataset for is_proxybypass_provider() 2024-12-16 15:55:58 +01:00
Julien Boulen
b390286ed9 MDL-79121 lib: Normalize proxybypass value
This changes prevent the admin to define an incorrect proxybypass value.

Dropped out formats in MDL-74289 are now fixed automatically.
e.g.: "192.168." becomes "192.168.0.0/16" and ".domain.tld" becomes "*.domain.tld".
2024-12-16 15:54:52 +01:00
Huong Nguyen
7947b4dded
Merge branch 'MDL-75075-405' of https://github.com/NashTechOpenUniversity/moodle into MOODLE_405_STABLE 2024-12-16 09:51:17 +07:00
meirzamoodle
cc77d48e7c MDL-83691 core_sms: Avoid saving unnecessary data in the database 2024-12-13 10:16:33 +07:00
Andrew Nicols
c0c89726ff
MDL-83988 core: Hide common machine-read files 2024-12-11 23:35:35 +08:00
Katie Ransom
95d655295f MDL-83807 files: Make file_get_all_files_in_draftarea return zip files 2024-12-11 14:17:21 +00:00
Andrew Nicols
7bb9f136d2
MDL-81520 core: Fix test finality 2024-12-11 12:30:21 +08:00
Khoa Nguyen
33d29d0d61 MDL-75075 core_tag: Add an option to render tag lists without links 2024-12-10 13:46:21 +07:00
Paul Holden
e302f2dec8
MDL-83940 comment: fix collapse/loading icons in comment container. 2024-12-06 10:53:33 +00:00
Huong Nguyen
3a71764572
NOBUG: Add upgrade notes 2024-12-06 13:13:03 +07:00
Huong Nguyen
96579b1904
NOBUG: Add upgrade notes 2024-12-05 22:32:48 +07:00
Huong Nguyen
6e9de0d56b
Merge branch 'MDL-83641-405' of https://github.com/paulholden/moodle into MOODLE_405_STABLE 2024-12-05 11:29:17 +07:00
Jun Pataleta
fd1b952e3e
Merge branch 'MDL-83823-405-enfix' of https://github.com/mudrd8mz/moodle into MOODLE_405_STABLE 2024-12-05 11:48:36 +08:00
Huong Nguyen
00253d140c
Merge branch 'MDL-83584-m405' of https://github.com/sammarshallou/moodle into MOODLE_405_STABLE 2024-12-05 10:12:46 +07:00
Huong Nguyen
ade9ea1b64
Merge branch 'MDL-83223-405' of https://github.com/meirzamoodle/moodle into MOODLE_405_STABLE 2024-12-05 10:08:45 +07:00
meirzamoodle
f68fc730f4 MDL-83223 core: Use capture with addEventListener to intercept events
The issue is that Bootstrap’s dropdown component likely stops
event propagation after the first click to manage its own
dropdown behavior. This prevents your click event handler from
running on subsequent clicks.

To fix this, we can handle the event before Bootstrap’s code stops
the propagation by using capture option with addEventListener.
2024-12-04 10:36:54 +07:00
Jun Pataleta
65acecced1 MDL-61316 core: Fix session gc unit tests 2024-12-04 02:50:19 +00:00
meirzamoodle
3f8502225e MDL-61316 core: Removed 5x multiplier from guest session expiration 2024-12-04 02:50:19 +00:00
David Mudrák
065fdf4b2d MDL-83823 lang: Use the fixed strings in tests, too. 2024-12-03 20:14:25 +01:00
Helen Foster
1ab447455b MDL-83823 lang: Import fixed English strings (en_fix) 2024-12-03 20:13:50 +01:00
Huong Nguyen
bbd8a07f68
Merge branch 'MDL-83128-405' of https://github.com/paulholden/moodle into MOODLE_405_STABLE 2024-12-03 09:32:13 +07:00
raortegar
cd7fb950de MDL-83835 lib: PEAR - passing null to str functions is deprecated 2024-12-02 13:13:07 +01:00
Paul Holden
a11e396945
MDL-83641 cohort: allow 'includes' option be specified in form element. 2024-12-02 10:58:47 +00:00
Jun Pataleta
a4e26132e0
Merge branch 'MDL-83648_405' of https://github.com/timhunt/moodle into MOODLE_405_STABLE 2024-12-02 17:24:28 +08:00
Shamim Rezaie
2db344ac25 Merge branch 'MDL-75610_405_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_405_STABLE 2024-12-02 15:24:18 +11:00
Tim Hunt
1e6e11d8d3 MDL-83648 javascript dialogues: fix responsive behaviour
visibilityChanged in the dialogue base class does important things.
Therefore if ajaxException and exception also want to do something
else in response to the visibleChange event, it should use a
different method name, rather than a name that collides with the
base class method.
2024-11-29 17:05:29 +00:00
Jun Pataleta
966ac4af8f
Merge branch 'MDL-83614-405' of https://github.com/paulholden/moodle into MOODLE_405_STABLE 2024-11-28 12:55:30 +08:00
Jun Pataleta
d3f2f141a5
Merge branch 'MDL-83412-405' of https://github.com/junpataleta/moodle into MOODLE_405_STABLE 2024-11-28 12:12:02 +08:00
Jun Pataleta
2cc40431cb
MDL-83412 core: Coding style fixes 2024-11-28 11:55:15 +08:00
Andrew Nicols
cdbc789fd8
MDL-83412 calendartype_gregorian: Use core_date
Update timestamp_to_date_string to use core_date.
2024-11-28 11:55:15 +08:00
Andrew Nicols
3e45d0801e
MDL-83412 core: Use LLL/LLLL for standalone Month names
We currently use MMM and MMMM which mean 'month in year', however in
some locales this is context-specific and should only be used in
conjunction with a day, for example "10 October 2024".

LLL and LLLL are for "stand-alone on the in year" and should be used
when a month is used without a day.
2024-11-28 11:55:15 +08:00
Huong Nguyen
348c37c98d
Merge branch 'MDL-63264-405' of https://github.com/paulholden/moodle into MOODLE_405_STABLE 2024-11-28 10:46:17 +07:00
Huong Nguyen
57b5c36320
Merge branch 'MDL-83653_405' of https://github.com/timhunt/moodle into MOODLE_405_STABLE 2024-11-28 10:21:20 +07:00