1. 16 Jan, 2018 7 commits
  2. 12 Jan, 2018 1 commit
    • Rebecca Blundell's avatar
      Bug 1742600: update chromedriver for behat tests · 22678705
      Rebecca Blundell authored and Robert Lyon's avatar Robert Lyon committed
      I have successfully run tests with the new version of chromedriver
      (2.35) and chrome (63). I thought the best way to test further was to
      let maharabot run the test suite and see if any issues come up.
      failing tests are now fixed.
      Change-Id: I22e45e8a95669e2109ca70ae782aa2c40546db14
  3. 09 Jan, 2018 1 commit
  4. 27 Dec, 2017 1 commit
  5. 18 Dec, 2017 1 commit
  6. 14 Dec, 2017 11 commits
  7. 13 Dec, 2017 1 commit
  8. 12 Dec, 2017 1 commit
  9. 11 Dec, 2017 1 commit
  10. 10 Dec, 2017 1 commit
  11. 07 Dec, 2017 2 commits
    • Ghada El-Zoghbi's avatar
      Bug#1735072: Fix upgrade error by delimiting event_log table in sql · 72f4b27c
      Ghada El-Zoghbi authored and Robert Lyon's avatar Robert Lyon committed
      Forgot to wrap the table name event_log with curly brackets.
      Sponsored by Australian National University
      Change-Id: Ia598632b1f0ae177fe646312ea5c2b38a9e83d51
    • Ghada El-Zoghbi's avatar
      Bug#1735072: Upgrade error with event_log updated columns · 26886174
      Ghada El-Zoghbi authored and Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic committed
      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
      Change-Id: If068dac825b9cef6301cd970f0a368124a67b3f1
      (cherry picked from commit a7acb6a5)
  12. 04 Dec, 2017 1 commit
  13. 30 Nov, 2017 1 commit
  14. 29 Nov, 2017 1 commit
  15. 26 Nov, 2017 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1572825: added Voki html filter for embed code · 4e4f4871
      Cecilia Vela Gurovic authored and Robert Lyon's avatar Robert Lyon committed
      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
      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.
      Change-Id: Ieed00b6c6887715b707b8123082a1312f3db1d9c
  16. 20 Nov, 2017 3 commits
  17. 17 Nov, 2017 2 commits
  18. 14 Nov, 2017 1 commit
  19. 13 Nov, 2017 1 commit
  20. 12 Nov, 2017 1 commit