1. 16 Nov, 2021 1 commit
  2. 10 Nov, 2021 1 commit
  3. 18 Oct, 2021 1 commit
  4. 14 Oct, 2021 1 commit
    • Eloy Lafuente's avatar
      MDL-72807 behat: Add a few more @skip_chrome_zerosize tags · 8515a056
      Eloy Lafuente authored
      This is the 3rd round adding the tags to some scenarios
      detected to be failing with zerosize problems lately.
      Note that @ MDL-71108, the final solution will happen, say
      switching to own webdriver till the upstream one is fixed
      or whatever. Our @skip_chrome_zerosize solution is just a
      workaround to have all those scenarios detected and ignored
      by normal runs.
  5. 04 Oct, 2021 1 commit
  6. 30 Sep, 2021 1 commit
  7. 20 Sep, 2021 1 commit
  8. 16 Sep, 2021 1 commit
    • Eloy Lafuente's avatar
      MDL-72589 behat: Add @skip_chrome_zerosize to failing scenarios · 9f9fe79c
      Eloy Lafuente authored
      All the scenarios failing with Chrome zero-size errors are
      getting the @skip_chrome_zerosize to be able to keep them apart from
      regular runs. See MDL-71108 for more information about
      that error.
      They will be run by another job, specifically using that tag to
      keep them failing and under control.
  9. 31 Aug, 2021 1 commit
  10. 13 Aug, 2021 1 commit
  11. 24 Jun, 2021 1 commit
  12. 18 Jun, 2021 2 commits
  13. 02 Jun, 2021 1 commit
  14. 14 May, 2021 1 commit
  15. 12 May, 2021 1 commit
    • Eloy Lafuente's avatar
      MDL-71583 versions: Add all the missing full-stops to version/requires · 9d6aa399
      Eloy Lafuente authored
      It seems that the new phpcs3 checker is now controlling those
      line comments that previously were ignored.
      This commit just looks for all the cases and bulk-add
      them when needed. The bash script (mac) used to add all them is:
      while read -r line; do
          arr=(${line//:/ })
          if [[ -n ${arr[0]} ]] && [[ -n ${arr[1]} ]]; then
              echo "  file ${arr[0]}, line ${arr[1]}"
              sed -i "${arr[1]}s/\$/\./" ${arr[0]}
      done < <(find . -name version.php | xargs ag --nomultiline '>(version|requires) *=.*//.*[^;\.]$')
  16. 01 May, 2021 1 commit
    • ilya's avatar
      MDL-66431 core: Fix behat tests. · cf1cf222
      ilya authored
      Move activity creation to data generators. Only fixing those
      tests failing due to removing usemodchooser preference.
  17. 29 Apr, 2021 1 commit
  18. 27 Apr, 2021 1 commit
  19. 22 Apr, 2021 1 commit
  20. 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.
      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
  21. 06 Apr, 2021 1 commit
    • Paul Holden's avatar
      MDL-70099 enrol: increase accuracy of current enrolments by date. · b5267b7b
      Paul Holden authored
      By rounding the current time it was possible that the most recently
      created user enrolments (e.g. self enrolments) were being excluded.
      This would manifest itself in a user being enrolled on a course,
      but it not appearing under "My courses" navigation or on their own
      Dashboard until the rounded time had caught up with the current
  22. 31 Mar, 2021 1 commit
    • sam marshall's avatar
      MDL-71215 core_user: User fields - remaining deprecated functions · 611e2569
      sam marshall authored
      This change removes references in code and comments to a few
      deprecated functions that were accidentally missed in the larger
      The code changes only affect service_users.php. I made it support
      custom user profile fields in this query, because it was easy
      enough, rather than adding another TODO to fix later.
  23. 25 Mar, 2021 1 commit
  24. 12 Mar, 2021 1 commit
    • Eloy Lafuente's avatar
      MDL-71036 phpunit: assertContains() now performs strict comparison · 8a14a7bd
      Eloy Lafuente authored
      The methods assertContains() and assertNotContains() now perform
      strict (type and value) comparison, pretty much like assertSame()
      A couple of new assertContainsEquals() and assertNotContainsEquals()
      methods have been created to provide old (non-strict) behavior, pretty
      much like assertEquals() do.
      Apart from replacing the calls needing a relaxed comparison to those
      new methods, there are also a couple of alternative, about how to
      fix this, depending of every case:
      - If the test is making any array_values() conversion, then it's better
        to remove that conversion and use assertArrayHasKey(), that is not
      - Sometimes if may be also possible to, simply, cast the expectation
        to the exact type coming in the array. I've not applied this technique
        to any of the cases in core.
      Link: https://github.com/sebastianbergmann/phpunit/issues/3426
  25. 10 Mar, 2021 2 commits
  26. 03 Mar, 2021 1 commit
  27. 25 Feb, 2021 1 commit
  28. 24 Feb, 2021 3 commits
  29. 23 Feb, 2021 2 commits
  30. 22 Jan, 2021 1 commit
  31. 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.
  32. 16 Dec, 2020 2 commits
  33. 08 Dec, 2020 2 commits