716 Commits

Author SHA1 Message Date
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
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
Brendan Heywood
fbb36f8977 MDL-67822 report_performance: Add DB schema check 2021-06-02 18:45:12 +10:00
Brendan Heywood
7d96f74f6f MDL-71806 report_security: Improve public paths check 2021-06-01 18:24:53 +10:00
Eloy Lafuente (stronk7)
1a8f79a177 Merge branch 'MDL-71595-master' of https://github.com/sammarshallou/moodle 2021-05-31 22:34:39 +02:00
Eloy Lafuente (stronk7)
c494791f30 Merge branch 'MDL-71619' of https://github.com/paulholden/moodle 2021-05-18 22:59:13 +02:00
Paul Holden
21c3869d03 MDL-71619 privacy: extend correct class in provider testcases.
Extending the privacy provider testcase means that it's tearDown
method will reset the request writer.
2021-05-13 11:51:00 +01:00
Eloy Lafuente (stronk7)
9d6aa39985 MDL-71583 versions: Add all the missing full-stops to version/requires
It seems that the new phpcs3 checker is now controlling those
line comments that previously were ignored.

This commit just looks for all the cases and bulk-add
them when needed. The bash script (mac) used to add all them is:

while read -r line; do
    arr=(${line//:/ })
    if [[ -n ${arr[0]} ]] && [[ -n ${arr[1]} ]]; then
        echo "  file ${arr[0]}, line ${arr[1]}"
        sed -i "${arr[1]}s/\$/\./" ${arr[0]}
    fi
done < <(find . -name version.php | xargs ag --nomultiline '>(version|requires) *=.*//.*[^;\.]$')
2021-05-11 20:11:07 +02:00
sam marshall
588cb0fff6 MDL-71595 report_progress: Add custom user field support 2021-05-11 16:57:02 +01:00
Luca Bösch
b8a0cc9f00 MDL-70786 report_loglive: respect fullname setting. 2021-05-05 10:27:44 +02:00
Luca Bösch
5a8961c9e2 MDL-70786 report_log: respect fullname setting. 2021-05-04 14:28:29 +02:00
Luca Bösch
ad7599a680 MDL-70786 report_completion: respect fullname setting. 2021-05-04 14:19:15 +02:00
Luca Bösch
b5fa7e74bb MDL-70786 report_competency: respect fullname setting. 2021-05-04 14:19:15 +02:00
Luca Bösch
1dacdd0528 MDL-70786 report_progress: respect fullname setting. 2021-05-04 14:19:15 +02:00
Eloy Lafuente (stronk7)
e26b639281 Merge branch 'MDL-66431-master' of git://github.com/ilyatregubov/moodle 2021-05-02 19:12:47 +02:00
Víctor Déniz
bd8600e923 Merge branch 'MDL-70753-master' of https://github.com/sharidas/moodle 2021-05-02 19:11:10 +02:00
Ilya Tregubov
cf1cf222e7 MDL-66431 core: Fix behat tests.
Move activity creation to data generators. Only fixing those
tests failing due to removing usemodchooser preference.
2021-05-01 16:22:03 +02:00
Sujith Haridasan
686bd2681e MDL-70753 report: Provide a separate page for course report
Provide page for the reports in the course administration.
The page has a drop down to navigate to different reports.
The navigation is remembered just like the grade reports in
the course.

Signed-off-by: Sujith Haridasan <sujith@moodle.com>
2021-04-30 08:37:38 +05:30
Andrew Nicols
679fcbfeaf Merge branch 'MDL-71168' of git://github.com/paulholden/moodle 2021-04-28 10:48:02 +08:00
Paul Holden
8fa458eb3b MDL-71416 report_log: user context header should show users name.
Co-Authored-By: Luca Bösch <luca.boesch@bfh.ch>
2021-04-23 20:24:12 +01:00
Paul Holden
fd9a39384d MDL-71168 report_participation: fix select all users checkbox. 2021-04-19 09:05:28 +01:00
Sara Arjona
d688af7edd Merge branch 'MDL-65553-master' of git://github.com/aanabit/moodle 2021-04-19 08:53:33 +02:00
Tien Nguyen
c51b77e48a MDL-48594 Report: More filtering options on Activity Completion Report 2021-04-16 10:22:16 +07:00
Amaia Anabitarte
5af5368059 MDL-65553 core_analytics: Don't allow to flag predictions several times
Even if a prediction is hidden from the report once is flagged,
it can be flagged several times if the user visits detailed view via URL.
We remove the checkbox to select a prediction and flag it
once it has already been flagged.
2021-04-15 16:39:09 +02:00
Jun Pataleta
1c15796a75 MDL-70821 behat: Use new activity completion steps for Behat tests
Replace usages of completion Behat steps that check for the completion
checkboxes with the new activity completion Behat steps.
2021-04-12 11:41:37 +08:00
sam marshall
5e72715e4f MDL-71099 Lib: Move new user_fields class from core to core_user
This class would belong more appropriately within the 'user' API
(core_user) instead of within the 'core' API, since it is
directly related to user data.

Since the class has only just been added to Moodle, now is a good
time to move it.
2021-03-25 13:47:23 +00:00
Jun Pataleta
54cc7804a8 Merge branch 'MDL-70198-master-2' of git://github.com/peterRd/moodle 2021-03-18 11:41:51 +08:00
Eloy Lafuente (stronk7)
cfba0366db Merge branch 'MDL-70893-master' of git://github.com/marinaglancy/moodle 2021-03-18 00:23:26 +01:00
Peter Dias
683e7b2aaf MDL-70198 core_navigation: Implement secondary nav and curate nodes
Implement the new secondary nav and curate the nodes from flatnav and settingsnav
2021-03-17 13:32:53 +08:00
sam marshall
987e55452f MDL-45242 Course: Enrol feature supports custom profile fields 2021-03-10 10:57:11 +00:00
sam marshall
558cc1b85e MDL-45242 Lib: Replace calls to deprecated functions
In all cases changes have been kept to a minimum while not making
the code completely horrible. For example, there are many instances
where it would probably be better to rewrite a query entirely, but
I have not done that (in order to reduce the risk of changes).
2021-03-10 10:57:10 +00:00
Marina Glancy
0eada7a5f9 MDL-70893 various: optional function arguments must be in the end 2021-02-15 16:53:37 +01:00
Paul Holden
9e06441ad6 MDL-69898 report_configlog: allow searching settings by page parameter. 2021-02-01 09:14:06 +00:00
Brendan Heywood
a6e9ac9af7 MDL-69333 report_security: Add checks for many public & private urls 2021-01-20 11:19:14 +11:00
Andrew Nicols
31402aa406 MDL-69107 user: Fix autocomplete usages 2020-12-16 07:50:56 +08:00
Andrew Nicols
ba34d6e225 MDL-70148 behat: Update steps for keyboard 2020-11-17 15:14:43 +08:00
Alex Morris
fa99232970 MDL-70067 report_insights: Replace BS3 column naming
Bootstrap 4 removed col-xs- and replaced it with col-
2020-11-12 08:56:19 +13:00
Helen Foster
dd7a1d60e2 MDL-69998 lang: Import fixed English strings (en_fix) 2020-10-27 11:32:10 +01:00
Eloy Lafuente (stronk7)
f6711bb394 MDL-67673 phpunit: Fix the return type of template methods
All the setup/teardown/pre/post/conditions template methods
now are required to return void. This was warned with phpunit 7
and now is enforced.

At the same time, fix a few wrong function names,
provider data and param types, return statements...
2020-10-21 12:45:59 +02:00
Andrew Nicols
2830f39bc2 Merge branch 'MDL-69458-master' of git://github.com/mihailges/moodle 2020-08-27 12:42:31 +08:00