1. 13 Nov, 2017 1 commit
  2. 10 Jul, 2017 1 commit
    • Eloy Lafuente's avatar
      MDL-57432 upgrade: clean < 3.0.0 upgrade steps · 29af7b0b
      Eloy Lafuente authored and Dan Poltawski's avatar Dan Poltawski committed
      This just deletes all the upgrade steps previous to 3.0.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 < 2015111600 (v3.0.0) as anti-cheating measure.
      
      Next commit will get rid of/deprecate all the upgradelib functions
      not used anymore in codebase.
      29af7b0b
  3. 20 May, 2017 1 commit
  4. 04 Apr, 2017 2 commits
  5. 31 Mar, 2017 1 commit
  6. 06 Dec, 2016 1 commit
  7. 15 Sep, 2016 1 commit
    • Andrew Nicols's avatar
      MDL-55866 mod_data: Remember editor enabled state for templates · 4e2e54ee
      Andrew Nicols authored
      Some templates can legitimately contain invalid HTML (e.g. mismatched tags)
      because the templates operate in pairs.
      
      In these instances we should not use an editor because the nature of the
      editor (content editable) means that the browser automatically corrects all
      HTML supplied to it, thus breaking the template entirely.
      
      Therefore we need to disable HTML editors for some templates, and do so in
      a way tied to the instance of the activity, rather than to a specific user.
      
      This patch adds a new 'config' field, with matching setters and getters, to
      allow such per-instance values to be stored.
      4e2e54ee
  8. 23 May, 2016 1 commit
  9. 16 Mar, 2016 1 commit
  10. 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
  11. 18 Nov, 2015 1 commit
  12. 15 Sep, 2015 1 commit
    • Johannes Burk's avatar
      MDL-50664 mod_data: add 'manageapproved' setting. · 97fe80ad
      Johannes Burk authored and Ryan Wyllie's avatar Ryan Wyllie committed
      New function data_user_can_manage_entry checks whether a user is allowed to manage an entry.
      Considering manageentries capability, data_in_readonly_period() result,
      ownership (determined by data_isowner()), approval and manageapproved setting.
      97fe80ad
  13. 12 May, 2015 1 commit
  14. 10 Mar, 2015 1 commit
  15. 09 Mar, 2015 1 commit
    • John Okely's avatar
      MDL-5583 mod_data: Improve required fields · 1c3b2058
      John Okely authored
      Fix accidental <tr> in some field modify screens
      Update mod_data version
      Change required asterisk to image
      Improve required error message
      Fix required icon positions
      Remove required code from date field
      Add name in labels for fields
      Add required field option for multimenu
      Remove old required field title text modifier
      Add multimenu to behat
      Add more comprehensive behat tests
      Reload old input when an input error occurs
      Behat grammar fixes
      Allow location of 0, 0
      Use html_writer
      Fix existing mod_data behat tests
      1c3b2058
  16. 06 Mar, 2015 1 commit
    • Damyon Wiese's avatar
      MDL-5583 mod_data: Add required fields · b89cca19
      Damyon Wiese authored and John Okely's avatar John Okely committed
      This is implemented for most fields but not all. The reason is that there are
      some fields for which this does not make sense because no entry is a valid entry.
      
      The supported fields are:
          checkbox
          file
          latlong
          menu
          number
          picture
          radio
          text
          textarea
          url
      
      The unsupported fields are:
          date
          multimenu
      b89cca19
  17. 11 Nov, 2014 1 commit
  18. 28 May, 2014 1 commit
  19. 18 Nov, 2013 1 commit
  20. 04 Jul, 2013 1 commit
  21. 20 May, 2013 1 commit
  22. 12 Dec, 2012 1 commit
  23. 11 Dec, 2012 1 commit
  24. 29 Jun, 2012 1 commit
  25. 23 Dec, 2011 1 commit
  26. 09 Dec, 2011 1 commit
  27. 07 Jul, 2011 1 commit
  28. 23 May, 2011 1 commit
    • Sam Hemelryk's avatar
      MDL-27471 Adding mandatory component & ratingarea to the ratings API + other fixes · 2b04c41c
      Sam Hemelryk authored and Eloy Lafuente's avatar Eloy Lafuente committed
      * Added the component and ratingarea fields and implemented it throughout
        the rating API as mandatory fields
      * Cleanup rating indexes
      * Upgrade forum/data/glossary ratings
      * Moved the logic in the render_rating method to methods of the rating object.
      * Added new callback for checking ratingareas
      * Cleaned comments here and there
      * Mark the xxx_get_participants methods as deprecated
      * Refactor rate_ajax and ratingsuser_can_view_aggregate methods
      * Cleaned up rating/index.php to use html_table object and moved inline styles to CSS.
      * Added missing properties of the rating object that were being set throughout the rating
        API.
      2b04c41c
  29. 26 Jan, 2011 1 commit
  30. 26 Oct, 2010 1 commit
  31. 01 Oct, 2010 1 commit
  32. 21 Sep, 2010 2 commits
  33. 13 Aug, 2010 1 commit
  34. 16 Jul, 2010 1 commit
  35. 07 Jul, 2010 2 commits
  36. 04 Jul, 2010 1 commit
  37. 03 Jul, 2010 1 commit