1. 16 May, 2016 1 commit
  2. 23 Mar, 2016 1 commit
  3. 19 Mar, 2016 1 commit
    • Aaron Wells's avatar
      Silence error messages from tagged journal entries ajax script · 2bd84453
      Aaron Wells authored and Robert Lyon's avatar Robert Lyon committed
      Bug 1557896: When you first click in Select2, it fires off an
      aqax request with no "q" value (because there's no query string
      yet). We return a "required parameter missing" error message in
      a JSON object, which causes a Javascript warning in the browser.
      
      Better to just treat it like an empty q, instead of a missing q.
      
      behatnotneeded - unable to test for issues in console
      
      Change-Id: I81c4cfe77c51fce735cfd2628aaed1e40cc35940
      (cherry picked from commit 28fcc277)
      2bd84453
  4. 18 Mar, 2016 1 commit
  5. 08 Mar, 2016 1 commit
    • Aaron Wells's avatar
      "Tagged journal entries" block shouldn't grant access to whole journal · 58149efe
      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
      (cherry picked from commit ada12dba)
      58149efe
  6. 24 Nov, 2015 1 commit
    • Aaron Wells's avatar
      Display icons for 3rd-party blocktypes plugins · 2565f2d8
      Aaron Wells authored and Robert Lyon's avatar Robert Lyon committed
      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
      (cherry picked from commit 4f849ed2)
      2565f2d8
  7. 22 Oct, 2015 1 commit
  8. 15 Jul, 2015 1 commit
  9. 28 Mar, 2015 1 commit
  10. 23 Mar, 2015 1 commit
  11. 19 Mar, 2015 1 commit
  12. 16 Mar, 2015 1 commit
  13. 05 Feb, 2015 1 commit
  14. 04 Feb, 2015 1 commit
  15. 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
  16. 28 Jan, 2015 2 commits
  17. 08 Jan, 2015 1 commit
  18. 03 Dec, 2014 1 commit
  19. 16 Nov, 2014 1 commit
  20. 22 Oct, 2014 1 commit
    • Aaron Wells's avatar
      Bug 1383995: Move plugin files into the /theme directory · 89e4609b
      Aaron Wells authored
      Theme files for plugins can now live under the plugin's directory or under
      the theme's directory. Moving the files for the core plugins to /theme
      should make life easier for theme developers by putting them all in one place.
      
      Change-Id: Icff863c46c80ed2d6be07cd49404bc0b7f5fc4c0
      89e4609b
  21. 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>
      3ba72d71
  22. 03 Mar, 2014 1 commit
  23. 02 Mar, 2014 1 commit
  24. 14 Oct, 2013 1 commit
  25. 24 Sep, 2013 1 commit
  26. 21 Aug, 2013 1 commit
  27. 19 Jul, 2013 1 commit
  28. 21 Sep, 2012 1 commit
  29. 09 Sep, 2012 1 commit
  30. 07 Aug, 2012 1 commit
  31. 23 Jul, 2012 1 commit
  32. 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
  33. 08 Jun, 2012 1 commit
  34. 22 May, 2012 1 commit
  35. 26 Apr, 2012 1 commit
  36. 22 Feb, 2012 1 commit
  37. 25 Jan, 2012 1 commit
  38. 12 Oct, 2011 1 commit
  39. 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