1. 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>
  2. 14 Oct, 2013 1 commit
  3. 14 Dec, 2012 1 commit
  4. 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>
  5. 08 Jun, 2012 1 commit
  6. 13 May, 2011 1 commit
  7. 18 Apr, 2011 1 commit
  8. 26 Aug, 2010 1 commit
  9. 16 Aug, 2010 1 commit
  10. 12 Aug, 2010 1 commit
  11. 22 Jul, 2010 1 commit
  12. 05 Jul, 2010 1 commit
  13. 26 May, 2010 1 commit
  14. 28 Oct, 2009 2 commits
  15. 22 Sep, 2009 1 commit
  16. 15 Sep, 2009 1 commit
  17. 23 Jun, 2009 1 commit
  18. 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
  19. 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.
  20. 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.
  21. 17 Dec, 2008 1 commit
    • Nigel McNie's avatar
      (#3063) Remove copy_allowed in favour of allowed_in_view. Also remove · 099dc5b3
      Nigel McNie authored
      copy_artefacts_allowed is unnecessary as it's only called if the copy
      type is 'full', and there's now no way that you would want to fully
      copy a block and not copy the artefacts inside it.
      Some other API tidyups have been done - default_artefact_config has been
      renamed to rewrite_blockinstance_config and had a method signature
      change to be a bit more flexible.
      The copyconfig field of the View object is gone too, no longer required.
  22. 16 Dec, 2008 1 commit
    • Nigel McNie's avatar
      (#3063) part 2: Hide blocktypes that don't make sense when making a · 7599ec0c
      Nigel McNie authored
      This means that blog/profile/resume blocktypes don't show up in
      group/institution/site Views.
      This is controlled through a new Blocktype method - allowed_in_view.
      Various code had to be changed to listen to this method, mostly around
      the display of the category browser.
      When making a template, all blocktypes are available.
      Part 3 is to change the configuration forms to be more sensible when
      editing a template, and then testing what happens when blocktypes are
      rendered somewhere that they "shouldn't" be - e.g. a My Friends block in
      a group View.
  23. 18 Nov, 2008 3 commits
  24. 15 Sep, 2008 2 commits
  25. 15 Aug, 2008 1 commit
  26. 13 Jul, 2008 1 commit
  27. 16 Feb, 2008 2 commits
  28. 04 Dec, 2007 1 commit
  29. 14 Nov, 2007 1 commit
  30. 08 Nov, 2007 1 commit
  31. 07 Nov, 2007 1 commit
  32. 04 Nov, 2007 1 commit
  33. 29 Oct, 2007 1 commit
  34. 27 Oct, 2007 2 commits