1. 30 Sep, 2018 1 commit
  2. 31 Aug, 2018 1 commit
  3. 02 May, 2018 1 commit
  4. 08 Mar, 2018 1 commit
  5. 02 Mar, 2018 1 commit
    • Robert Lyon's avatar
      Bug 1443284: Allow an unsubscribe link for watchlist emails · 17131a35
      Robert Lyon authored
      
      
      This patch:
      - adds an 'unsubscribetoken' column to usr_watchlist_view table
       (if we want to unsubscribe other messages we'd need to add an
      'unsubscribetoken' to the relevant table)
      - records the token when one watches the view
      - sends email with unsubscribe link with message type and token to
      avoid exposing any user data
      - link goes to unsubscribe.php page and either unsubscribes user or
      gives generic warning
      
      Currently only working for watchlist notifications being sent via
      email/email digest
      
      Change-Id: I823249108f521faaefe3435f03b84ddf73e2d360
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      17131a35
  6. 06 Nov, 2017 1 commit
  7. 28 Sep, 2017 1 commit
  8. 25 Sep, 2017 1 commit
  9. 06 Aug, 2017 1 commit
  10. 15 May, 2017 1 commit
  11. 07 May, 2017 1 commit
  12. 29 Mar, 2017 2 commits
  13. 06 Dec, 2016 1 commit
  14. 23 Nov, 2016 1 commit
  15. 21 Nov, 2016 1 commit
  16. 03 Nov, 2016 1 commit
  17. 21 Sep, 2016 1 commit
  18. 19 Sep, 2016 1 commit
  19. 15 Jul, 2016 1 commit
  20. 23 Jun, 2016 1 commit
  21. 10 Jun, 2016 1 commit
  22. 26 May, 2016 1 commit
  23. 18 May, 2016 1 commit
  24. 27 Apr, 2016 1 commit
  25. 29 Mar, 2016 1 commit
    • Robert Lyon's avatar
      Bug 1316917: New approach to star rating using bootstrap glyphs · d1bf622a
      Robert Lyon authored
      
      
      This is a slimmer / stripped down system for doing jquery ratings.
      
      Instead of relying on styling radio buttons it relies on bootstrap
      glyphs and a hidden input field.
      
      The code is also controlled by a pieform element
      
      See lib/form/elements/ratings.php for more info about that part
      
      It also has some new settings in the Extensions -> artefact -> comment
      config form. They include settign the colour for the star icon, or
      using a different icon, eg hearts/thumbs up, and the number of ratings
      to show (3 - 12)
      
      behatnotneeded
      
      Change-Id: Ibf529efcb9a665c9f303242ed12d0c7b3dee2356
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      d1bf622a
  26. 21 Mar, 2016 1 commit
    • Robert Lyon's avatar
      Bug 1539262: Removing unnecessary $smarty PAGEHEADING lines · e82c0fcb
      Robert Lyon authored
      
      
      As they are set to TITLE we can just assign TITLE to PAGEHEADING in
      the smarty function call.
      
      We can later override the PAGEHRADING with
      $smarty->assign('PAGEHEADING', string); if we need to.
      
      Have also updated a few files where TITLE was not defined.
      
      behatnotneeded - everything should work as before
      
      Change-Id: I3ea592cd37344e68c6e90a3c64947cf99db59471
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      e82c0fcb
  27. 16 Mar, 2016 2 commits
  28. 15 Mar, 2016 1 commit
  29. 24 Feb, 2016 1 commit
    • RafGDev's avatar
      Bug 1536439 Show timelapse for comments if they are less than 1 day old · 4241b640
      RafGDev authored and Robert Lyon's avatar Robert Lyon committed
      Adding a format_timelapse(timestamp1, timestamp2) function to return a
      human readable time difference if the difference is less than a day,
      eg 3 hours and 1 min ago to give visual cue that the item was
      made/updated very recently.
      
      behatnotneeded
      
      Change-Id: I426d10da9ebc7ef1a5b464146fca386f19977579
      4241b640
  30. 16 Dec, 2015 2 commits
  31. 09 Dec, 2015 1 commit
  32. 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
  33. 22 Oct, 2015 3 commits
  34. 20 Oct, 2015 1 commit
    • Son Nguyen's avatar
      Fix sorting threaded comments. Bug 1499122 · 289b680f
      Son Nguyen authored
      - Add new column 'threadedposition' to table artefact_comment_comment
      - Update the column for existing comments
      - Calculate the position for new comments
      - Display threaded commented using this for correct order
      - Add a behat test
      
      Change-Id: I607f26fccccee8f761754a41a21c6f58dd74cfb6
      289b680f
  35. 19 Oct, 2015 1 commit
    • Pat Kira's avatar
      Minor styling fixes (bug: 1465107) · df228e7d
      Pat Kira authored
      task no: 24725, 24728, 24736,
      24726, 24724, 24730, 24731, 24809
      
      behatnotneeded: styling only
      
      Change-Id: I631bdaff87b11e9425f62d83c5253aab60085b6b
      df228e7d