Mathew May
e5ca7766e7
MDL-52805 core: Remove legacy log calls
2023-03-07 13:08:46 +08:00
Paola Maneggia
7b5c35895b
MDL-77387 course: drop 'moodle/course:view' for course copy UI
...
Enabling the course copy UI of MDL-64843 already without the capability 'moodle/course:view'
has the advantage, that a user with 'moodle/course:create', 'moodle/backup:backupcourse'
and 'moodle/restore:restorecourse' (typically a teacher)
will be able to use this UI for their own courses and with the additional benefit
of also being enrolled in the copied course.
Important: the role assigned to the user who copies a course is determined
by the value of the setting 'creatornewroleid', which defaults to 'editingteacher'.
2023-03-03 08:49:43 +00:00
Dani Palou
aec31e312a
MDL-77400 reportbuilder: Fix enrolment status return type
2023-02-28 10:41:12 +01:00
Tomo Tsuyuki
9e725bc168
MDL-45301 assign: Add font options for EditPDF
2023-02-17 15:30:25 +11:00
Andrew Nicols
4a5cf23d07
Merge branch 'MDL-75578-master' of https://github.com/mackensen/moodle
2023-02-16 12:01:08 +08:00
guillermogomez
43c64bc141
MDL-77062 reportbuilder: Add filters/conditions for completion entity
...
This commit will add missing fields as Time enrolled/started/reaggregated
in the filter/condition area for the completion entity when creating a course participants
as a report source in the Report Builder.
2023-01-31 18:37:44 -05:00
Charles Fulton
63305c402a
MDL-75578 course: require course library to resolve namespace issues
2023-01-30 10:43:09 -05:00
Marina Glancy
b0a83aa7bd
MDL-76362 various: Avoid passing nulls to functions that don't allow nulls
...
PHP 8.1 is more strict on the parameter type. Functions such as trim(), strlen(), str_replace(), etc
show notice when null is passed as an argument
2023-01-23 09:15:54 +08:00
Andrew Nicols
a3cc26f8bb
MDL-76583 core: Update uses of external_* classes
2023-01-19 07:34:09 +08:00
Sara Arjona
139a629763
Merge branch 'MDL-75177' of https://github.com/paulholden/moodle
2023-01-03 17:50:34 +01:00
David Matamoros
facc3322e4
MDL-76301 course: Add course overview files to courses datasource
2022-12-16 13:56:15 +01:00
Paul Holden
f550239e78
MDL-75177 reportbuilder: preload context data for column callback.
...
Improve performance/reduce query count by requesting all necessary
data as part of initial column SQL. See also dc60fe66
.
2022-12-14 09:52:55 +00:00
Meirza
ed5db9e301
MDL-76145 course: Avoid long course names that exceed available space
...
Co-authored-by: Stephen Sharpe <stephen.sharpe@synergy-learning.com>
2022-11-30 09:45:47 +07:00
Paul Holden
7c79ff41b0
Merge branch 'MDL-75569-master' of https://github.com/justusdieckmann/moodle
2022-11-17 14:35:01 +00:00
Peter Burnett
ebd8e07cbc
MDL-73804 category: Use system context for category name filtering
2022-11-15 14:49:30 +10:00
Marina Glancy
064eccd4fc
MDL-75525 reportbuilder: specify initial sorting for datasources
2022-11-07 15:43:45 +01:00
Sara Arjona
7d53813db7
Merge branch 'MDL-75349' of https://github.com/paulholden/moodle
2022-11-04 12:06:36 +03:00
Jun Pataleta
9bdfcc46d3
Merge branch 'MDL-75358-master' of https://github.com/marinaglancy/moodle
2022-10-31 10:10:16 +08:00
Paul Holden
6c9b4d1e24
MDL-75349 course: include groups entity data in participants report.
2022-10-20 12:33:17 +01:00
Paul Holden
06f013eec6
MDL-76023 course: fix access to custom data in notification task.
...
The message class `customdata` property is automatically JSON encoded
via magic setter method, so we can't append to it directly.
2022-10-19 18:49:04 +01:00
Jun Pataleta
36e4ca71c6
Merge branch 'MDL-75034' of https://github.com/paulholden/moodle
2022-10-12 14:24:35 +08:00
Marina Glancy
41b93bd7e5
MDL-73424 general: Internal methods must have same type as parent
...
Otherwise the error is thrown in PHP8.1
2022-10-10 16:46:13 +02:00
Paul Holden
b3828cebd2
MDL-75034 reportbuilder: move classes into consistent namespace.
...
Use `reportbuilder` level two namespace for report related classes
(entities, system reports, etc) within components and sub-systems.
2022-10-07 15:05:34 +01:00
Marina Glancy
dcc44ae4c0
MDL-75358 reportbuilder: display nulls as empty cells for numeric/bool
2022-09-20 18:18:38 +02:00
Justus Dieckmann
05bb22d418
MDL-75569 course: fix non-functional search bar in course index page
...
For users who are not allowed to access course/management.php, the
normal course search is used instead.
2022-09-20 12:33:55 +02:00
Paul Holden
208adcf3d1
MDL-73938 reportbuilder: better Oracle support of long text columns.
...
Specifically during column grouping/aggregation, we need to avoid CLOB
datatype inconsistencies (ORA-00932).
2022-09-05 12:08:54 +01:00
Paul Holden
0304508926
MDL-75245 reportbuilder: re-factor current tag elements to new entity.
...
Update previous implementation of tags (9ebd801c
) in report sources to
use equivalent tag entity columns and filters.
2022-08-18 17:01:21 +01:00
Andrew Nicols
903f04a320
Merge branch 'MDL-74608' of https://github.com/timhunt/moodle
2022-08-18 10:52:02 +08:00
David Matamoros
e6c1284a93
MDL-74364 course: Fix for deleted users SQL condition
2022-08-17 17:51:34 +02:00
David Matamoros
0a66ba0188
MDL-74364 course: Add course participants datasource
...
- New Report Builder source for course participants
- New course completion entity
- New course enrolment entity
- New course last access entity
2022-08-17 12:40:34 +02:00
Tim Hunt
8babdbd396
MDL-74608 activities: a new option to force the activity language
...
For a long time, Moodle has had the feature to force the language
for a whole course. This change adds the same feature at activity
level.
The course-level feature was controlled by a capability
moodle/course:setforcedlanguage, and I decided to use the same
capability to control this feature. I think a new capability would be
overkill.
2022-08-15 22:15:52 +01:00
Marina Glancy
24072f69e9
MDL-75285 core_reportbuilder: allow left joins on category entity
2022-07-29 12:48:30 +02:00
Carlos Castillo
7cb8552597
MDL-75135 reportbuilder: Add 'Category name with link' column
...
Add 'Category name with link' column to course_category entity
2022-07-21 14:13:01 -05:00
Jun Pataleta
155ef8aece
Merge branch 'MDL-68011-master' of https://github.com/mihailges/moodle
2022-07-19 20:52:36 +08:00
Víctor Déniz
5087f56905
Merge branch 'MDL-75119' of https://github.com/paulholden/moodle
2022-07-19 13:48:58 +01:00
Mihail Geshoski
6a122984da
MDL-68011 course: Final deprecation of the callback get_shortcuts()
...
Removal of the callback get_shortcuts() and its plugin implementations.
The private methods in the content_item_readonly_repository class
which were only used by the callback hook logic are also removed.
2022-07-19 14:13:36 +08:00
Jun Pataleta
3c6fdb1993
Merge branch 'MDL-71062-master' of https://github.com/sharidas/moodle
2022-07-13 11:39:08 +08:00
Sujith Haridasan
73d604369d
MDL-71062 core: Step 1 deprecation of print_error function
2022-07-13 08:20:54 +05:30
Paul Holden
dc60fe6662
MDL-75119 reportbuilder: preload context data for column callbacks.
...
This prevents additional requests for context instances in the
callback methods, by preloading all required data in the initial
field select.
2022-07-04 13:07:02 +01:00
Paul Holden
721f7a01e8
MDL-74777 reportbuilder: report filter by category/sub-categories.
...
AMOS BEGIN
CPY [choosecategory,core_grades],[categoryselect,core_reportbuilder]
AMOS END
2022-06-24 11:44:50 +01:00
Andrew Nicols
14655fdc74
Merge branch 'MDL-74764-master' of https://github.com/BruceGoodGuy/moodle
2022-06-10 13:12:11 +02:00
Sara Arjona
47097ae519
Merge branch 'MDL-74678' of https://github.com/lostrogit/moodle
2022-06-07 17:01:18 +02:00
Tim Hunt
6c161f3b99
MDL-74760 activity web services: refactor duplicate code
2022-06-07 12:53:34 +01:00
Khoa Nguyen Dang
3987f2cb37
MDL-74764 core_course: Activity is not in alphabetical order.
2022-05-27 10:20:14 +07:00
David Matamoros
63088862b4
MDL-74497 reportbuilder: Ensure entity report element order is kept
2022-05-18 13:19:34 +02:00
Carlos Castillo
0b82e9e9b3
MDL-74678 reportbuilder: Allow null in category description callback
...
Since category description is a nullable column, we need to allow null
value in category description column callback in category entity
2022-05-13 08:08:37 -05:00
David Matamoros
5e68da7868
MDL-74497 reportbuilder: Use new methods in existing datasources
...
- Replace all individual calls to add all columns, filters and
conditions on the cohorts datasource with the new
method add_all_from_entities().
- Replace all individual calls to add all columns, filters and
conditions on the courses datasource with the new
method add_all_from_entities().
- Replace all individual calls to add all columns, filters and
conditions on the users datasource with the new
method add_all_from_entity().
2022-05-13 08:36:31 +02:00
Hien Dinh
00dcb18999
MDL-73172 course: COMPLETE_PASS status cannot enhance in custom theme
2022-05-05 09:35:36 +07:00
Andrew Nicols
4b388fc239
MDL-74235 core: Update core uses of activity icons to monologo
2022-04-07 12:56:14 +08:00
Amaia Anabitarte
13e66c48f8
MDL-74253 core_course: get_nearest_editable_subcategory for hidden cat
2022-03-18 18:15:59 +01:00