1. 28 Nov, 2017 1 commit
  2. 16 Nov, 2017 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1572825: added Voki html filter for embed code · 207889a5
      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
  3. 22 Sep, 2017 1 commit
  4. 14 Sep, 2017 1 commit
    • Robert Lyon's avatar
      Bug 1692385: Adjusting the handle event for 'updateviewaccess' · a3d904e1
      Robert Lyon authored
      We want to record things like so:
      resourceid = view_access.id
      resourcetype = what type the view_access row is for, eg 'token',
      'user', 'loggedin' etc
      parentresourceid = the id if the view the access is for
      parentresourcetype = 'view';
      ownerid = the id of the owning resource, eg usr.id / group.id / institution.name
      ownertype = what owns the resource, eg user / group / institution
      Also this patch adjusts how we index things into elasticsearch
      Change-Id: I079a42ded2fefaab64a6e49fc26e8aad303c9e8a
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
  5. 09 Sep, 2017 2 commits
    • Robert Lyon's avatar
      Bug 1697248: Update report navigation and reports · 8c08b88b
      Robert Lyon authored
      Introduce a new navigation bar to allow going through the different
      types of reports:
      - Change the page title according to the selected report section and
      - Decide which columns to display in a report
      - Configure reports via the "Configure reports" button
      Add existing reports into the new interface.
      Create new and expand existing reports:
      - User activity
      - Page activity
      - Collaboration
      Sponsored by the AAIM project with funding from University of
      Sussex and Dublin City University.
      Change-Id: I1eb6920890af27c34c902fe22ff5ce3591b73cb0
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
    • Robert Lyon's avatar
      Bug 1692385: Adjusting the event_log table · ebd928b1
      Robert Lyon authored
      Add 5 new new columns to event_log table make searching over the
      data easier and also record the id of any parent/related info as well
      Eg, if one deletes an image block from a page we now record:
      id - the event id
      resourceid - the block id
      resourcetype - the blocktype, eg image
      parentresourceid - the id of the parent, eg view id
      parentresourcetype - the type of parent, eg 'view'
      Because we would not be able to find related view info from just the
      block id anymore.
      Also added the ability to index and search over event information in
      elasticsearch search type event_log
      Change-Id: I280c1c75c35a6c58f42d8acb36cf5c24c70b902d
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
  6. 04 Sep, 2017 1 commit
  7. 29 Aug, 2017 1 commit
  8. 10 Aug, 2017 1 commit
  9. 03 Aug, 2017 1 commit
  10. 29 Jun, 2017 1 commit
  11. 27 Jun, 2017 1 commit
  12. 07 Jun, 2017 1 commit
  13. 28 May, 2017 1 commit
  14. 11 May, 2017 1 commit
  15. 26 Apr, 2017 1 commit
  16. 21 Apr, 2017 1 commit
  17. 20 Apr, 2017 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1679864: added third search option in p&c screen · 94edbbdc
      Cecilia Vela Gurovic authored
      	- user can search in tags, in title+decription
      	  or in title+description+tags
      	- the last type of search user chooses will be remembered
      	- fixed search for the other options
      	- fixed bug when there are same number of collections
      	  and pages to display.
      Change-Id: Ibd206d5ac211893b52b26b7be9582785cbad606e
  18. 11 Apr, 2017 1 commit
  19. 27 Mar, 2017 1 commit
  20. 26 Mar, 2017 1 commit
  21. 23 Mar, 2017 1 commit
  22. 21 Mar, 2017 1 commit
  23. 20 Mar, 2017 1 commit
  24. 19 Mar, 2017 2 commits
  25. 15 Mar, 2017 1 commit
  26. 09 Mar, 2017 1 commit
  27. 05 Mar, 2017 1 commit
  28. 27 Feb, 2017 1 commit
  29. 12 Feb, 2017 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1661139: add delete option in view screen · d2987e63
      Cecilia Vela Gurovic authored
      option to delete page is enable for:
          - Normal user in its own pages
          - For group pages
              To admin user
              To other roles if they have Create and Edit permission
               in group setting and page is not locked
          - For institution, to site admin
      Change-Id: I424c8a103e55d46178d779b77ebfb79db2d504f3
  30. 31 Jan, 2017 1 commit
  31. 09 Jan, 2017 1 commit
  32. 23 Dec, 2016 1 commit
  33. 14 Nov, 2016 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1565199: Filter Recent Journals block Add entry + errors · 88b94532
      Cecilia Vela Gurovic authored and Robert Lyon's avatar Robert Lyon committed
      In the block Recent journal entries, the drop-down menu
      only shows the Journals which the user has permission to
      add a new entry.
      Also corrected error showing up and broken Journal search
      in the Edit block side screen.
      Also fixed the poor alignment of the artefactchoooser search form's
      search button
      Also fixes Bug 1636850 with change in lib/view.php
      Change-Id: I44c0d6d25eda7cb37d4a8aab66a6d1b93ca60b69
  34. 07 Nov, 2016 1 commit
  35. 19 Oct, 2016 1 commit
  36. 18 Oct, 2016 1 commit
  37. 17 Oct, 2016 1 commit
  38. 08 Oct, 2016 1 commit
    • Robert Lyon's avatar
      Bug 1626805: Allow the view constructor to fix missing layout info · e95ebc66
      Robert Lyon authored
      Sometimes in MySql if many users are copying a page at once the
      view_rows_columns information can get deleted.
      As we can work out what the values should have been from other tables
      we can regenerate it and add it back in.
      If the view doesn't have a layout set it hasn't changed from when
      first been made so we can make it the same as view type's template
      To test: see bug report
      Change-Id: I81c8e33dc1bc4121c1df97e1acbc981ad969271c
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>