Commit graph

502 commits

Author SHA1 Message Date
Salem Saidi
f2384c458f MDL-81070 course: Display contact names in the search result by admin 2025-01-20 12:01:34 -05:00
Huong Nguyen
c66bbed355
Merge branch 'MDL-83956' of https://github.com/paulholden/moodle 2024-12-19 10:07:02 +07:00
Mikel Martín
f9abc562f5 MDL-81825 theme_boost: Refactor .sr-only usages for BS5
- Add .visually-hidden to the Boostratp 5 bridge SCSS file
- Replace .sr-only occurrences with .visually-hidden
- Replace .dropzone-sr-only-focusable  with .dropzone-visually-hidden-focusable
  for consistency
2024-12-10 14:02:32 +01:00
Paul Holden
45a6986aa4
MDL-83956 course: update spacer icon for category management tree.
Prior to fd676913 the manage course categories tree element used
the 'i/empty' icon as a fixed width spacer (fa-fw). However this
icon is now shown as a square, which looks out of place here.

Change to a different icon that maps to the same fixed width spacer
in order to restore the previous behaviour.
2024-12-09 08:55:26 +00:00
Huong Nguyen
7fd11604da
Merge branch 'MDL-81821-main' of https://github.com/roland04/moodle 2024-11-28 13:23:54 +08:00
Huong Nguyen
c77fb0e6e0
Merge branch 'MDL-83473_main' of https://github.com/dasistwas/moodle 2024-11-28 13:23:54 +08:00
Mikel Martín
636ab0fba9 MDL-81821 theme_boost: Refactor font utility classes for BS5 2024-11-26 15:17:30 +01:00
jacob.viertel@wunderbyte.at
1773124a97 MDL-83473 course: hooks api for external courses 2024-11-26 09:11:45 +01:00
Shamim Rezaie
0af9b5ca7e Merge branch 'MDL-71378_main' of https://github.com/SimonasAdams/moodle 2024-11-25 18:21:18 +11:00
Simon Adams
a0cf3d2da5 MDL-71378 core_question & mod_quiz: Refactor deprecated contexts 2024-11-18 10:22:59 +00:00
Tim Hunt
68d369917e MDL-70556 core db: change course fullname to 1333 chars
This is mainly for the benefit of multilang users.

As well as changing the database schema, it is also necessary to change
where this is inforced in PHP code (forms, web services). This was missed
when shortname was changed from 100 to 255 chars some time ago, but I have
fixed that here.

Note, I have not changed the legacy mnet code, since as far as I am aware
that is deprecated.
2024-11-15 15:28:23 +00:00
Simon Adams
776d1e40e4 MDL-71378 mod_qbank: Add question bank management 2024-11-15 15:18:47 +00:00
Jun Pataleta
2672bbadea
Merge branch 'MDL-78118' of https://github.com/paulholden/moodle 2024-10-31 11:21:41 +07:00
Jun Pataleta
660b4a9566
Merge branch 'MDL-83087-main' of https://github.com/roland04/moodle 2024-10-22 17:27:05 +08:00
Paul Holden
ef77114960
MDL-78118 reportbuilder: final removal of deprecated report elements. 2024-10-07 18:49:21 +01:00
Mikel Martín
1490f72122 MDL-83087 course: Convert category 'More' actions to kebab menu 2024-09-27 09:12:37 +02:00
Jake Dallimore
8982cc61b3 MDL-80746 core_course: fix user_selector rendering
This change:
- Moved the user selector button content out into its own
named_templatable renderable + updates calling code
2024-09-25 12:47:07 +08:00
Jake Dallimore
c648839070 MDL-80746 core_course: fix group_selector rendering
This change:
- Fixes the group_selector constructor, removing the unnecessarily
deprecated param (this code is main-only, so no need to deprecate) and
fixes all calling code.
- moves the button and content into separate named_templatable
renderables, cleaning up the group_selector code so that it only needs
to make a single call to render and doesn't concern itself with contexts
of other renderables.
2024-09-25 12:47:07 +08:00
Jake Dallimore
8d1cdf6f8e MDL-80746 core_course: fix initial_selector rendering
This change:
- Fixes naming of initials_selector class (making plural to match its
predecessor), and addresses relevant calling code.
- Adds an initials_dropdown_form renderable, templatable
- Removes superfluous course/classes/output/actionbar renderer
- Replaces the rendering logic inside initial_selector with calls to
render the new renderable
- Simplifies the initials_selector class, using instance vars instead of
passing args to helpers, removing unnecessary vars, etc.
2024-09-25 12:47:07 +08:00
Kevin Percy
939e6b546a MDL-80746 core_course: Move initials selector from core_grades 2024-09-25 11:03:55 +08:00
Sara Arjona
b82d814ef2
MDL-83084 theme: Update the view category icon 2024-09-10 16:48:42 +02:00
Mikel Martín
84d9e83588 MDL-81767 course: Refactor activity chooser button output
- Add new 'activitychooserbutton' output class that allows adding extra action_links through hooks.
- Add new 'before_activitychooserbutton_exported' hook so plugins could add extra action links
  to the activity chooser button.
- Unify activitychooserbutton and activitychooserbuttonactivity into a single template.
2024-09-02 18:16:18 +02:00
Huong Nguyen
4f25ac1044
Merge branch 'MDL-82158-main' of https://github.com/andrewnicols/moodle 2024-08-27 10:01:38 +07:00
Andrew Nicols
c21aeeb380
MDL-82158 core: Update most uses of cache_ classes 2024-08-20 20:44:28 +08:00
Huong Nguyen
dca18ebca3
Merge branch 'MDL-81634-main' of https://github.com/andrewnicols/moodle 2024-08-20 09:30:44 +07:00
Mikel Martín
6baf2046d5 MDL-75671 theme_boost: Refactor float classes for BS5
- Add SCSS code for float  utility classes to the Boostrap 5 bridge SCSS file
- Replace all occurrences in the codebase (float-left > float-start, float-sm-right > float-sm-end, ...)
2024-08-09 07:40:17 +02:00
Mikel Martín
0a03018116 MDL-75671 theme_boost: Refactor spacing classes for BS5
- Add SCSS code for spacing utility classes to the Boostrap 5 bridge SCSS file
- Replace all occurrences in the codebase (pr-1 > pe-1, ml-auto > ms-auto, ml-sm-3 > ms-sm-3, ...)
2024-08-09 07:40:17 +02:00
Mihail Geshoski
594750e157
MDL-82393 mod_assign: Remove the null default value from $course
Removes the default null value from the deprecated parameter $course,
which was introduced as part of its deprecation. Since PHP 8.0, it
is deprecated to declare functions where an optional parameter is
followed by a required parameter, as is the case here. Therefore,
the default value needs to be removed.
2024-08-08 21:01:45 +08:00
Mihail Geshoski
b7481cf4aa MDL-82393 course: Deprecate the $course argument in group_selector
Deprecates the $course parameter in the constructor of the
core_course\output\actionbar\group_selector class. This parameter is no
longer used, as the $course object can now be obtained through the
$context class property. Additionaly, the $course class property has
been removed in accordance with this change.
2024-08-07 17:27:41 +08:00
Mihail Geshoski
02755c4f95 MDL-82393 course: Refactor the renderable class for the group selector
The group selector renderable class should extend the comboboxsearch
renderable class to eliminate the need for initializing the
comboboxsearch object within the export_for_template() method and to
prevent duplicating the get_template() method.
2024-08-07 17:27:41 +08:00
Mihail Geshoski
4da5dbcb52 MDL-82393 course: The group selector component should be context-aware
The group selector component should be sensitive to the current context
to ensure accurate validation and retrieval of group settings
(e.g. group mode).
2024-08-07 17:27:41 +08:00
Andrew Nicols
024e36be17
MDL-81634 core: Fix all implicitly defined nullables
Note: This does not impact third-party libraries.
2024-08-02 14:11:12 +08:00
Paul Holden
c10610d035
MDL-82466 completion: format time duration in report entity columns.
Where the previous output was simple count of days, switch to using
the new format helper to return a time duration.

AMOS BEGIN
 CPY [daystakingcourse,core_course],[daystakingcourse,core_completion]
AMOS END
2024-07-19 10:34:00 +01:00
Huong Nguyen
f4b332a67e
Merge branch 'MDL-82467' of https://github.com/paulholden/moodle 2024-07-18 09:19:33 +07:00
Paul Holden
e60876ecef
MDL-82467 completion: simplify field SQL for completion columns.
For columns whose values can be represented purely in SQL, we don't
need to/shouldn't select extra data because it confuses the column
output during aggregation for numeric/boolean columns.
2024-07-15 13:19:25 +01:00
Ilya Tregubov
0e8c086653 MDL-80744 core_course: user selector renderer for actionbar in course 2024-07-15 16:36:43 +08:00
ferranrecio
0766976b61 MDL-81798 course: limit number of subsections 2024-07-09 10:49:42 +02:00
Huong Nguyen
c53b23e47e
Merge branch 'MDL-82202' of https://github.com/paulholden/moodle 2024-06-20 10:20:48 +07:00
Shamim Rezaie
37eae68cdb MDL-80745 core_course: group selector renderer for actionbar in course 2024-06-19 00:41:05 +10:00
Paul Holden
7ab967202c
MDL-82202 course: correct last access report entity column callback.
Ensure it works when being aggregated.
2024-06-17 14:27:01 +01:00
Amaia Anabitarte
be267a625d MDL-81675 course: Prevent creating subsections into subsections 2024-06-05 16:29:16 +02:00
Paul Holden
0a9715a88a
MDL-81330 reportbuilder: add cohort data to participants report source.
This is consistent with data added to similar sources that include user
attainment data, in this case users' course completion.
2024-04-29 11:14:16 +01:00
Andrew Nicols
93619ca6ac
MDL-81525 core_course: Add missing docs 2024-04-15 13:05:09 +08:00
Andrew Nicols
4d12330d4b
MDL-81525 core_course: Use stoppable trait for consistency 2024-04-15 13:05:09 +08:00
Andrew Nicols
fd63e35dd1
MDL-81525 core_course: Correct hook name tense 2024-04-15 13:05:08 +08:00
Ilya Tregubov
b47c590e10 Merge branch 'MDL-78370-main' of https://github.com/junpataleta/moodle 2024-04-04 14:17:15 +08:00
Sara Arjona
8efe31ee96
MDL-73975 course: Final deprecation methods in management_renderer
Final deprecation for management_heading() and course_search_form()
in core_course_management_renderer.
2024-04-02 16:42:31 +02:00
Ilya Tregubov
9e55042be1 Merge branch 'MDL-80302-main' of https://github.com/aanabit/moodle 2024-03-28 08:58:35 +08:00
Amaia Anabitarte
4a3a32b675 MDL-80302 completion: Improve default completion error tracking
Co-authored-by: Sara Arjona <sara@moodle.com>
2024-03-27 16:11:50 +01:00
Huong Nguyen
b283ca354e
Merge branch 'MDL-78551-main' of https://github.com/safatshahin/moodle 2024-03-26 10:08:06 +07:00