Commit Graph

111210 Commits

Author SHA1 Message Date
Ilya Tregubov 98d07e8514 Merge branch 'MDL-79285' of https://github.com/stronk7/moodle 2023-09-28 10:20:12 +08:00
Ilya Tregubov 78cbb2204d Merge branch 'MDL-79360/403' of https://github.com/skodak/moodle 2023-09-28 09:37:34 +08:00
Jun Pataleta e02ea67301 Merge branch 'MDL-77891-master' of https://github.com/snake/moodle 2023-09-27 23:50:32 +08:00
Jun Pataleta 3c7b5c983e Merge branch 'MDL-78905-master' of https://github.com/mihailges/moodle 2023-09-27 23:34:05 +08:00
Shamim Rezaie d22da878f1 MDL-79486 qbank_columnsortorder: Document get_data_from_datamethod 2023-09-27 22:59:04 +10:00
Shamim Rezaie 1ecb374344 Merge branch 'MDL-79486-master' of https://github.com/andrewnicols/moodle 2023-09-27 22:57:46 +10:00
Sara Arjona 346fe1f78a Merge branch 'MDL-79432-master' of https://github.com/junpataleta/moodle 2023-09-27 10:22:21 +02:00
Mihail Geshoski 867e05ea34 MDL-78905 grades: Carry over form data without validation
Avoids validating form data which is carried over from the
simple dynamic form to the advanced form page when creating
or editing grade items, categories and outcomes in the
Gradebook setup.
2023-09-27 09:19:40 +02:00
Huong Nguyen 48f29f73e0 Merge branch 'MDL-79493-master' of https://github.com/ilyatregubov/moodle 2023-09-27 13:37:25 +07:00
Andrew Nicols 9a4a2df0e4 MDL-78750 communication: Fix missing test properties 2023-09-27 14:12:53 +08:00
Andrew Nicols 9739399741 Merge branch 'MDL-78750-master-int' of https://github.com/stevandoMoodle/moodle 2023-09-27 14:09:13 +08:00
Ilya Tregubov 1fbe7c1113 Merge branch 'MDL-79100-master' of https://github.com/meirzamoodle/moodle 2023-09-27 13:44:14 +08:00
Shamim Rezaie 2f29bac4f9 Merge branch 'MDL-78239-master' of https://github.com/HuongNV13/moodle 2023-09-27 14:39:54 +10:00
Huong Nguyen 9f0778ddb2 Merge branch 'MDL-79255-master' of https://github.com/call-learning/moodle 2023-09-27 11:12:39 +07:00
Huong Nguyen 08a669cba0 Merge branch 'MDL-79480' of https://github.com/paulholden/moodle 2023-09-27 11:10:35 +07:00
Huong Nguyen 82b661d8fa Merge branch 'MDL-79467' of https://github.com/paulholden/moodle 2023-09-27 10:44:02 +07:00
Jun Pataleta 6459f9f6b8 Merge branch 'MDL-78937-master' of https://github.com/meirzamoodle/moodle 2023-09-27 11:40:32 +08:00
Meirza d561e151e5 MDL-78937 lib: Set default value to $component property
We encountered errors on the plugin check page while upgrading from version 3.11 to 4.3.
The plugins marked with the status "To be deleted" have a null value for the $component property,
which results in the following error message:
"Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is
deprecated in lib/classes/component.php on line 1056."
To avoid this error, we need to set an empty string as the default value for the $component property.
2023-09-27 09:53:47 +07:00
Ilya Tregubov 53717729a5 Merge branch 'MDL-79451' of https://github.com/paulholden/moodle 2023-09-27 10:01:37 +08:00
Andrew Nicols 3da39da392 Merge branch 'MDL-78847-master' of https://github.com/aanabit/moodle 2023-09-27 09:55:33 +08:00
Ilya Tregubov 386f29a46d Merge branch 'MDL-77708-master' of https://github.com/sarjona/moodle 2023-09-27 09:07:10 +08:00
Eloy Lafuente (stronk7) 71bc684c41 MDL-79285 xhprof: Add support for optional "reducedata" parameter
This new parameter / property will decide if we want to reduce
the run data before processing it:
- By default it will be disabled in table mode.
- By default it will be enabled in graph mode.
- The defaults can be changed by adding reducedata=[0|1] in the URLs
- Once data reduction is enabled, it stays enabled while
  navigating within the xhprof reports.
2023-09-26 19:39:48 +02:00
Eloy Lafuente (stronk7) 8ef2974af1 MDL-79285 xhprof: Cover the new functions with unit tests
This covers the 2 new functions with unit tests:
- xhprof_topo_sort()
- reduce_run_data()

Note that the example graph used in the provider is the
one shown in the issue to explain the reduction procedure.
2023-09-26 19:39:47 +02:00
Eloy Lafuente (stronk7) bc70bd69ed MDL-79285 xhprof: Enable reducing runs data for quicker use
Here we are reducing the xhprof runs data by removing the
__Mustache==>__Mustache calls and all the orphaned data.

To save N iterations what we are doing is:

0. The information is "topologically" sorted, so we ensure that
   all the parents in the data are processed before the children.
   (this will help a lot when cleaning orphaned data, see below).
1. First pass, all the candidate (by regexp) calls are removed
   from the run data.
2. Second pass, all the orphaned information (calls that have
   ended losing his parent) are also removed, so data is consistent.
   Note that, normally we would need N passes to remove all the
   orphaned data (because each pass creates new orphan candidates),
   but, as far as we have ensured that the information is topologically
   sorted (see point 0 above), all this can be done in one unique pass.

TODO:
  - Add unit tests.
  - Enable some system to be able to decide which utilities we
    want to get the data reduced and which ones will continue
    using the complete data. Right now the reduction is being
    applied to all the utilities (both table and graph views).
  - Document the change and, if implemented, the way to select
    between complete/reduced data.
  - Consider adding some caching to speed-up the reduction process
    (some TODOs have been left in the code pointing to the critical
    points).
2023-09-26 19:39:47 +02:00
Paul Holden c16587f52f MDL-79480 repository_wikimedia: drop deprecated image size parameter. 2023-09-26 16:21:43 +01:00
Sara Arjona c6e727732a Moodle release 4.3beta 2023-09-26 16:19:45 +02:00
Amaia Anabitarte 8874725c53 MDL-78847 mod_folder: Fix inline folder renderer 2023-09-26 10:39:35 +02:00
Sara Arjona cc9430929d MDL-77708 docs: Update references from docs.moodle.org/dev 2023-09-26 10:30:19 +02:00
Huong Nguyen e38aa09dee MDL-78239 editor_tiny: Calculate correct height for non-visible editors 2023-09-26 14:50:13 +07:00
Ilya Tregubov 0f4efffb76 MDL-79493 core_grades: Fix Behat tests. 2023-09-26 15:49:43 +08:00
meirzamoodle 6246db3d30 MDL-79100 core_communication: Update communication-related lang strings 2023-09-26 12:12:38 +07:00
Jun Pataleta 4cb2b3c758 Merge branch 'MDL-79484' of https://github.com/paulholden/moodle 2023-09-26 12:22:52 +08:00
Jun Pataleta 4569711e18 Merge branch 'MDL-79485' of https://github.com/paulholden/moodle 2023-09-26 12:08:12 +08:00
Jun Pataleta 535747fbc7 Merge branch 'MDL-79481' of https://github.com/paulholden/moodle 2023-09-26 12:06:16 +08:00
Jun Pataleta 2f3033646c Merge branch 'MDL-76713-master' of https://github.com/laurentdavid/moodle 2023-09-26 11:57:24 +08:00
Jun Pataleta a24e9872ef Merge branch 'MDL-79442-master' of https://github.com/snake/moodle 2023-09-26 11:48:31 +08:00
Jun Pataleta 3c2589fb58 Merge branch 'MDL-79400-master' of https://github.com/HuongNV13/moodle 2023-09-26 11:20:02 +08:00
Jun Pataleta 7a369aa0a8 Merge branch 'MDL-79420-master' of https://github.com/HuongNV13/moodle 2023-09-26 10:57:46 +08:00
Huong Nguyen a26954ce4a Merge branch 'MDL-79483' of https://github.com/paulholden/moodle 2023-09-26 09:18:31 +07:00
Stevani Andolo d644c3d89d MDL-78750 communication_matrix: Dynamic settings 2023-09-26 09:55:54 +08:00
Huong Nguyen 440bf51af2 Merge branch 'MDL-79444-master' of https://github.com/meirzamoodle/moodle 2023-09-25 15:24:47 +07:00
Laurent David 8790501437 MDL-76713 core_availability: Fix date restriction conflict
* Use a unique ID the date nodes in the HTML tree to be able to find the current node.
* Look for nodes in the same tree "leaf" and work on conflicts in this single leaf/branch.
2023-09-25 10:16:44 +02:00
Huong Nguyen df76743906 Merge branch 'MDL-79322-master' of https://github.com/mickhawkins/moodle 2023-09-25 15:04:15 +07:00
Huong Nguyen b27f6b0eca Merge branch 'MDL-79440-master' of https://github.com/snake/moodle 2023-09-25 14:56:49 +07:00
Shamim Rezaie 832ee471be Merge branch 'MDL-75928-master' of https://github.com/lameze/moodle 2023-09-25 17:51:29 +10:00
Shamim Rezaie 9e9dab8045 Merge branch 'MDL-79348-master' of https://github.com/roland04/moodle 2023-09-25 17:39:41 +10:00
Andrew Nicols 9c07defb77 MDL-79486 qbank_columnsortorder: Data providers must not create data 2023-09-25 14:34:56 +08:00
Paul Holden 3f6dd17042 MDL-79485 tool_mfa: replace hard-coded verification lang strings. 2023-09-24 21:21:54 +01:00
Paul Holden 4cbce0bae2 MDL-79484 tool_mfa: remove hard-coded assumption of "and" lang string. 2023-09-24 18:56:24 +01:00
Paul Holden bf6dcc5779 MDL-79483 qbank_columnsortorder: set pix_icon for each column action. 2023-09-24 16:54:20 +01:00