1. 14 Apr, 2014 1 commit
  2. 03 Apr, 2014 4 commits
  3. 02 Apr, 2014 10 commits
  4. 01 Apr, 2014 3 commits
    • Aaron Wells's avatar
      Check that account is valid before logging in via password reset · 3475f03a
      Aaron Wells authored
      Bug1284876: Without this, a suspended user can log in via a password
      reset email
      
      Change-Id: I5cb8f2978cdc2c6c0a6975a3fbfd2dfdc1d9bcc5
      3475f03a
    • Ghada El-Zoghbi's avatar
      Bug1075760: reporting objectional material with no message doesn't get sent to... · 8c7a5e68
      Ghada El-Zoghbi authored
      Bug1075760: reporting objectional material with no message doesn't get sent to admin with digest emails
      
      Email digest table has a not null contraint for the message field:
      1. Force the user to enter something in the objectionable comment.
      2. Other areas: if a user enteres a message (i.e. in a forum)
      which is made up of html (i.e. a smiley face),
      the message gets 'cleaned' by stripping html tags.
      This leaves it empty and fails when trying to insert into the
      email digest table.
      Clean the message with html2text instead of str_shorten_html.
      3. As a last resort, before inserting into the email digest table,
      make sure there is at least a space in the message field (if it's empty).
      
      Change-Id: I05a77e0682017839b34e74241eefb98fb788eab5
      Signed-off-by: 's avatarGhada El-Zoghbi <ghada@catalyst-au.net>
      8c7a5e68
    • Robert Lyon's avatar
      Getting mysql not to use CAST() (bug #1081947) · e35d3ea8
      Robert Lyon authored
      In the 1.8+ codebase there are only two places where both mysql and
      postgres use CAST(). So I've tried altering the calls so that mysql
      doens't need to use CAST().
      
      This will probably need to be tested with a large data mysql db site
      to see if any speed gains are made, and also the calls are still
      working correctly.
      
      All other places it is being used by postgres only
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      
      Change-Id: I9eaf196d062ef2a62bfdae0df179281f3411c392
      e35d3ea8
  5. 31 Mar, 2014 1 commit
  6. 25 Mar, 2014 1 commit
  7. 25 Feb, 2014 1 commit
  8. 12 Feb, 2014 1 commit
  9. 14 Jan, 2014 2 commits
  10. 06 Jan, 2014 1 commit
    • Aaron Wells's avatar
      Override MySQL's check for accidental large queries · f4e4b44f
      Aaron Wells authored
      Bug 1070046: MySQL has an optional server config option, "MAX_JOIN_SIZE",
      which throws an error if you try to run a SQL query that MySQL's strategizer
      thinks will require it to evaluate more than MAX_JOIN_SIZE rows. This is
      intended to prevent the user from accidentally running giant queries that
      will never finish, but some Mahara queries (which are large but will finish)
      can trip it. Adding SQL_BIG_SELECTS=1 tels it that our queries are *not*
      accidentally large.
      
      Also has order change for bug 1184450
      
      Change-Id: I6db4699ea765d3213d13eb93b8de098914db24e0
      f4e4b44f
  11. 23 Dec, 2013 5 commits
  12. 12 Dec, 2013 1 commit
    • Aaron Wells's avatar
      Writing a helpfile for "generate sitemap" · 6ad43a71
      Aaron Wells authored
      Bug 974855: It's not great that the helpfile doesn't actually contain the URL for your sitemap,
      but we'd need to implement the ability to put parameters or variables into help files to make that happen.
      
      Change-Id: I7cc414510ffe78432a4e21d61a829f67ff1d9929
      6ad43a71
  13. 10 Dec, 2013 2 commits
  14. 05 Dec, 2013 1 commit
  15. 27 Nov, 2013 1 commit
  16. 26 Nov, 2013 1 commit
  17. 21 Nov, 2013 1 commit
  18. 28 Oct, 2013 3 commits