1. 15 May, 2016 1 commit
  2. 16 Mar, 2016 1 commit
  3. 07 Mar, 2016 1 commit
    • Aaron Wells's avatar
      "Tagged journal entries" block shouldn't grant access to whole journal · ada12dba
      Aaron Wells authored and Robert Lyon's avatar Robert Lyon committed
      Bug 1521818. Making the "Tagged journal entries" block act more like
      a collection of "Journal entry" blocks. So, it doesn't add the parent
      blog to view_artefacts, only the specific blog entries that are
      displayed in the block.
      
      Also removing the title of the parent blog (and the link to it) from
      the list of blog entries, like the "Journal entry" block, which
      doesn't display the title of the containing journal.
      
      Note the viewer may still have access to the whole blog, if the blog
      is also shared on the same page via a "blog" or "recent journal entries"
      block.
      
      Change-Id: I33fc7e58b964c03bc8003f1de81a4bf58b6079b7
      ada12dba
  4. 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
      4f849ed2
  5. 21 Oct, 2015 1 commit
  6. 15 Jul, 2015 1 commit
  7. 28 Mar, 2015 1 commit
  8. 23 Mar, 2015 1 commit
  9. 19 Mar, 2015 1 commit
  10. 05 Feb, 2015 1 commit
  11. 04 Feb, 2015 1 commit
  12. 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
  13. 28 Jan, 2015 1 commit
  14. 08 Jan, 2015 1 commit
  15. 03 Dec, 2014 1 commit
  16. 16 Nov, 2014 1 commit
  17. 14 Oct, 2013 1 commit
  18. 07 Aug, 2012 1 commit
  19. 23 Jul, 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
      list
      
      *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>
      5f5aa85a
  21. 08 Jun, 2012 1 commit
  22. 22 May, 2012 1 commit
  23. 26 Apr, 2012 1 commit
  24. 25 Sep, 2011 1 commit
    • Chris Wharton's avatar
      Display blog posts with a particular tag · 1fec6736
      Chris Wharton authored
      
      
      Bug #597479
      
      Blocktype plugin that allows the user to select a tag, which then
      displays: all blog posts, from all blogs, owned by this user, tagged
      with the selected tag.
      Update: moved from main blocktype area to artefact/blog/blocktype
      
      Change-Id: I28ddeb7181188c1441c7a6fb55aa3200192fe112
      Signed-off-by: default avatarChris Wharton <chrisw@catalyst.net.nz>
      1fec6736
  25. 28 Jul, 2011 1 commit