1. 21 Sep, 2017 1 commit
  2. 20 Sep, 2017 1 commit
  3. 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
      
      behatnotneeded
      
      Change-Id: I079a42ded2fefaab64a6e49fc26e8aad303c9e8a
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      a3d904e1
  4. 09 Sep, 2017 8 commits
    • Robert Lyon's avatar
      Bug 1711958: Allow update_record to return id of record updated · d73a4a9e
      Robert Lyon authored
      By supplying $primarykey and $returnpk parameters to the update_record
      function
      
      behatnotneeded
      
      Change-Id: Ib2078384cf2d48e4cea1b08f804ea01dc8e9b1d4
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      d73a4a9e
    • Robert Lyon's avatar
      Bug 1697248: More updates for report navigation and reports · c3d9acba
      Robert Lyon authored
      This patch will contain the fixes for:
      
      - Navigation placement
      - Collaboration report
      - CSV's of reports
      - Overview page for the graphs
      - Making Institution selector a select2 field
      - Moving all configs for reports into the modal and combine 3rd level
      menu with submenu choices in select2 field
      - Ignore non logged in users from user activity report
      - Move more variables for reports into sticky (session) vars
      - Allow results to be fetched from elasticsearch
      
      Change-Id: I725b7615ac3cd6b1d9b6352bae9f6be0d5161e1b
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      c3d9acba
    • 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
        report
      - 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>
      8c08b88b
    • 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>
      ebd928b1
    • Robert Lyon's avatar
      Bug 1710710: Placement of public search box vs language selector · 408dcdfb
      Robert Lyon authored
      When we have $cfg->publicsearchallowed = true;
      and are viewing the site when logged out and have langpacks installed
      we get an overlap of the language selector and searc box.
      
      When we don't have langpacks installed the search box doesn't align to
      the right.
      
      This patch tries to align things up correctly
      
      behatnotneeded
      
      Change-Id: I6f2175af0aa9e164f4c4302f4c1e7012423d1235
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      408dcdfb
    • Robert Lyon's avatar
      Merge changes from topic 'Analytics' · 0f01e034
      Robert Lyon authored
      * changes:
        Bug 1694171: Fixing up outstanding issues for v5.0
        Bug 1694171: manually merge low level elasticsearch code from Yulia Bozhko's    "Bug 1694171: Elasticsearch rewrite" Totara commit.
        Bug 1694171: Added Elastic search library
      0f01e034
    • Robert Lyon's avatar
      Bug 1694171: Fixing up outstanding issues for v5.0 · 1bbc75e1
      Robert Lyon authored
      This patch will sit above Geralds one to sort out last minute things
      including:
      
      - upgrade compatibility
      -- Will need to compare current elasticsearch version with compatible
      version and alert about problems
      -- Will allow one to set the shards/replicas as part of config
      -- alert the cluster health (non green) status and unallocated replica
      shards
      
      - Allow empty search query to return all related results
      - Allow collections to record / search on collection tags
      - Index group access correctly
      - Get correct results to display for each tab rather than all results
      bunched together
      - Allow highlight on description field
      
      - Add a basic behat test
      - removed the built in docs/ and tests/ dirs as well as the phpunit
      test files
      
      Change-Id: I09b4eaf502a8400499debde2ff1d2a5316f20fbf
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      1bbc75e1
    • Robert Lyon's avatar
  5. 08 Sep, 2017 2 commits
  6. 07 Sep, 2017 6 commits
  7. 06 Sep, 2017 1 commit
  8. 05 Sep, 2017 3 commits
  9. 04 Sep, 2017 3 commits
  10. 03 Sep, 2017 2 commits
  11. 01 Sep, 2017 1 commit
  12. 31 Aug, 2017 3 commits
  13. 30 Aug, 2017 4 commits
  14. 29 Aug, 2017 3 commits
  15. 28 Aug, 2017 1 commit