1. 05 Jun, 2014 1 commit
  2. 28 May, 2014 1 commit
  3. 22 May, 2014 1 commit
  4. 18 May, 2014 1 commit
  5. 15 May, 2014 1 commit
  6. 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>
  7. 30 Apr, 2014 1 commit
  8. 22 Apr, 2014 1 commit
  9. 21 Apr, 2014 1 commit
  10. 16 Apr, 2014 1 commit
    • Yuliya Bozhko's avatar
      Move objectionable forms from view library (Bug #1298646) · 2df0d557
      Yuliya Bozhko authored
      So that we can later use them separately for artefact level access,
      and report artefacts separately from pages.
      When testing, everything should work as it worked before with
      reporting objectionable material.
      Also fixed "Creating default object from empty value" error
      when ActivityTypeObjectionable object is constructed.
      Change-Id: I6d95a5546b2425d9b522435da26902e420139d84
      Signed-off-by: default avatarYuliya Bozhko <yuliya.bozhko@totaralms.com>
  11. 15 Apr, 2014 1 commit
    • Robert Lyon's avatar
      Set default layout columns/widths hardcoded once (Bug #1307760) · a4ba6cac
      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>
  12. 26 Mar, 2014 1 commit
    • Tobias Zeuch's avatar
      New watchlistnotification Plugin (Bug 1041228) · 6fe99d5f
      Tobias Zeuch authored and Robert Lyon's avatar Robert Lyon committed
      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>
  13. 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
  14. 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>
  15. 07 Mar, 2014 1 commit
  16. 05 Mar, 2014 1 commit
  17. 28 Feb, 2014 1 commit
  18. 24 Jan, 2014 1 commit
  19. 22 Jan, 2014 1 commit
  20. 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
    • 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>
  21. 08 Jan, 2014 1 commit
  22. 07 Jan, 2014 2 commits
  23. 06 Jan, 2014 2 commits
  24. 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>
  25. 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
  26. 13 Nov, 2013 1 commit
  27. 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>
  28. 14 Oct, 2013 2 commits
  29. 09 Oct, 2013 1 commit
  30. 01 Oct, 2013 1 commit
  31. 30 Sep, 2013 1 commit
  32. 25 Sep, 2013 1 commit
  33. 19 Sep, 2013 1 commit
  34. 18 Sep, 2013 1 commit
  35. 03 Sep, 2013 2 commits