1. 19 Jul, 2019 1 commit
  2. 25 Jan, 2017 1 commit
  3. 18 Oct, 2016 1 commit
    • Cecilia Vela Gurovic's avatar
      Bug 1181696: Reorder images in gallery when renaming files · 8662adc9
      Cecilia Vela Gurovic authored
      Check the filename when displaying an image gallery
      and show images in alphabetical order.
      The same ordering function is used as the Content/files
      view when displaying the files.
      This can be easily undone when bug 732462 is fixed.
      Change-Id: I795e4f606e570f0088a21a4404fbf8a4c5249998
  4. 21 Jul, 2016 1 commit
  5. 15 Jul, 2016 1 commit
  6. 11 Jul, 2016 1 commit
  7. 23 Mar, 2016 1 commit
  8. 25 Nov, 2015 1 commit
  9. 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
  10. 07 Oct, 2015 1 commit
  11. 08 Sep, 2015 1 commit
  12. 15 Jul, 2015 1 commit
  13. 01 Jul, 2015 1 commit
  14. 15 Jun, 2015 2 commits
  15. 28 Mar, 2015 1 commit
  16. 12 Mar, 2015 1 commit
  17. 26 Feb, 2015 1 commit
    • aceMa's avatar
      Do square thumb images while preserving ratio (Bug #1397005) · a3f12ab1
      aceMa authored
      I've taken what aceMa provided in bug report and made it a replacement
      for the square thumbs option rather than a new option as we don't need
      two square thumb options.
      I've tweaked it a bit more and hopefully have got the padding/ratio
      stuff more consistent and not using hardcoded numbers so much
      And getting it to show descriptions/captions below frame
      Change-Id: Iafc0ec8a8132d1bef5401b3ebd49e3df013fddc3
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
  18. 04 Feb, 2015 1 commit
  19. 28 Jan, 2015 1 commit
    • 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>
  20. 04 Dec, 2014 1 commit
  21. 03 Dec, 2014 1 commit
  22. 16 Nov, 2014 1 commit
    • Robert Lyon's avatar
      Adding comment display to image gallery artefact (Bug #1037531) · 34025e76
      Robert Lyon authored
      This is only for the displaying of a folder as a gallery
      in either the thumbs, square thumbs, or slideshow.
      The allow comments is based on the allowing the folder to have
      comments so this means any folder comments will display whether they
      have been added following the link in gallery block or the folder
      block as both end up at the same artefact on artefact/artefact.php page
      Change-Id: I787a730861823ef3f731fb5209bf3470b00a7ed3
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
  23. 13 Oct, 2014 1 commit
  24. 01 Sep, 2014 1 commit
  25. 15 Jul, 2014 1 commit
  26. 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>
  27. 11 Feb, 2014 1 commit
  28. 07 Jan, 2014 1 commit
  29. 23 Oct, 2013 1 commit
  30. 14 Oct, 2013 1 commit
  31. 07 Oct, 2013 1 commit
    • Robert Lyon's avatar
      Problems with image gallery and file/folder selection · 2d855e68
      Robert Lyon authored
      Bug 123530 and Bug 1236122
      When js slideshow was chosen on a page without a slideshow block
      (eg a new page) the js code returned by the selection was not loaded
      fast enough
      - I've altered it so the js is loaded on opening of config block
      - Also folder was not staying selected when re-editing the block
      due to it being not ArtefactTypeFile - have adjusted the check to
      include ArtefactTypeFolder as well
      - The switching between My files and Site files was breaking due to
      folder artefact chooser not having certain elements on the page that the
      js was trying to access. Have made it so js checks for elements before
      trying to update them.
      Change-Id: I9b8cbe786b0d35109f05a664f04665e9a9967d92
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
  32. 02 Oct, 2013 1 commit
  33. 09 Sep, 2012 1 commit
  34. 12 Oct, 2011 1 commit
  35. 02 Sep, 2011 1 commit
  36. 09 Aug, 2011 1 commit
  37. 15 Jul, 2011 1 commit
    • Eugene Venter's avatar
      Make profile pics available in files area · 4a7b4ac4
      Eugene Venter authored
      bug #605747 and bug #806501
      When a user uploads a new profile icon, it now gets added to the
      "images" folder in their files area. Profile icons are emphasised and
      descriptions aren't editable. Warning notifications, when deleting a
      default profile icon or when deleting a folder containing profile
      icons, are implemented.
      Signed-off-by: default avatarEugene Venter <eugene@catalyst.net.nz>
      Change-Id: I3f8c93c4b65814aa183f0eaa8e1739e750c87905
  38. 22 Jun, 2011 1 commit
  39. 16 Jun, 2011 1 commit
    • Hugh Davenport's avatar
      Extended image gallery blocktype · 4d86a0bf
      Hugh Davenport authored
      Adds support for the following external gallery hosters
      - flickr
      - panoramio
      - photobucket
      - picasa
      - windows live
      This patch does not do the following
      - Support non-public albums on flickr or windows live
      - Support guest-link albums on flikr
      - Support albums with access keys on photobucket or picasa
      - Support albums with custom URL's in photobucket
      This patch also doesn't have very good error
      handling for the above cases
      Based on Gregor Anzelj's branch at
      Bug #794369
      Change-Id: I3a961cd97d21d0a8d5ce2f1a32ef81d7c761facb
      Author: Gregor Anzelj <gregor.anzelj@gmail.com>
      [hugh@catalyst.net.nz prepared for review, expanded commit msg]
      Signed-off-by: default avatarHugh Davenport <hugh@catalyst.net.nz>