3561 Commits

Author SHA1 Message Date
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
Huong Nguyen
43784b0d98
Merge branch 'MDL-46739_main' of https://github.com/marxjohnson/moodle 2024-11-14 09:26:43 +07:00
Laurent David
fbe420fc26 MDL-83185 core_courseformat: Refresh cache on group change
* When we add users to a group (or remove them), we should refresh
the course index cache so it stays in sync with what the user
can actually see.
2024-11-11 13:17:27 +01:00
ferran
1f7faa941b MDL-83185 core_courseformat: Allow global state cache invalidation 2024-11-11 13:17:26 +01:00
Tim Hunt
8f9b57d5d3
MDL-46739 user preferences: change value column to TEXT.
Other similar columns config.value and config_plugins.value are TEXT, so
it is surprising that this column is different, and that has lead to
bugs in the past, so we should make it consistent.
2024-11-11 11:33:52 +00:00
Jun Pataleta
bf18f379f7
Merge branch 'MDL-83154-main' of https://github.com/davewoloszyn/moodle 2024-11-04 16:48:39 +08:00
David Woloszyn
2baf81a243 MDL-83154 AI: Add model field to ai_action_register table 2024-11-01 10:38:39 +11:00
Jun Pataleta
c9356e039f
MDL-83374 upgrade: add the 4.5.0 separation line to all upgrade scripts 2024-10-05 21:16:13 +08:00
Huong Nguyen
d1cced3864
Merge branch 'MDL-83296' of https://github.com/marinaglancy/moodle 2024-10-03 08:44:21 +07:00
Shamim Rezaie
6399179739 MDL-83332 core: Remove slasharguments config modification lines
MDL-62640 removed the 'slasharguments' config, and 3229dda3 attempted to
restore it by setting it to 1. This could unintentionally reset the
'slasharguments' config for all sites upgrading to 4.5.
2024-10-03 02:16:32 +10:00
meirzamoodle
3229dda3d6 MDL-83332 core: Revert the slashargument removal on MDL-62640
Removing the option causes issues on MacOS.
2024-10-02 18:36:14 +07:00
Marina Glancy
7015c67d7c MDL-83296 user: store defaulthomepage as a relative url 2024-09-27 14:31:26 +01:00
Andrew Nicols
ebdac763ed
Merge branch 'MDL-83268-main' of https://github.com/sarjona/moodle 2024-09-26 14:39:13 +08:00
Huong Nguyen
7c3c18c4e8
Merge branch 'MDL-62640-main' of https://github.com/meirzamoodle/moodle 2024-09-26 11:06:55 +07:00
Huong Nguyen
e148d291e8
Merge branch 'MDL-83245-main' of https://github.com/andrewnicols/moodle 2024-09-26 10:27:53 +07:00
Andrew Nicols
b9a5ed7737
MDL-83245 core_files: Update file redaction API
This change:
- Moves the API to use the `before_file_created` hook
- Remove the newly created `$notify` param for `after_file_created` hook
- Stop persisting redactable content
- Update manager to not deal with `stored_file` instances
- Correct namespace from `\core\filereact` to `\core_files\redactor`
- Add `redactor` as a valid L2 namespace within the `core_files` API
- Correct config setting names
- Adds missing unit tests
- Disables the service for PHPUnit tests

AMOS BEGIN
  MOV [fileredact,core_files],[redactor,core_files]
  MOV [fileredact,core_files],[redactor:exifremover,core_files]
  MOV [fileredact,core_files],[redactor:exifremover:emptyremovetags,core_files]
  MOV [fileredact,core_files],[redactor:exifremover:enabled,core_files]
  MOV [fileredact,core_files],[redactor:exifremover:enabled_desc,core_files]
  MOV [fileredact,core_files],[redactor:exifremover:failedprocessexiftool,core_files]
  MOV [fileredact,core_files],[redactor:exifremover:failedprocessgd,core_files]
  MOV [fileredact,core_files],[redactor:exifremover:heading,core_files]
  MOV [fileredact,core_files],[redactor:exifremover:mimetype,core_files]
  MOV [fileredact,core_files],[redactor:exifremover:mimetype_desc,core_files]
  MOV [fileredact,core_files],[redactor:exifremover:removetags,core_files]
  MOV [fileredact,core_files],[redactor:exifremover:removetags_desc,core_files]
  MOV [fileredact,core_files],[redactor:exifremover:tag:all,core_files]
  MOV [fileredact,core_files],[redactor:exifremover:tag:gps,core_files]
  MOV [fileredact,core_files],[redactor:exifremover:tooldoesnotexist,core_files]
  MOV [fileredact,core_files],[redactor:exifremover:toolpath,core_files]
  MOV [fileredact,core_files],[redactor:exifremover:toolpath_desc,core_files]
AMOS END
2024-09-26 11:24:17 +08:00
Sara Arjona
14e2bb4c87
MDL-83268 core_h5p: Remove the h5plib_v126 plugin
The h5plib_v126 plugin can be removed because it has been replaced
with h5plib_v127, which is using the latest versions of the
libraries.
2024-09-25 17:06:35 +02:00
meirzamoodle
3b9fa14c78 MDL-62640 admin: Remove the slasharguments admin setting 2024-09-25 08:30:17 +07:00
Safat
b5ac3257b5
MDL-81924 core_sms: Add SMS gateway management UI
Originally implemented as MDL-81732.

Co-authored by: Michael Hawkins <michaelh@moodle.com>
2024-09-23 10:53:30 +07:00
Andrew Nicols
10c3e4b770
MDL-81924 core_sms: Add new subsystem and plugintype
Originally implemented as MDL-80960.
2024-09-23 10:43:39 +07:00
Jun Pataleta
254f752b76
Merge branch 'MDL-79628-move-navcache-to-muc-feature' of https://github.com/rajandangi/moodle 2024-09-19 11:14:11 +08:00
Jun Pataleta
a3b837e135
MDL-83153 core: Upgrade step for instances that need conversion
Add an upgrade step to convert `ai_action_register.success` columns
with binary type to an integer type with length 1.
2024-09-18 21:06:48 +08:00
Jun Pataleta
0d10fda3fb
MDL-83153 core: Set ai_action_register.success as INT(1) 2024-09-17 23:10:09 +08:00
Huong Nguyen
eae6d64624
MDL-82627 AI: Database modification
Allow nullable value for `prompt` and `sourceurl` columns
2024-09-12 13:03:53 +07:00
Huong Nguyen
feaa2939c6
MDL-82627 AI: Fix install.xml and upgrade.php mismatch 2024-09-11 14:07:30 +07:00
Andrew Nicols
acc1f4136b
MDL-82627 AI: Placement Text Editor - Code cleanup
Co-authored-by: Huong Nguyen <huongnv13@gmail.com>
2024-09-11 11:25:16 +07:00
Huong Nguyen
253253eede
MDL-82627 AI: Code cleanup
Co-authored-by: Meirza <meirza.arson@moodle.com>
2024-09-11 11:25:16 +07:00
Matt Porritt
086ac975f0
MDL-82627 AI: LMS Subsystem
Initial implementation of the LMS AI subsystem.
Originally implemented in MDL-80889

Co-authored-by: Meirza <meirza.arson@moodle.com>
2024-09-11 11:02:51 +07:00
Sara Arjona
ce5cda1c07
Merge branch 'MDL-83020' of https://github.com/paulholden/moodle 2024-09-09 17:03:02 +02:00
rajandangi
3615f732ad MDL-79628 navigation: Refactor navigation_cache to use MUC 2024-09-06 09:39:17 +09:30
Paul Holden
938251eb89
MDL-83020 badges: validate correct context when retrieving badge.
Remove capablity check, as this is intended to be public info.
2024-09-05 16:03:32 +01: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
Jun Pataleta
2f6e81090f
Merge branch 'MDL-82984-main' of https://github.com/sarjona/moodle 2024-09-03 10:45:15 +08:00
Ilya Tregubov
71ede9e192 Merge branch 'MDL-75850-main-fix' of https://github.com/meirzamoodle/moodle 2024-09-03 10:17:17 +08:00
Sara Arjona
875fa9c2ec
MDL-82984 core: Missing step to uninstall filter_tidy 2024-09-02 18:36:03 +02:00
Huong Nguyen
1d5a323677
Merge branch 'MDL-82790-main' of https://github.com/andrewnicols/moodle 2024-08-29 10:07:09 +07:00
Ilya Tregubov
83f04f5066 Merge branch 'MDL-82105-main' of https://github.com/durenadev/moodle 2024-08-29 09:44:27 +08:00
Andrew Nicols
e6146bca1b
Merge branch 'MDL-82359-main' of https://github.com/sammarshallou/moodle 2024-08-28 22:46:56 +08: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
Daniel Ureña
33717237aa MDL-82105 Badges: Get badge by badge id. 2024-08-28 10:14:15 +02: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
Paul Holden
670b4af61c
MDL-74583 reportbuilder: final removal of legacy namespaced classes. 2024-08-26 20:44:41 +01:00
Andrew Nicols
b92008c92c
MDL-82158 core_cache: Coding style fixes 2024-08-20 20:44:28 +08:00
Andrew Nicols
9fe7dedb9f
MDL-82790 core: Remove filter_tidy 2024-08-20 20:22:55 +08:00
Andrew Nicols
cd6501c017
MDL-82158 core_cache: Moved disabled cache infrastructure 2024-08-20 15:27:06 +08:00
Andrew Nicols
a63e81bfa5
MDL-82158 core_cache: Move cache definition 2024-08-20 15:27:05 +08:00
Andrew Nicols
c5ff1b053f
MDL-82158 core_cache: Move cache stores 2024-08-20 15:27:05 +08:00
Andrew Nicols
4038c52928
MDL-82158 core_cache: Move interfaces 2024-08-20 15:27:04 +08:00