Merge branch 'MDL-70900' of https://github.com/stronk7/moodle
authorVíctor Déniz <victor@moodle.com>
Mon, 10 May 2021 21:47:13 +0000 (22:47 +0100)
committerVíctor Déniz <victor@moodle.com>
Mon, 10 May 2021 21:47:13 +0000 (22:47 +0100)
829 files changed:
admin/cli/generate_key.php
admin/cli/mysql_collation.php
admin/cli/mysql_compressed_rows.php
admin/environment.xml
admin/tool/brickfield/LICENSE_QUAIL.txt [new file with mode: 0644]
admin/tool/brickfield/README.md [new file with mode: 0644]
admin/tool/brickfield/classes/accessibility.php [new file with mode: 0644]
admin/tool/brickfield/classes/analysis.php [new file with mode: 0644]
admin/tool/brickfield/classes/area_base.php [new file with mode: 0644]
admin/tool/brickfield/classes/brickfieldconnect.php [new file with mode: 0644]
admin/tool/brickfield/classes/event/analysis_requested.php [new file with mode: 0644]
admin/tool/brickfield/classes/event/report_downloaded.php [new file with mode: 0644]
admin/tool/brickfield/classes/event/report_viewed.php [new file with mode: 0644]
admin/tool/brickfield/classes/eventobservers.php [new file with mode: 0644]
admin/tool/brickfield/classes/form/registration_form.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/core_course/base.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/core_course/category_base.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/core_course/category_description.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/core_course/category_name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/core_course/fullname.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/core_course/sectionname.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/core_course/sectionsummary.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/core_course/shortname.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/core_course/summary.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/core_question/answerbase.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/core_question/base.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/core_question/generalfeedback.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/core_question/questionanswers.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/core_question/questionfeedback.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/core_question/questionname.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/core_question/questiontext.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_assign/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_assign/name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_book/base.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_book/chaptercontent.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_book/chaptertitle.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_book/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_book/name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_chat/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_chat/name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_choice/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_choice/name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_choice/option.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_data/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_data/name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_feedback/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_feedback/name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_folder/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_folder/name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_forum/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_forum/name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_glossary/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_glossary/name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_imscp/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_imscp/name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_label/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_lesson/answer_answer.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_lesson/answer_base.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_lesson/answer_response.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_lesson/base.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_lesson/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_lesson/name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_lesson/page_base.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_lesson/pagecontent.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_lesson/pagetitle.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_lti/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_lti/name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_page/content.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_page/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_page/name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_quiz/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_quiz/name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_resource/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_resource/name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_scorm/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_scorm/name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_survey/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_survey/name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_url/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_url/name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_wiki/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_wiki/name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_workshop/intro.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/mod_workshop/name.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/areas/module_area_base.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/brickfield_accessibility.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/brickfield_accessibility_guideline.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/brickfield_accessibility_report_item.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/brickfield_accessibility_reporter.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/body_color_contrast.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/body_wai_ert_color_contrast.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/brickfield_accessibility_color_test.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/brickfield_accessibility_css.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/brickfield_accessibility_dom_element.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/brickfield_accessibility_header_test.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/brickfield_accessibility_table_test.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/brickfield_accessibility_tag_test.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/brickfield_accessibility_test.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/a_links_dont_open_new_window.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/a_must_contain_text.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/a_suspicious_link_text.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/area_dont_open_new_window.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/area_has_alt_value.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/basefont_is_not_used.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/blink_is_not_used.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/bold_is_not_used.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/content_too_long.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/css_text_has_contrast.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/embed_has_associated_no_embed.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/header_h3.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/headers_have_text.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/i_is_not_used.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/img_alt_is_different.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/img_alt_is_too_long.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/img_alt_not_empty_in_anchor.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/img_alt_not_place_holder.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/img_has_alt.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/img_with_map_has_use_map.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/legend_text_not_empty.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/marquee_is_not_used.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/no_headings.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/object_must_have_embed.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/object_must_have_title.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/object_must_have_valid_title.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/strike_is_not_used.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/table_data_should_have_th.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/table_summary_does_not_duplicate_caption.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/table_td_should_not_merge.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/checks/table_th_should_have_scope.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/html_elements.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/input_has_label.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/common/input_tab_index.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/guidelines/brickfield_guideline.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/guidelines/brickfield_textonly_guideline.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/guidelines/translations/en.txt [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/reporters/report_array.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/reporters/report_codehighlight.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/reporters/report_demo.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/reporters/report_static.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/htmlchecker/reporters/report_xml.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/tool/activityresults.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/tool/advanced.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/tool/bfpdf.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/tool/checktyperesults.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/tool/errors.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/tool/filter.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/tool/printable.php [new file with mode: 0644]
admin/tool/brickfield/classes/local/tool/tool.php [new file with mode: 0644]
admin/tool/brickfield/classes/manager.php [new file with mode: 0644]
admin/tool/brickfield/classes/output/activityresults/renderer.php [new file with mode: 0644]
admin/tool/brickfield/classes/output/advanced/renderer.php [new file with mode: 0644]
admin/tool/brickfield/classes/output/checktyperesults/renderer.php [new file with mode: 0644]
admin/tool/brickfield/classes/output/errors/renderer.php [new file with mode: 0644]
admin/tool/brickfield/classes/output/printable/renderer.php [new file with mode: 0644]
admin/tool/brickfield/classes/output/renderer.php [new file with mode: 0644]
admin/tool/brickfield/classes/privacy/provider.php [new file with mode: 0644]
admin/tool/brickfield/classes/registration.php [new file with mode: 0644]
admin/tool/brickfield/classes/scheduler.php [new file with mode: 0644]
admin/tool/brickfield/classes/sitedata.php [new file with mode: 0644]
admin/tool/brickfield/classes/task/bulk_process_caches.php [new file with mode: 0644]
admin/tool/brickfield/classes/task/bulk_process_courses.php [new file with mode: 0644]
admin/tool/brickfield/classes/task/checkid_validation.php [new file with mode: 0644]
admin/tool/brickfield/classes/task/process_analysis_requests.php [new file with mode: 0644]
admin/tool/brickfield/classes/task/update_summarydata.php [new file with mode: 0644]
admin/tool/brickfield/db/access.php [new file with mode: 0644]
admin/tool/brickfield/db/events.php [new file with mode: 0644]
admin/tool/brickfield/db/install.php [new file with mode: 0644]
admin/tool/brickfield/db/install.xml [new file with mode: 0644]
admin/tool/brickfield/db/tasks.php [new file with mode: 0644]
admin/tool/brickfield/db/uninstall.php [new file with mode: 0644]
admin/tool/brickfield/index.php [new file with mode: 0644]
admin/tool/brickfield/json/checks.json [new file with mode: 0644]
admin/tool/brickfield/lang/en/tool_brickfield.php [new file with mode: 0644]
admin/tool/brickfield/lib.php [new file with mode: 0644]
admin/tool/brickfield/pix/b/pdfdown.svg [new file with mode: 0644]
admin/tool/brickfield/pix/brickfield-logo-medium.png [new file with mode: 0644]
admin/tool/brickfield/pix/brickfield-logo-small.png [new file with mode: 0644]
admin/tool/brickfield/pix/brickfield-logo.png [new file with mode: 0644]
admin/tool/brickfield/pix/i/Brickfield-logo-black.png [new file with mode: 0644]
admin/tool/brickfield/pix/i/Brickfield-logo-white.png [new file with mode: 0644]
admin/tool/brickfield/pix/i/analytics-custom.png [new file with mode: 0644]
admin/tool/brickfield/pix/i/brickfield_logo.jpeg [new file with mode: 0644]
admin/tool/brickfield/pix/i/chart-network-custom.png [new file with mode: 0644]
admin/tool/brickfield/pix/i/edit-custom.png [new file with mode: 0644]
admin/tool/brickfield/pix/i/file-edit-custom.png [new file with mode: 0644]
admin/tool/brickfield/pix/i/hands-helping-custom.png [new file with mode: 0644]
admin/tool/brickfield/pix/i/lightbulb-custom.png [new file with mode: 0644]
admin/tool/brickfield/pix/i/search-plus-custom.png [new file with mode: 0644]
admin/tool/brickfield/pix/i/tools-custom.png [new file with mode: 0644]
admin/tool/brickfield/pix/i/wand-magic-custom.png [new file with mode: 0644]
admin/tool/brickfield/pix/moodle-logo.png [new file with mode: 0644]
admin/tool/brickfield/pix/pdf/check-square-regular.svg [new file with mode: 0644]
admin/tool/brickfield/pix/pdf/font-solid.svg [new file with mode: 0644]
admin/tool/brickfield/pix/pdf/image-regular.svg [new file with mode: 0644]
admin/tool/brickfield/pix/pdf/link.png [new file with mode: 0644]
admin/tool/brickfield/pix/pdf/logo-black.png [new file with mode: 0644]
admin/tool/brickfield/pix/pdf/play-circle-regular.svg [new file with mode: 0644]
admin/tool/brickfield/pix/pdf/table-solid.svg [new file with mode: 0644]
admin/tool/brickfield/pix/pdf/tachometer-alt-solid.svg [new file with mode: 0644]
admin/tool/brickfield/pix/pdf/th-large-solid.svg [new file with mode: 0644]
admin/tool/brickfield/pix/pdf/times-circle-regular.svg [new file with mode: 0644]
admin/tool/brickfield/registration.php [new file with mode: 0644]
admin/tool/brickfield/settings.php [new file with mode: 0644]
admin/tool/brickfield/styles.css [new file with mode: 0644]
admin/tool/brickfield/templates/advanced.mustache [new file with mode: 0644]
admin/tool/brickfield/templates/chartsingle.mustache [new file with mode: 0644]
admin/tool/brickfield/templates/errors.mustache [new file with mode: 0644]
admin/tool/brickfield/templates/norecords.mustache [new file with mode: 0644]
admin/tool/brickfield/templates/tabtree.mustache [new file with mode: 0644]
admin/tool/brickfield/tests/accessibility_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/activityresults_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/area_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/behat/accessresults.feature [new file with mode: 0644]
admin/tool/brickfield/tests/checktyperesults_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/errors_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/filters_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/generator/mock_brickfieldconnect.php [new file with mode: 0644]
admin/tool/brickfield/tests/generator/mock_registration.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/areas/core_question/questionanswers_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/areas/core_question/questiontext_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/a_links_dont_open_new_window_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/a_must_contain_text_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/a_suspicious_link_text_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/all_checks.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/area_dont_open_new_window_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/area_has_alt_value_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/basefont_is_not_used_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/blink_is_not_used_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/bold_is_not_used_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/content_too_long_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/css_text_has_contrast_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/embed_has_associated_no_embed_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/header_h3_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/headers_have_text_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/i_is_not_used_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/img_alt_is_different_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/img_alt_is_too_long_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/img_alt_not_empty_in_anchor_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/img_alt_not_place_holder_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/img_has_alt_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/img_with_map_has_use_map_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/legend_text_not_empty_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/marquee_is_not_used.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/no_headings_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/object_must_have_embed_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/object_must_have_title_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/object_must_have_valid_title_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/strike_is_not_used_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/table_data_should_have_th_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/table_summary_does_not_duplicate_caption_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/table_td_should_not_merge_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/local/htmlchecker/common/checks/table_th_should_have_scope_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/manager_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/printable_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/registration_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/scheduler_test.php [new file with mode: 0644]
admin/tool/brickfield/tests/tool_test.php [new file with mode: 0644]
admin/tool/brickfield/version.php [new file with mode: 0644]
admin/tool/dataprivacy/lang/en/tool_dataprivacy.php
admin/tool/mobile/lib.php
admin/tool/oauth2/lang/en/tool_oauth2.php
admin/tool/usertours/classes/manager.php
admin/tool/usertours/db/upgrade.php
admin/tool/usertours/tours/.empty [deleted file]
admin/tool/usertours/tours/311_activity_information_activity_page_student.json [new file with mode: 0644]
admin/tool/usertours/tours/311_activity_information_activity_page_teacher.json [new file with mode: 0644]
admin/tool/usertours/tours/311_activity_information_course_page_student.json [new file with mode: 0644]
admin/tool/usertours/tours/311_activity_information_course_page_teacher.json [new file with mode: 0644]
admin/tool/usertours/version.php
auth/db/lang/en/auth_db.php
auth/ldap/lang/en/auth_ldap.php
auth/mnet/auth.php
availability/yui/build/moodle-core_availability-form/moodle-core_availability-form-debug.js
availability/yui/build/moodle-core_availability-form/moodle-core_availability-form-min.js
availability/yui/build/moodle-core_availability-form/moodle-core_availability-form.js
availability/yui/src/form/js/form.js
blocks/accessreview/amd/build/module.min.js [new file with mode: 0644]
blocks/accessreview/amd/build/module.min.js.map [new file with mode: 0644]
blocks/accessreview/amd/src/module.js [new file with mode: 0644]
blocks/accessreview/block_accessreview.php [new file with mode: 0644]
blocks/accessreview/classes/external/get_module_data.php [new file with mode: 0644]
blocks/accessreview/classes/external/get_section_data.php [new file with mode: 0644]
blocks/accessreview/classes/privacy/provider.php [new file with mode: 0644]
blocks/accessreview/db/access.php [new file with mode: 0644]
blocks/accessreview/db/services.php [new file with mode: 0644]
blocks/accessreview/lang/en/block_accessreview.php [new file with mode: 0644]
blocks/accessreview/lib.php [new file with mode: 0644]
blocks/accessreview/pix/t/fail.png [new file with mode: 0644]
blocks/accessreview/pix/t/fail.svg [new file with mode: 0644]
blocks/accessreview/pix/t/pass.png [new file with mode: 0644]
blocks/accessreview/pix/t/pass.svg [new file with mode: 0644]
blocks/accessreview/settings.php [new file with mode: 0644]
blocks/accessreview/styles.css [new file with mode: 0644]
blocks/accessreview/templates/status.mustache [new file with mode: 0644]
blocks/accessreview/tests/accessibility_review_test.php [new file with mode: 0644]
blocks/accessreview/tests/accessreview.feature [new file with mode: 0644]
blocks/accessreview/tests/accessreview_results.feature [new file with mode: 0644]
blocks/accessreview/tests/behat/accessreview.feature [new file with mode: 0644]
blocks/accessreview/tests/behat/accessreview_results.feature [new file with mode: 0644]
blocks/accessreview/version.php [new file with mode: 0644]
blocks/online_users/lang/en/block_online_users.php
blocks/online_users/tests/behat/block_online_users_frontpage.feature
blocks/tag_youtube/edit_form.php
calendar/classes/local/event/factories/event_abstract_factory.php
calendar/tests/helpers.php
competency/classes/course_competency.php
completion/tests/behat/custom_completion_display_conditions.feature
course/classes/analytics/target/no_recent_accesses.php
course/classes/output/activity_information.php
course/classes/output/cm_format.php
course/moodleform_mod.php
filter/displayh5p/tests/behat/h5p_filter.feature
grade/report/user/tests/behat/view_usereport.feature
grade/templates/grades/grader/gradingpanel/point.mustache
grade/templates/grades/grader/gradingpanel/scale.mustache
h5p/classes/helper.php
h5p/h5plib/v124/joubel/core/fonts/h5p-core-23.eot
h5p/h5plib/v124/joubel/core/fonts/h5p-core-23.svg
h5p/h5plib/v124/joubel/core/fonts/h5p-core-23.ttf
h5p/h5plib/v124/joubel/core/fonts/h5p-core-23.woff
h5p/h5plib/v124/joubel/core/h5p-metadata.class.php
h5p/h5plib/v124/joubel/core/h5p.classes.php
h5p/h5plib/v124/joubel/core/js/h5p.js
h5p/h5plib/v124/joubel/core/readme_moodle.txt
h5p/h5plib/v124/joubel/core/styles/h5p.css
h5p/h5plib/v124/thirdpartylibs.xml
h5p/tests/helper_test.php
h5p/upgrade.txt
lang/en/admin.php
lang/en/completion.php
lang/en/error.php
lang/en/h5p.php
lang/en/hub.php
lang/en/moodle.php
lib/classes/encryption.php
lib/classes/hub/site_registration_form.php
lib/classes/plugin_manager.php
lib/excellib.class.php
lib/filelib.php
lib/filestorage/file_storage.php
lib/filestorage/tests/zip_packer_test.php
lib/filestorage/zip_packer.php
lib/form/defaultcustom.php
lib/google/curlio.php
lib/moodlelib.php
lib/phpspreadsheet/readme_moodle.txt
lib/phpspreadsheet/vendor/composer/autoload_files.php
lib/phpspreadsheet/vendor/composer/autoload_namespaces.php
lib/phpspreadsheet/vendor/composer/autoload_static.php
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/CREDITS [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/LICENSE [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/README.md [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/VERSION [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/composer.json [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier.auto.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier.autoload-legacy.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier.autoload.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier.composer.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier.func.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier.includes.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier.kses.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier.path.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier.safe-includes.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Arborize.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrCollections.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/AlphaValue.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Background.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/BackgroundPosition.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Border.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Color.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Composite.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/DenyElementDecorator.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Filter.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Font.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/FontFamily.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Ident.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/ImportantDecorator.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Length.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/ListStyle.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Multiple.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Number.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Percentage.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/TextDecoration.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/URI.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/Clone.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/Enum.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Bool.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Class.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Color.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/FrameTarget.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/ID.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Length.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/LinkTypes.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/MultiLength.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Nmtokens.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Pixels.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/Integer.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/Lang.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/Switch.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/Text.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI/Email.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI/Email/SimpleCheck.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI/Host.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI/IPv4.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI/IPv6.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/Background.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/BdoDir.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/BgColor.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/BoolToCSS.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/Border.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/EnumToCSS.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/ImgRequired.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/ImgSpace.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/Input.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/Lang.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/Length.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/Name.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/NameSync.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/Nofollow.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/SafeEmbed.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/SafeObject.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/SafeParam.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/ScriptRequired.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/TargetBlank.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/TargetNoopener.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/TargetNoreferrer.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/Textarea.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTypes.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrValidator.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Bootstrap.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/CSSDefinition.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Chameleon.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Custom.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Empty.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/List.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Optional.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Required.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/StrictBlockquote.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Table.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Config.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/Builder/ConfigSchema.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/Builder/Xml.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/Exception.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/Interchange.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/Interchange/Directive.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/Interchange/Id.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/InterchangeBuilder.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/Validator.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/ValidatorAtom.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema.ser [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedClasses.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedFrameTargets.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRel.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRev.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.ClassUseCDATA.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultImageAlt.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImage.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImageAlt.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultTextDir.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.EnableID.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.ForbiddenClasses.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.ID.HTML5.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklist.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklistRegexp.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefix.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefixLocal.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.AutoParagraph.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.Custom.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.DisplayLinkURI.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.Linkify.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.DocURL.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.Predicate.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.RemoveNbsp.Exceptions.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.RemoveNbsp.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveSpansWithoutAttributes.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowDuplicates.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowImportant.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowTricky.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowedFonts.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowedProperties.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.DefinitionRev.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.ForbiddenProperties.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.MaxImgLength.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.Proprietary.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.Trusted.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Cache.DefinitionImpl.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPath.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPermissions.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.AggressivelyFixLt.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.AggressivelyRemoveScript.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.AllowHostnameUnderscore.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.AllowParseManyTags.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.CollectErrors.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.ColorKeywords.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.ConvertDocumentToFragment.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.DirectLexLineNumberSyncInterval.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.DisableExcludes.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.EnableIDNA.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.Encoding.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidChildren.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidTags.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeNonASCIICharacters.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.HiddenElements.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.Language.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.LegacyEntityDecoder.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.LexerImpl.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.MaintainLineNumbers.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.NormalizeNewlines.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveInvalidImg.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveProcessingInstructions.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveScriptContents.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.Custom.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Escaping.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Scope.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.TidyImpl.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.YouTube.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedAttributes.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedComments.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedCommentsRegexp.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedElements.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedModules.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Attr.Name.UseCDATA.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.BlockWrapper.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.CoreModules.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.CustomDoctype.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionID.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionRev.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Doctype.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.FlashAllowFullScreen.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenAttributes.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenElements.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Forms.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.MaxImgLength.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Nofollow.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Parent.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Proprietary.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeEmbed.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeIframe.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeObject.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeScripting.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Strict.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TargetBlank.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TargetNoopener.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TargetNoreferrer.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyAdd.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyLevel.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyRemove.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Trusted.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.XHTML.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Output.CommentScriptContents.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Output.FixInnerHTML.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Output.FlashCompat.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Output.Newline.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Output.SortAttr.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Output.TidyFormat.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Test.ForceNoIconv.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.AllowedSchemes.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.Base.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DefaultScheme.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DefinitionID.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DefinitionRev.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.Disable.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DisableExternal.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DisableExternalResources.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DisableResources.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.Host.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.HostBlacklist.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.MakeAbsolute.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.Munge.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.MungeResources.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.MungeSecretKey.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.OverrideAllowedSchemes.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.SafeIframeRegexp.txt [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/info.ini [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ContentSets.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Context.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Definition.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Decorator.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Decorator/Cleanup.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Decorator/Memory.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Decorator/Template.php.in [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Null.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer/README [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCacheFactory.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Doctype.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DoctypeRegistry.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ElementDef.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Encoder.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/EntityLookup.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/EntityLookup/entities.ser [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/EntityParser.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ErrorCollector.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/ErrorStruct.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Exception.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Filter.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Filter/ExtractStyleBlocks.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Filter/YouTube.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Generator.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Bdo.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/CommonAttributes.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Edit.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Forms.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Hypertext.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Iframe.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Image.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Legacy.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/List.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Name.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Nofollow.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/NonXMLCommonAttributes.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Object.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Presentation.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Proprietary.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Ruby.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/SafeEmbed.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/SafeObject.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/SafeScripting.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Scripting.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/StyleAttribute.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Tables.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Target.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/TargetBlank.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/TargetNoopener.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/TargetNoreferrer.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Text.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Tidy.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Tidy/Name.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Tidy/Proprietary.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Tidy/Strict.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Tidy/Transitional.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Tidy/XHTML.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Tidy/XHTMLAndHTML4.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/XMLCommonAttributes.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModuleManager.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/IDAccumulator.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Injector.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Injector/AutoParagraph.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Injector/DisplayLinkURI.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Injector/Linkify.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Injector/PurifierLinkify.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Injector/RemoveEmpty.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Injector/RemoveSpansWithoutAttributes.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Injector/SafeObject.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Language.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Language/messages/en.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/LanguageFactory.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Length.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer/DOMLex.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer/DirectLex.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer/PH5P.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Node.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Node/Comment.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Node/Element.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Node/Text.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/PercentEncoder.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/CSSDefinition.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/ConfigForm.css [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/ConfigForm.js [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/ConfigForm.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/HTMLDefinition.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/PropertyList.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/PropertyListIterator.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Queue.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/Composite.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/Core.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/FixNesting.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/MakeWellFormed.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/RemoveForeignElements.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/ValidateAttributes.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/StringHash.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/StringHashParser.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/TagTransform.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/TagTransform/Font.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/TagTransform/Simple.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Token.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Token/Comment.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Token/Empty.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Token/End.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Token/Start.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Token/Tag.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Token/Text.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/TokenFactory.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URI.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIDefinition.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIFilter.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIFilter/DisableExternal.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIFilter/DisableExternalResources.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIFilter/DisableResources.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIFilter/HostBlacklist.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIFilter/MakeAbsolute.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIFilter/Munge.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIFilter/SafeIframe.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIParser.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/data.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/file.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/ftp.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/http.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/https.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/mailto.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/news.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/nntp.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/tel.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/URISchemeRegistry.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/UnitConverter.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParser.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParser/Flexible.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParser/Native.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParserException.php [deleted file]
lib/phpspreadsheet/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Zipper.php [deleted file]
lib/phpspreadsheet/vendor/symfony/polyfill-mbstring/LICENSE [deleted file]
lib/phpspreadsheet/vendor/symfony/polyfill-mbstring/Mbstring.php [deleted file]
lib/phpspreadsheet/vendor/symfony/polyfill-mbstring/README.md [deleted file]
lib/phpspreadsheet/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php [deleted file]
lib/phpspreadsheet/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php [deleted file]
lib/phpspreadsheet/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php [deleted file]
lib/phpspreadsheet/vendor/symfony/polyfill-mbstring/bootstrap.php [deleted file]
lib/phpspreadsheet/vendor/symfony/polyfill-mbstring/bootstrap80.php [deleted file]
lib/phpspreadsheet/vendor/symfony/polyfill-mbstring/composer.json [deleted file]
lib/templates/block.mustache
lib/tests/behat/datetime_any.feature
lib/tests/filelib_test.php
lib/tests/googlelib_test.php [new file with mode: 0644]
lib/tests/moodlelib_test.php
lib/tests/navigation/views/secondary_test.php
lib/upgrade.txt
mod/assign/externallib.php
mod/assign/feedback/editpdf/tests/behat/view_previous_annotations.feature
mod/assign/lang/en/assign.php
mod/assign/lib.php
mod/assign/tests/behat/allow_another_attempt.feature
mod/assign/tests/behat/assign_activity_completion.feature
mod/assign/tests/behat/assign_group_override.feature
mod/assign/tests/behat/assign_user_override.feature
mod/assign/tests/behat/edit_previous_feedback.feature
mod/assign/tests/behat/grading_status.feature
mod/assign/tests/behat/group_submission.feature
mod/assign/tests/behat/relative_dates.feature
mod/assign/tests/behat/reopen_locked_submission.feature
mod/assign/tests/behat/set_availability.feature
mod/assign/tests/externallib_test.php
mod/book/tests/behat/book_activity_completion.feature
mod/chat/tests/behat/chat_activity_completion.feature
mod/data/import.php
mod/data/import_form.php
mod/data/templates.php
mod/data/tests/behat/data_activity_completion.feature
mod/feedback/tests/behat/feedback_activity_completion.feature
mod/folder/tests/behat/folder_activity_completion.feature
mod/forum/export.php
mod/forum/templates/local/grades/view_grade.mustache
mod/forum/tests/behat/forum_activity_completion.feature
mod/forum/user.php
mod/glossary/classes/admin_setting_display_formats.php [new file with mode: 0644]
mod/glossary/formats.php
mod/glossary/lib.php
mod/glossary/settings.php
mod/glossary/tests/behat/glossary_activity_completion.feature
mod/h5pactivity/tests/behat/h5pactivity_completion.feature
mod/imscp/tests/behat/imscp_activity_completion.feature
mod/label/tests/behat/label_activity_completion.feature
mod/lesson/lang/en/lesson.php
mod/lesson/tests/behat/date_availability.feature
mod/lesson/tests/behat/lesson_activity_completion.feature
mod/lesson/tests/behat/lesson_group_override.feature
mod/lesson/tests/behat/lesson_review.feature
mod/lesson/tests/behat/lesson_user_override.feature
mod/lesson/tests/behat/wrong_answer_continue.feature
mod/lti/auth.php
mod/lti/lang/en/lti.php
mod/lti/tests/behat/lti_activity_completion.feature
mod/page/tests/behat/page_activity_completion.feature
mod/quiz/accessrule/seb/rule.php
mod/quiz/classes/external.php
mod/quiz/lib.php
mod/quiz/renderer.php
mod/quiz/report/grading/report.php
mod/quiz/report/overview/report.php
mod/quiz/tests/external_test.php
mod/quiz/upgrade.txt
mod/resource/tests/behat/resource_activity_completion.feature
mod/scorm/tests/behat/scorm_activity_completion.feature
mod/url/tests/behat/url_activity_completion.feature
mod/wiki/lang/en/wiki.php
mod/wiki/tests/behat/wiki_activity_completion.feature
mod/workshop/tests/behat/workshop_activity_completion.feature
pix/i/rsssitelogo.png
question/type/essay/lang/en/qtype_essay.php
question/type/essay/tests/behat/edit_min_max_fields.feature
report/competency/classes/output/user_course_navigation.php
report/competency/index.php
report/competency/tests/behat/breakdown_by_activity.feature
report/completion/index.php
report/completion/tests/behat/completion_report.feature [new file with mode: 0644]
report/log/classes/renderable.php
report/log/classes/table_log.php
report/log/tests/behat/filter_log.feature
report/log/tests/behat/user_log.feature
report/loglive/classes/table_log.php
report/loglive/tests/behat/loglive_report.feature
report/progress/index.php
report/progress/tests/behat/activity_completion_report.feature
repository/filepicker.php
repository/flickr/lib.php
repository/lib.php
repository/repository_ajax.php
repository/upload/lib.php
user/profile/field/social/lang/en/profilefield_social.php
user/profile/field/social/tests/behat/social_profile_field.feature
user/tests/behat/custom_profile_fields.feature
version.php

index 28fd0af..9d5e8e5 100644 (file)
@@ -39,6 +39,8 @@ if ($unrecognized) {
     cli_error(get_string('cliunknowoption', 'admin', $unrecognized));
 }
 
+// TODO: MDL-71421 - Remove the openssl alternative once sodium becomes a requirement in Moodle 4.2.
+
 if ($options['help']) {
     echo "Generate secure key
 
index ba8a49e..591f81e 100644 (file)
@@ -119,7 +119,7 @@ if (!empty($options['collation'])) {
     if ($dbcollation->value !== $collation || $dbcharset->value !== $charset) {
         // Try to convert the DB.
         echo "Converting database to '$collation' for $CFG->wwwroot:\n";
-        $sql = "ALTER DATABASE $CFG->dbname DEFAULT CHARACTER SET $charset DEFAULT COLLATE = $collation";
+        $sql = "ALTER DATABASE `$CFG->dbname` DEFAULT CHARACTER SET $charset DEFAULT COLLATE = $collation";
         try {
             $DB->change_database_structure($sql);
         } catch (exception $e) {
@@ -146,7 +146,7 @@ if (!empty($options['collation'])) {
 
         } else {
             try {
-                $DB->change_database_structure("ALTER TABLE $table->name CONVERT TO CHARACTER SET $charset COLLATE $collation");
+                $DB->change_database_structure("ALTER TABLE `$table->name` CONVERT TO CHARACTER SET $charset COLLATE $collation");
                 echo "CONVERTED\n";
                 $converted++;
             } catch (ddl_exception $e) {
@@ -163,7 +163,7 @@ if (!empty($options['collation'])) {
             }
         }
 
-        $sql = "SHOW FULL COLUMNS FROM $table->name WHERE collation IS NOT NULL";
+        $sql = "SHOW FULL COLUMNS FROM `$table->name` WHERE collation IS NOT NULL";
         $rs2 = $DB->get_recordset_sql($sql);
         foreach ($rs2 as $column) {
             $column = (object)array_change_key_case((array)$column, CASE_LOWER);
@@ -181,7 +181,7 @@ if (!empty($options['collation'])) {
                 $notnull = ($column->null === 'NO') ? 'NOT NULL' : 'NULL';
                 $default = (!is_null($column->default) and $column->default !== '') ? "DEFAULT '$column->default'" : '';
                 // primary, unique and inc are not supported for texts
-                $sql = "ALTER TABLE $table->name
+                $sql = "ALTER TABLE `$table->name`
                         MODIFY COLUMN $column->field $column->type
                         CHARACTER SET $charset
                         COLLATE $collation $notnull $default";
@@ -192,11 +192,11 @@ if (!empty($options['collation'])) {
                 $default = !is_null($column->default) ? "DEFAULT '$column->default'" : '';
 
                 if ($rowformat != '') {
-                    $sql = "ALTER TABLE $table->name $rowformat";
+                    $sql = "ALTER TABLE `$table->name` $rowformat";
                     $DB->change_database_structure($sql);
                 }
 
-                $sql = "ALTER TABLE $table->name
+                $sql = "ALTER TABLE `$table->name`
                         MODIFY COLUMN $column->field $column->type
                         CHARACTER SET $charset
                         COLLATE $collation $notnull $default";
@@ -315,8 +315,8 @@ function mysql_set_row_format($tablename, $charset, $collation, $engine) {
         if ($rs->row_format == 'Compact' || $rs->row_format == 'Redundant') {
             $rowformat = $DB->get_row_format_sql($engine, $collation);
             // Try to convert to compressed format and then try updating the collation again.
-            $DB->change_database_structure("ALTER TABLE $tablename $rowformat");
-            $DB->change_database_structure("ALTER TABLE $tablename CONVERT TO CHARACTER SET $charset COLLATE $collation");
+            $DB->change_database_structure("ALTER TABLE `$tablename` $rowformat");
+            $DB->change_database_structure("ALTER TABLE `$tablename` CONVERT TO CHARACTER SET $charset COLLATE $collation");
         } else {
             // Row format may not be the problem. Can not diagnose problem. Send fail reply.
             return false;
index e90060c..d9d4211 100644 (file)
@@ -158,7 +158,7 @@ if (!empty($options['info'])) {
     }
 
     foreach ($fixtables as $table) {
-        $DB->change_database_structure("ALTER TABLE {$prefix}$table ROW_FORMAT=Compressed");
+        $DB->change_database_structure("ALTER TABLE `{$prefix}$table` ROW_FORMAT=Compressed");
         echo str_pad($prefix . $table, 32, ' ', STR_PAD_RIGHT) . " ... Compressed\n";
     }
 
@@ -189,7 +189,7 @@ if (!empty($options['info'])) {
     echo "SET GLOBAL innodb_file_per_table=1;\n";
     echo "SET GLOBAL innodb_file_format=Barracuda;\n";
     foreach ($fixtables as $table) {
-        echo "ALTER TABLE {$prefix}$table ROW_FORMAT=Compressed;\n";
+        echo "ALTER TABLE `{$prefix}$table` ROW_FORMAT=Compressed;\n";
     }
     echo "\n";
     exit(0);
index 495db2b..6f2e8a3 100644 (file)
       </PHP_EXTENSION>
       <PHP_EXTENSION name="hash" level="required"/>
       <PHP_EXTENSION name="fileinfo" level="required"/>
-      <PHP_EXTENSION name="sodium" level="required"/>
+      <PHP_EXTENSION name="sodium" level="optional"/>
     </PHP_EXTENSIONS>
     <PHP_SETTINGS>
       <PHP_SETTING name="memory_limit" value="96M" level="required">
diff --git a/admin/tool/brickfield/LICENSE_QUAIL.txt b/admin/tool/brickfield/LICENSE_QUAIL.txt
new file mode 100644 (file)
index 0000000..0133494
--- /dev/null
@@ -0,0 +1,219 @@
+PLEASE NOTE:
+
+There are included libraries in the directory quail/common/services which might have different (but compatible) licenses than the one covered in this file. Current licenses include:
+    *The current BSD:
+        *services/readability/php-text-statistics
+    *The MIT License:
+        *common/css.php The function parseSelector is from the PHPQuery project:
+            *http://code.google.com/p/phpquery
+
+GNU GENERAL PUBLIC LICENSE
+
+Version 3, 29 June 2007
+
+Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
+
+Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
+Preamble
+
+The GNU General Public License is a free, copyleft license for software and other kinds of works.
+
+The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.
+
+When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
+
+To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.
+
+For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
+
+Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.
+
+For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.
+
+Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.
+
+Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.
+
+The precise terms and conditions for copying, distribution and modification follow.
+TERMS AND CONDITIONS
+0. Definitions.
+
+ÒThis LicenseÓ refers to version 3 of the GNU General Public License.
+
+ÒCopyrightÓ also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
+
+ÒThe ProgramÓ refers to any copyrightable work licensed under this License. Each licensee is addressed as ÒyouÓ. ÒLicenseesÓ and ÒrecipientsÓ may be individuals or organizations.
+
+To ÒmodifyÓ a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a Òmodified versionÓ of the earlier work or a work Òbased onÓ the earlier work.
+
+A Òcovered workÓ means either the unmodified Program or a work based on the Program.
+
+To ÒpropagateÓ a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
+
+To ÒconveyÓ a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
+
+An interactive user interface displays ÒAppropriate Legal NoticesÓ to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
+1. Source Code.
+
+The Òsource codeÓ for a work means the preferred form of the work for making modifications to it. ÒObject codeÓ means any non-source form of a work.
+
+A ÒStandard InterfaceÓ means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
+
+The ÒSystem LibrariesÓ of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A ÒMajor ComponentÓ, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
+
+The ÒCorresponding SourceÓ for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.
+
+The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
+
+The Corresponding Source for a work in source code form is that same work.
+2. Basic Permissions.
+
+All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
+
+You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
+
+Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
+3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
+
+When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
+4. Conveying Verbatim Copies.
+
+You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
+
+You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
+5. Conveying Modified Source Versions.
+
+You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
+
+    * a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
+    * b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to Òkeep intact all noticesÓ.
+    * c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
+    * d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
+
+A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an ÒaggregateÓ if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
+6. Conveying Non-Source Forms.
+
+You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
+
+    * a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
+    * b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
+    * c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
+    * d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
+    * e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
+
+A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
+
+A ÒUser ProductÓ is either (1) a Òconsumer productÓ, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, Ònormally usedÓ refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
+
+ÒInstallation InformationÓ for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
+
+If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
+
+The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
+
+Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
+7. Additional Terms.
+
+ÒAdditional permissionsÓ are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
+
+When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
+
+Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
+
+    * a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
+    * b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
+    * c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
+    * d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
+    * e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
+    * f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
+
+All other non-permissive additional terms are considered Òfurther restrictionsÓ within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
+
+If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
+
+Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
+8. Termination.
+
+You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
+
+However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
+
+Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
+
+Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
+9. Acceptance Not Required for Having Copies.
+
+You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
+10. Automatic Licensing of Downstream Recipients.
+
+Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
+
+An Òentity transactionÓ is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
+
+You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
+11. Patents.
+
+A ÒcontributorÓ is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's Òcontributor versionÓ.
+
+A contributor's Òessential patent claimsÓ are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, ÒcontrolÓ includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
+
+Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
+
+In the following three paragraphs, a Òpatent licenseÓ is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To ÒgrantÓ such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
+
+If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. ÒKnowingly relyingÓ means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
+
+If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
+
+A patent license is ÒdiscriminatoryÓ if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
+
+Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
+12. No Surrender of Others' Freedom.
+
+If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
+13. Use with the GNU Affero General Public License.
+
+Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.
+14. Revised Versions of this License.
+
+The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License Òor any later versionÓ applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.
+
+If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
+
+Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
+15. Disclaimer of Warranty.
+
+THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM ÒAS ISÓ WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+16. Limitation of Liability.
+
+IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+17. Interpretation of Sections 15 and 16.
+
+If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
+
+END OF TERMS AND CONDITIONS FOR QUAIL LIBRARY
+
+
+THE FOLLOWING LICENSE COVERS PORTIONS OF THE FILE LOCATED AT common/css.php, NAMELY THE FUNCTION parseSelector:
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
\ No newline at end of file
diff --git a/admin/tool/brickfield/README.md b/admin/tool/brickfield/README.md
new file mode 100644 (file)
index 0000000..d95a329
--- /dev/null
@@ -0,0 +1,7 @@
+# Accessibility plugin #
+
+The Accessibility admin tool plugin provides a simple means of checking content for any accessibility issues.
+
+Portions of the htmlchecker files were derived from the ["Quail PHP Accessibility Library"](https://code.google.com/archive/p/quail-lib/).
+The Quail library (Copyright (C) 2009 Kevin Miller) is licensed under [GNU GPL v3](http://www.gnu.org/licenses/gpl.html).
+See the LICENSE_QUAIL.txt file in this directory for original Quail license information.
diff --git a/admin/tool/brickfield/classes/accessibility.php b/admin/tool/brickfield/classes/accessibility.php
new file mode 100644 (file)
index 0000000..658a376
--- /dev/null
@@ -0,0 +1,576 @@
+<?php
+// This file is part of Moodle - http://moodle.org/
+//
+// Moodle is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Moodle is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
+
+namespace tool_brickfield;
+
+use context_system;
+use moodle_exception;
+use moodle_url;
+use stdClass;
+use tool_brickfield\local\tool\filter;
+
+/**
+ * Provides the Brickfield Accessibility toolkit API.
+ *
+ * @package    tool_brickfield
+ * @copyright  2020 onward Brickfield Education Labs Ltd, https://www.brickfield.ie
+ * @author     Mike Churchward (mike@brickfieldlabs.ie)
+ * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+class accessibility {
+
+    /** @var string The component sub path */
+    private static $pluginpath = 'tool/brickfield';
+
+    /** @var string Supported format of topics */
+    const TOOL_BRICKFIELD_FORMAT_TOPIC = 'topics';
+
+    /** @var string Supported format of weeks */
+    const TOOL_BRICKFIELD_FORMAT_WEEKLY = 'weeks';
+
+    /**
+     * Return the state of the site enable condition.
+     * @return bool
+     */
+    public static function is_accessibility_enabled(): bool {
+        global $CFG;
+
+        if (isset($CFG->enableaccessibilitytools)) {
+            return $CFG->enableaccessibilitytools;
+        }
+
+        // Enabled by default.
+        return true;
+    }
+
+    /**
+     * Throw an error if the toolkit is not enabled.
+     * @return bool
+     * @throws moodle_exception
+     */
+    public static function require_accessibility_enabled(): bool {
+        if (!static::is_accessibility_enabled()) {
+            throw new moodle_exception('accessibilitydisabled', manager::PLUGINNAME);
+        }
+        return true;
+    }
+
+    /**
+     * Get a URL for a page within the plugin.
+     *
+     * This takes into account the value of the admin config value.
+     *
+     * @param   string $url The URL within the plugin
+     * @return  moodle_url
+     */
+    public static function get_plugin_url(string $url = ''): moodle_url {
+        $url = ($url == '') ? 'index.php' : $url;
+        $pluginpath = self::$pluginpath;
+        return new moodle_url("/admin/{$pluginpath}/{$url}");
+    }
+
+    /**
+     * Get a file path for a file within the plugin.
+     *
+     * This takes into account the value of the admin config value.
+     *
+     * @param   string $path The path within the plugin
+     * @return  string
+     */
+    public static function get_file_path(string $path): string {
+        global $CFG;
+
+        return implode(DIRECTORY_SEPARATOR, [$CFG->dirroot, $CFG->admin, self::$pluginpath, $path, ]);
+    }
+
+    /**
+     * Get the canonicalised name of a capability.
+     *
+     * @param   string $capability
+     * @return  string
+     */
+    public static function get_capability_name(string $capability): string {
+        return self::$pluginpath . ':' . $capability;
+    }
+
+    /**
+     * Get the relevant title.
+     * @param filter $filter
+     * @param int $countdata
+     * @return string
+     * @throws \coding_exception
+     * @throws \dml_exception
+     * @throws \moodle_exception
+     */
+    public static function get_title(filter $filter, int $countdata): string {
+        global $DB;
+
+        $tmp = new \stdClass();
+        $tmp->count = $countdata;
+        $langstr = 'title' . $filter->tab . 'partial';
+
+        if ($filter->courseid != 0) {
+            $thiscourse = get_fast_modinfo($filter->courseid)->get_course();
+            $tmp->name = $thiscourse->fullname;
+        } else {
+            $langstr = 'title' . $filter->tab . 'all';
+        }
+        return get_string($langstr, manager::PLUGINNAME, $tmp);
+    }
+
+    /**
+     * Function to be run periodically according to the scheduled task.
+     * Return true if a process was completed. False if no process executed.
+     * Finds all unprocessed courses for bulk batch processing and completes them.
+     * @param int $batch
+     * @return bool
+     * @throws \ReflectionException
+     * @throws \coding_exception
+     * @throws \ddl_exception
+     * @throws \ddl_table_missing_exception
+     * @throws \dml_exception
+     */
+    public static function bulk_process_courses_cron(int $batch = 0): bool {
+        global $PAGE;
+
+        // Run a registration check.
+        if (!(new registration())->validate()) {
+            return false;
+        }
+
+        if (analysis::is_enabled()) {
+            $PAGE->set_context(context_system::instance());
+            mtrace("Starting cron for bulk_process_courses");
+            // Do regular processing. True if full deployment type isn't selected as well.
+            static::bulk_processing($batch);
+            mtrace("Ending cron for bulk_process_courses");
+            return true;
+        } else {
+            mtrace('Content analysis is currently disabled in settings.');
+            return false;
+        }
+    }
+
+    /**
+     * Bulk processing.
+     * @param int $batch
+     * @return bool
+     */
+    protected static function bulk_processing(int $batch = 0): bool {
+        manager::check_course_updates();
+        mtrace("check_course_updates completed at " . time());
+        $recordsprocessed = manager::check_scheduled_areas($batch);
+        mtrace("check_scheduled_areas completed at " . time());
+        manager::check_scheduled_deletions();
+        mtrace("check_scheduled_deletions completed at " . time());
+        manager::delete_historical_data();
+        mtrace("delete_historical_data completed at " . time());
+        return $recordsprocessed;
+    }
+
+    /**
+     * Function to be run periodically according to the scheduled task.
+     * Finds all unprocessed courses for cache processing and completes them.
+     */
+    public static function bulk_process_caches_cron() {
+        global $DB;
+
+        // Run a registration check.
+        if (!(new registration())->validate()) {
+            return;
+        }
+
+        if (analysis::is_enabled()) {
+            mtrace("Starting cron for bulk_process_caches");
+            // Monitor ongoing caching requests.
+            $fields = 'DISTINCT courseid';
+            $reruns = $DB->get_records(manager::DB_PROCESS, ['item' => 'cache'], '', $fields);
+            foreach ($reruns as $rerun) {
+                mtrace("Running rerun caching for Courseid " . $rerun->courseid);
+                manager::store_result_summary($rerun->courseid);
+                mtrace("rerun cache completed at " . time());
+                $DB->delete_records(manager::DB_PROCESS, ['courseid' => $rerun->courseid, 'item' => 'cache']);
+            }
+            mtrace("Ending cron for bulk_process_caches at " . time());
+        } else {
+            mtrace('Content analysis is currently disabled in settings.');
+        }
+    }
+
+    /**
+     * This function runs the checks on the html item
+     *
+     * @param string $html The html string to be analysed; might be NULL.
+     * @param int $contentid The content area ID
+     * @param int $processingtime
+     * @param int $resultstime
+     */
+    public static function run_check(string $html, int $contentid, int &$processingtime, int &$resultstime) {
+        global $DB;
+
+        // Change the limit if 10,000 is not appropriate.
+        $bulkrecordlimit = manager::BULKRECORDLIMIT;
+        $bulkrecordcount = 0;
+
+        $checkids = static::checkids();
+        $checknameids = array_flip($checkids);
+
+        $testname = 'brickfield';
+
+        $stime = time();
+
+        // Swapping in new library.
+        $htmlchecker = new local\htmlchecker\brickfield_accessibility($html, $testname, 'string');
+        $htmlchecker->run_check();
+        $tests = $htmlchecker->guideline->get_tests();
+        $report = $htmlchecker->get_report();
+        $processingtime += (time() - $stime);
+
+        $records = [];
+        foreach ($tests as $test) {
+            $records[$test]['count'] = 0;
+            $records[$test]['errors'] = [];
+        }
+
+        foreach ($report['report'] as $a) {
+            if (!isset($a['type'])) {
+                continue;
+            }
+            $type = $a['type'];
+            $records[$type]['errors'][] = $a;
+            if (!isset($records[$type]['count'])) {
+                $records[$type]['count'] = 0;
+            }
+            $records[$type]['count']++;
+        }
+
+        $stime = time();
+        $returnchecks = [];
+        $errors = [];
+
+        // Build up records for inserting.
+        foreach ($records as $key => $rec) {
+            $recordres = new stdClass();
+            // Handling if checkid is unknown.
+            $checkid = (isset($checknameids[$key])) ? $checknameids[$key] : 0;
+            $recordres->contentid = $contentid;
+            $recordres->checkid = $checkid;
+            $recordres->errorcount = $rec['count'];
+
+            // Build error inserts if needed.
+            if ($rec['count'] > 0) {
+                foreach ($rec['errors'] as $tmp) {
+                    $error = new stdClass();
+                    $error->resultid = 0;
+                    $error->linenumber = $tmp['lineNo'];
+                    $error->htmlcode = $tmp['html'];
+                    $error->errordescription = $tmp['title'];
+                    // Add contentid and checkid so that we can query for the results record id later.
+                    $error->contentid = $contentid;
+                    $error->checkid = $checkid;
+                    $errors[] = $error;
+                }
+            }
+            $returnchecks[] = $recordres;
+            $bulkrecordcount++;
+
+            // If we've hit the bulk limit, write the results records and reset.
+            if ($bulkrecordcount > $bulkrecordlimit) {
+                $DB->insert_records(manager::DB_RESULTS, $returnchecks);
+                $bulkrecordcount = 0;
+                $returnchecks = [];
+                // Get the results id value for each error record and write the errors.
+                foreach ($errors as $key2 => $error) {
+                    $errors[$key2]->resultid = $DB->get_field(manager::DB_RESULTS, 'id',
+                        ['contentid' => $error->contentid, 'checkid' => $error->checkid]);
+                    unset($errors[$key2]->contentid);
+                    unset($errors[$key2]->checkid);
+                }
+                $DB->insert_records(manager::DB_ERRORS, $errors);
+                $errors = [];
+            }
+        }
+
+        // Write any leftover records.
+        if ($bulkrecordcount > 0) {
+            $DB->insert_records(manager::DB_RESULTS, $returnchecks);
+            // Get the results id value for each error record and write the errors.
+            foreach ($errors as $key => $error) {
+                $errors[$key]->resultid = $DB->get_field(manager::DB_RESULTS, 'id',
+                    ['contentid' => $error->contentid, 'checkid' => $error->checkid]);
+                unset($errors[$key]->contentid);
+                unset($errors[$key]->checkid);
+            }
+            $DB->insert_records(manager::DB_ERRORS, $errors);
+        }
+
+        $resultstime += (time() - $stime);
+    }
+
+    /**
+     * This function runs one specified check on the html item
+     *
+     * @param string $html The html string to be analysed; might be NULL.
+     * @param int $contentid The content area ID
+     * @param int $errid The error ID
+     * @param string $check The check name to run
+     * @param int $processingtime
+     * @param int $resultstime
+     * @throws \coding_exception
+     * @throws \dml_exception
+     */
+    public static function run_one_check(
+        string $html = null,
+        int $contentid,
+        int $errid,
+        string $check,
+        int &$processingtime,
+        int &$resultstime
+    ) {
+        global $DB;
+
+        $stime = time();
+
+        $checkdata = $DB->get_record(manager::DB_CHECKS, ['shortname' => $check], 'id,shortname,severity');
+
+        $testname = 'brickfield';
+
+        // Swapping in new library.
+        $htmlchecker = new local\htmlchecker\brickfield_accessibility($html, $testname, 'string');
+        $htmlchecker->run_check();
+        $report = $htmlchecker->get_test($check);
+        $processingtime += (time() - $stime);
+
+        $record = [];
+        $record['count'] = 0;
+        $record['errors'] = [];
+
+        foreach ($report as $a) {
+            $a->html = $a->get_html();
+            $record['errors'][] = $a;
+            $record['count']++;
+        }
+
+        // Build up record for inserting.
+        $recordres = new stdClass();
+        // Handling if checkid is unknown.
+        $checkid = (isset($checkdata->id)) ? $checkdata->id : 0;
+        $recordres->contentid = $contentid;
+        $recordres->checkid = $checkid;
+        $recordres->errorcount = $record['count'];
+        if ($exists = $DB->get_record(manager::DB_RESULTS, ['contentid' => $contentid, 'checkid' => $checkid])) {
+            $resultid = $exists->id;
+            $DB->set_field(manager::DB_RESULTS, 'errorcount', $record['count'], ['id' => $resultid]);
+            // Remove old error records for specific resultid, if existing.
+            $DB->delete_records(manager::DB_ERRORS, ['id' => $errid]);
+        } else {
+            $resultid = $DB->insert_record(manager::DB_RESULTS, $recordres);
+        }
+        $errors = [];
+
+        // Build error inserts if needed.
+        if ($record['count'] > 0) {
+            // Reporting all found errors for this check, so need to ignore existing other error records.
+            foreach ($record['errors'] as $tmp) {
+                // Confirm if error is reported separately.
+                if ($DB->record_exists_select(manager::DB_ERRORS,
+                    'resultid = ? AND ' . $DB->sql_compare_text('htmlcode', 255) . ' = ' . $DB->sql_compare_text('?', 255),
+                    [$resultid, html_entity_decode($tmp->html)])) {
+                    continue;
+                }
+                $error = new stdClass();
+                $error->resultid = $resultid;
+                $error->linenumber = $tmp->line;
+                $error->htmlcode = html_entity_decode($tmp->html);
+                $errors[] = $error;
+            }
+
+            $DB->insert_records(manager::DB_ERRORS, $errors);
+        }
+
+        $resultstime += (time() - $stime);
+    }
+
+    /**
+     * Returns all of the id's and shortnames of all of the checks.
+     * @param int $status
+     * @return array
+     * @throws \dml_exception
+     */
+    public static function checkids(int $status = 1): array {
+        global $DB;
+
+        $checks = $DB->get_records_menu(manager::DB_CHECKS, ['status' => $status], 'id ASC', 'id,shortname');
+        return $checks;
+    }
+
+    /**
+     * Returns an array of translations from htmlchecker of all of the checks, and their descriptions.
+     * @return array
+     * @throws \dml_exception
+     */
+    public static function get_translations(): array {
+        global $DB;
+
+        $htmlchecker = new local\htmlchecker\brickfield_accessibility('test', 'brickfield', 'string');
+        $htmlchecker->run_check();
+        ksort($htmlchecker->guideline->translations);
+
+        // Need to limit to active checks.
+        $activechecks = $DB->get_fieldset_select(manager::DB_CHECKS, 'shortname', 'status = :status', ['status' => 1]);
+
+        $translations = [];
+        foreach ($htmlchecker->guideline->translations as $key => $trans) {
+            if (in_array($key, $activechecks)) {
+                $translations[$key] = $trans;
+            }
+        }
+
+        return $translations;
+    }
+
+    /**
+     * Returns an array of all of the course id's for a given category.
+     * @param int $categoryid
+     * @return array|null
+     * @throws \dml_exception
+     */
+    public static function get_category_courseids(int $categoryid): ?array {
+        global $DB;
+
+        if (!$DB->record_exists('course_categories', ['id' => $categoryid])) {
+            return null;
+        }
+
+        $sql = "SELECT {course}.id
+              FROM {course}, {course_categories}
+             WHERE {course}.category = {course_categories}.id
+               AND (
+                " . $DB->sql_like('path', ':categoryid1') . "
+             OR " . $DB->sql_like('path', ':categoryid2') . "
+        )";
+        $params = ['categoryid1' => "%/$categoryid/%", 'categoryid2' => "%/$categoryid"];
+        $courseids = $DB->get_fieldset_sql($sql, $params);
+
+        return $courseids;
+    }
+
+    /**
+     * Get summary data for this site.
+     * @param int $id
+     * @return \stdClass
+     * @throws \dml_exception
+     */
+    public static function get_summary_data(int $id): \stdClass {
+        global $CFG, $DB;
+
+        $components = $DB->get_records(manager::DB_AREAS);
+
+        $summarydata = new \stdClass();
+        $summarydata->siteurl = (substr($CFG->wwwroot, -1) !== '/') ? $CFG->wwwroot . '/' : $CFG->wwwroot;
+        $summarydata->moodlerelease = (preg_match('/^(\d+\.\d.*?)[. ]/', $CFG->release, $matches)) ? $matches[1] : $CFG->release;
+        $summarydata->numcourses = $DB->count_records('course') - 1;
+        $summarydata->numusers = $DB->count_records('user', array('deleted' => 0));
+        $summarydata->numfiles = $DB->count_records('files');
+        $summarydata->numfactivities = $DB->count_records('course_modules');
+        $summarydata->mobileservice = (int)$CFG->enablemobilewebservice === 1 ? true : false;
+        $summarydata->usersmobileregistered = $DB->count_records('user_devices');
+        $summarydata->contenttyperesults = static::get_contenttyperesults($id, $components);
+        $summarydata->contenttypeerrors = static::get_contenttypeerrors();
+        $summarydata->percheckerrors = static::get_percheckerrors();
+        return $summarydata;
+    }
+
+    /**
+     * Get content type results.
+     * @param int $id
+     * @param array $components
+     * @return \stdClass
+     */
+    private static function get_contenttyperesults(int $id, array $components): \stdClass {
+        $contenttyperesults = new \stdClass();
+        $contenttyperesults->id = $id;
+        $datacomponents = array();
+        foreach ($components as $component) {
+            $datacomponents[$component->component][] = $component;
+        }
+        $contenttyperesults->contenttype = new \stdClass();
+        foreach ($datacomponents as $key => $component) {
+            $contenttyperesults->contenttype->$key = count($component);
+        }
+        $contenttyperesults->summarydatastorage = static::get_summary_data_storage();
+        $contenttyperesults->datachecked = time(); // Correct??
+        return $contenttyperesults;
+    }
+
+
+    /**
+     * Get per check errors.
+     * @return stdClass
+     * @throws dml_exception
+     */
+    private static function get_percheckerrors(): stdClass {
+        global $DB;
+
+        $sql = 'SELECT ' . $DB->sql_concat_join("'_'", ['courseid', 'checkid']) . ' as tmpid,
+                       ca.courseid, ca.status, ca.checkid, ch.shortname, ca.checkcount, ca.errorcount
+                  FROM {' . manager::DB_CACHECHECK . '} ca
+            INNER JOIN {' . manager::DB_CHECKS . '} ch on ch.id = ca.checkid
+              ORDER BY courseid, checkid ASC';
+
+        $combo = $DB->get_records_sql($sql);
+
+        return (object) [
+            'percheckerrors' => $combo,
+        ];
+    }
+
+    /**
+     * Get content type errors.
+     * @return stdClass
+     * @throws dml_exception
+     */
+    private static function get_contenttypeerrors(): stdClass {
+        global $DB;
+
+        $fields = 'courseid, status, activities, activitiespassed, activitiesfailed,
+                    errorschecktype1, errorschecktype2, errorschecktype3, errorschecktype4,
+                    errorschecktype5, errorschecktype6, errorschecktype7,
+                    failedchecktype1, failedchecktype2, failedchecktype3, failedchecktype4,
+                    failedchecktype5, failedchecktype6, failedchecktype7,
+                    percentchecktype1, percentchecktype2, percentchecktype3, percentchecktype4,
+                    percentchecktype5, percentchecktype6, percentchecktype7';
+        $combo = $DB->get_records(manager::DB_SUMMARY, null, 'courseid ASC', $fields);
+
+        return (object) [
+            'typeerrors' => $combo,
+        ];
+    }
+
+    /**
+     * Get summary data storage.
+     * @return array
+     * @throws dml_exception
+     */
+    private static function get_summary_data_storage(): array {
+        global $DB;
+
+        $fields = $DB->sql_concat_join("''", ['component', 'courseid']) . ' as tmpid,
+                 courseid, component, errorcount, totalactivities, failedactivities, passedactivities';
+        $combo = $DB->get_records(manager::DB_CACHEACTS, null, 'courseid, component ASC', $fields);
+        return $combo;
+    }
+}
diff --git a/admin/tool/brickfield/classes/analysis.php b/admin/tool/brickfield/classes/analysis.php
new file mode 100644 (file)
index 0000000..67cb713
--- /dev/null
@@ -0,0 +1,95 @@
+<?php
+// This file is part of Moodle - http://moodle.org/
+//
+// Moodle is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Moodle is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
+
+namespace tool_brickfield;
+
+use tool_brickfield\task\process_analysis_requests;
+
+/**
+ * Analysis and deployment class.
+ *
+ * @package tool_brickfield
+ * @copyright  2020 Brickfield Education Labs https://www.brickfield.ie
+ * @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+class analysis {
+
+    /**
+     * Indicates that analysis of content has been enabled.
+     */
+    const ANALYSISDISABLED = '0';
+
+    /**
+     * Indicates that analysis is enabled and using request method.
+     */
+    const ANALYSISBYREQUEST = '1';
+
+    /**
+     * Return the type of analysis being used (currently only request).
+     *
+     * @return false|mixed|object|string|null
+     * @throws \dml_exception
+     */
+    public static function get_type() {
+        // Moodle caches these calls, so it's not expensive.
+        return get_config(manager::PLUGINNAME, 'analysistype');
+    }
+
+    /**
+     * Return true is analysis has been enabled.
+     *
+     * @return bool
+     * @throws \dml_exception
+     */
+    public static function is_enabled(): bool {
+        $analysistype = static::get_type();
+        return ($analysistype !== false) && ($analysistype !== self::ANALYSISDISABLED);
+    }
+
+    /**
+     * Return true if analysis is by request method.
+     *
+     * @return bool
+     * @throws \dml_exception
+     */
+    public static function type_is_byrequest(): bool {
+        return static::get_type() === self::ANALYSISBYREQUEST;
+    }
+
+    /**
+     * Return true if the course has been analyzed.
+     *
+     * @param int $courseid
+     * @return bool
+     * @throws \dml_exception
+     */
+    public static function is_course_analyzed(int $courseid): bool {
+        return scheduler::is_course_analyzed($courseid);
+    }
+
+    /**
+     * Return a redirect message with the earliest time expected for analysis to complete.
+     * @return \lang_string|string
+     * @throws \coding_exception
+     */
+    public static function redirect_message() {
+        $epoch = new process_analysis_requests;
+        $time = userdate($epoch->get_next_scheduled_time(), get_string('strftimetime', 'core_langconfig'));
+        $message = get_string('confirmationmessage', manager::PLUGINNAME, $time);
+
+        return $message;
+    }
+}
diff --git a/admin/tool/brickfield/classes/area_base.php b/admin/tool/brickfield/classes/area_base.php
new file mode 100644 (file)
index 0000000..75a8f5c
--- /dev/null
@@ -0,0 +1,219 @@
+<?php
+// This file is part of Moodle - http://moodle.org/
+//
+// Moodle is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Moodle is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
+
+namespace tool_brickfield;
+
+/**
+ * Area base class.
+ *
+ * @package    tool_brickfield
+ * @copyright  2020 Brickfield Education Labs https://www.brickfield.ie
+ */
+abstract class area_base {
+
+    /**
+     * Defines the unknown for the 'checkgroup' field in the tool_brickfield_checks table.
+     */
+    const CHECKGROUP_UNKNOWN = 0;
+
+    /**
+     * Defines the form for the 'checkgroup' field in the tool_brickfield_checks table.
+     */
+    const CHECKGROUP_FORM = 1;
+
+    /**
+     * Defines the image for the 'checkgroup' field in the tool_brickfield_checks table.
+     */
+    const CHECKGROUP_IMAGE = 2;
+
+    /**
+     * Defines the layout for the 'checkgroup' field in the tool_brickfield_checks table.
+     */
+    const CHECKGROUP_LAYOUT = 3;
+
+    /**
+     * Defines the link for the 'checkgroup' field in the tool_brickfield_checks table.
+     */
+    const CHECKGROUP_LINK = 4;
+
+    /**
+     * Defines the media for the 'checkgroup' field in the tool_brickfield_checks table.
+     */
+    const CHECKGROUP_MEDIA = 5;
+
+    /**
+     * Defines the table for the 'checkgroup' field in the tool_brickfield_checks table.
+     */
+    const CHECKGROUP_TABLE = 6;
+
+    /**
+     * Defines the text for the 'checkgroup' field in the tool_brickfield_checks table.
+     */
+    const CHECKGROUP_TEXT = 7;
+
+    /** @var string[] Array for quick access of string names for 'checkgroups'. */
+    const CHECKGROUP_NAMES = [
+        self::CHECKGROUP_UNKNOWN => 'unknown',
+        self::CHECKGROUP_FORM => 'form',
+        self::CHECKGROUP_IMAGE => 'image',
+        self::CHECKGROUP_LAYOUT => 'layout',
+        self::CHECKGROUP_LINK => 'link',
+        self::CHECKGROUP_MEDIA => 'media',
+        self::CHECKGROUP_TABLE => 'table',
+        self::CHECKGROUP_TEXT => 'text'
+    ];
+
+    /**
+     * Defines field value.
+     */
+    const TYPE_FIELD = 0;
+
+    /**
+     * Defines file value.
+     */
+    const TYPE_FILE = 1;
+
+    /**
+     * Return the name for the specified checkgroup value, or 'unknown' if no valid name for the value. Preferably, use this rather
+     * than direct access to CHECKGROUP_NAMES, since it checks value boundaries.
+     * @param int $checkgroupvalue
+     * @return string
+     */
+    final public static function checkgroup_name(int $checkgroupvalue): string {
+        if (($checkgroupvalue < 0) || ($checkgroupvalue >= count(self::CHECKGROUP_NAMES))) {
+            return self::CHECKGROUP_NAMES[self::CHECKGROUP_UNKNOWN];
+        } else {
+            return self::CHECKGROUP_NAMES[$checkgroupvalue];
+        }
+    }
+
+    /**
+     * Return the value for the specified checkgroup name, or the unknown value if no valid value for the name.
+     * @param string $checkgroupname
+     * @return int
+     */
+    final public static function checkgroup_value(string $checkgroupname): int {
+        $value = array_search($checkgroupname, self::CHECKGROUP_NAMES);
+        return ($value !== false) ? $value : self::CHECKGROUP_UNKNOWN;
+    }
+
+    /**
+     * Return the defined content type.
+     * @return int
+     */
+    protected function get_type(): int {
+        return self::TYPE_FIELD;
+    }
+
+    /**
+     * Return the component from the full class name.
+     * @return mixed|string
+     */
+    public function get_component(): string {
+        $parts = preg_split('|\\\\|', get_class($this));
+        return $parts[3];
+    }
+
+    /**
+     * Check if the system plugin is avaliable.
+     * @return bool
+     */
+    public function is_available(): bool {
+        list($type, $plugin) = \core_component::normalize_component($this->get_component());
+        if ($type === 'core') {
+            // We assume that all core components are defined corretly.
+            return true;
+        }
+        // Some contrib plugins may not be installed.
+        return ($dir = \core_component::get_component_directory($this->get_component()))
+            && file_exists($dir . '/version.php');
+    }
+
+    /**
+     * Return the name of the database table where information is stored
+     * @return string
+     */
+    abstract public function get_tablename(): string;
+
+    /**
+     * Return the name of the reference data table name.
+     * @return string
+     */
+    public function get_ref_tablename(): string {
+        return '';
+    }
+
+    /**
+     * Return the name of the field in the table that has the content
+     * @return string
+     */
+    abstract public function get_fieldname(): string;
+
+    /**
+     * Return a recordset of the relevant areas for the component/module.
+     * @param \core\event\base $event
+     * @return \moodle_recordset|null
+     */
+    abstract public function find_relevant_areas(\core\event\base $event): ?\moodle_recordset;
+
+    /**
+     * Return a recordset of the course areas for the course id.
+     * @param int $courseid
+     * @return \moodle_recordset|null
+     */
+    abstract public function find_course_areas(int $courseid): ?\moodle_recordset;
+
+    /**
+     * Return an array of area objects that contain content at the site and system levels only. Override this where necessary.
+     * @return \moodle_recordset|null
+     */
+    public function find_system_areas(): ?\moodle_recordset {
+        return null;
+    }
+
+    /**
+     * The standard Moodle parameter DML parameter substitution doesn't work on all versions of MySQL or Postgres, so we need to use
+     * inline function substitution to ensure that the left side is a string.
+     * @return string
+     */
+    public function get_standard_area_fields_sql(): string {
+        return '\'' . $this->get_component() . '\' AS component,
+            \'' . $this->get_tablename() . '\' AS tablename,
+            \'' . $this->get_fieldname() . '\' AS fieldorarea, ';
+    }
+
+    /**
+     * The standard Moodle parameter DML parameter substitution doesn't work on all versions of MySQL or Postgres, so we need to use
+     * inline function substitution to ensure that the left side is a string.
+     * @return string
+     */
+    public function get_reftable_field_sql(): string {
+        return '\'' . $this->get_ref_tablename() . '\' AS reftable, ';
+    }
+
+    /**
+     * Processes any sql filtering data. Implement in extensions.
+     *
+     * @return null
+     * @throws \coding_exception
+     * @throws \dml_exception
+     */
+    public function get_courseid_filtering() {
+        $this->filter = '';
+        $this->filterparams = [];
+        return null;
+    }
+}
diff --git a/admin/tool/brickfield/classes/brickfieldconnect.php b/admin/tool/brickfield/classes/brickfieldconnect.php
new file mode 100644 (file)
index 0000000..4587dfe
--- /dev/null
@@ -0,0 +1,252 @@
+<?php
+// This file is part of Moodle - http://moodle.org/
+//
+// Moodle is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Moodle is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
+
+namespace tool_brickfield;
+
+defined('MOODLE_INTERNAL') || die;
+
+// The curl class is in filelib.
+global $CFG;
+require_once("{$CFG->libdir}/filelib.php");
+
+use curl;
+use moodle_url;
+
+/**
+ * Class brickfieldconnect. Contains all function to connect to Brickfield external services.
+ *
+ * @package     tool_brickfield
+ * @author      2020 Onwards Mike Churchward <mike@brickfieldlabs.ie>
+ * @license     http://www.gnu.org/copyleft/gpl.html GNU GPL
+ */
+class brickfieldconnect extends curl {
+
+    /** @var string The base api uri. */
+    private static $baseapiuri = 'https://api.mybrickfield.ie/moodle/';
+
+    /** @var array Endpoint details for setting and checking a site registration */
+    const ACTION_CHECK_REGISTRATION = [
+        'endpoint' => 'checkRegister',
+        'method' => 'get',
+    ];
+
+    /** @var array Endpoint details for sending site summary data */
+    const ACTION_SEND_SUMMARY = [
+        'endpoint' => 'summary',
+        'method' => 'post',
+    ];
+
+    /**
+     * Object method to test whether site is already registered.
+     * @return bool
+     */
+    public function is_registered(): bool {
+        return !empty($this->get_registration_id_for_credentials());
+    }
+
+    /**
+     * Update registration of this site.
+     * @param   string $apikey The API key to use for the registration attempt
+     * @param   string $secretkey The secret key to use
+     * @return  bool
+     */
+    public function update_registration(string $apikey, string $secretkey): bool {
+        $registrationid = $this->get_registration_id_for_credentials($apikey, $secretkey);
+        if (empty($registrationid)) {
+            return false;
+        }
+
+        (new registration())->set_siteid($registrationid);
+        return true;
+    }
+
+    /**
+     * Send the summary data to Brickfield.
+     * @return bool
+     * @throws \dml_exception
+     */
+    public function send_summary(): bool {
+        // Run a registration check.
+        if (!(new registration())->validate()) {
+            return false;
+        }
+
+        $headers = $this->get_common_headers();
+        $this->set_headers($headers);
+        $summary = accessibility::get_summary_data($headers['id']);
+        $body = json_encode($summary, JSON_UNESCAPED_SLASHES);
+        $result = json_decode($this->call(self::ACTION_SEND_SUMMARY, $body));
+        if (is_object($result) && ((int)$result->statusCode === 200)) {
+            return true;
+        } else {
+            return false;
+        }
+    }
+
+    /**
+     * Get the URL required for the command.
+     *
+     * @param   array $command The command to call, for example see self::ACTION_REGISTER
+     * @return  string The complete URL
+     */
+    protected function get_url_for_command(array $command): string {
+        return $this->get_baseapiuri() . $command['endpoint'];
+    }
+
+    /**
+     * Call the specified command.
+     *
+     * @param array $command The command to call, for example see self::ACTION_REGISTER
+     * @param array|string $params The params provided to the call
+     * @return  string The response body
+     */
+    protected function call(array $command, $params = ''): string {
+        $url = $this->get_url_for_command($command);
+        if ($command['method'] === 'get') {
+            return $this->get($url, $params);
+        }
+
+        if ($command['method'] === 'post') {
+            return $this->post($url, $params);
+        }
+
+        return '';
+    }
+
+    /**
+     * Get the common headers used for all calls to the Brickfields endpoints.
+     *
+     * @return  array
+     */
+    protected function get_common_headers(): array {
+        $headers = [
+            'Cache-Control' => 'no-cache',
+            'Content-Type' => 'application/json',
+            'siteurl' => static::get_siteurl(),
+        ];
+
+        if (static::has_registration_key()) {
+            $registration = new registration();
+            $headers['secret'] = $registration->get_api_key();
+            $headers['userhash'] = $registration->get_secret_key();
+            $headers['id'] = $registration->get_siteid();
+        }
+
+        return $headers;
+    }
+
+    /**
+     * Set headers on the request from the specified list of headers.
+     *
+     * @param   array $headers An array of header name => value
+     */
+    protected function set_headers(array $headers) {
+        foreach ($headers as $key => $value) {
+            $this->setHeader("{$key}: {$value}");
+        }
+    }
+
+    /**
+     * Whether the site currently has a registration key stored.
+     *
+     * @return  bool
+     */
+    protected function has_registration_key(): bool {
+        $registration = new registration();
+        $localkey = $registration->get_api_key();
+        $localhash = $registration->get_secret_key();
+        $localid = $registration->get_siteid();
+
+        if (!$localhash || !$localkey || !$localid) {
+            return false;
+        }
+
+        return true;
+    }
+
+    /**
+     * Get a normalised URL for the site.
+     *
+     * @return  string
+     */
+    protected function get_siteurl(): string {
+        return (new moodle_url('/'))->out(false);
+    }
+
+    /**
+     * Get the registration ID for the given set of credentials.
+     * @param   null|string $apikey The API key to use for the registration attempt
+     * @param   null|string $secretkey The secret key to use
+     * @return  null|string The registration ID if registration was successful, or null if not
+     */
+    protected function get_registration_id_for_credentials(string $apikey = null, string $secretkey = null): string {
+        $headers = $this->get_common_headers();
+        if ($apikey || $secretkey) {
+            $headers['secret'] = $apikey;
+            $headers['userhash'] = $secretkey;
+        } else if (!$this->has_registration_key()) {
+            return '';
+        }
+
+        $this->set_headers($headers);
+        $response = $this->call(self::ACTION_CHECK_REGISTRATION);
+
+        if ((int)$this->info['http_code'] !== 200) {
+            // The response was unsuccessful.
+            return '';
+        }
+
+        $result = json_decode($response);
+        if (!$result) {
+            // The response could not be decoded.
+            return '';
+        }
+
+        if ((int)$result->statusCode !== 200) {
+            // The data from the response suggests a failure.
+            return '';
+        }
+
+        // Decode the actual result.
+        $registrationdata = json_decode($result->body);
+        if (empty($registrationdata) || !is_array($registrationdata)) {
+            // Unable to decode the body of the response.
+            return '';
+        }
+
+        if (!property_exists($registrationdata[0], 'id') || !property_exists($registrationdata[0]->id, 'N')) {
+            // Unable to find a valid id in the response.
+            return '';
+        }
+
+        return $registrationdata[0]->id->N;
+    }
+
+    /**
+     * Get the check registration API URI.
+     * @return string
+     * @throws dml_exception
+     */
+    protected function get_baseapiuri(): string {
+        $baseapiuri = get_config(manager::PLUGINNAME, 'baseapiuri');
+        if (!empty($baseapiuri)) {
+      &nb