1. 26 Nov, 2015 2 commits
  2. 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
  3. 15 Nov, 2015 2 commits
  4. 13 Nov, 2015 1 commit
  5. 11 Nov, 2015 1 commit
    • Jono Mingard's avatar
      Remove unused and superfluous JavaScript (Bug #1323920) · a4dc90b3
      Jono Mingard authored
      Some of these files aren't loaded on any pages, some (ie. debug.js)
      are no longer necessary with modern debugging tools, and some have
      been replaced by Bootstrap functionality
      
      behatnotneeded: should be functionally identical
      
      Change-Id: I6d1b3874de5d42ccc00a8c0d2bb0e8bc162747d4
      a4dc90b3
  6. 08 Nov, 2015 1 commit
  7. 06 Nov, 2015 1 commit
  8. 05 Nov, 2015 2 commits
    • Robert Lyon's avatar
      Bug 1513611: Artefactchooser template is broken for some systems · 6353a366
      Robert Lyon authored
      I can't replicate but believe it's due to the .tpl file compiling
      to a call to empty() with an expression as the parameter (which
      is not supported by PHP prior to 5.5)
      
      behatnotneeded: covered by existing tests
      
      Change-Id: Ic44b89070de169790dbc5ab6d32a12484925c7e3
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      6353a366
    • Jen Zajac's avatar
      Bug 1512926: Theme style guide · 3b71155a
      Jen Zajac authored
        Examples are currently spurious, this is just to flesh
        out the technical underpinnings. Requires some assets
        via a CDN to keep the dependancies minimal.
      
        URL is /theme/styleguide.php and user must be logged in.
      
        A link to to the style guide shoulde be added to themeing
        docuementation once the guide has been populated with the
        componenents we want to include.
      
        behatnotneeded
      
      Change-Id: Idae9a96ef24e44111e5c7013f62f6ecb0caaf344
      3b71155a
  9. 04 Nov, 2015 1 commit
  10. 01 Nov, 2015 1 commit
  11. 29 Oct, 2015 1 commit
  12. 28 Oct, 2015 1 commit
  13. 27 Oct, 2015 1 commit
  14. 23 Oct, 2015 2 commits
    • Aaron Wells's avatar
      Straightening out the language string situation in the JS calendar (bug 1455137) · 287b6794
      Aaron Wells authored
      The main thing this fixes, is that it causes the JS calendar to use ONLY the
      new lang strings pieform_calendar_dateformat & pieform_calendar_timeformat,
      for its formatting. These strings are in strftime() format, and are converted
      into the JQuery Datepicker/Timepicker format by PHP (if we change to a different
      calendar plugin in the future, we can change the PHP conversion function).
      
      This fixes the bug where translators could break the calendar by changing the
      JS format strings so they no longer matched the PHP format strings.
      
      As a side effect of this change, I've also made it so that the help strings
      are derived from the format string, and are translatable.
      
      behatnotneeded: Date field is already tested by resume_page.feature
      
      Change-Id: I152962cc27f36f93b51ee0327ed942fb089f7f5b
      287b6794
    • Robert Lyon's avatar
      Bug 1201174: Correctly saving access rules for allowing comments · c541ba8c
      Robert Lyon authored
      When turning off allowcomments page-wise and adding them per 'Share
      with' options
      
      Change-Id: Ic367fa89a04fa91c655c3f42005685181b948f78
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      c541ba8c
  15. 22 Oct, 2015 5 commits
  16. 21 Oct, 2015 1 commit
  17. 19 Oct, 2015 2 commits
  18. 15 Oct, 2015 1 commit
  19. 14 Oct, 2015 1 commit
  20. 12 Oct, 2015 1 commit
  21. 07 Oct, 2015 1 commit
  22. 06 Oct, 2015 2 commits
  23. 04 Oct, 2015 1 commit
  24. 01 Oct, 2015 1 commit
  25. 29 Sep, 2015 1 commit
  26. 28 Sep, 2015 2 commits
  27. 27 Sep, 2015 3 commits