1. 05 Mar, 2015 2 commits
  2. 26 Feb, 2015 4 commits
  3. 25 Feb, 2015 1 commit
  4. 24 Feb, 2015 1 commit
  5. 12 Feb, 2015 1 commit
    • Nigel Cunningham's avatar
      Bug1051844: Fix block configure dialog width. · 141ee71b
      Nigel Cunningham authored
      The configure dialog for blocks is currently set to a fixed width via
      Javascript, but there is no handler for browser resizing and it results in the
      dialogue being very wide for the sake of just one line when a license agreement
      is enabled.
      
      Fix this issue by making all dimensions percentages, and using a combination of
      max-width: 90% and width: max-content. In addition, make the dialog fixed
      position with its own scrollbars as needed (the body's scrollbar is disabled
      when the dialog is shown).
      
      Contextual help's width code and CSS is also adjusted so that it wraps within
      dialog boxes rather than pushing the width out.
      
      Change-Id: If2a40739f1510cedcf9a6133ccfb8f0a18257356
      141ee71b
  6. 09 Feb, 2015 1 commit
  7. 08 Feb, 2015 3 commits
  8. 05 Feb, 2015 1 commit
  9. 04 Feb, 2015 1 commit
  10. 01 Feb, 2015 1 commit
  11. 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
  12. 28 Jan, 2015 7 commits
    • Aaron Wells's avatar
      Make blocktype:recentposts record blog posts in view_artefacts · 78685b74
      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.
      
      Change-Id: I53d8fd5924ae2ce4d56866efa655424a75f662f7
      78685b74
    • Aaron Wells's avatar
      Fixes to blocktype:blog's listings in view_artefacts table · b88f2b14
      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.
      
      This one was skipping the blogposts themselves, and it was
      including content from unpublished blog entries.
      
      Change-Id: I4248be998ba4082722648a1ddbcf1c9334672409
      b88f2b14
    • 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
    • Aaron Wells's avatar
      Removing temp edit file · d5672034
      Aaron Wells authored
      Change-Id: I4349d8c2816a1bec3b01121a6f2ae165add4477c
      d5672034
    • Robert Lyon's avatar
      Don't expand the comment lists on page edit screen (Bug #1317343) · 1b663910
      Robert Lyon authored
      
      
      This was causing some problems with tagged posts
      - also hiding the 'add comment' link on page edit screen.
      
      And making the comments info show when no comments were on item and
      allow comments for artefact was enabled. This is an issue with newer
      versions of php.
      
      Also placing some of the template files in the new correct location
      
      Change-Id: I599e16b0899559a3ebcdf68cff53220b1d83f2d6
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      1b663910
    • Robert Lyon's avatar
      Render a tagged journal block with multiple tags in play (Bug #1317343) · 66136667
      Robert Lyon authored
      
      
      To include and/or exclude certain tags - has two pools of tags; those
      that are 'in' and those that are 'out'.
      
      To exclude a tag begin your search with a minus sign.
      
      Change-Id: I32a3b3d3f244d08bd0547d72db25b8189642fc0e
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      66136667
  13. 26 Jan, 2015 1 commit
  14. 22 Jan, 2015 1 commit
  15. 21 Jan, 2015 1 commit
  16. 20 Jan, 2015 1 commit
  17. 19 Jan, 2015 1 commit
  18. 15 Jan, 2015 2 commits
  19. 13 Jan, 2015 1 commit
  20. 12 Jan, 2015 2 commits
  21. 08 Jan, 2015 2 commits
  22. 07 Jan, 2015 1 commit
  23. 16 Dec, 2014 3 commits
    • Mike Kelly's avatar
      Fix tabs and whitespace formatting · 0c875692
      Mike Kelly authored
      
      
      Change-Id: Iae6b20134f7426c006dcfe0200e46b2cd52279ff
      Signed-off-by: default avatarMike Kelly <m.f.kelly@arts.ac.uk>
      0c875692
    • Mike Kelly's avatar
      Delete related embedded images on deletion of artefacts · aa8d1892
      Mike Kelly authored
      
      
      Change-Id: I177f3a2eec67609181337ed4bca01fb7c40d7e8a
      Signed-off-by: default avatarMike Kelly <m.f.kelly@arts.ac.uk>
      aa8d1892
    • Mike Kelly's avatar
      Implement TinyMCE imagebrowser plugin · 36bc9f7d
      Mike Kelly authored and Aaron Wells's avatar Aaron Wells committed
      
      
      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
      user-friendly.
      
      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>
      36bc9f7d