moodle/lib/tests
David Mudrák fcfe8ceef1 MDL-74586 rss: Make rss_get_userid_from_token() use table index
Due to missing `AND k.script = 'rss'` condition, the query did not make
use of the existing script-value compound index defined for the table.
So it had to perform the full sequential scan for all rows when
searching for the token. This had serious performance issues on sites
with many users, especially in case on non-existing token / key.
2023-02-28 13:21:35 +01:00
..
analytics MDL-73785 phpunit: Move more tests to use correct names and namespaces 2022-03-03 12:19:30 +01:00
behat MDL-77092 Behat: Expand all fieldsets fails with single fieldset 2023-01-31 13:56:04 +00:00
content/export MDL-75880 phpunit: fix all @coversDefaultClass missing @covers 2022-11-04 16:51:20 +01:00
db MDL-74506 block: Correct parentcontextid for blocks in dashboard 2022-04-16 17:49:18 +08:00
event MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
external MDL-76583 core: Update uses of external_* classes 2023-01-19 07:34:09 +08:00
fixtures MDL-76583 core: Update uses of external_* classes 2023-01-19 07:34:09 +08:00
lock MDL-74960 core\lock: Performance info - display lock performance 2022-09-26 11:24:10 +01:00
navigation MDL-70070 phpunit: correct data provider method names. 2023-01-16 08:28:37 +00:00
other MDL-74853 various: add second parameter to htmlentities functions 2022-11-28 16:12:20 +01:00
output MDL-69838 core: final removal of deprecated 310 methods. 2023-02-10 11:20:00 +00:00
performance
plugininfo MDL-70070 phpunit: correct data provider method names. 2023-01-16 08:28:37 +00:00
task MDL-70070 phpunit: correct data provider method names. 2023-01-16 08:28:37 +00:00
accesslib_has_capability_test.php MDL-72701 core: Improve code coverage for core 2021-12-21 09:24:00 +08:00
accesslib_test.php MDL-76797 core_role: Add create role event class 2023-02-20 12:37:35 +07:00
adminlib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
admintree_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
ajaxlib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
analysers_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
antivirus_test.php MDL-71627 check: Add AV status, notification levels and more logging 2021-08-11 11:46:15 +10:00
authlib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
behat_lib_test.php MDL-72701 core: Improve code coverage for core 2021-12-21 09:24:00 +08:00
blocklib_test.php MDL-75716 phpunit: Move tests to use correct names and ns (take#5) 2022-09-12 19:29:34 +02:00
check_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
client_test.php MDL-65637 core_oauth2: Create new oauth2 mapping function 2021-06-02 08:11:38 +08:00
collator_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
completionlib_test.php MDL-70070 phpunit: correct data provider method names. 2023-01-16 08:28:37 +00:00
component_test.php MDL-76415 core: Fixed ${var} string interpolation deprecations. 2023-02-13 19:51:46 +07:00
componentlib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
configonlylib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
content_test.php
context_block_test.php MDL-74271 context: Improve performance of block context creation 2022-04-06 23:40:15 +08:00
core_media_player_native_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
core_renderer_template_exploit_test.php MDL-68066 output: Apply disable lambda rendering to Mustache renderer 2022-09-07 23:54:24 +08:00
coverage.php MDL-72701 core: Improve code coverage for core 2021-12-21 09:24:00 +08:00
cronlib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
csslib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
csvclass_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
curl_security_helper_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
customcontext_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
dataformat_test.php MDL-73278 phpunit: Rename already namespaced classes to match file name 2021-12-07 23:54:29 +01:00
datalib_test.php MDL-75283 admin: Update admin user fetching to use sort helper 2022-09-07 13:16:17 +08:00
datalib_update_with_unique_index_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
date_legacy_test.php MDL-75100 core: replace function strftime deprecated in PHP 8.1 2022-11-21 11:41:12 +01:00
date_test.php MDL-76675 date: Only test all TZ names with PHPUNIT_LONGTEST enabled 2023-01-26 14:18:29 +01:00
editorlib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
encryption_test.php MDL-73278 phpunit: Rename already namespaced classes to match file name 2021-12-07 23:54:29 +01:00
environment_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
event_course_module_instance_list_viewed.php
event_course_module_viewed.php
exporter_test.php MDL-76583 core: Update uses of external_* classes 2023-01-19 07:34:09 +08:00
externallib_test.php MDL-76583 external: Add unit test for deprecated test helper 2023-01-19 11:02:31 +08:00
filelib_test.php Merge branch 'MDL-75231-master' of https://github.com/lameze/moodle 2022-09-06 23:49:34 +08:00
filestorage_zip_archive_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
filetypes_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
filter_manager_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
filterlib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
formslib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
gdlib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
googlelib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
gradelib_test.php MDL-72451 core: Stop keep regrading when there is an error 2022-11-17 08:54:47 +00:00
grades_external_test.php MDL-76583 core: Update uses of external_* classes 2023-01-19 07:34:09 +08:00
grading_external_test.php MDL-76583 core: Update uses of external_* classes 2023-01-19 07:34:09 +08:00
graphlib_test.php MDL-75945 core: Convert a floating value to an integer. 2023-01-24 16:49:10 +07:00
grouplib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
h5p_clean_orphaned_records_task_test.php
html2text_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
html_writer_test.php MDL-72701 core: Improve code coverage for core 2021-12-21 09:24:00 +08:00
htmlpurifier_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
http_client_test.php MDL-76135 core: Implement Guzzle cache middleware 2023-01-30 13:05:27 +11:00
ip_utils_test.php MDL-75889 core: compare domain names in a case-insensitive manner. 2022-11-07 22:37:15 +00:00
jquery_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
ldaplib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
licenselib_test.php
lock_config_test.php MDL-74960 core\lock: Performance info - display lock performance 2022-09-26 11:24:10 +01:00
lock_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
markdown_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
mathslib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
medialib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
message_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
messageinbound_test.php MDL-76112 various: can not pss null as 3rd param to preg_split 2022-10-28 10:51:20 +02:00
messagelib_test.php MDL-73785 phpunit: Move more tests to use correct names and namespaces 2022-03-03 12:19:30 +01:00
minify_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
modinfolib_test.php MDL-76105 lang: Use fixed strings in tests, too. 2022-11-17 10:37:45 +00:00
moodle_page_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
moodle_url_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
moodlelib_current_language_test.php MDL-74608 activities: a new option to force the activity language 2022-08-15 22:15:52 +01:00
moodlelib_test.php MDL-77207 core: PHP 8.2 makes exported class name fully qualified. 2023-02-11 16:12:37 +07:00
myprofilelib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
navigationlib_test.php MDL-70070 phpunit: correct data provider method names. 2023-01-16 08:28:37 +00:00
notification_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
oauth2_test.php MDL-61789 auth_oauth2: Update profile fields based on data mapping. 2023-01-07 20:59:26 +07:00
outputcomponents_test.php MDL-75337 core: Single button - API changes 2023-01-23 13:45:21 +01:00
outputfactories_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
outputrequirementslib_test.php MDL-72461 core: Required JS files in $PAGE served by the Moodle handler 2022-12-09 13:47:19 +01:00
pdflib_test.php MDL-45301 assign: Add font options for EditPDF 2023-02-17 15:30:25 +11:00
persistent_test.php MDL-76221 core: method to filter by defined properties of persistent. 2022-12-29 14:02:58 +00:00
phpxmlrpc_test.php MDL-76055 libraries: Autoload phpxmlrpc and verify it works 2022-11-02 15:56:38 +01:00
plugin_manager_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
portfoliolib_test.php
progress_display_test.php
progress_test.php MDL-73785 phpunit: Move more tests to use correct names and namespaces 2022-03-03 12:19:30 +01:00
qrcode_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
questionlib_test.php MDL-75716 phpunit: Move tests to use correct names and ns (take#5) 2022-09-12 19:29:34 +02:00
regex_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
report_helper_test.php MDL-72094 core_report: Deprecate report_helper::save_selected_report() 2021-09-14 11:44:18 +08:00
requirejs_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
rsslib_test.php MDL-74586 rss: Make rss_get_userid_from_token() use table index 2023-02-28 13:21:35 +01:00
rtlcss_test.php
sample_questions.ser
sample_questions.xml
sample_questions_with_old_image_tag.ser
sample_questions_with_old_image_tag.xml
sample_questions_wrong.xml
scss_test.php MDL-73785 phpunit: Move more tests to use correct names and namespaces 2022-03-03 12:19:30 +01:00
session_manager_test.php MDL-73317 session: Improve session diff detection 2023-02-09 12:03:49 +10:00
session_redis_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
sessionlib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
setuplib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
statslib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
string_manager_standard_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
tablelib_test.php MDL-68550 output: Improve accessibility of the paging bar 2022-11-10 06:06:02 +11:00
text_test.php MDL-74853 various: add second parameter to htmlentities functions 2022-11-28 16:12:20 +01:00
theme_config_test.php MDL-72701 core: Improve code coverage for core 2021-12-21 09:24:00 +08:00
update_api_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
update_checker_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
update_code_manager_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
update_validator_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
upgrade_util_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
upgradelib_test.php MDL-76053 admin: Remove various warnings related to MNet 2022-11-08 16:49:18 +01:00
user_menu_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
user_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
useragent_test.php MDL-72701 core: Improve code coverage for core 2021-12-21 09:24:00 +08:00
weblib_format_text_test.php MDL-75716 phpunit: Move tests to use correct names and ns (take#5) 2022-09-12 19:29:34 +02:00
weblib_test.php MDL-76415 core: Fixed ${var} string interpolation deprecations. 2023-02-13 19:51:46 +07:00
xhprof_test.php MDL-75716 phpunit: Move tests to use correct names and ns (take#5) 2022-09-12 19:29:34 +02:00
xhtml_container_stack_test.php MDL-75716 phpunit: Move tests to use correct names and ns (take#5) 2022-09-12 19:29:34 +02:00
xmlize_test.php MDL-75716 phpunit: Move tests to use correct names and ns (take#5) 2022-09-12 19:29:34 +02:00