1. 26 Mar, 2019 1 commit
  2. 30 Sep, 2018 1 commit
  3. 19 Mar, 2018 1 commit
    • Robert Lyon's avatar
      Bug 1755919: Adding related tags page and adjusting tag filter · 0ad5b688
      Robert Lyon authored
      This patch contains the following:
      - created a relatedtags.php page + json file + template to handle the
      viewing of related tags for a user, the differences for this to
      tags.php page are:
      -- it can be viewed publically
      -- it requires a tag and viewid
      - Adjusted the filters for blog/blogpost, plan/task so they appear
      under their own filters as well as 'text' filter
      - adjusted the dwoo function list_tags so that we can pass an array of
      viewids/tags and/or just a view id
      -adjusted the portfolio_search_* functions so they would work for both
      my tags and related tags pages
      - fixed a filter js problem for tags.php where choosing the filter was
      not updating the displayed filter string
      Change-Id: Ie3a2c3cb56e94ced0e021265bce88e35a9cfba5d
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
  4. 09 Mar, 2017 1 commit
  5. 05 Mar, 2017 1 commit
  6. 12 Mar, 2016 1 commit
  7. 24 Nov, 2015 1 commit
    • Aaron Wells's avatar
      Display icons for 3rd-party blocktypes plugins · 4f849ed2
      Aaron Wells authored
      Bug 1510421
      Defines a new static PluginBlocktype method, get_css_icon(), which
      fetches the name of the CSS icon to use for this blocktype. It returns
      false by default, which tells the theme to "fall back" to the old
      thumbnail.png instead. 3rd-party plugins can override this to
      specify a particular icon to use.
      All the core blocktypes have been refactored to extend
      MaharaCoreBlocktype, which uses the blocktype name as the name
      of the CSS icon to use. I also deprecated the "SystemBlocktype"
      class while I was at it.
      PluginBlocktype::get_blocktypes_for_category() now returns both
      the results of get_css_icon() and the thumbnail.png path, so that
      themes can decide which they want to use. (And of course
      thumbnail.png is served via thumbnail.php, so 3rd party themes
      can provide their own custom image files if they wish.)
      behatnotneeded: Requires installing third-party plugins to test
      Change-Id: Idb1ecfc7b21175913708e695788906c11133b0c0
  8. 22 Sep, 2015 1 commit
  9. 25 Aug, 2015 1 commit
  10. 18 Aug, 2015 1 commit
  11. 15 Jun, 2015 3 commits
  12. 04 Feb, 2015 1 commit
  13. 28 Jan, 2015 2 commits
    • 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
    • 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>
  14. 03 Dec, 2014 1 commit
  15. 16 Nov, 2014 1 commit
  16. 04 Jun, 2014 1 commit
  17. 09 May, 2014 1 commit
    • Yuliya Bozhko's avatar
      Some artefact refactoring (Bug #1298646) · 3ba72d71
      Yuliya Bozhko authored and Robert Lyon's avatar Robert Lyon committed
      Fixes in this patch:
      - Moved artefact.php to artefacts directory to separate it from pages.
      - Fixed reference to a wrong 'artefactonlyviewableinview' string.
      - Removed add_to_render_path() and its calls which have no purpose at all.
      - Removed 'artefact_parent_cache' table.
      - Removed cron jobs related to 'artefact_parent_cache' from DB.
      - Added 'path' column in 'artefact' table to easier calculate hierarchy.
      - Added ArtefactTest.php for artefacts unit tests
      Change-Id: Ia14cd85b94c32a950354446ee3565bd2964c625c
      Signed-off-by: default avatarYuliya Bozhko <yuliya.bozhko@totaralms.com>
  18. 14 Oct, 2013 1 commit
  19. 14 Dec, 2012 1 commit
  20. 28 Jun, 2012 1 commit
    • Son Nguyen's avatar
      Add blog post directly from a page (bug #792645) · 5f5aa85a
      Son Nguyen authored
      Three blocktypes have been updated
      1. Blog block (entire journal) -> add shortcut "New entry" to this blog
      2. recentposts block (most recent journal entries):
      	if there is only one journal -> add shortcut "New entry"
      	if more than on -> display a dropdown list of blogs to select
      	(these blogs are taken from the block configuration)
      3. taggedposts block (tagged journal entries):
          all journals owned by this user will be displayed in the dropdown
      *Note: Javascript code has been removed from the template.
      *Note: Call initialization js code of all blocks
      Change-Id: Ibdd63dfee39787f74d872a6a31b3286c63dee70a
      Signed-off-by: default avatarSon Nguyen <son.nguyen@catalyst.net.nz>
  21. 08 Jun, 2012 1 commit
  22. 13 May, 2011 1 commit
  23. 18 Apr, 2011 1 commit
  24. 26 Aug, 2010 1 commit
  25. 16 Aug, 2010 1 commit
  26. 12 Aug, 2010 1 commit
  27. 22 Jul, 2010 1 commit
  28. 05 Jul, 2010 1 commit
  29. 26 May, 2010 1 commit
  30. 28 Oct, 2009 2 commits
  31. 22 Sep, 2009 1 commit
  32. 15 Sep, 2009 1 commit
  33. 23 Jun, 2009 1 commit
  34. 09 Feb, 2009 1 commit
    • Nigel McNie's avatar
      Rationalise the behaviour of copying blogs. · f5f09954
      Nigel McNie authored
      If a blog or post is put into a View via reference, you now can't
      configure that block (other than to change its title). There is a note
      that points out the block has been copied, which explains this for
      Fixed up a couple of other problems with the blocktype configuration
      forms, which should hopefully mean users won't see options they can't
  35. 29 Jan, 2009 1 commit
    • Nigel McNie's avatar
      (#3063) Make blocktype configuration forms change if they are in a template. · d9f2144b
      Nigel McNie authored
      Now they do things like not making it compulsory to choose an artefact
      if it's a template (as the creator might just want to put the block
      there), and removing some options that only make sense in Views.
      There's a parameter for instance_config_form and artefactchooser_element
      to allow the Blocktype to detemine whether it's in a template easily.
  36. 06 Jan, 2009 1 commit
    • Nigel McNie's avatar
      Allow blog, blogpost and textbox blocktypes having links or manually created... · 054e89d1
      Nigel McNie authored
      Allow blog, blogpost and textbox blocktypes having links or manually created <img> tags to artefacts to have those artefacts counted as being within the blocktype, and thus within the view.
      This is so if people manually link to or source artefacts within textual content, those artefacts will be downloadable when the view is shown to others.
      Not backporting to 1.0 although the problem will most certainly exist there - the patch is just too big to trust on a stable release.