222 Commits

Author SHA1 Message Date
Huong Nguyen
d13985c2b8
Merge branch 'MDL-82520' of https://github.com/ssj365/moodle 2024-09-05 14:56:22 +07:00
Huong Nguyen
11671775a8
Merge branch 'MDL-82503-main' of https://github.com/sarjona/moodle 2024-09-04 09:19:28 +07:00
Sara Arjona
9b58ab3e87
MDL-82503 badges: Deprecate badges/view.php 2024-09-03 20:00:18 +02:00
Sara Arjona
c6d7cf85f6
MDL-82503 badges: Deprecate showmanage button from action_bar 2024-09-03 19:59:29 +02:00
Sara Arjona
6adbe05d9f
MDL-82503 badges: Deprecate course_badges report 2024-09-03 19:59:28 +02:00
Sara Arjona
5d5938a7ed
Merge branch 'MDL-82490-main' of https://github.com/laurentdavid/moodle 2024-09-03 19:40:38 +02:00
Sara Arjona
e812811b11
Merge branch 'MDL-81767-main' of https://github.com/roland04/moodle 2024-09-03 19:35:20 +02:00
Mikel Martín
a0fa76c86b MDL-81767 courseformat: Add module quickcreation feature
- Add new 'FEATURE_QUICKCREATE' plugin feature that indicates the module can
  be created with a single click. It will use its own 'quickcreatename' defined
  string as the initial default name.
- Add new 'core_courseformat\external\create_module' web service to create new
  modules with the quickcreate featuer in the course page.
- Add a new 'create_module' state action.
2024-09-03 13:35:04 +02:00
Ilya Tregubov
f3a7b673c1 Merge branch 'main_MDL-66151' of https://github.com/mattporritt/moodle 2024-09-03 11:07:47 +08:00
Trisha Milan
e52fbd2f84 MDL-66151 Performance: Session Manager modularisation
Storage of session metadata has moved into the session handler class.
This allows for other classes to fully control session handling and
removes the dependancy on the core sessions database table.

Previously, the standard method of interaction with the
session metadata was direct DB calls; this may break other plugins as there
are now proper APIs available through the session manager.

Co-authored-by: Darren Cocco <moodle@darren.cocco.id.au>
Co-authored-by: Trisha Milan <trishamilan@catalyst-au.net>
Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
2024-09-03 13:04:04 +10:00
Ilya Tregubov
71ede9e192 Merge branch 'MDL-75850-main-fix' of https://github.com/meirzamoodle/moodle 2024-09-03 10:17:17 +08: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
Laurent David
7384a8bbad MDL-82490 core_output: Add disabled option for url_select
* Add a way to disable (and enable later) option in the url select
selector.
2024-09-02 17:43:33 +02:00
Shamiso.Jaravaza
87dee7620e MDL-82520 mod_bigbluebuttonbn: Show presentation
* Added setting to show/hide presentation file on activity page
* Created capability to check if user should always see presentation
2024-08-30 20:27:20 -06:00
Huong Nguyen
490556705c
Merge branch 'MDL-71326-final-deprecation-of-plagiarism-functions-4-4' of https://github.com/ziegenberg/moodle 2024-08-29 10:13:56 +07:00
Sara Arjona
0e4d6567a0
Merge branch 'MDL-73976' of https://github.com/paulholden/moodle 2024-08-28 14:08:58 +02:00
meirzamoodle
72b43c3541 MDL-75850 core: file redact
File redact is a core plugin to remove or obsure from a file (image, doc) prior to publication/release.
Currently, it has an EXIF remover service using exiftool command, but it is also possible to
add other services related to file redacting.

The plugin admin settings is under Server as it's parent.

Co-authored-by: Huong Nguyen <huongnv13@gmail.com>
2024-08-28 17:17:08 +07:00
Marina Glancy
bb466df202 MDL-82567 core: Add has_capability method
Co-authored-by: David Woloszyn <david.woloszyn@moodle.com>
Co-authored-by: Jun Pataleta <jun@moodle.com>
2024-08-28 03:34:17 +00:00
Sara Arjona
07db2a85b8
Merge branch 'MDL-74583' of https://github.com/paulholden/moodle 2024-08-27 09:22:59 +02:00
Huong Nguyen
4f25ac1044
Merge branch 'MDL-82158-main' of https://github.com/andrewnicols/moodle 2024-08-27 10:01:38 +07:00
Jun Pataleta
76cacbd856
Merge branch 'MDL-82297-main' of https://github.com/laurentdavid/moodle 2024-08-27 10:00:31 +08:00
Paul Holden
670b4af61c
MDL-74583 reportbuilder: final removal of legacy namespaced classes. 2024-08-26 20:44:41 +01:00
Laurent David
29b2bfe51f MDL-82297 core: Improve core notification message
* Improve the notification message so it can have a
title and titleicon.
2024-08-26 14:49:02 +02:00
Huong Nguyen
3fb925e581
MDL-69684 session_redis: Improve upgrade note 2024-08-26 10:53:48 +07:00
Huong Nguyen
1d501e682e
Merge branch 'MDL-69684_its-possible-to-hold-a-redis-session-lock-forever' of https://github.com/ziegenberg/moodle 2024-08-26 10:47:07 +07:00
Huong Nguyen
bb8037c457
Merge branch 'MDL-80747-main' of https://github.com/rezaies/moodle 2024-08-26 10:05:06 +07:00
Shamim Rezaie
6495bebac2 MDL-72397 qbank_managecategories: Fix whitespace 2024-08-23 13:45:17 +10:00
Shamim Rezaie
3a50726b29 Merge branch 'MDL-72397_main-reactive' of https://github.com/marxjohnson/moodle 2024-08-23 12:53:21 +10:00
Daniel Ziegenberg
492bca0a67
MDL-69684 session: Redis session locks set with expiry atomically
Co-Authored-By: Jamie Chapman-Brown <jamie.chapman-brown@agilicus.com>
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-08-22 18:22:50 +02:00
Shamim Rezaie
0d23024ad0 MDL-80747 output: Inline labels in the single-select combobox widget 2024-08-23 01:29:49 +10:00
Shamim Rezaie
c171c6ef6b MDL-80747 output: Support dividers in the single-select combobox widget 2024-08-23 01:29:49 +10:00
Mark Johnson
cc17317b62
MDL-72397 qbank_managecategories: Deprecate question_category_object
This also deprecates moodle_list and list_item, which were only being
used by qbank_managecategories, and the QUESTION_PAGE_LENGTH constant
which was defined in question_category_object.php but only used by
moodle_list.
2024-08-22 10:59:25 +01:00
Mark Johnson
2dad710f12
MDL-72397 qbank_managecategories: UI enhancement
This implementation will introduce a new user interface for
"qbank_managecategories" plugin which will allow user to drag and drop.
Having this plugin will give users the flexibility of reordering, adding
or editing
categories from the qbank_managecategories view.

Co-authored-by: Marc-Alexandre Ghaly <marc-alexandreghaly@catalyst-ca.net>
Co-authored-by: Luca Bösch <luca.boesch@bfh.ch>
2024-08-22 10:59:24 +01:00
Mark Johnson
e3513f84a2
MDL-72397 qbank_managecategories: API reorganisation
This splits the API functions required for the reorganised category UI,
to properly separate the qbank_managecategories and core_question APIs.

This methods that were part of question_category_object that should live
in the core_question namespace (generate CRUD operations related to
categories) are moved to the new \core_question\category_manager class.
The parts that belong in the qbank_managecategories plugin as they are
used to display the editing UI are moved to the
\qbank_managecategories\question_categories class.

Static methods that were defined in \qbank_managecategories\helper and
were only used within methods that have been moved to one of the new
classes have been deprecated and moved to those new classes as well.

This will allow the entire
\qbank_managecategories\question_category_object class to be deprecated
in the following commit.
2024-08-22 10:27:16 +01:00
Shamim Rezaie
96410abbf9 Merge branch 'MDL-82857-main' of https://github.com/mihailges/moodle 2024-08-22 13:38:30 +10:00
Huong Nguyen
29bbead33a
Merge branch 'MDL-79011-main' of https://github.com/andrewnicols/moodle 2024-08-22 10:30:12 +07:00
Andrew Nicols
fc7945cbc3
MDL-79011 core: Convert after_config callback to hook 2024-08-22 10:52:25 +08:00
Mihail Geshoski
eb228521dc MDL-82857 mod_assign: Deprecate mod_assign_grading_options_form class 2024-08-22 09:34:51 +08:00
Daniel Ziegenberg
7c5199bdc9
MDL-71326 plagiarism: Final deprecation of plagiarism functions
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-08-21 23:25:25 +02:00
Sara Arjona
b628db7abe
Merge branch 'MDL-82742-main' of https://github.com/albertgasset/moodle 2024-08-21 16:43:44 +02:00
Huong Nguyen
c6bdae8f76
Merge branch 'MDL-82212-main' of https://github.com/sarjona/moodle 2024-08-21 17:35:59 +07:00
Sara Arjona
dbd0b66ade
Merge branch 'MDL-72620' of https://github.com/paulholden/moodle 2024-08-21 10:44:22 +02:00
Sara Arjona
c77a0dad13
MDL-82212 behat: Display error when deprecated icons are found
A check for deprecated icons has been integrated into Behat tests.
This check can be disabled by adding the --no-icon-deprecations flag
to the Behat initialization command.
2024-08-21 07:05:14 +02:00
Sara Arjona
9f63a03d93
MDL-82212 core: Add a mechanism to deprecate icons
A new method, get_deprecated_icons(), has been added to the icon_system class.
All deprecated icons should be registered through this method.
When $CFG->debugpageinfo is enabled, a console message will display a list of
the deprecated icons.
2024-08-21 07:05:13 +02:00
Andrew Nicols
aa298d575f
MDL-82158 core_cache: Note API changes 2024-08-20 20:44:29 +08:00
Jake Dallimore
45faf93d87
Merge branch 'MDL-82778-main' of https://github.com/andrewnicols/moodle 2024-08-20 11:07:13 +08:00
Huong Nguyen
c986f00ed8
Merge branch 'MDL-74939' of https://github.com/paulholden/moodle 2024-08-20 09:43:06 +07:00
Ilya Tregubov
82694f5fee MDL-82295 mod_assign: Action menus for grade and status columns.
Edit column is removed from view all submissions page. Its merged
into grade and status columns.

Co-authored-by: Mihail Geshoski <mihail@moodle.com>
2024-08-16 11:57:17 +08:00
Andrew Nicols
d85201adcb
MDL-82778 core: Update core/fetch module to use Class 2024-08-15 22:45:47 +08:00
Paul Holden
5b4e858e80
MDL-74939 output: final removal of deprecated navigation namespace. 2024-08-15 11:14:18 +01:00