101823 Commits

Author SHA1 Message Date
Tony Butler
a0595719d0
MDL-71945 mod_assign: Remove unneccesary call to assign_update_grades()
The update_grade() call achieves the same thing with additional checks.
2021-08-10 11:05:48 +01:00
Lars Bonczek
ff1199cc5c MDL-72271 mod_quiz: fix secure_window close function 2021-08-10 11:51:33 +02:00
Paul Holden
d87d6c226d MDL-72106 calendar: redirect to same page post-subscription process.
Avoid issues when reloading page/re-sending POST data.
2021-08-10 09:40:45 +01:00
Paul Holden
969cbd2c7d MDL-71709 libraries: upgrade to version 1.10.1 of MaxMind. 2021-08-10 09:37:31 +01:00
Paul Holden
75e72a2b24 MDL-71844 tool_task: preserve navigation when executing task. 2021-08-09 10:44:45 +01:00
Paul Holden
95851ef8ba MDL-71944 mod_wiki: use confirm output API for comment deletion. 2021-08-09 10:41:00 +01:00
Paul Holden
c18987bbe1 MDL-71685 dataformat_json: include column names in exported file. 2021-08-09 10:38:10 +01:00
Paul Holden
fdbbef6372 MDL-71487 admin: ensure filesize settings don't overflow integer. 2021-08-09 10:36:10 +01:00
Paul Holden
25be710d23 MDL-72000 user: support custom user fields in participants export. 2021-08-09 10:33:48 +01:00
Paul Holden
2b6d4c3077 MDL-70165 course: always import inplace editable module.
It's required on the course participants table for the roles/groups
columns, but isn't always loaded after adding the first participant.
2021-08-09 10:30:22 +01:00
Huong Nguyen
80bf558bea MDL-71656 atto: Add meaningful labels to colour items
Colour chooser supported:
 - atto_fontcolor
 - atto_backcolor
2021-08-09 16:00:21 +07:00
AMOS bot
5789ac5274 Automatically generated installer lang files 2021-08-06 00:07:51 +00:00
Srdjan
fa0eecd6bf MDL-69451 dml: use same temptables for both rw and ro database handle
moodle_read_slave_trait: when creating another handle, restore temptables
property that is clobbered by raw_connect().

Also a better condition for temptable related queries detection in
pgsql_native_moodle_database.

dml_pgsql_read_slave_test::test_temp_table(): use real db connection
if possible, otherwise skip the test.
2021-08-06 10:00:20 +10:00
Víctor Déniz
0d0e66d37c weekly release 4.0dev 2021-08-05 16:27:17 +01:00
Víctor Déniz
3c41448585 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-08-05 16:27:11 +01:00
Tim Hunt
e7880337ad MDL-72265 backup: fix checking of override capabilites on restore
Thanks to Peter Dias <peter@moodle.com> for his help with the unit test.
2021-08-05 13:54:59 +01:00
Víctor Déniz
6d0a49f51f Merge branch 'MDL-71835' of git://github.com/paulholden/moodle 2021-08-04 23:22:40 +01:00
Víctor Déniz
4bd6f3938e Merge branch 'MDL-71152-master' of git://github.com/roland04/moodle 2021-08-04 20:37:33 +01:00
Víctor Déniz
9e6634556a Merge branch 'MDL-72262-master' of git://github.com/ilyatregubov/moodle 2021-08-04 12:08:22 +01:00
abgreeve
3757b5cd63 Merge branch 'MDL-71050' of https://github.com/paulholden/moodle 2021-08-04 15:54:08 +08:00
abgreeve
26125cf670 Merge branch 'MDL-71070' of git://github.com/paulholden/moodle 2021-08-04 10:14:18 +08: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
Paul Holden
a4a3721081 MDL-71070 reportbuilder: consistent user fullname columns sorting.
Report columns that display the fullname of users should behave
in a consistent manner with current functionality of tables, in
regards to sorting by each individual component of a name (first
name, middle name, surname, etc).

To facilitate this, instead of a hard-coded assumption that such
columns are always named 'fullname', table classes can now define
additional columns containing a users name.
2021-08-03 12:05:59 +01:00
abgreeve
ec2e70aa80 Merge branch 'MDL-67412-master' of https://github.com/sharidas/moodle 2021-08-03 12:37:08 +08:00
Sujith Haridasan
fbc7b28614 MDL-67412 setuplib: Final deprecation of generate_uuid
Final deprecation of generate_uuid function.
2021-08-03 08:32:01 +05:30
abgreeve
d531f97f2c Merge branch 'MDL-67833' of https://github.com/paulholden/moodle 2021-08-03 10:27:39 +08:00
Dan Marsden
34bdef0b62 MDL-70006 analytics: Don't send notifications to suspended enrolments. 2021-08-03 10:52:53 +12:00
David Mudrák
079c0b75ee MDL-72242 files: Do not force text filtering of SVG files
It was a mistake to force filtering of SVG files in MDL-55243. It can
easily lead to corrupted SVG files.

The patch removes that forced filtering and clarifies the inline comment
of what and why we need to do.
2021-08-02 15:19:45 +02:00
Paul Holden
858bcbab0a MDL-72257 gradeexport_xml: detect absense of grade items to export.
Where there are no grade items with idnumbers for selection, then
nothing should be exported. Currently, this is being interpreted as
the user exporting all grade items.
2021-08-02 10:16:38 +01:00
Jake Dallimore
a260a3154b Merge branch 'MDL-71323' of git://github.com/paulholden/moodle 2021-08-02 16:22:30 +08:00
David Matamoros
53ed7abf4c MDL-71153 task: convert task logs table to a system report.
Convert to system report API provided by Report builder. The entity
defined the column and filters, which are used by the system
report class we have created.

Report actions are also defined in the system report.
2021-08-02 15:46:17 +08:00
Ilya Tregubov
3420278c86 MDL-72262 behat: Make alias shorter to fix Oracle failures. 2021-08-02 08:24:59 +02:00
abgreeve
0dafa0707c Merge branch 'MDL-70794' of git://github.com/paulholden/moodle 2021-08-02 12:39:32 +08:00
abgreeve
a5f13c6b3b Merge branch 'MDL-71621-master' of git://github.com/aanabit/moodle 2021-08-02 10:11:15 +08:00
AMOS bot
1eaaa7f6eb Automatically generated installer lang files 2021-08-01 00:07:46 +00:00
AMOS bot
4afb4fc903 Automatically generated installer lang files 2021-07-31 00:07:50 +00:00
Ilya Tregubov
6ea0ce7b75 Merge branch 'MDL-72070-master' of git://github.com/lucaboesch/moodle 2021-07-30 14:34:16 +02:00
Ilya Tregubov
04a2e1e827 Merge branch 'MDL-70271-master' of git://github.com/peterRd/moodle 2021-07-30 12:24:35 +02:00
Paul Holden
0795695872 MDL-68633 mod_forum: confirmation for subscription change navigation. 2021-07-30 10:46:58 +01:00
Víctor Déniz
d25917e4fd Merge branch 'MDL-72085-master' of https://github.com/dmitriim/moodle 2021-07-30 08:51:47 +01:00
Tim Hunt
e756c7f73d MDL-72254 filesapi: reject itemid=false in file_save_draft_area_files
This should never happen, and if it does, it causes many files to be deleted.
2021-07-29 12:12:05 +01:00
Jun Pataleta
27fda1e207 Merge branch 'MDL-72052' of git://github.com/danmarsden/moodle 2021-07-29 16:24:19 +08:00
Jun Pataleta
1a7f8e7eed Merge branch 'MDL-72054' of git://github.com/danmarsden/moodle 2021-07-29 15:53:43 +08:00
Dmitrii Metelkin
0fc73ee581 MDL-72085 core_phpunit: reset session notifications 2021-07-29 13:00:39 +10:00
Luca Bösch
15fa713f6d MDL-72070 core_calendar: Calendar footer links • separator colour 2021-07-28 20:13:25 +02:00
Mikel Martín
7edcf3615d MDL-70794 theme_boost: SCSS for Report builder filters dropdown. 2021-07-28 16:40:50 +01:00
Paul Holden
ef3c605b02 MDL-70794 reportbuilder: user interface for using report filters.
The report filter form is implemented as a dynamic form. Implement
accompanying AMD module for interacting with it here (applying and
resetting report filters).

Co-Authored-By: Mikel Martín <mikel@moodle.com>
2021-07-28 16:40:50 +01:00
David Matamoros
9f814ffec0 MDL-70794 reportbuilder: privacy provider implementation.
Note that although system report persistents store user modified
and created fields, these are not the values of the user who did
either. Merely the user who first viewed the report.
2021-07-28 16:40:50 +01:00
Sara Arjona
7a63ff9f0b MDL-70794 reportbuilder: introduce the concept of report entities.
Entities are re-usable collections of report columns and filters. When
creating system reports, we can re-use those elements from entities
without having to know specific details about their implementation.

They can be joined to reports, or other entities, using standard SQL
query syntax.

Define base classes, and create two example entities: course and user.

Co-Authored-By: David Matamoros <davidmc@moodle.com>
2021-07-28 16:40:50 +01:00
Paul Holden
514caaa4ea MDL-70794 reportbuilder: output components and classes.
This change contains most of the output components required for
reports such as exporters, templates, AMD modules.

Also included are classes within the component table namespace which
are required for extending the dynamic table API.
2021-07-28 16:40:50 +01:00