754 Commits

Author SHA1 Message Date
Jun Pataleta
a926979c0c MDL-73358 report: Add page content heading for report pages 2022-01-14 16:14:07 +08:00
Eloy Lafuente (stronk7)
511801cb46 MDL-73352 phpunit: lib_test and locallib_test testcase names
All lib_test and locallib_test classes:

- Namespaced with component (and API whenever makes sense).
- Fixed incorrect use statements with leading backslash.
- Changed code to point to global scope when needed or add new uses.
- All them passing individually.
- Complete runs passing too.

Special mention to tests under login/tests:

1) The core_login component doesn't exist.
2) But login/tests are allowed because there is a suite pointing to it (phpunit.xml).
3) So, the only possible namespace for them is "core".
4) And to avoid problems with other core testcases (under lib/tests)
   they have been renamed to have login_xxxx as prefix.
2021-12-30 16:21:42 +01:00
Eloy Lafuente (stronk7)
e4a2d9c1d4 MDL-73348 phpunit: normalize all privacy provider tests
As far as now all them have correct privacy level2 namespace:
- Move them to "privacy" subdir.
- Rename the files to "provider_test.php", this includes old
  privacy_test.php and privacy_provider_test.php files
- Rename the testcase to provider_test too (to match file name)

Also, change some relative paths and comments to point to new
locations.
2021-12-17 14:21:02 +01:00
Eloy Lafuente (stronk7)
57e6fb7ad9 MDL-73348 phpunit: privacy and privacy_provider testcase names
All privacy_test and privacy_provider_test classes:

- Namespaced with component\privacy.
- Fixed incorrect use statements with leading backslash.
- Changed code to point to global scope when needed.
- Renamed a few files to make all be privacy_test or privacy_provider_test.php
- All them passing individually.
- Complete runs passing too.
2021-12-17 14:21:02 +01:00
Eloy Lafuente (stronk7)
de66ba356e t checkout MOODLE_311_STABLE && git fetch https://github.com/mudrd8mz/moodle.git MDL-73201-311-enfix && git merge --no-ff FETCH_HEAD
Merge branch 'MDL-73201-master-enfix' of https://github.com/mudrd8mz/moodle
2021-12-09 23:18:03 +01:00
Helen Foster
558b4c826d MDL-73201 lang: Import fixed English strings (en_fix) 2021-12-09 19:53:10 +01:00
Mihail Geshoski
e00da7e884 MDL-72287 behat: Update behat tests 2021-12-09 23:47:57 +08:00
Mihail Geshoski
d000b16a72 MDL-72287 report: Add back link and headings in user profile pages 2021-12-09 22:46:57 +08:00
Jun Pataleta
cf35e0a1d3 Merge branch 'MDL-72789' of https://github.com/paulholden/moodle 2021-12-03 12:16:41 +08:00
Mathew May
f65b92577a MDL-70197 navigation: Update classic goutte tests 2021-11-30 08:13:49 +02:00
Paul Holden
726ad1f2b5 MDL-72789 report_eventlist: improve filtering of report by component.
Improves change from b8177caa, by filtering on the table eventname
property instead of parsing the same from the value column.
2021-11-29 09:08:51 +00:00
Mathew May
b983003e2e MDL-70197 navigation: Remove old navigation elements and migrate behat 2021-11-29 15:47:42 +08:00
Ferran Recio
26d0e51d91 MDL-72456 mod_assign: fix behats 2021-11-25 15:29:54 +01:00
Shamim Rezaie
652392d932 MDL-70721 output: remove {{#quote}} wherever it was misused
Also use the new {{#cleanstr}} helper where it was more appropriate
than the {{#str} helper.
2021-11-16 10:08:06 +11:00
Andrew Nicols
349312143d MDL-72013 js: Fix jsdocs to meet stricter eslint 2021-10-21 13:28:00 +08:00
Víctor Déniz
04f7132ca6 Merge branch 'MDL-72498' of git://github.com/paulholden/moodle 2021-10-12 00:52:16 +01:00
Paul Holden
b8177caadb MDL-72498 report_eventlist: fix filtering by component.
Match on the component frankenstyle name rather than it's lang
string.
2021-10-11 17:22:03 +01:00
Paul Holden
2dc074656b MDL-72498 report_eventlist: use core component API for event list.
The previous method of hardcoded filepaths, specifically for events
belonging to core, meant that any events belongs to core subsystems
were omitted (core_customfield, core_h5p, core_payment, etc).
2021-10-11 17:22:03 +01:00
Andrew Nicols
9cba40c410 Merge branch 'MDL-71965-master' of git://github.com/bmbrands/moodle 2021-10-11 08:06:43 +08:00
Bas Brands
d1b9f7d1f1 MDL-71965 theme_boost: move footer content in popover 2021-10-06 11:32:08 +02:00
Ilya Tregubov
af94d5b09c Merge branch 'MDL-72662' of git://github.com/paulholden/moodle 2021-10-06 14:01:21 +07:00
Jake Dallimore
3c7e486205 Merge branch 'MDL-72094-master' of git://github.com/mihailges/moodle 2021-10-06 10:51:29 +08:00
Shamim Rezaie
b472f96311 Merge branch 'MDL-72500' of git://github.com/paulholden/moodle 2021-10-05 23:20:41 +02:00
Paul Holden
e55abd713e MDL-72662 reportbuilder: add relative date options to date filter.
Allow user to filter dates relative to the current date, e.g dates
within the previous year, the current week or next month.
2021-10-03 11:53:11 +01:00
Paul Holden
0e9b0a4964 MDL-72484 report_eventlist: looser check for event 'other' docs. 2021-09-27 18:21:42 +01:00
Sara Arjona
a0d3e32aa9 MDL-72042 media: Remove SWF media player
The Flash Player was deprecated in 2017 and officially discontinued
on 31 December 2020, so media_swf player has been completely
removed from Moodle core.
2021-09-17 10:39:17 +02:00
Mihail Geshoski
7d821080f0 MDL-72093 navigation: Update behat tests 2021-09-14 12:02:35 +08:00
Mihail Geshoski
87a577aade MDL-72094 core_report: Deprecate report_helper::save_selected_report() 2021-09-14 11:44:18 +08:00
Mihail Geshoski
1dc3fa2c55 MDL-72094 report: Avoid storing the last accessed course report
Removes the logic in the course reports related to storing the last
accessed course report in a session variable as this behaviour is
no longer required.
2021-09-14 11:44:18 +08:00
Mihail Geshoski
d5d99eddbb MDL-72094 report_log: Update existing behat test 2021-09-14 11:44:18 +08:00
Mihail Geshoski
d18ba8bd6e MDL-72094 report_log: Modify the styling of the selector form elements 2021-09-14 11:44:18 +08:00
Mihail Geshoski
0d69f3ffc9 MDL-72094 core_report: Modify the redirects in the course report page
The course report page now redirects to the first avaliable course
report, instead of redirecting to the last accessed course report.
Also, a notification is now displayed on this page if there are no
course reports available.
2021-09-14 11:44:17 +08:00
Paul Holden
a9f3cf6d75 MDL-72500 report_eventlist: group and sort list of components. 2021-09-13 12:38:27 +01:00
Eloy Lafuente (stronk7)
457c2026ed Merge branch 'MDL-71627-add-antivirus-check-api-and-notification-levels' of https://github.com/keevan/moodle 2021-08-30 12:39:29 +02:00
Jun Pataleta
b36bdd18d8 MDL-69588 core: Activity navigation fixes 2021-08-26 09:58:15 +08:00
Jun Pataleta
4e75e73cb5 Merge branch 'primary_secondary_nav' of https://github.com/Chocolate-lightning/moodle 2021-08-25 10:42:57 +08:00
Peter Dias
dfefc86393 MDL-72032 core: Add roles to items
- Part of: MDL-69588
2021-08-23 17:47:22 +08:00
Andrew Nicols
891d1bfad3 MDL-71055 behat: Update core settings to use generator
These changes have only been applied to settings which were already
using settings names and values, but which were still using the UI.
2021-08-23 12:23:03 +08:00
Ilya Tregubov
6973d2c88a Merge branch 'MDL-72035-excel_csv_bom' of git://github.com/leonstr/moodle 2021-08-13 11:09:27 +02:00
Kevin Pham
0b997f63e3 MDL-71627 check: Add AV status, notification levels and more logging
- `notifylevel` will change what gets sent as part of the antivirus
  notification emails based on the scan type. For example if set on
  SCAN_RESULT_FOUND, it will not notify for any detections, if set to
  SCAN_RESULT_ERROR, it will notify for both detections and errors.
- `threshold` will determine how far the lookback is when displaying the
  status of the /reports/status (System Status) page. It will display as
  an ERROR state if there has been scanner issues within this certain
  threshold period
- As part of the above, scanner errors will now trigger a new event
  which will be logged as antivirus_scan_data_error or
  antivirus_scan_file_error. Due to the nature of it reading from the
  logs table, it only works currently for the "Standard logging"
  logstore.
2021-08-11 11:46:15 +10:00
Víctor Déniz
6d0a49f51f Merge branch 'MDL-71835' of git://github.com/paulholden/moodle 2021-08-04 23:22:40 +01:00
Paul Holden
07611b5f12 MDL-71070 report_configlog: convert report to system report.
Convert to system report API provided by Report builder. The entity
defines the columns and filters, which are used by the system
report class we have created.
2021-08-03 12:17:11 +01:00
Andrew Nicols
776f4bd80c MDL-72179 behat: Make use of page resolvers 2021-07-26 15:14:28 +08:00
Paul Holden
91b5e4195f MDL-71835 report_log: correct query returning user fullname from DB. 2021-07-09 13:54:10 +01:00
Leon Stringer
22825647d4 MDL-72035 csvlib: Write BOM for Excel
Add option to class csv_export_writer to prefix CSV file with UTF-8 byte
order mark (BOM).  This helps Microsoft Excel detect the file's character
encoding.
2021-06-30 15:04:16 +01:00
Andrew Nicols
4f422785c6 MDL-71113 javascript: Improve basic JS Documentation 2021-06-18 09:38:05 +08:00
Andrew Nicols
92179b7057 MDL-71113 js: Fix all jsdoc warnings 2021-06-18 09:38:05 +08:00
Tim Hunt
b4bbbf15a3 MDL-71927 reports: show time to the second in logs report
And in the question history in quiz reviews.

Without this, it can be difficult to investigate some problems.
2021-06-14 21:41:16 +01:00
Andrew Nicols
fb39111722 Merge branch 'MDL-71806-improve-check-ux' of https://github.com/brendanheywood/moodle 2021-06-10 11:57:45 +08:00
Andrew Nicols
8c8eac9df5 Merge branch 'MDL-67822-schema-check' of https://github.com/brendanheywood/moodle 2021-06-10 11:03:52 +08:00