1. 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
  2. 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
  3. 25 Sep, 2015 1 commit
  4. 20 Sep, 2015 1 commit
    • Jen Zajac's avatar
      Custom theme reworking (Bug 1496139) · edc2bec8
      Jen Zajac authored and Aaron Wells's avatar Aaron Wells committed
      New template inherits from raw as before but limits major colour
      changes to the site header. Because there are fewer configurable
      options after the upgrade, some options from before the upgrade
      are discarded.
      
      behatnotneeded: Can't test upgrade-related issues
      
      Bug #1496139
      (For ref, original feature was BUG 814354)
      
      Change-Id: I29e9d215019916102ea47ad53678aaec97796bca
      edc2bec8
  5. 10 Sep, 2015 1 commit
  6. 03 Sep, 2015 1 commit
  7. 20 Aug, 2015 1 commit
  8. 17 Aug, 2015 2 commits
  9. 16 Aug, 2015 1 commit
    • Robert Lyon's avatar
      Bug 1483963 - Better reporting on login activity · 19af23b2
      Robert Lyon authored
      
      
      Added a tab 'Logins' to site statistics page that contains
      how many total logins for an institution and also how many unique
      users have logged in during a certain time period - defaults to
      previous calendar month
      
      One can get different results by adjusting the url like so
      admin/statistics.php?type=logins&start=2014-01-01&end=2015-01-01
      if needing to get a different time period
      
      On upgrade it populates the usr_login_data table with the current
      lastlogin time for non-deleted users
      
      Currently usr_login_data only records user id and ctime (for login
      time) but one could also add more columns tothe table if needing to
      record something that happens once per successful login.
      
      Change-Id: If59b207356894eaced7b9977b80d539a28cb7e56
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      19af23b2
  10. 14 Aug, 2015 2 commits
  11. 13 Aug, 2015 1 commit
  12. 10 Aug, 2015 1 commit
  13. 29 Jul, 2015 1 commit
  14. 27 Jul, 2015 1 commit
  15. 24 Jul, 2015 1 commit
  16. 20 Jul, 2015 1 commit
    • Tobias Zeuch's avatar
      Bug 1468156: Change plugin type of plugin multirecipientnotification to module · dd0e1dab
      Tobias Zeuch authored
      
      
      To change the plugin type from artefact to module, the code is moved and the
      superclass reference is changed to PluginModule. Obsolete classes for the
      former unused artefact types are deleted. The references to the old script
      paths are changed. Plugin Tables are renamed and references updated.
      The new plugin mustn't be installed when the old plugin is still active, but on
      upgrade, the database tables are renamed and references in artefact_installed
      and artefact_event_subscription and the triggers are changed.
      
      Change-Id: Id5f1198b780ffb92181f7d60785aad9ffe2259da
      Signed-off-by: default avatarTobias Zeuch <tobias.zeuch@rwth-aachen.de>
      dd0e1dab
  17. 17 Jul, 2015 1 commit
    • Aaron Wells's avatar
      Increase the size of the Leap2a entrycontent column (Bug 1474659) · 2b5b8da7
      Aaron Wells 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.
      
      Change-Id: Ic26f0eb3d3c3181fdcaf8729373ca87b6ecc9c8d
      2b5b8da7
  18. 28 May, 2015 1 commit
  19. 20 May, 2015 1 commit
  20. 01 May, 2015 1 commit
  21. 29 Apr, 2015 1 commit
  22. 14 Apr, 2015 1 commit
  23. 31 Mar, 2015 2 commits
  24. 26 Mar, 2015 1 commit
  25. 09 Mar, 2015 2 commits
  26. 26 Feb, 2015 1 commit
  27. 18 Feb, 2015 1 commit
    • Aaron Wells's avatar
      Revert "Updating some hardcoded info in database for artefact.php (Bug #1414862)" · ffb17c11
      Aaron Wells authored
      This reverts commit 63896cc8.
      
      It's no longer necessary to update these URLs, because
      commit 0de9fa76 makes the old-style URLs redirect to the
      new-style URLs. And since this rewrite will be a lengthy
      operation on large sites, and could potentially cause
      problems with URLs for other domain names that happen to
      contain "view/artefact.php", we should just remove this
      upgrade section.
      
      Change-Id: Ic981f739d6ac5e76efe8116531fc365947ebf286
      ffb17c11
  28. 12 Feb, 2015 3 commits
  29. 01 Feb, 2015 1 commit
  30. 28 Jan, 2015 1 commit
  31. 29 Dec, 2014 1 commit
  32. 16 Dec, 2014 1 commit
  33. 12 Dec, 2014 1 commit
  34. 11 Dec, 2014 1 commit
    • Aaron Wells's avatar
      Even quicker way to fill in artefact paths · 31a19314
      Aaron Wells authored
      Bug 1400524: On a large site, the database queries to retrieve
      all records from the artefact table can take too long to execute
      and cause the PHP script to time out.
      
      This optimization attempts to fix that by filling in the paths
      with an iterative series of UPDATE queries instead.
      
      Change-Id: I46c13cc97bac8a6d2bc626e3b2dc8e4cdeecd2bb
      31a19314