1. 18 May, 2019 1 commit
  2. 20 Feb, 2018 1 commit
  3. 27 Dec, 2017 1 commit
    • Robert Lyon's avatar
      Bug 1740208: Fetch related view for artefacts we can see · 73a105bd
      Robert Lyon authored
      
      
      Fix the way we find the related views now that we don't have a 'view'
      type to restrict to. We can achieve this via the internal '_id' value
      as that is a combination of old type and id values.
      
      Also strip tags except the <span> one from highlighted description code
      in case there is bad html/js in there.
      
      behatnotneeded
      
      Change-Id: I962accadb352b52dd72b61844f7fe0bd0d586ce2
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      73a105bd
  4. 21 Dec, 2017 3 commits
  5. 25 Sep, 2017 1 commit
  6. 20 Sep, 2017 1 commit
  7. 09 Sep, 2017 2 commits
    • 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 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
  8. 08 Sep, 2017 1 commit
  9. 29 Mar, 2017 1 commit
  10. 07 Mar, 2017 1 commit
  11. 14 Sep, 2016 1 commit
  12. 18 Aug, 2016 1 commit
  13. 21 Jul, 2016 1 commit
  14. 15 Jul, 2016 1 commit
  15. 01 Jul, 2016 1 commit
  16. 20 Apr, 2016 1 commit
  17. 09 Dec, 2015 1 commit
  18. 09 Oct, 2015 1 commit
  19. 22 Sep, 2015 1 commit
  20. 08 Sep, 2015 1 commit
  21. 27 Jul, 2015 1 commit
  22. 15 Jul, 2015 1 commit
    • Aaron Wells's avatar
      Remove the index name from elasticsearch JSON data (Bug 1457709) · a02be21a
      Aaron Wells authored
      If we remove the index name from the JSON data, then Elasticsearch
      will just use the index name in the URL path, which we're already
      setting correctly.
      
      Doing it this way, we don't have to rely on the Elasticsearch server
      setting the "rest.action.multi.allow_explicit_index: false" flag.
      
      Change-Id: Ib6194b89e68d539a7959b9e12ec1ac9e3528dd27
      a02be21a
  23. 25 Jun, 2015 1 commit
    • Aaron Wells's avatar
      More robust handling of Elasticsearch bulk operations · f7194ce1
      Aaron Wells authored and Robert Lyon's avatar Robert Lyon committed
      Bug 1457712. This patch accomplishes four main things:
      
      1. Sets a limit on the number on the number of documents
      per Elasticsearch bulk request.
      
      2. Doesn't delete records from the queue table until
      after they have been successfully sent
      
      3. If a bulk request fails, later retries the records
      individually
      
      4. Performs deletion in bulk
      
      Change-Id: I9ac5e3a33b473e256fdf331800dc60101c126dcc
      f7194ce1
  24. 23 Jun, 2015 1 commit
  25. 21 Jun, 2015 1 commit
  26. 28 May, 2015 1 commit
  27. 26 May, 2015 1 commit
  28. 16 Apr, 2015 1 commit
  29. 12 Feb, 2015 1 commit
  30. 03 Dec, 2014 1 commit
  31. 01 Sep, 2014 1 commit
  32. 01 Jul, 2014 1 commit
  33. 24 Jun, 2014 1 commit
  34. 13 Jun, 2014 1 commit
    • Aaron Wells's avatar
      Cleanup of the Plugin class · 6c89ad48
      Aaron Wells authored
      
      
      Bug 1328768
      
      - Improving documentation
      
      - Adding default implementations for the *_config_options methods because
      that's a better means of documenting them than the function_exists() way
      
      - Fixing the save_config_options() methods in the search plugins, which
      should have been static.
      
      Change-Id: Ib2bf1388843824e63cf6486176e97b8f874e1116
      Signed-off-by: default avatarYuliya Bozhko <yuliya.bozhko@totaralms.com>
      6c89ad48
  35. 04 Feb, 2014 1 commit
  36. 29 Jan, 2014 1 commit
  37. 22 Jan, 2014 1 commit