1. 21 Oct, 2015 1 commit
  2. 15 Apr, 2015 1 commit
  3. 29 Mar, 2015 1 commit
  4. 05 Nov, 2014 1 commit
  5. 12 May, 2014 1 commit
    • Robert Lyon's avatar
      Set default layout columns/widths hardcoded once (Bug #1307760) · 9aff53a4
      Robert Lyon authored
      
      
      And making sure that it exists in the db before using it.
      This allows the fetching of the id of the default column widths to be
      used in view layout page.
      
      Also tidied up the js for the view layout page so it uses the value
      from php rather than hardcoded string.
      
      Also removed duplicate 'if (empty(self::$layoutcolumns)) { }'
      statement from lib.view.php
      
      Change-Id: Icf1b4292a256c5ff6d748c9e6046d6c71ea298b2
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      9aff53a4
  6. 04 May, 2014 1 commit
  7. 26 Mar, 2014 1 commit
    • Tobias Zeuch's avatar
      New watchlistnotification Plugin (Bug 1041228) · 6fe99d5f
      Tobias Zeuch authored
      
      
      Introducing a new plugin watchlistnotification that responds to the
      events saveartefact, blockinstancecommit and deleteblockinstance. It
      stores the changed view and the blockinstance in a table watchlist_queue
      and checks via cron if there were any changes on a view and if for that
      view the last change has happened some time ago (the minutes are stored
      in config under watchlistnotification_delay, the default is 20min).
      
      If so, a message is generated that informs the watchlist recipient about
      which view and which block-instances on this view have been touched
      (added or changed).
      
      As there is no way to disable the built-in/old watchlist-notification-
      system, this is disabled in the mahara-core code, that is,
      artefact/lib.php and lib/view.php
      
      Change-Id: I039c5285cdd1b09ed9eb38a647e0c1510c3cabb9
      Signed-off-by: default avatarTobias Zeuch <tobias.zeuch@kit.edu>
      6fe99d5f
  8. 25 Mar, 2014 1 commit
    • Aaron Wells's avatar
      Prevent new users from taking spammy actions · 7b08f438
      Aaron Wells authored
      Bug 1252101
      
      1. New users get 2 "new user points" on their user record
      
      2. While they have these, they're on probation and can't post
      links in public places, or make public pages.
      
      3. "new user points" are decreased each time a non-probationary
      user responds to a forum post by the user
      
      4. Admins & Staff are automatically non-probationary
      
      Change-Id: Ibccd2e330945f66b07aac062c4f51b67a0c0dba2
      7b08f438
  9. 11 Mar, 2014 1 commit
    • Robert Lyon's avatar
      Displaying textbox attachments to view/artefact.php page (Bug #1279943) · 766ef005
      Robert Lyon authored
      
      
      - and getting the notes page to display the attachment count
      
      -- now cherry-picked on earlier expander fixing patches and having the
      new html format
      
      - also fixed bugs:
      -- where expander was not closing after editing block on view/blocks.php page
      -- where block edit was not keeping attached the attachments that
      were attached when adding attacments via notes page.
      -- where block edit was dropping attachments from all textbox
      instances of the same artefact if one selected to 'use content from
      another text box' - now the editor should auto 'select' the attachments
      related to the textbox chosen.
      
      Change-Id: I97101c2065a4daff22f82bb472c37d46d60e4c08
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      766ef005
  10. 07 Mar, 2014 1 commit
  11. 05 Mar, 2014 1 commit
  12. 28 Feb, 2014 1 commit
  13. 24 Jan, 2014 1 commit
  14. 22 Jan, 2014 1 commit
  15. 13 Jan, 2014 2 commits
    • Aaron Wells's avatar
      Decoupling "copy to new users" settings from other settings · 5580903d
      Aaron Wells authored
      Bug 1267633: Currently the settings for forcing a page to be copied
      to new users, new groups, and new institution members, are only available
      if the page is set to be copyable and is viewable to logged-in users.
      
      But logically there's no reason to link those settings together.
      
      Change-Id: I68b4579d891a56e617a04947664d01d59e620bdf
      5580903d
    • Jono Mingard's avatar
      Store the limit parameter on view pages (Bug #1261694) · d130ed74
      Jono Mingard authored
      
      
      When the user changes the "items per page" option when listing views, the
      value is now stored in their account preferences so that it persists
      after changing the page, logging out, etc.
      Also enabled pagination on /admin/site/views.php and /view/institutionviews.php
      
      Change-Id: I0973ee3572c3bcf0eed23af0155cc9544db912fc
      Signed-off-by: default avatarJono Mingard <jonom@catalyst.net.nz>
      d130ed74
  16. 08 Jan, 2014 1 commit
  17. 07 Jan, 2014 2 commits
  18. 06 Jan, 2014 2 commits
  19. 23 Dec, 2013 1 commit
    • Robert Lyon's avatar
      Getting the copy a page or collection to sort by collection · db4bc11b
      Robert Lyon authored
      
      Bug #1255780
      
      When clicking the 'Copy a collection' button on the
      Portfolio -> Collections page the list of copyable pages is sorted by
      collection name rather than page name to make it easier to see what pages are
      in the collection that you are about to copy.
      
      Also the subheading highlighted is 'Collections' instead of 'Pages'.
      
      When clicking the 'Copy a page' link in Portfolio -> Pages things
      should work like before.
      
      - TODO: possibly limit each copyable collection to have one 'Copy
      collection' button and have the alternating row colours toggle for
      each collection rather than just each row.
      
      Change-Id: I4b9786ba95404e03f44039cacb6e6b4bf6a4b0d6
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      db4bc11b
  20. 17 Dec, 2013 1 commit
    • Robert Lyon's avatar
      Getting mysql not to use CAST() (bug #1081947) · 2b35e42a
      Robert Lyon authored
      
      
      In the 1.8+ codebase there are only two places where both mysql and
      postgres use CAST(). So I've tried altering the calls so that mysql
      doens't need to use CAST().
      
      This will probably need to be tested with a large data mysql db site
      to see if any speed gains are made, and also the calls are still
      working correctly.
      
      All other places it is being used by postgres only
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      
      Change-Id: I9eaf196d062ef2a62bfdae0df179281f3411c392
      2b35e42a
  21. 13 Nov, 2013 1 commit
  22. 11 Nov, 2013 1 commit
    • Ghada El-Zoghbi's avatar
      Bug1075760: reporting objectional material with no message doesn't get sent to... · 568074bf
      Ghada El-Zoghbi authored
      
      Bug1075760: reporting objectional material with no message doesn't get sent to admin with digest emails
      
      Email digest table has a not null contraint for the message field:
      1. Force the user to enter something in the objectionable comment.
      2. Other areas: if a user enteres a message (i.e. in a forum)
      which is made up of html (i.e. a smiley face),
      the message gets 'cleaned' by stripping html tags.
      This leaves it empty and fails when trying to insert into the
      email digest table.
      Clean the message with html2text instead of str_shorten_html.
      3. As a last resort, before inserting into the email digest table,
      make sure there is at least a space in the message field (if it's empty).
      
      Change-Id: I05a77e0682017839b34e74241eefb98fb788eab5
      Signed-off-by: default avatarGhada El-Zoghbi <ghada@catalyst-au.net>
      568074bf
  23. 14 Oct, 2013 2 commits
  24. 09 Oct, 2013 1 commit
  25. 01 Oct, 2013 1 commit
  26. 30 Sep, 2013 1 commit
  27. 25 Sep, 2013 1 commit
  28. 19 Sep, 2013 1 commit
  29. 18 Sep, 2013 1 commit
  30. 03 Sep, 2013 4 commits
  31. 28 Aug, 2013 1 commit
  32. 21 Aug, 2013 1 commit
  33. 19 Jul, 2013 1 commit