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. 27 Nov, 2017 1 commit
    • Rebecca Blundell's avatar
      Bug 1732297: Remove unnessesary steps from tests · a323c8d8
      Rebecca Blundell authored
      Done:
      Removed checks that user name is visible after login unless it's
      related to what's being tested.
      where possible added pages in background instead of manually
      deleted character_limit, forgot_password and create_group as content was covered in other tests.
      checked for other unnessesary "And I should see/ not see" steps
      fixed stuff I broke
      
      Change-Id: Ideaff604e49c6ca4b369bf96a3377e38d680d77d
      a323c8d8
  3. 26 Nov, 2017 1 commit
  4. 22 Nov, 2017 1 commit
  5. 21 Nov, 2017 2 commits
  6. 20 Nov, 2017 3 commits
    • Rebecca Blundell's avatar
      Bug 1705622 - adding a properties file for some css elements · bc926b9e
      Rebecca Blundell authored
      Work so far:
      added switch to deal with different possible steps that have css elements
      added some more css examples
      changed array of css locators to const
      changed const array back to array and use json en/decode as workaround
      to avoid globals
      made properties get_property function take an optional page location
      added an optional properties param to BehatNavigation i_expand_node_in_the
      added all used css elements
      replaced css elements with descriptions in tests
      replaced xpath elements with descriptions in tests
      
      To do:
      make the whole thing more user-friendly
      look at replacing scroll to steps too
      
      Change-Id: I83d8a96fc14701821b2e1cb37feb0900e1674f66
      bc926b9e
    • Dmitrii Metelkin's avatar
      Bug 1724724: clear caches on site upgrade · 2c8ec618
      Dmitrii Metelkin authored
      behatnotneeded
      
      Change-Id: Ie2450031b608cdcf6072b1793023668ab2ed0727
      2c8ec618
    • Cecilia Vela Gurovic's avatar
      Bug 1529750: add address detail in resume block · 67a95652
      Cecilia Vela Gurovic authored
      In profile page, show address detail if defined
      in employment and education history blocktype
      Also improved the code for showing a url in
      'Books' under 'Achievements'.
      
      behatnotneeded
      
      Change-Id: I9cda496a3ded0539226af31ad3d494e7a5da7871
      67a95652
  7. 19 Nov, 2017 2 commits
  8. 17 Nov, 2017 2 commits
  9. 16 Nov, 2017 2 commits
    • Cecilia Vela Gurovic's avatar
      Bug 1542154: upgrade PDF js to 1.9.426 · d29d2fdf
      Cecilia Vela Gurovic authored
      behatnotneeded
      
      Change-Id: I059485a45e60926e650e67d02e3582d0c9e327bc
      d29d2fdf
    • 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
  10. 15 Nov, 2017 1 commit
  11. 14 Nov, 2017 2 commits
  12. 12 Nov, 2017 1 commit
  13. 10 Nov, 2017 1 commit
  14. 09 Nov, 2017 2 commits
  15. 07 Nov, 2017 2 commits
  16. 06 Nov, 2017 2 commits
  17. 05 Nov, 2017 1 commit
  18. 02 Nov, 2017 2 commits
  19. 01 Nov, 2017 1 commit
  20. 31 Oct, 2017 1 commit
  21. 30 Oct, 2017 3 commits
  22. 29 Oct, 2017 4 commits
  23. 28 Oct, 2017 1 commit
  24. 27 Oct, 2017 1 commit