1. 05 Nov, 2016 1 commit
  2. 20 Oct, 2016 1 commit
  3. 11 Sep, 2016 1 commit
  4. 02 Sep, 2016 1 commit
  5. 01 Sep, 2016 1 commit
  6. 30 Aug, 2016 1 commit
    • Aaron Wells's avatar
      Bug 1600099: Cleanup of the webservice admin page · ce1a97ac
      Aaron Wells authored
      This patch does a few things:
      
      1. Renames "webservice_enabled" config to "webservice_provider_enabled",
      to indicate that this config only controls Mahara's actions as
      a webservice provider, *not* a webservice client.
      
      2. Renames all the "webservice_<protocol>_enabled" configs to
      "webservice_provider_<protocol>_enabled" to indicate that they only
      control whether Mahara will provide webservices via that protocol,
      and not whether Mahara will use that protocol as a client.
      
      3. Renames "webservice_connections_enabled" config to
      "webservice_requester_enabled", to clarify that this config
      controls whether Mahara is allowed to request webservices
      from external sources.
      
      4. Updates language strings to make these changes clearer.
      
      5. Rearranges and renames the form methods in
      webservice/admin/index.php to make the flow of control more
      obvious. Now the main form method is first, followed in order
      by the methods that generate its subforms and each of their
      submit handlers.
      
      behatnotneeded: Covered by existing tests
      
      Change-Id: I58dadb352d1f1542ca67a104ebfd702b4ca90fc9
      ce1a97ac
  7. 23 Aug, 2016 1 commit
  8. 25 Jul, 2016 1 commit
    • Ghada El-Zoghbi's avatar
      Bug 1606101: usr.suspendedcusr must be non-zero · ead553ee
      Ghada El-Zoghbi authored
      It turns out a lot of existing code checks the boolean
      value of usr.suspendedcusr to determine if a user should
      be treated as suspended or not. The LDAP sync cron (and,
      indeed, any code suspending users via a cron task) was
      setting usr.suspendedcusr to 0, which is boolean false,
      so these users would be treated as not suspended.
      
      We are going to update all usr.suspendedcusr = 0
      to a valid site admin ID.
      
      Change-Id: Iecfbfd8a4cdd98d5d07149bb40c64308262ea234
      behatnotneeded: Test to come later
      ead553ee
  9. 24 Jul, 2016 1 commit
  10. 22 Jul, 2016 1 commit
  11. 14 Jul, 2016 1 commit
    • Robert Lyon's avatar
      Bug 1438894: Moving the profile introduction text to description column · e305c12a
      Robert Lyon authored
      
      
      Currently all the artefacts that save html/tinymce data do so in the
      description field - except the internal profile introduction field.
      
      Seen as we are already doing special handling of this plugin we might
      as well save the html/tinymce data into the 'description' column of
      the db for consistency sake.
      
      behatnotneeded - existing tests should suffice
      
      Change-Id: I68da79f1c9423e19218162d8315008134251c31f
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      e305c12a
  12. 08 Jul, 2016 1 commit
  13. 07 Jul, 2016 1 commit
  14. 05 Jul, 2016 1 commit
  15. 01 Jul, 2016 1 commit
  16. 24 Jun, 2016 1 commit
  17. 20 Jun, 2016 1 commit
  18. 10 Jun, 2016 1 commit
  19. 08 Jun, 2016 1 commit
    • Aaron Wells's avatar
      Bug 1590293: Correcting inconsistencies in session expiration · 4bed19a1
      Aaron Wells authored
      1. Add some documentation to session.php explaining what
      the session.gc_maxlifetime ini setting does.
      
      2. If we can't access $CFG->session_timeout, use a timeout of
      an hour instead of the PHP default of 24 minutes.
      
      3. Limit $CFG->session_timeout to 30 days, because we're already
      enforcing that limit in session.php
      
      4. Add "usr_session.mtime" column so that we can delete old sessions
      based on inactivity instead of creation date.
      
      5. Make the cron delete old session files as soon as they've expired,
      rather than padding that an additional two days.
      
      Change-Id: I9da2b26217774566b1131e997724359715edb2fe
      behatnotneeded: Covered by existing tests
      4bed19a1
  20. 17 May, 2016 1 commit
  21. 27 Apr, 2016 1 commit
  22. 01 Apr, 2016 1 commit
  23. 31 Mar, 2016 1 commit
    • Son Nguyen's avatar
      Enhance the openbadgedisplayer plugin. Bug 1536393 · 42c171f9
      Son Nguyen authored and Robert Lyon's avatar Robert Lyon committed
      Allow loading openbadgedisplayer block via ajax.
      Dynamically load badge groups from sources.
      Cache badge details in database for one day if $fromcache is true.
      
      behatnotneeded
      
      Change-Id: I36c8054fd6daf7ca1fcf1fe3a22672c9eb009c6e
      42c171f9
  24. 28 Mar, 2016 1 commit
  25. 23 Mar, 2016 1 commit
    • Aaron Wells's avatar
      Remove "target" attribute from links in user-edited text · 89619709
      Aaron Wells authored and Robert Lyon's avatar Robert Lyon committed
      Bug 1558361: TinyMCE will filter them out on the editing
      side, and HTMLPurifier will filter them out on the display
      side.
      
      behatnotneeded: Would require non-trivial new Behat step to
      check whether links have "target" attribute.
      
      Change-Id: If27462b2ca1a382ceeaadb374aade1f795f261bd
      89619709
  26. 16 Mar, 2016 1 commit
  27. 14 Mar, 2016 1 commit
  28. 03 Mar, 2016 1 commit
  29. 02 Mar, 2016 1 commit
  30. 24 Feb, 2016 1 commit
    • Jean-Philippe Gaudreau's avatar
      Bug 1514273: Increase to longtext col holding serialized data · 4f400da4
      Jean-Philippe Gaudreau authored and Robert Lyon's avatar Robert Lyon committed
      In MySQL, the default "text" column size is 65kB. Because this column
      can hold the serialized text from several other columns, it needs to
      be larger than that. Setting it to "big" generates a "longtext", which
      is 4GB.
      
      This change has no effect in Postgres. Postgres has only one text
      size (unlimited). The XMLDB generator is smart enough that it
      recognizes this and doesn't run any SQL in this case.
      
      behatnotneeded: Changes on database columns types only.
      
      Change-Id: I2b72e840676cb7345561ef81d51846509bc04049
      4f400da4
  31. 10 Feb, 2016 1 commit
  32. 03 Feb, 2016 1 commit
  33. 15 Dec, 2015 1 commit
    • Aaron Wells's avatar
      Removing obsolete "disablelogin" setting · 0284f9ab
      Aaron Wells authored
      Bug 1526076: I believe the initial intent was that
      Mahara core, and/or each plugin, could add a value
      to its version.php file indicating "disablelogin"
      true or false. And in this way, an upgrade could
      indicate whether it was a small enough upgrade that
      users did not need to log out for it.
      
      However, in practice this is not practical because
      we don't know what version of Mahara the user is
      upgrading from, and that is what determines whether
      or not it's a "stable" upgrade.
      
      Additionally, the core disablelogin has been set to true
      for the past 7 years, and the plugin disablelogin
      setting no longer has any effect.
      
      Removing disablelogin should hopefully make our
      maze of init.php auth_setup() login stuff a little
      bit easier to follow.
      
      behatnotneeded: Covered by existing tests
      
      Change-Id: I5f8a2b4faa95b9225bb926de6a54a622ea1a9618
      0284f9ab
  34. 09 Dec, 2015 1 commit
    • Aaron Wells's avatar
      Updating outdated links in the Mahara source code · 4c046f3d
      Aaron Wells authored
      Bug 1523499: Old wiki.mahara.org links without the "/wiki",
      and HTTP links that should be HTTPS.
      
      Also updated the installer release notes link to point to
      the base "Release_Notes" page in the wiki, because we no
      longer maintain separate wiki pages for each release.
      
      behatnotneeded: Covered by existing tests
      
      Change-Id: I02e80eb4d8df5adddee88e77156e8e103ca24c51
      4c046f3d
  35. 06 Nov, 2015 1 commit
    • Jean-Philippe Gaudreau's avatar
      Increase the size of the activity queue data column (Bug 1513851) · fcbb3ad1
      Jean-Philippe Gaudreau authored
      In MySQL, the default "text" column size is 65kB. Because this column
      can hold the serialized text from several other columns, it needs to
      be larger than that. Setting it to "big" generates a "longtext", which
      is 4GB.
      
      This change has no effect in Postgres. Postgres has only one text
      size (unlimited). The XMLDB generator is smart enough that it
      recognizes this and doesn't run any SQL in this case.
      
      behatnotneeded
      
      Change-Id: I0311bf9d25dba531ced72e6f74b8d5b2d317e745
      fcbb3ad1
  36. 23 Oct, 2015 2 commits
  37. 22 Oct, 2015 1 commit
    • Son Nguyen's avatar
      Handle embedded image deletion better. Bug 1489284 · 740c0fa7
      Son Nguyen authored and Robert Lyon's avatar Robert Lyon committed
      Refactor updating embedded images
      
      Deals with the deleting of embedded images in a:
      - blog
      - forum post
      - forum topic
      - group description
      - note
      - page description
      
      Also sorts out the problem where a note embedded item can be saved
      with both 'editnote' and 'textbox' resourcetype. We only need one.
      
      Also add 'static' to EmbeddedImage::methods()
      
      behatnotneeded
      
      Change-Id: Ife1f9dee5ffe9eae4468eadb8f46a16a0a2a9044
      740c0fa7
  38. 20 Oct, 2015 1 commit
    • Son Nguyen's avatar
      Fix sorting threaded comments. Bug 1499122 · 289b680f
      Son Nguyen authored
      - Add new column 'threadedposition' to table artefact_comment_comment
      - Update the column for existing comments
      - Calculate the position for new comments
      - Display threaded commented using this for correct order
      - Add a behat test
      
      Change-Id: I607f26fccccee8f761754a41a21c6f58dd74cfb6
      289b680f
  39. 29 Sep, 2015 1 commit
    • Aaron Wells's avatar
      Bump $config->version again · 0d479b7d
      Aaron Wells authored
      ... to keep it higher than 15.10_STABLE starting version
      
      Change-Id: I966ace990481652c3e4c8947b2a5692a8e760536
      0d479b7d