1. 14 Jan, 2021 1 commit
    • Eloy Lafuente's avatar
      MDL-69308 upgrade: remove all the < 3.6.0 upgrade steps · 77342b96
      Eloy Lafuente authored
      This just deletes all the upgrade steps previous to 3.6.0. Some
      small adjustments, like tweaking globals can also be applied
      when needed.
      
      Also includes an upgrade step to prevent upgrading from any
      version < 2018120300 (v3.6.0) as anti-cheating measure.
      
      Note that in this case, there wasn't any case of upgradelib
      functions being used, hence we haven't to deprecate/remove
      anything in codebase. When there is such a need, that is done
      in separate commits (one for each function) and documented here.
      
      See MDL-65809 commits for an example removing/deprecating a
      good number of functions.
      77342b96
  2. 14 Jun, 2020 1 commit
  3. 20 Dec, 2019 2 commits
    • Sara Arjona's avatar
      MDL-65809 upgrade: clean < 3.5.0 upgrade steps · a26cfe71
      Sara Arjona authored
      This just deletes all the upgrade steps previous to 3.5.0. Some
      small adjustments, like tweaking globals can also be applied
      when needed.
      
      Also includes an upgrade step to prevent upgrading from any
      version < 2018051700 (v3.5.0) as anti-cheating measure.
      
      Previous commits have removed/deprecated all the upgradelib functions
      not used anymore in codebase. Deletion has been documented in corresponding
      upgrade.txt files:
      
      - upgrade_fix_block_instance_configuration()
      - upgrade_theme_is_from_family(), upgrade_find_theme_location()
      and linkcoursesectionsupgradescriptwasrun setting
      - upgrade_block_positions
      - upgrade_fix_config_auth_plugin_names()
       and upgrade_fix_config_auth_plugin_defaults()
      - format_xxx_upgrade_remove_numsections(), format_xxx_upgrade_hide_extra_sections()
      and format_xxx_upgrade_add_empty_sections()
      - filter_mathjaxloader_upgrade_cdn_cloudflare()
      and filter_mathjaxloader_upgrade_mathjaxconfig_equal()
      - get_assignments_with_rescaled_null_grades()
      
      These have been kept because continue being used by restore:
      
      - \core\task\refresh_mod_calendar_events_task
      a26cfe71
    • Sara Arjona's avatar
      MDL-65809 upgrade: remove upgrade_fix_config_auth_plugin_names · 089e9180
      Sara Arjona authored
      These functions were used only by deleted upgrade steps
      so it's safe to proceed with straight deletion, considering
      them internal. Deletion has been documented in corresponding
      upgrade.txt files:
      
      - upgrade_fix_config_auth_plugin_names()
      - upgrade_fix_config_auth_plugin_defaults()
      089e9180
  4. 17 Nov, 2019 1 commit
  5. 21 May, 2019 1 commit
  6. 03 Jan, 2019 1 commit
    • Eloy Lafuente's avatar
      MDL-63276 upgrade: clean < 3.2.0 upgrade steps · a12207be
      Eloy Lafuente authored
      3.7 (min PHP 7.1) requires 3.2 (first version supporting PHP 7.1)
      
      This just deletes all the upgrade steps previous to 3.2.0. Some
      small adjustments, like adding missing MOODLE_INTERNAL or tweaking
      globals can also be applied when needed.
      
      Also includes an upgrade step to prevent upgrading from any
      version < 2016120500 (v3.2.0) as anti-cheating measure.
      
      Next commit will get rid of/deprecate all the upgradelib functions
      not used anymore in codebase. (note there isn't any this time).
      a12207be
  7. 03 Dec, 2018 1 commit
  8. 28 May, 2018 1 commit
  9. 13 Nov, 2017 1 commit
  10. 20 May, 2017 1 commit
  11. 08 May, 2017 1 commit
    • David Mudrák's avatar
      MDL-58793 auth: Do not report migrated settings as new ones on upgrade · 2b948c20
      David Mudrák authored
      As a result of fixing the auth plugins config storage in MDL-12689, many
      settings would be falsely reported as new ones by
      admin/upgradesettings.php. We do not want to confuse admins so we try to
      reduce the bewilderment by pre-populating the config_plugins table with
      default values. This should be done only for disabled auth methods. The
      enabled methods have their settings already stored, so reporting actual
      new settings for them is valid.
      2b948c20
  12. 03 May, 2017 1 commit
    • David Mudrák's avatar
      MDL-58692 auth: Improve the migration of auth setting names · 31bd1023
      David Mudrák authored
      Some auth plugins used to have a mix of the legacy style of plugin names
      in config_plugins table (such as 'auth/mnet') and the new correct
      style (such as 'auth_mnet'). Attempting to rename the setting plugin via
      low level SQL UPDATE could lead to duplicate key violation.
      
      The patch introduces a new helper function to safely migrate the old
      settings to the new ones, eventually informing the admin about the
      values mismatch.
      31bd1023
  13. 03 Apr, 2017 1 commit
  14. 06 Dec, 2016 1 commit
  15. 23 May, 2016 1 commit
  16. 16 Feb, 2016 1 commit
    • Eloy Lafuente's avatar
      MDL-51580 upgrade: clean < 2.7.0 upgrade steps · e8c82aac
      Eloy Lafuente authored
      This just deletes all the upgrade steps previous to 2.7.0. Some
      small adjustments, like adding missing MOODLE_INTERNAL or tweaking
      globals can also be applied when needed.
      
      Next commit will get rid of/deprecate all the upgradelib functions
      not used anymore in codebase.
      e8c82aac
  17. 18 Nov, 2015 1 commit
  18. 12 May, 2015 1 commit
  19. 11 Nov, 2014 1 commit
  20. 28 May, 2014 1 commit
  21. 18 Nov, 2013 1 commit
  22. 09 Oct, 2013 1 commit
    • Tim Gus's avatar
      MDL-40939 tex filter: Changes to the TeX notation plugin · 7a372321
      Tim Gus authored
      - Added configurable setting for path to mimetex binary
      - Moved language strings from lang/en/admin.php to lang/en/filter_tex.php
      - Config settings now stored in table config_plugins and retrieved
      through get_config
      - Added upgrade step to move TeX settings to the config_plugins table
      and delete settings from the config table
      
      AMOS BEGIN
        MOV [configconvertformat,core_admin],[configconvertformat,filter_tex]
        MOV [convertformat,core_admin],[convertformat,filter_tex]
        MOV [latexpreamble,core_admin],[latexpreamble,filter_tex]
        MOV [latexsettings,core_admin],[latexsettings,filter_tex]
        MOV [pathconvert,core_admin],[pathconvert,filter_tex]
        MOV [pathdvips,core_admin],[pathdvips,filter_tex]
        MOV [pathlatex,core_admin],[pathlatex,filter_tex]
      AMOS END
      7a372321
  23. 20 May, 2013 1 commit
  24. 11 Dec, 2012 1 commit
  25. 29 Jun, 2012 1 commit
  26. 23 Dec, 2011 2 commits
  27. 09 Dec, 2011 1 commit
  28. 07 Jul, 2011 1 commit
  29. 13 Mar, 2011 1 commit
    • Petr Skoda's avatar
      PULL-442 multiple TeX related fixes · f7f0909c
      Petr Skoda authored
      Prevent moodle_url error, cleanup entity encoding and decoding, disable tex source view when TeX and Algebra plugins disabled, localise TeX source popup and prevent phishing attempts, fix executable permission of Algebra pearl script, prevent image error in tex debug when Tex/Ghostscript not configured properly, fix copyright blocks and phpdocs, improve coding style, fix wrong source display link in Algebra filter.
      f7f0909c
  30. 28 Feb, 2011 1 commit
    • Petr Skoda's avatar
      MDL-26564 fix regressions and other problems in csv user upload · 8bdb31ed
      Petr Skoda authored
      This patch fixes incorrect password creating, updating and resetting, updating of user fields, unsupported auth plugins are correctly identified, modification of mnethostid is prevented, fixed problem with email duplicates, new password is generated for users without email, etc. It also includes coding style improvements, more inline docs, future TODOs and license information.
      8bdb31ed
  31. 01 Aug, 2010 1 commit
  32. 31 Jul, 2010 1 commit
  33. 13 Jul, 2010 1 commit
  34. 21 Jun, 2010 1 commit
    • Petr Skoda's avatar
      MDL-21782 reworked enrolment framework, the core infrastructure is in place,... · df997f84
      Petr Skoda authored
      MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
      
      AMOS START
          MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
          MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
          MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
          MOV [enrolenddate,core],[enrolenddate,enrol_self]
          CPY [welcometocourse,core],[welcometocourse,enrol_self]
          CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
          MOV [notenrollable,core],[notenrollable,core_enrol]
          MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
          MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
          MOV [coursemanager,core_admin],[coursecontact,core_admin]
          MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
          MOV [enrolledincourserole,core],[enrolledin...
      df997f84
  35. 10 Apr, 2010 2 commits
    • David Mudrak's avatar
      MDL-15252 Re-committing all English strings exported from AMOS · 30c8dd34
      David Mudrak authored
      From now on, all English strings use the new syntax. They are not
      eval()'ed any more and the only valid placeholders are {$a} and
      {$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
      double percent signs.
      
      The modified files were exported from AMOS database repository in the
      new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
      blocks are added. Where there was no copyright note so far, I added the
      default one with Martin Dougiamas as the copyright holder.
      
      Live long and prosper.
      30c8dd34
    • Petr Skoda's avatar
      MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling... · 3a915b06
      Petr Skoda authored
      MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs
      3a915b06
  36. 02 Apr, 2010 1 commit
  37. 23 Sep, 2008 1 commit