1. 20 Aug, 2021 1 commit
    • Ferran Recio Calderó's avatar
      MDL-71209 courseformat: add course index modules · 830c3eb9
      Ferran Recio Calderó authored and Amaia's avatar Amaia committed
      The course index is the first UI component that implements the new
      drawers and the reactive components. The course index uses the course
      state to present the current course structure and changes whenever
      that structure change.
      830c3eb9
  2. 14 Jul, 2021 1 commit
  3. 09 Jul, 2021 1 commit
  4. 08 Jul, 2021 1 commit
    • jun's avatar
      MDL-61460 core: Create a copy to clipboard JS module · 341578bf
      jun authored
      
      
      This works by adding event listeners for elements that contain
      the 'copytoclipboard' "data-action" attribute through event delegation.
      These trigger elements must also define a "data-clipboard-target"
      attribute which contains the query selector for the target element
      where text will be copied.
      
      On success, a toast message is shown to the user that the text has
      been copied to the clipboard. This success message can be customised
      by passing a message string to the "data-clipboard-success-message"
      attribute in the trigger element.
      
      When the element's value or innerText cannot be found, a toast message
      indicating that the text cannot be copied to the clipboard is shown.
      
      The copy to clipboard functionality is primarily using the Clipboard API
      but in the event that this is not available, e.g. the site is not
      running on HTTPS, this falls back to the document.execCommand('copy')
      approach of copying the text in the target container.
      
      Special thanks to Andrew for improving this module with the event
      delegation approach and improved fallback handling.
      
      Co-authored-by: default avatarAndrew Lyons <andrew@nicols.co.uk>
      341578bf
  5. 01 Jul, 2021 1 commit
  6. 14 Jun, 2021 1 commit
  7. 02 Jun, 2021 1 commit
  8. 05 May, 2021 1 commit
  9. 04 May, 2021 1 commit
  10. 01 May, 2021 1 commit
  11. 21 Apr, 2021 1 commit
    • bas's avatar
      MDL-28452 core_user: migrate social profile fields · f9e1c258
      bas authored
      Create a new profile field type, move all existing content of the fields
      'icq', 'skype', 'aim', 'yahoo', 'msn' and 'url' in the mdl_user table to
      theses new profile fields if needed.
      
      AMOS BEGIN
      MOV [aimid,core],[aimid,courseimage,profilefield_social]
      MOV [yahooid,core],[yahooid,profilefield_social]
      MOV [skypeid,core],[skypeid,profilefield_social]
      MOV [icqnumber,core],[icqnumber,profilefield_social]
      MOV [msnid,core],[msnid,profilefield_social]
      MOV [webpage,core],[webpage,profilefield_social]
      AMOS END
      f9e1c258
  12. 17 Apr, 2021 1 commit
  13. 02 Apr, 2021 1 commit
  14. 23 Mar, 2021 1 commit
  15. 17 Mar, 2021 1 commit
  16. 02 Mar, 2021 1 commit
  17. 25 Feb, 2021 1 commit
  18. 16 Feb, 2021 1 commit
  19. 27 Jan, 2021 2 commits
  20. 25 Jan, 2021 1 commit
  21. 20 Jan, 2021 1 commit
  22. 21 Dec, 2020 1 commit
  23. 27 Oct, 2020 2 commits
  24. 26 Oct, 2020 1 commit
  25. 15 Oct, 2020 1 commit
  26. 05 Oct, 2020 1 commit
  27. 29 Sep, 2020 1 commit
  28. 28 Sep, 2020 1 commit
    • Shamim Rezaie's avatar
      MDL-69649 backup: Fix missing labels · 2c93a1f5
      Shamim Rezaie authored
      - The backup details page uses a table to show a sumary of the backup
        content. Used role attribute to denote the tabular format of the
        summary.
      - The backup details page displays activity name next to each activity
        icon. Therefore the icons are only decorative and do not need to have
        any title or even alt text.
      - Form labels should be associated with form controls.  A div element is
        not a form control.
      - The from attribute of the form labels should be equal to the id
        attribute of an element. Therefore, we first create a label and an
        input elements and associate them to each other, and then pass them to
        backup_detail_pair() when a label is needed.
      2c93a1f5
  29. 21 Sep, 2020 2 commits
  30. 07 Sep, 2020 1 commit
  31. 21 Aug, 2020 1 commit
  32. 17 Jun, 2020 1 commit
  33. 10 Jun, 2020 1 commit
  34. 04 Jun, 2020 1 commit
  35. 03 Jun, 2020 1 commit
  36. 29 May, 2020 1 commit
  37. 27 May, 2020 1 commit
    • David Mudrák's avatar
      MDL-68753 lang: Remove a redundant okay string and use "OK" everywhere · 2615e429
      David Mudrák authored
      The "Ok" (with lower-case "k") string was added in MDL-68409 to keep
      backwards compatibility with YUI alerts that had it hard-coded. But we
      should not need to explain to translators why we have two OK strings
      like this and why they use different wording.
      
      Additionally, there would be inconsistency in Behat tests and everywhere
      depending on which "OK" or "Ok" string is used for buttons.
      
      So instead, this patch changes the hard-coded 'Ok' string in the YUI and
      we should stick to "OK" from now on everywhere.
      2615e429