1. 08 Nov, 2017 1 commit
  2. 29 Oct, 2017 1 commit
  3. 12 Mar, 2017 1 commit
  4. 23 Sep, 2016 1 commit
  5. 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
  6. 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>
  7. 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>
  8. 27 Apr, 2016 1 commit
  9. 07 Jan, 2016 1 commit
  10. 16 Dec, 2015 2 commits
  11. 26 Nov, 2015 1 commit
  12. 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
  13. 22 Oct, 2015 1 commit
    • Son Nguyen's avatar
      Handle embedded image deletion better. Bug 1489284 · 740c0fa7
      Son Nguyen authored
      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()
      Change-Id: Ife1f9dee5ffe9eae4468eadb8f46a16a0a2a9044
  14. 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
  15. 06 Oct, 2015 1 commit
  16. 22 Sep, 2015 1 commit
  17. 25 Aug, 2015 1 commit
  18. 18 Aug, 2015 1 commit
  19. 30 Jul, 2015 2 commits
  20. 15 Jun, 2015 5 commits
  21. 26 Mar, 2015 1 commit
  22. 19 Mar, 2015 1 commit
  23. 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
      Change-Id: Ieef58715e404689d95848e32ccd4132ea3fbcdc5
  24. 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
    • 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
  25. 21 Jan, 2015 1 commit
  26. 13 Jan, 2015 1 commit
  27. 12 Jan, 2015 1 commit
  28. 08 Jan, 2015 1 commit
  29. 16 Dec, 2014 1 commit
    • Mike Kelly's avatar
      Implement TinyMCE imagebrowser plugin · 36bc9f7d
      Mike Kelly authored
      This is a TinyMCE plugin which allows for browsing and embedding of
      Mahara-hosted images as well as the embedding of external web-hosted
      images. This makes adding inline images to WYSIWYG text boxes more
      Viewing permissions for these embedded files is set by adding references
      to them to a new database table, artefact_file_embedded, then checking
      for the existence of the references in the table when serving the files
      via artefact/file/download.php. For content blocks in views, such as
      text and textboxes, any embedded images are saved as view artefacts, and
      viewing permission is granted for those files accordingly via previously
      existing checks in artefact/file/download.php.
      This patch is designed to allow image embedding in all WYSIWYG text
      boxes throughout Mahara, hence the table structure, with resourcetype
      and resourceid providing the context for checking the validity of the
      image file to be served.
      Change-Id: Idcc5ab3495eed44eea6ced171d670ba4c73884f6
      Signed-off-by: default avatarMike Kelly <m.f.kelly@arts.ac.uk>
  30. 16 Nov, 2014 4 commits