141 Commits

Author SHA1 Message Date
meirzamoodle
9354b80a52 MDL-78030 user: Implementing the count window function 2024-07-29 13:58:38 +07:00
meirzamoodle
42664ee49a MDL-78030 dml: get total count records using the window function
The COUNT window function can be helpful to fasten the complex query,
but it's not recommended to be used for a single table query.

The patch is specifically for PostgreSQL, MariaDB and Oracle databases as they have better performance
compared to MySQL and MSSQL. Although these databases support the COUNT window functions,
the results indicate that the query runs slower when using them.
2024-07-29 13:53:46 +07:00
Huong Nguyen
83a18b6f58
Merge branch 'MDL-82466' of https://github.com/paulholden/moodle 2024-07-24 12:10:28 +07:00
Huong Nguyen
86968a64a5
Merge branch 'MDL-72424' of https://github.com/paulholden/moodle 2024-07-24 12:06:54 +07:00
Huong Nguyen
eb14ffa0b6
Merge branch 'MDL-82146-main' of https://github.com/aanabit/moodle 2024-07-24 12:04:23 +07:00
Jun Pataleta
bc5a65e444
Merge branch 'MDL-70854-main' of https://github.com/junpataleta/moodle 2024-07-23 17:59:30 +08:00
Conn Warwicker
b92886ad59
MDL-70854 core: Add stored progress bars.
- Alters existing progress_bar class to support extension
    - Adds stored_progress_bar class as child of progress_bar
    - Adds webservice to poll stored progress
    - Updates database tables
    - Bumps version
    - Adds unit/behat tests
2024-07-23 17:58:53 +08:00
Jun Pataleta
4cdd0459b4
Merge branch 'MDL-77167_remove-deprecation-layer-for-mdl-70990-yui-events' of https://github.com/ziegenberg/moodle 2024-07-23 10:36:57 +08:00
Paul Holden
aca7b96e9e
Merge branch 'MDL-82529' of https://github.com/dravek/moodle into main 2024-07-22 12:36:40 +01:00
Huong Nguyen
6559850be1
Merge branch 'MDL-82481' of https://github.com/paulholden/moodle 2024-07-22 10:40:18 +07:00
Ilya Tregubov
41e56064e8 Merge branch 'MDL-70983-main' of https://github.com/sarjona/moodle 2024-07-22 09:36:24 +08:00
Daniel Ziegenberg
c3df4078e8
MDL-77167 javascript: Remove deprecation layer for YUI Events
The deprecation layer was introduced with MDL-70990.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-07-19 17:51:45 +02:00
David Carrillo
5c135b614d
MDL-82529 reportbuilder: Move functions from datasource to base class
- Methods add_columns_from_entity(), add_filters_from_entity() and
report_element_search() have been moved from
\core_reportbuilder\datasource class to \core_reportbuilder\base class
in order to be available also for system reports
2024-07-19 15:22:31 +02:00
Paul Holden
1796c95b55
MDL-72424 mod_feedback: deprecate old role switching check method.
It doesn't appear to have ever worked. Any conditional code based
on the result of calling this method has also been removed.
2024-07-19 11:18:35 +01:00
Paul Holden
8426610258
MDL-82466 reportbuilder: new format helper for formatting time. 2024-07-19 10:33:57 +01:00
Sara Arjona
b2f66d477b
MDL-70983 badges: Remove OBv1.0 support
The only backpack implementing OBv1.0 was Mozilla Backpack. It closed
in 2019 and their badges were moved to https://backpack.openbadges.org/
by Badgr.
However, as Badgr is supporting OBv2.0 too, it makes no sense keep OBv1.0
implementation in Moodle: it has caused some issues and over-complicates
current code.
2024-07-19 10:39:38 +02:00
Amaia Anabitarte
8596d3cd7c MDL-82146 report_log: Add subsections to activity filter 2024-07-19 08:38:12 +02:00
Amaia Anabitarte
ec050bbee7 MDL-82146 core_output: Add disabled parameter to select element 2024-07-19 08:38:12 +02:00
Amaia Anabitarte
ff6edc2e9f MDL-82510 course: Add new delegated action menu 2024-07-19 08:27:10 +02:00
Paul Holden
e8410c844e
MDL-82481 customfield_select: return field options pre-formatted. 2024-07-18 14:03:16 +01:00
Huong Nguyen
e7d1febac6
MDL-81699 Course: Add upgrade note 2024-07-18 10:03:28 +07:00
Huong Nguyen
db5b60424b
Merge branch 'MDL-82287-main' of https://github.com/andrewnicols/moodle 2024-07-18 09:47:01 +07:00
Jun Pataleta
cf2073134a
Merge branch 'MDL-82066' of https://github.com/paulholden/moodle 2024-07-18 00:03:02 +08:00
Huong Nguyen
b964baf06e
Merge branch 'MDL-75025_final-deprecation-of-base_controller-set_copy' of https://github.com/ziegenberg/moodle 2024-07-17 14:20:50 +07:00
Sara Arjona
404ddae657
Merge branch 'MDL-81533-master' of https://github.com/danghieu1407/moodle 2024-07-16 09:23:08 +02:00
Ilya Tregubov
7f63a6af7a Merge branch 'MDL-78293-master' of https://github.com/jleyva/moodle 2024-07-16 11:47:22 +08:00
Huong Nguyen
ffefd6130f
MDL-67554 tool_oauth2: Added upgrade note 2024-07-16 09:40:41 +07:00
Huong Nguyen
7c6fcaaff5
Merge branch 'MDL-80744-main-1' of https://github.com/ilyatregubov/moodle 2024-07-16 09:15:57 +07:00
Huong Nguyen
6c5d01b512
Merge branch 'MDL-82210-main' of https://github.com/sarjona/moodle 2024-07-15 15:54:35 +07:00
Mihail Geshoski
48866d4746 MDL-80744 core_grades: Deprecate comboboxsearch behat step definitions
The comboboxsearch component now has uses beyond the grade subcomponent
and includes alternative step definitions in behat_general.php. This
change deprecates the redundant behat step definitions related to this
component in behat_grade.php and replaces current usages with the
alternative definitions.
2024-07-15 16:36:48 +08:00
Hieu Nguyen Dang
adea726a9d MDL-81533 Admin: Availability restriction info default change 2024-07-15 14:09:15 +07:00
Andrew Nicols
aa55779ba0
MDL-66903 testing: Helper to load fixture files 2024-07-15 13:07:42 +08:00
Andrew Nicols
25df1ed645
MDL-66903 core: Move core_component to \core\component 2024-07-15 13:07:42 +08:00
Andrew Nicols
406dcd2566
MDL-66903 testing: Add support for a \tests\ namespace during tests
This commit:
- introduces a \tests\ sub-namespace for use in unit tests only
- the path to this the tests/classes directory of the owning parent
- files here are excluded from unit test runs

This is agreed per policy in MDL-80855.
2024-07-15 13:07:36 +08:00
Sara Arjona
774ea7ca29
MDL-82210 output: Add support to FontAwesome families
The solid family was chosen by default when Font Awesome was upgraded
from 4 to 6, but FA6 has more families, like regular or brands.
This commit adds only the fa class to the icon when no other family
class is used.
2024-07-12 10:59:00 +02:00
Juan Leyva
2a2130e9d7 MDL-78293 core_user: New Web Services to manage private files 2024-07-11 11:54:35 +02:00
Jun Pataleta
5597a4eb33
Merge branch 'MDL-82168-main' of https://github.com/junpataleta/moodle 2024-07-11 11:21:21 +08:00
Sara Arjona
814753e558
MDL-82168 badges: Add WS to enable/disable badges 2024-07-11 11:19:34 +08:00
Paul Holden
9d621f5da1
MDL-82066 user: define methods for handling default homepage URLs.
Per the previous commit, default homepage configuration (set either
for the site or as a user preference) can now be extended by third
party hook callbacks, in which case a URL is stored.
2024-07-10 17:12:31 +01:00
Huong Nguyen
0644eeb752
Merge branch 'MDL-43938-main' of https://github.com/sarjona/moodle 2024-07-10 09:20:44 +07:00
Sara Arjona
7f6906de02 Merge branch 'MDL-73284_final-deprecation-message_default_loggedoff-message_default_loggedin' of https://github.com/ziegenberg/moodle 2024-07-10 09:16:57 +08:00
Paul Holden
a22ccfc7d0
MDL-82066 hook: new hook to extend options for default site homepage. 2024-07-09 13:09:09 +01:00
Daniel Ziegenberg
cbac1d5e32
MDL-73284 messages: Final deprecation MESSAGE_DEFAULT_LOGGED(OFF|IN)
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-07-08 21:28:28 +02:00
Ilya Tregubov
8ae03ee493 MDL-82292 mod_assign: Merge picture and name columns 2024-07-08 12:00:03 +08:00
Sara Arjona
ae5fc380b5
MDL-43938 badges: Merge newbadge.php and edit.php
The newbadge.php and edit.php pages have been merged in edit.php
to make them easier to maintain because they were quite similar
(newbadge.php was only used for creating badges and edit.php for
editing badge details and messages).
2024-07-05 10:11:39 +02:00
Andrew Nicols
9ad6cae1e2
MDL-78662 question: Correct upgrade notes 2024-07-04 12:17:50 +08:00
Amaia Anabitarte
6912ddb3c6 MDL-81771 report_outline: Add subsections to course Activity report 2024-07-03 15:47:48 +02:00
Amaia Anabitarte
f9497ceade MDL-81771 core_report: Add Report as subsystem 2024-07-03 15:47:46 +02:00
Jun Pataleta
130fff8fce
Merge branch 'MDL-52046-main' of https://github.com/davewoloszyn/moodle 2024-07-03 18:48:25 +08:00
Jun Pataleta
c3f4f60a5f
Merge branch 'MDL-80748-main' of https://github.com/rezaies/moodle 2024-07-03 17:13:21 +08:00