1. 29 Jan, 2015 1 commit
  2. 21 Jan, 2015 1 commit
  3. 15 Jan, 2015 1 commit
    • Aaron Wells's avatar
      Let "group pages" show pages by group members only · 469ef3c8
      Aaron Wells authored
      Bug 1411004: This patch adds an option to the "group
      pages" block, to limit the "pages shared with this
      group" and "collections shared..." sections so that
      they only show pages & collections authored by
      current members of the group
      
      Change-Id: I95185d61d384aa298fba065a96ccd635c3430ec5
      469ef3c8
  4. 29 Dec, 2014 1 commit
  5. 16 Dec, 2014 1 commit
  6. 12 Dec, 2014 1 commit
  7. 04 Dec, 2014 1 commit
  8. 11 Nov, 2014 1 commit
  9. 06 Nov, 2014 1 commit
  10. 05 Nov, 2014 1 commit
  11. 07 Oct, 2014 2 commits
  12. 22 Sep, 2014 1 commit
  13. 18 Sep, 2014 1 commit
    • Robert Lyon's avatar
      The archiving of submitted pages/collections from groups (Bug #1335670) · 5c57b565
      Robert Lyon authored
      This patch contains:
      - The export queue system where pages/collections on release from
      submission are added to the export queue table ready to be archived.
      - The export queue admin page showing what is in the queue to be
      exported. The cron runs every 6 minutes. Queue items failed to export
      are also shown here.
      - The archive list admin page, where one can download the generated
      leap2a files for the archived submissions.
      
      In this patch you should be able to add things to the export queue by
      either releasing a sumbission on a group that has 'archive
      submissions' option ticked. This will add the archive to that archived
      submission page, or you can also run a leap2a export from portfolio
      export which will add the export queue and send you an email once the
      export is done.
      
      Things to note:
      - The is a server busy function that stops the export queue from
      running but I'm not too sure if the threshold is too low/high
      - The export queue tries to export the first 100 items each run but if
      resources are fine in handling that easily then the number could be
      higher but I'm not sure of what will be a good number.
      - Currently there is alsoe infrastructure like table columns for dealing
      with releasing submissions from external systems (eg moodle) but that
      functuionality is yet to be built.
      - The checking of server busy in MS windows untested - may need to
      just let MS ignore server busy check as there doesn't seem to be
      standard way to check this.
      
      Change-Id: If4c1d272e9c5d46fbf16b2ff73ceb2687c06ffd4
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      5c57b565
  14. 16 Sep, 2014 1 commit
    • Nigel Cunningham's avatar
      (Bug548021) Add support for anonymising pages. · 9624d430
      Nigel Cunningham authored
      This patch adds support for anonymising pages.
      
      It creates a site option in the General Settings section named 'Allow
      anonymous pages' that must be checked for any page to be anonymised.
      
      If the site option is enabled, a new 'Anonymise' setting in the
      'Edit title and description' tab of pages is enabled, allowing the owner
      to request that this page be anonymised.
      
      When both settings are enabled and a user views a page, two things may
      happen to the author's information.
      
      First, if the user is not logged in or does not have admin, staff or
      owner privileges for the page, the author's name is replaced by the
      anonymous text (defaulting to "(Author's name hidden)") in both the
      body of the page and the metadata author field.
      
      If the user does have admin, staff or owner privileges for the page,
      the author's name is anonymised as above except that the text displayed
      is made into a link. When this link is clicked, the anonymous author
      text is replaced by the normal author information for the page.
      
      Anonymous pages displayed in the 'Latest pages' block and shared with
      a group are also anonymised by this patch.
      
      Change-Id: I2e2c92f641329a1a305cf58a5c5d47bf95436a8b
      Signed-off-by: default avatarNigel Cunningham <nigelc@catalyst-au.net>
      9624d430
  15. 31 Aug, 2014 1 commit
  16. 21 Aug, 2014 1 commit
  17. 08 Aug, 2014 1 commit
    • Ghada El-Zoghbi's avatar
      Searching by user in Shared Pages (bug 897586) · 3d1484b1
      Ghada El-Zoghbi authored
      Include searching by a user to the Shared Pages tab.
      
      This is a pretty complicated area as the View::view_search() is used in many areas.
      Have not added a new search type of 'users only' like the 'tags only'.
      Have only updated the general search type of 'Title, description, tags' to include users.
      
      Change-Id: I6020aa5f432133649e50ea180bbd8536c8e30e72
      Signed-off-by: default avatarGhada El-Zoghbi <ghada@catalyst-au.net>
      3d1484b1
  18. 24 Jul, 2014 1 commit
  19. 24 Jun, 2014 1 commit
  20. 06 Jun, 2014 1 commit
  21. 05 Jun, 2014 2 commits
  22. 28 May, 2014 1 commit
  23. 27 May, 2014 1 commit
  24. 22 May, 2014 1 commit
  25. 18 May, 2014 1 commit
  26. 15 May, 2014 1 commit
  27. 09 May, 2014 1 commit
    • Yuliya Bozhko's avatar
      Some artefact refactoring (Bug #1298646) · 3ba72d71
      Yuliya Bozhko authored
      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>
      3ba72d71
  28. 04 May, 2014 1 commit
  29. 30 Apr, 2014 1 commit
  30. 22 Apr, 2014 1 commit
  31. 21 Apr, 2014 1 commit
  32. 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>
      2df0d557
  33. 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>
      a4ba6cac
  34. 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
  35. 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
  36. 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
  37. 07 Mar, 2014 1 commit
  38. 05 Mar, 2014 1 commit