1. 16 May, 2016 1 commit
  2. 23 Mar, 2016 2 commits
  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. 22 Sep, 2015 2 commits
  9. 25 Aug, 2015 1 commit
  10. 18 Aug, 2015 1 commit
  11. 15 Jul, 2015 1 commit
  12. 15 Jun, 2015 3 commits
  13. 28 Mar, 2015 1 commit
  14. 23 Mar, 2015 1 commit
  15. 19 Mar, 2015 1 commit
  16. 16 Mar, 2015 1 commit
  17. 05 Feb, 2015 1 commit
  18. 04 Feb, 2015 1 commit
  19. 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
  20. 28 Jan, 2015 5 commits
  21. 12 Jan, 2015 1 commit
  22. 08 Jan, 2015 1 commit
  23. 03 Dec, 2014 1 commit
  24. 16 Nov, 2014 3 commits
  25. 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
  26. 04 Jun, 2014 1 commit
  27. 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
  28. 03 Mar, 2014 1 commit
  29. 02 Mar, 2014 1 commit
  30. 14 Oct, 2013 1 commit