1. 18 Feb, 2019 1 commit
  2. 28 Mar, 2018 1 commit
  3. 06 Dec, 2017 1 commit
  4. 28 Sep, 2017 1 commit
  5. 09 Sep, 2017 1 commit
    • 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
  6. 25 May, 2017 1 commit
  7. 28 Mar, 2017 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1666685: hide buttons from users with no access to group journal · cf735e83
      Cecilia Vela Gurovic authored
      When a member/tutor dont have access to edit or create
      in the group, the buttons to edit, publish, create entry,
      create journal, delete, are hidden.
      
      Also, when a group edit/create access permission is
      changed, we update the role permissions for each
      blog and blogpost artefact in the group.
      
      behatnotneeded
      
      Change-Id: Ic06fbc7112f14a6038cdb0bb3beb8f93aed6f633
      cf735e83
  8. 09 Mar, 2017 1 commit
  9. 27 Feb, 2017 1 commit
  10. 12 Jan, 2017 1 commit
  11. 10 Jan, 2017 1 commit
  12. 19 Sep, 2016 1 commit
  13. 12 Jul, 2016 1 commit
    • Aaron Wells's avatar
      Fixing issues in embedded images in copied pages · 4ff6350b
      Aaron Wells authored
      Bug 1489274
      - DB upgrade to fill in artefact_file_embedded records for
      existing blog entries
      - Improving the regex that rewrites links in copied journal
      entries, notes, and text blocks
      
      behatnotneeded: Requires upgrading the site; not testable via Behat
      
      Change-Id: Ie5d5dc12065ed039df663910e5ee738d57377a91
      4ff6350b
  14. 03 Jul, 2016 1 commit
    • Robert Lyon's avatar
      Bug 1594579: Copy view artefacts only once · baac44f1
      Robert Lyon authored
      
      
      Rather than copy the same artefact once per page we should only copy
      it once per copy of page(s) transaction. Eg if we are to copy a
      collection of 5 pages and they all have a block pointing to the same
      image we should copy that image only once not 5 times.
      
      behatnotneeded - behat file to come
      
      Change-Id: Iecdde53515cdd9d5ee02918252b486aa0f662fab
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      baac44f1
  15. 22 Jun, 2016 1 commit
    • Robert Lyon's avatar
      Bug 1027739: Adjustments to allow tagged post blocks to be copied · e2efafbe
      Robert Lyon authored
      
      
      Note unlike copying journal blocks there is a special option for
      taggedposts block that allows for copying of tags only.
      
      This means copying the tags used in the block across to the new block
      instance only.
      
      So if you copy your own page the new taggedposts block should display
      the same content as the old one
      
      If you are another user it should display either nothing or the
      journals you have with the same tags
      
      Change-Id: I8011919dcf4e24e643bc2b07b1ba87db0963b81f
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      e2efafbe
  16. 27 Apr, 2016 1 commit
  17. 07 Jan, 2016 1 commit
  18. 16 Dec, 2015 2 commits
  19. 26 Nov, 2015 1 commit
  20. 04 Nov, 2015 1 commit
    • Aaron Wells's avatar
      Use the right artefact API for group journal tab (Bug 1512942) · c75120b4
      Aaron Wells authored
      Also fixing a long-standing unnoticed bug in the group menu
      method. Each item has a "weight", but the items are never
      sorted by weight. They were just used in the order they were
      inserted, which coincidentally matched their weight order.
      
      behatnotneeded: Results won't be visible from the front-end
      
      Change-Id: Ib56aaedfd494401336fb11443ce6495f6dfe4cb5
      c75120b4
  21. 22 Oct, 2015 1 commit
    • Son Nguyen's avatar
      Handle embedded image deletion better. Bug 1489284 · 740c0fa7
      Son Nguyen authored and Robert Lyon's avatar Robert Lyon committed
      Refactor updating embedded images
      
      Deals with the deleting of embedded images in a:
      - blog
      - forum post
      - forum topic
      - group description
      - note
      - page description
      
      Also sorts out the problem where a note embedded item can be saved
      with both 'editnote' and 'textbox' resourcetype. We only need one.
      
      Also add 'static' to EmbeddedImage::methods()
      
      behatnotneeded
      
      Change-Id: Ife1f9dee5ffe9eae4468eadb8f46a16a0a2a9044
      740c0fa7
  22. 19 Oct, 2015 1 commit
    • Pat Kira's avatar
      Minor styling fixes (bug: 1465107) · df228e7d
      Pat Kira authored
      task no: 24725, 24728, 24736,
      24726, 24724, 24730, 24731, 24809
      
      behatnotneeded: styling only
      
      Change-Id: I631bdaff87b11e9425f62d83c5253aab60085b6b
      df228e7d
  23. 06 Oct, 2015 1 commit
  24. 22 Sep, 2015 1 commit
  25. 25 Aug, 2015 1 commit
  26. 18 Aug, 2015 1 commit
  27. 30 Jul, 2015 2 commits
  28. 15 Jun, 2015 5 commits
  29. 26 Mar, 2015 1 commit
  30. 19 Mar, 2015 1 commit
  31. 30 Jan, 2015 1 commit
    • Aaron Wells's avatar
      Make blocktype:taggedposts work with view_artefacts · 669ebe8b
      Aaron Wells authored
      Bug 1401210. The get_artefacts() method is used by the Blogpost
      artefact to find all the blocks that use a particular blogpost,
      for storing in the view_artefacts table.
      
      I needed to add a table, blocktype_taggedposts_tags, to store
      the tags in a manner that was easier to query than a serialized
      blockconfig.
      
      Change-Id: Ieef58715e404689d95848e32ccd4132ea3fbcdc5
      669ebe8b
  32. 28 Jan, 2015 2 commits
    • Aaron Wells's avatar
      Make Publish/Unpublishing a blog entry, fire saveartefact event · 66cff695
      Aaron Wells authored
      Bug 1401210. In order for a newly published blog entry (using the
      "publish" button) to be able to trigger a watchlist notification,
      it needs to fire a saveartefact event, and update the view_artefact
      table, the same as the standard route for editing/creating a blog
      entry. So the best way to do that is to use the same commit() method.
      
      Change-Id: I35b93d6f7415ae69ed8eede3e10306b712ea1b68
      66cff695
    • Aaron Wells's avatar
      Adding ArtefactType::postcommit_hook function · efb321c3
      Aaron Wells authored
      Bug 1401210. In order for watchlists to properly handle blog
      blocks, we need to give the Blog artefact a chance to update
      the view_artefacts table before the "saveartefact" event gets
      fired at the bottom of ArtefactType::commit().
      
      So I'm adding a postcommit_hook() method which gets called in
      the middle of commit(), and shifting ArtefactType's commit()
      method into there.
      
      Change-Id: I23986597fd411fa8f93da7cdbfa8d0b577de66fc
      efb321c3
  33. 21 Jan, 2015 1 commit