1. 04 Dec, 2017 1 commit
    • Ghada El-Zoghbi's avatar
      Bug#1735072: Upgrade error with event_log updated columns · a7acb6a5
      Ghada El-Zoghbi authored
      Several issues resolved:
      1. The event_log.time column has been removed
      and replaced by ctime. The handl_event() call is using
      the new column even though the new column has
      not been created yet in the upgrade script.
      Therefore, include both columns in the event handling.
      
      2. The 'deleteartefacts' event stores multiple
      artefact IDs in the one event_log record. Therefore,
      there is not a one-to-one relationship when converting the
      record to the new format. Ignore the record when setting
      the resourceid and resourcetype.
      
      3. In the 'saveartefact' and 'deleteartefact' events,
      not all of the event_log records have 'id' and 'artefact'.
      Ignore setting the resourceid and resourcetype fields
      when the data is not available.
      
      4. For newer versions of Postgres and MySql, utilise
      the json dattype to convert the data held in the
      event_log.data column. This will speed up the
      processing of the table for sites with large data
      in the event_log table.
      
      Sponsored by Australian National University
      
      behatnotneeded
      
      Change-Id: If068dac825b9cef6301cd970f0a368124a67b3f1
      a7acb6a5
  2. 22 Nov, 2017 1 commit
  3. 21 Nov, 2017 1 commit
  4. 20 Nov, 2017 1 commit
  5. 19 Nov, 2017 1 commit
    • Ilya Tregubov's avatar
      Bug 1685049: Remote file system modification · 78c87713
      Ilya Tregubov authored
      behatnotneeded
      
      Enables Mahara to save files to an external file system
      - object storage (such as AWS's S3) -
      which can reduce the cost of storage
      
      Change-Id: I76822612f2922ba0ef2a0b7a4efb9cd2b96979a6
      78c87713
  6. 17 Nov, 2017 1 commit
  7. 16 Nov, 2017 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1572825: added Voki html filter for embed code · 207889a5
      Cecilia Vela Gurovic authored
      Added new html custom filter to allow
      voki embed code with javascript tags.
      
      issue with the creation/edition of blocks:
      
      Voki embed code its a javascript code that loads
      js functions from a remote file and makes a call to a
      AC_Voki_Embed() function
      
      parameters:
      
      function AC_Voki_Embed (width, height, chsm, sc,
      transparent, bgcolor, returnFlag, playerType)
      
      The number of parameter makes the difference between
      old and new voki code. The old one will have only 7,
      the new one will have one more.
      
      The new embed code will have playerType = 1
      The function uses an XMLHttpRequest to obtain the
      new embed code. When we are loading the page,
      there is no problem. But when we are editing or
      creating the block, the the connection with the object
      gets lost and the embed code is never loaded.
      Solution found: reload the page after editing or adding
      a block with new voki code.
      
      The old voki code can have
      returnFlag = 1 will return a string with the code
      returnFlag = 0 will load the embed code in the page (by default)
      In this last case, after the function creates the embed code,
      it will call document.write('embed code')
      if we are loading a page with the embed code, we have no problem
      but if we have the page already loaded and we are editing the block
      or creating it, the document.write will replace all the html
      with the embed code.
      Solution found: change parameter of the function so it returns
      the code instead, then manually add it in the correct place
      of the html.
      
      behatnotneeded
      
      Change-Id: Ieed00b6c6887715b707b8123082a1312f3db1d9c
      207889a5
  8. 12 Nov, 2017 1 commit
  9. 10 Nov, 2017 1 commit
  10. 07 Nov, 2017 1 commit
  11. 05 Nov, 2017 1 commit
  12. 02 Nov, 2017 1 commit
  13. 31 Oct, 2017 1 commit
  14. 30 Oct, 2017 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1660237: removed old mobile api · d7018426
      Cecilia Vela Gurovic authored
      removed code from htdocs/api/module/ files and replace it with a json reply error message.
      removed the 'allowmobileuploads' config variable since it is only used by the old mobile api.
      removed the 'mobileuploadtoken' values in usr_account_preferences since they are only used by old mobile api. The new mahara mobile uses external_tokens table to store its access tokens.
      
      behatnotneeded
      
      Change-Id: I02e94079fc83aa6a81534b70446f7e8ab2ebd7a4
      d7018426
  15. 29 Oct, 2017 3 commits
  16. 28 Oct, 2017 1 commit
  17. 27 Oct, 2017 2 commits
    • Cecilia Vela Gurovic's avatar
      Security Bug 1701978: fix session cookie issues · d02855fc
      Cecilia Vela Gurovic authored
      1. when a user logs in it clears any obsolete
         usr_session cookies for the user
      2. recording the user-agent of the session
         and if it changes to prompt the user to
         login again
      3. when self adding / editing email address(es)
         send 2 emails
      	- one to the new email address asking user to confirm address
      	- and one to the primary email address to alert user
      	that a new email is being added to their account and
      	if this is bad how to contact their admin about the problem.
      
      behatnotneeded
      Change-Id: Ia44b66cf831abd553b72aa8b1d58d2a2634863b8
      d02855fc
    • Robert Lyon's avatar
      Bug 1724113: Fixing sort order for Reports -> Groups · a8f8a82d
      Robert Lyon authored
      For the 3 columns that use elasticsearch
      - group page comments
      - shared pages
      - shared page comments
      
      behatnotneeded
      
      Change-Id: Ib7ee64f958a0d9ddd7382e067f23fe2e62c7d207
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      a8f8a82d
  18. 25 Oct, 2017 2 commits
  19. 24 Oct, 2017 2 commits
  20. 19 Oct, 2017 3 commits
  21. 18 Oct, 2017 1 commit
    • Robert Lyon's avatar
      Bug 1724113: Changes for reports · a5c930d8
      Robert Lyon authored
      This patch includes
      - Allow the overview report to be the default report
      - Fixed sorting of modified/visited columns for page activity report
      - Fixed sorting for username in useractivity report
      - Fixed total rows count for user activity
      - Fixed collaboration report for institutions
      - Fixed issues with the new columns in the groups report
      
      Change-Id: I2269bb5610d238bc9786d04d4c2a9122c0a4ccfc
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      a5c930d8
  22. 15 Oct, 2017 1 commit
  23. 12 Oct, 2017 2 commits
  24. 11 Oct, 2017 3 commits
  25. 10 Oct, 2017 1 commit
  26. 08 Oct, 2017 1 commit
  27. 29 Sep, 2017 3 commits
  28. 28 Sep, 2017 1 commit