Commit Graph

596 Commits

Author SHA1 Message Date
Daniel Ziegenberg a7f02563c7 MDL-76561 core: final deprecation of functions before Moodle 4.4
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-03-16 19:52:11 +01:00
Sara Arjona 1116d54c96 Merge branch 'MDL-84449_deprecate-imagecopybicubic' of https://github.com/ziegenberg/moodle 2025-03-13 16:19:31 +01:00
Daniel Ziegenberg 2be326e162 MDL-84449 core: deprecate imagecopybicubic
The GD lib is a strict requirement, so use imagecopyresampled() instead.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-05-06 06:44:08 +02:00
Huong Nguyen dadc62f937 Merge branch 'MDL-84657_deprecate-calendar_add_month' of https://github.com/ziegenberg/moodle 2025-03-12 17:01:15 +07:00
Daniel Ziegenberg 47b1b9eca3 MDL-79434 core_calendar: Initial deprecation of calendar_sub_month
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-03-12 10:42:09 +01:00
Daniel Ziegenberg 1749f92461 MDL-79434 core_calendar: Final removal of calendar functions
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-03-12 10:40:17 +01:00
Daniel Ziegenberg bf7abf4171 MDL-84657 core_calendar: Initial deprecation of calendar_add_month
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-03-10 11:52:05 +01:00
Daniel Ziegenberg 723cfca487 MDL-73700 environment: Remove the deprecated igbinary322_version check
As MDL-73016 set the minimum supported PHP version for Moodle 4.4 and up
to PHP 8.1 we can now remove the check PHP version 7.2 in combination
with the igbinary extension version.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-01-28 18:58:04 +01:00
Simon Adams 746efe94eb MDL-71378 mod_qbank: Implement add to quiz bank sharing UI 2024-11-18 10:22:58 +00:00
meirzamoodle c299f69e9f MDL-61232 core: Remove process_email.php and anything related to it 2024-10-30 04:51:27 +07: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
meirzamoodle 04246c8aec MDL-62640 environment: Remove the deprecated slash argument check 2024-09-25 08:30:18 +07: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
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
meirzamoodle 020259dbad MDL-64148 core: Deprecate reset_password_and_mail 2024-07-30 22:40:47 +07:00
Paul Holden 9ff0b21e38 MDL-73976 course: final removal of deprecated request button method. 2024-07-24 11:41:18 +01:00
Andrew Nicols 77f9238cf4 MDL-82287 core: Deprecate long-deprecated functions
These were originally believed to be so widely used that we could never
migrate away from them but it seems we have!
2024-06-26 22:19:07 +08:00
Andrew Nicols 4101dc6dab MDL-82287 core: Remove long-deprecated methods 2024-06-25 21:30:30 +08:00
Andrew Nicols 980a84958d MDL-82157 core: Deprecate print_grade_menu 2024-06-12 11:30:54 +08:00
Paul Holden 74384ce875 MDL-81940 core: deprecate RC4 encryption library methods.
Switch current usage to secure `\core\encryption` alternative.
2024-06-03 13:43:41 +01:00
Andrew Nicols 4cbc81c7ea MDL-80275 core: Move disable_output_buffering to setup.php
This method is the only reason stopping lib/setuplib.php from being
included after the autoloader and it is single-purposed.
2024-05-18 21:03:54 +08:00
Ilya Tregubov 5717e7ecd3 Merge branch 'MDL-74484_final-deprecation-of-print_error' of https://github.com/ziegenberg/moodle 2024-05-13 09:16:40 +08:00
Mihail Geshoski 6ca8fde7f5 MDL-48940 core: Final deprecation of search_generate_text_SQL() 2024-04-29 11:41:22 +08:00
Daniel Ziegenberg 0cca112259 MDL-74484 lib: Final deprecation of print_error
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-03-28 13:49:57 +01:00
Mathew May 886d86623e MDL-72438 question: Final deprecations 2024-03-11 13:26:18 +08:00
Ilya Tregubov 6de142b0a2 Merge branch 'MDL-80409' of https://github.com/paulholden/moodle 2024-01-25 09:49:59 +08:00
Sara Arjona 502e1a8329 Merge branch 'MDL-71732' of https://github.com/paulholden/moodle 2024-01-10 17:00:02 +01:00
Paul Holden f75881f263 MDL-80409 dataformat: final removal of deprecated download method. 2023-12-21 15:31:00 +00:00
Sara Arjona 165aa2c318 MDL-72656 course_format: Final deprecation for renderers 2023-12-11 09:00:13 +01:00
Paul Holden a5f4a725b8 MDL-71732 core: final removal of deprecated 400 methods. 2023-11-28 09:16:07 +00:00
Sara Arjona cc9430929d MDL-77708 docs: Update references from docs.moodle.org/dev 2023-09-26 10:30:19 +02:00
Daniel Ziegenberg 7ff4626871 MDL-61165 core: Final deprecation and removal of legacy cron.
Following MDL-52846 this now finally deprecates and removes the
following classes:
- \core\task\legacy_plugin_cron_task.
- \mod_quiz\task\legacy_quiz_reports_cron
- \mod_quiz\task\legacy_quiz_accessrules_cron
- \mod_workshop\task\legacy_workshop_allocation_cron

Please, use the Task API instead:
https://moodledev.io/docs/apis/subsystems/task

This also removes the corresponding and specific to legacy cron strings
from mod_quiz and mod_workshop.

Following MDL-52846 this now finally deprecates and removes the
functions:
  - cron_execute_plugin_type()
  - cron_bc_hack_plugin_functions()

Please, use the Task API instead:
https://moodledev.io/docs/apis/subsystems/task

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2023-08-23 15:52:52 +08:00
Matt Porritt 2772b2b9dc MDL-78698 Libraries: Deprecate random_bytes_emulate function
Since PHP 7.0 the random_bytes() is nativley available and Moodle
LMS requires greater than PHP 7, the native PHP funciton can be
used exclusively. Deprecating random_bytes_emulate.
2023-08-08 12:35:00 +10:00
Andrew Nicols 276bf5acbc Merge branch 'MDL-77793-master' of https://github.com/davewoloszyn/moodle 2023-06-22 14:29:39 +02:00
David Woloszyn 49ee428dca MDL-77793 lib: Deprecated device specific theme functions 2023-06-19 16:32:51 +10:00
Paul Holden c88d6ad8c3 MDL-70187 user: final removal of deprecated 39/311 methods. 2023-06-09 12:02:45 +01:00
Andrew Nicols e82aed72e6 Merge branch 'MDL-78012' of https://github.com/paulholden/moodle 2023-05-25 12:02:55 +08:00
Sara Arjona e7ec8da607 MDL-78132 badges: deprecate functions and strings
When the logic to get the correct apiBase has been moved to the
backpack, some strings and methods have been marked as deprecated.
2023-05-23 08:47:10 +02:00
Paul Holden 46d12cfa11 MDL-78012 badges: final removal of deprecated 311 backpack methods. 2023-05-16 14:58:10 +01:00
Paul Holden 2b6d7d300a MDL-71413 user: final removal of deprecated profile field methods. 2023-05-04 14:16:05 +01:00
Andrew Nicols 115d6a8b9d MDL-77837 cron: Move cron_setup_user to deprecatedlib 2023-04-06 23:19:01 +08:00
Ilya Tregubov 90fa3f3390 Merge branch 'MDL-69976' of https://github.com/paulholden/moodle 2023-04-04 12:20:52 +08:00
Jun Pataleta 869cfac1cc Merge branch 'MDL-69124' of https://github.com/paulholden/moodle 2023-03-21 15:48:01 +01:00
Paul Holden 060e47e58e MDL-69976 mod_lti: final removal of deprecated 310 method. 2023-03-20 09:41:15 +00:00
Sara Arjona adc7bd5103 Merge branch 'MDL-67526_final-deprecation-of-plagiarism-functions' of https://github.com/ziegenberg/moodle 2023-03-17 13:03:31 +01:00
Daniel Ziegenberg 3018036ebd MDL-67526 plagiarism: Final deprecation of plagiarism functions
Following MDL-65835 this now finally deprecates and removes the
functions:
  - plagiarism_save_form_elements(), please use
    {plugin name}_coursemodule_edit_post_actions() instead
  - plagiarism_get_form_elements_module(), please use
    {plugin name}_coursemodule_standard_elements() instead.
  - plagiarism_plugin::get_form_elements_module(), please
    use {plugin name}_coursemodule_edit_post_actions() instead.
  - plagiarism_plugin::save_form_elements(), please use
    {plugin name}_coursemodule_standard_elements() instead.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2023-03-14 17:04:20 +01:00
Andrew Nicols 39f3b1ab66 MDL-77186 core: Move deprecated cron functions to deprecatedlib 2023-03-14 11:19:03 +08:00
Andrew Nicols 9ec46c232d MDL-77186 core: Move all uses of cronlib to new class 2023-03-13 21:21:13 +08:00
Paul Holden 5b7c1491fc MDL-69124 course: final removal of deprecated 310 method. 2023-03-07 12:43:44 +00:00